Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contribution Tracker


lildog

Recommended Posts

I forget to check the contributions site everyday even every week or month. When I do remember to checkback it takes forever to update all my contribs. Contribution tracker checks the oscommerce feed and notes what contributions have been updated so you can easily see what contribution needs to be updated.

 

can be found at: http://www.oscommerce.com/community/contributions,4815

Link to comment
Share on other sites

I forget to check the contributions site everyday even every week or month. When I do remember to checkback it takes forever to update all my contribs. Contribution tracker checks the oscommerce feed and notes what contributions have been updated so you can easily see what contribution needs to be updated.

 

can be found at: http://www.oscommerce.com/community/contributions,4815

I have installed this contribution but cannot select contributions that I have added and cannot use the edit, preview, or delete buttons (the entry comes up blank). Has anyone else experienced this? Does anyone have a solution? I've tested in both IE 7 and Firefox 2.

Link to comment
Share on other sites

I have installed this contribution but cannot select contributions that I have added and cannot use the edit, preview, or delete buttons (the entry comes up blank). Has anyone else experienced this? Does anyone have a solution? I've tested in both IE 7 and Firefox 2.

I've narrowed one issue down a bit. When I click on one of the buttons on the right (preview, edit, or delete), the page displayed does not have, in the URL, the sID number.

Link to comment
Share on other sites

I've narrowed one issue down a bit. When I click on one of the buttons on the right (preview, edit, or delete), the page displayed does not have, in the URL, the sID number.

I seem to have solved the button issue by changing line 414 in admin/contrib_tracker.php from

 

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CONTRIB_TRACKER, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->contr_id . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CONTRIB_TRACKER, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->contr_id . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a><br><br> <a href="' . tep_href_link(FILENAME_CONTRIB_TRACKER, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $sInfo->contr_id . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=readonly') . '">' . tep_image_button('button_preview.gif', IMAGE_PREVIEW) . '</a>' );

 

to

 

$contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CONTRIB_TRACKER, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $HTTP_GET_VARS['sID'] . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_CONTRIB_TRACKER, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $HTTP_GET_VARS['sID'] . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a><br><br> <a href="' . tep_href_link(FILENAME_CONTRIB_TRACKER, 'page=' . $HTTP_GET_VARS['page'] . '&sID=' . $HTTP_GET_VARS['sID'] . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=readonly') . '">' . tep_image_button('button_preview.gif', IMAGE_PREVIEW) . '</a>' );

 

The only remaining problem I have is that when I select a contribution from the list it is not highlighted.

Link to comment
Share on other sites

Baddog,

Any idea why one way works on my store and not on yours? I do not claim to be very proficient at php, just learning as I go along. However I would like to know what's going on here so this contrib will work for everyone that wants it. Do I need to mod the package with your changes? It seems to me with a little work this is a VERY major contribution.

 

Are you pretty good with php? My date comparisons seem to be off by +5 hours.

 

 

Thank you,

lildog

Link to comment
Share on other sites

The only remaining problem I have is that when I select a contribution from the list it is not highlighted.

I just noticed that when I select a contribution from the list, none of the information shows up in the box on the right.

Link to comment
Share on other sites

I'm running version 2.2 - MS2 with Update 060817 installed.

Other environmental data:

 

Server OS: Linux 2.6.9-023stab033.7 Database: MySQL 4.1.20

HTTP Server: Apache/2.0.54 (Fedora)

PHP Version: 5.0.4 (Zend: 2.0.4-dev)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...