Contributions
sid killer
Aims to stop googelbot and other search engine spiders adding an sid to the url.
This is important for two reasons.
First having sid's in published search engine listings can be a huge security/privacy problem.
Secondly because of the way googlebot in particular works, having sid's in your url's can cause what is commonly know as the 'google dance' where googlebot gets trapped in your site causing a huge amount of page hits.
Expand All / Collapse All
Small update:
in the product_reviews_write.php file
find:
<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>
And replace With:
// Begin Buy Now button mod
<form name="buy_now" method="post" action="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now', 'NONSSL') . '"><input type="hidden" name="products_id" value="' . $product_info['products_id'] . '">' . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . ' </form>
// End Buy Now button mod
No file.That's All.
Complete Package.
incl. Package for making SID-KILLER
compatible for Ultimate SEO URLs (2.1d by FWR-Media 23.02.2008 )
Designedfor OSC 2.2 Release Candidate 2 ! (pay attention: some functions have changed)
Restruktured text, fixed buggs, mixed it together to ONE COMPLETE PACKAGE, that also contains the BTN-changement-instruktions.
Once agein: it's made for an RC 2 OSC.
If u wanna use it for lower versions: most parts are same. the other ones are very similar , and u ll find it out, but since the whole thing is pretty simple, it's pretty simple to understand.
OK ppl: enjoy
P.S.: No PM's plz. ThanX. ^^
Complete Package.
incl. Package for making SID-KILLER
compatible for Ultimate SEO URLs (2.1d by FWR-Media 23.02.2008 )
Designedfor OSC 2.2 Release Candidate 2 ! (pay attention: some functions have changed)
Restruktured text, fixed buggs, mixed it together to ONE COMPLETE PACKAGE, that also contains the BTN-changement-instruktions.
Once agein: it's made for an RC 2 OSC.
If u wanna use it for lower versions: most parts are same. the other ones are very similar , and u ll find it out, since the whole thing is pritty simple, it's pretty simple to understand.
OK ppl: enjoy
P.S.: No P;'s pls. Thanx. ^^
Error in below file. Need a way to get to reviews if none exist so the Write Review button will appear instead of the Review button. Also had a <php { ?> that might have added an extra one to your page. Revised text file is included in this package.
When there is NO review for a product, the users get product_reviews.php, not product_reviews_info.php. Therefore the buy now button on the review page of a product without any reviews can still be added to the cart by a bot. This addresses that.
Also, why have the reviews button appear at all if there are no reviews for a product?? This fixes the product_info.php page so that it does not.
When there is NO review for a product, the users get product_reviews.php, not product_reviews_info.php. Therefore the buy now button on the review page of a product without any reviews can still be added to the cart by a bot. This addresses that.
Also, why have the reviews button appear at all if there are no reviews for a product?? This fixes the product_info.php page so that it does not.
COMPLETE PACKAGE
version 1.2c: released date: 06 Mar 2006 nfr
* Removed typo word in description of step 2b
* Fixed step3 as I had introduced a php comment outside a php block in my writeup
This includes SID Killer 1.2a install.txt.
It adds back in the original author's readme.txt and LICENSE file
I have included readme_integrating_with_SEOURLs.txt which covers the steps I had to take to integrate SID Killer with Chemo's Ultimate SEO URLs.
COMPLETE PACKAGE
I have built a new osc shop starting with a clean 2.2ms2-051113 snapshot.
In order to get this Buy Now Buttons To Forms contrib to work correctly, I had to add a couple defines and change a variable name. I have included all three install files v1.01, v1.2 and my new v1.2b - clearly labeled. You can diff these to quickly see what I changed.
COMPLETE PACKAGE
Version 1.2b: released date: 12 Feb 2006 nfr
* Added step 2b to include missing define stmts when you get product_listing.php via advanced_search_result.php
* Corrected step3 (line 110 of this file) changed $product_info to $review.
I made a very slight modification to the last step in the code replacing $sid with $_sid which is the variable name used by the stock oscommerce code.
Thanks for the contribution Ian & Joshua!!
Here is how to change your (user) header links (i.e. all those except the crumbtrail), shopping cart box links and "Order by" links (in the product listings) into input buttons.
Version 1.2:
This update now includes installation instructions for OSC2.2MS2 as well as the original installation instructions provided in v1.01.
This contribution is a supporting package for the sid killer contribution available below
Thanks to Joshua Dechant for the original contribution and to Ian Wilson for the sid killer contribution
Updated code to handle login page better.
Updated language handling code to use a regualr expression which now handles SEFU's correctly.
A version of my product listing in colums mod, that changes the buy now buttons from links to a form action.
To complement my SID killer.
Aims to stop googelbot and other search engine spiders adding an sid to the url.
This is important for two reasons.
First having sid's in published search engine listings can be a huge security/privacy problem.
Secondly because of the way googlebot in particular works, having sid's in your url's can cause what is commonly know as the 'google dance' where googlebot gets trapped in your site causing a huge amount of page hits.
Version 1.01: release date 01/07/2003
* A change in the directions made to Step 2 to avoid confusion. No actual coding changes.
This mod is intended as a compliment to Ian's SID killer ( http://forums.oscommerce.com/viewtopic.php?t=25595 ). Ian's mod kills the SID unless a user is logged in or something is in the cart. Since the "buy now" buttons are links, a spider or bot (like our friend googlebot) can add items into your cart, creating a SID. This is bad. Doing this mod will change those links to forms, making it pretty impossible for a spider or bot to fill up your cart.
Note: Contributions are used at own risk.