-
Content count
1,150 -
Joined
-
Last visited
Posts posted by baddog
-
-
What’s required to run the PHPIDS
You need at least PHP 5.1.6 to use all features of the PHPIDS.
If you have an earlier version of PHP (5.0.x) will this contribution still work? What features would not be available?
-
There is an IP Containment and Management System available from me. Bless you for asking dear.
I'd like to try it out.
sky_diver reacted to this -
Try changing the line I posted as shown. I haven't tested it but I think it will work.
preg_match('/([\d]+)/', ($price[0]), $match);
to
preg_match('/([\d.]+)/', ($price[0]), $match);
Seems to have done the trick. Thanks again!
-
This one still doesn't work for me. Nothing is displayed. I guess that's better than the thousands of dollars it was showing before. :)
Okay, here's another one. It is showing the competitor's price as $143.00 instead of $143.99.
Page: http://metalsunglasses.com/radwrapsunwi4.html
Search string: Sale price: (.*)</span>
I hope this feedback is helpful and not annoying. I love this contribution and hope it can be fine-tuned along the way.
-
For the first one:
Current Price</b></font></td><td nowrap><font face="verdana, arial, helvetica" size=-1 color="#990033"><b>(.*)</b></
This one still doesn't work for me. Nothing is displayed. I guess that's better than the thousands of dollars it was showing before. :)
-
That worked. The only thing I noticed was that it shows up at the bottom instead of the top of the listing now.
Thanks!!!
I can see that constructing the search string is somewhat of an art form. I have tried a few variations on this page: http://marketplace.amazia.com/para-service/prodinfo.asp?cn=566331&affid=&sku=HA7019&page=34&pagenumber=1&inverrmsg=
It's picking up numbers from color codes or something and not the product price. Any suggestions there?
Also, am I correct that it would be futile to try to come up with a viable search string on a page like this: http://www.paragear.com/templates/parachutes.asp?group=5&level=1
-
The code is failing because there is text as part of the price. Try this. In includes/moudles/comparemyprice.php, find
$their_price = str_replace("$", "", strip_tags($price[0]));
and replace it with
preg_match('/([\d]+)/', strip_tags($price[0]), $match); $their_price = $match[0];
The compare string should be
Starting at:(.*)</h2>
That worked. The only thing I noticed was that it shows up at the bottom instead of the top of the listing now.
Thanks!!!
-
Which is their page? Which is your page? What comparison code are you using?
Neither one is my page. I listed two competitors' pages, one with a single product listed and one with multiple products listed. I've tried to get a comparison for the Altitrack (which is listed on both pages) to mine. For now, I'll try to focus on what should be the simpler problem, the comparison to the single-product page. Once that is figured out, I'll see if I can master the comparison on the multiple-product page.
For this page http://www.chutingstargear.com/index.php?main_page=product_info&cPath=6_8&products_id=29
I'm currently using this search string: <title>Altitrack [Altitrack altimeter] - (.*) :
-
Did you try the code I posted? If that doesn't show the problem, post the page you are trying to get the price from and I will take a look.
I have tried both of the code fixes posted. I can get it to display Their Price = My price = and it shows my price but it doesn't show their price. One page I've tried it on is http://www.chutingstargear.com/index.php?main_page=product_info&cPath=6_8&products_id=29
There are a couple of places where the price shows up and I've tried several variations of both. I hope you can help me figure this out because I think this is a pretty cool contribution. Thanks for taking a look. BTW, I'd like to pull prices from a page like the following, but I'm guessing a page with multiple products would pose a problem. If my assumption is a bad one, please enlighten me. http://www.paragear.com/templates/parachutes.asp?group=5&level=1
-
well it would have been nice to know it only works with ultimate seo from the beginning.. in the installation directions...instead of wasting hours trying to figure out why it not working.
should put that in the directions somewhere
Which reminds me, the CSS change didn't work for me either....but I don't think it's essential. Everything seems to display fine (except the price isn't there) without the change.
-
Then it is a problem with the url rewriter you are using. It works fine here with Ultimate SEO V2.2d, which is what I recommend. If you want to use the one you are using and this contribution, you'll need to ask its author for a solution.
For what it's worth, I can't get the price from the competitor's site to display either. I did notice that in the text on the Admin page it says "replace that with (.*) so the final result would look something like: valign="top">(.*)</td>, which is what is shown in the Add section below." and that below it displays "valign="top">(*)</td>" but I've tried it with both (*) and (.*) to no avail.
I do have a couple of questions too. First, will this addon result in links to your competitor's site on your site? If I could get it to work I'd know the answer, but I can't so I'm asking. Second, will your competitor's server log an incoming connection from your Admin site, thus disclosing the name of your Admin directory (referer URL)?
-
The keywords are made up of the description/title automatically.
If you add your own meta tags for description and keywords while using KissMT you end up with two descriptions and two key word meta tags. Do you know what the search engines do when they encounter two tags for the same thing?
-
Is the server running PHP 5.2+? you certainly shouldn't be getting a blank page.
you are running installer.php and not installer_class.php I presume.
It's running 5.0.4. Will a manual install work?
-
I tried to install the Admin Settings but only get a blank page when browsing to the installer file. Any suggestions, or can you do a manual SQL statement?
-
What is this topic about?
Feeding trolls and vampires.
-
I am trying to add some tracking code to the footers and to the headers. However I add the code but it does not show up on the site. I edited the footer.php and header.php and nothing shows up on the site. Is there something I'm suppose to do to go live? I am not fimaliar with this system and can't find an operator manual that tells how to manage these items. I do not have FTP access to the site only using the file manager.
What version of osC are you using? Regardless, my suggestion is that you stop using file manager and get ftp access ASAP.
-
Came back to say that I've tested it again. Sometimes I get unbanned alright and stay unbanned, other times it bans me again even though the IP already is on the whitelist. Right now I'm banned.
I know this is pretty basic, but are you sure it's not a browser cache issue?
-
I have tried both of these payment modules...
Authorize.Net AIM (PCI DSS SSL V3)
Authorize.net Advanced Integration Method
I receive an email of the order but when I go to look at the invoice or packing slip, there is no data??? The order is not being stored in the database. Please help!
Have you actually looked at the database tables to verify that nothing is being saved or are you assuming nothing is in the database because it doesn't display on the invoice/packing slip forms? If not, take a look at the database tables. If the information is there, try setting your address format to a different number in Admin/Locations/Taxes/Countries. You can take a look at the different formats while you're in the database tables to help select the correct number.
-
Hi,This is a common problem with the OS commerce script. All shop owners should check to see if a payment has actually been made before they ship any products. Alot of payment processors have not implemented ways to check for a sucessful transaction - (ex. returning a hashed value) - the check out functions usually default return (ie. no checks made) so unfortunatly there is not a way to stop the checkout_process.php bug.
It should be noted this is a OSc bug aswell and such functions should take place in a protected class. not in a public php doc.
Gray Appleton
I tried this hack on my site and it didn't seem to work. I went to the checkout page and changed the URL (without entering any CC information) and it just sent me back to the page where I had to enter the CC information. I'm using authorize.net AIM.
-
-
I think I'm getting close. Everything seems to work on the Admin side, but when I try to check out on the catalog side I get a blank page when it is supposed to go to the shipping page. Any suggestions?Got past the blank page issue but now it's showing "No quotes available for this destination". Is anybody else having this problem? Does anybody have a solution?
-
-
I think I'm getting close. Everything seems to work on the Admin side, but when I try to check out on the catalog side I get a blank page when it is supposed to go to the shipping page. Any suggestions?
-
Go to your includes folder and look for footer.phpInsert the code for your seal where you would like for it to appear on the footer
Save and upload the file and it is there. Hopes this helps.
There are plenty of other options as well....like left or right column or product info page etc. You can pretty much put it wherever you want it to be.
Which Authorize.net module should I use?
in Authorize.net
Posted
Vger's add-on was the only one that I could get to work. If you do authorize only, you need to log in to authorize.net and capture (it's a simple click of a couple buttons).