Jump to content

John W

♥Ambassador
  • Content count

    963
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by John W

  1. John W

    Automatically send data feed to Froogle

    For different reasons I never set this up. So, to the people using these kind of feeds, does it work well and do you think it's worth it? I've been using Adwords for over 10 years and it doesn't yield a lot of sales for the money spent.
  2. John W

    New UPS XML Shipping Module available

    @@Lary_an You can also find a lot of answers by using Google for php errors. Simply Google "Call-time pass-by-reference has been removed" and you'll find where this has been discussed such as Stackoverflow where you can learn more about the solution and why it needs to be changed.
  3. Hey Dan, I just went to your site and it loaded results on the main page for me. I've been using this contrib for a while and it works pretty well.
  4. Hi Jesse, They had that when I signed up several years ago but when I asked them about Authorize.net they told me I could use it and it was easy set up. Did you ask them to use Authorize.net? The gateway fees are covered by Chase and I only pay Chase. Call them and talk with somone, but I'm still using Authorize.net with Chase. Ask for interchange plus pricing too. Don't do the tier system setup if you can go interchange plus pricing. I saved a lot when I switched to Chase.
  5. John W

    FedEx - Web Services v9

    You don't modify the xml code directly. Everything is generated through the fedexwebservices.php module. I don't use insurance and I've modified the module i use but I think it's set to work. Look around line 16 for MODULE_SHIPPING_FEDEX_WEB_SERVICES_INSURE and adjust that setting. If you have a test site to experiment with and you should, you can use var_dump to see the request or the reponse. Find the first line in the code and then put the var_dump after it. Don't do this on a live site though. $response = $client->getRates($request); var_dump($response);
  6. John W

    New UPS XML Shipping Module available

    Assuming you did the sql entries listed, then under your admin/configuration/shipping packaging you should see "Store result of packing routines" and it should be set to true
  7. John W

    PHP 7

    Thanks for the link to the guide. I'm only a couple chapters in reading but I like it.
  8. John W

    See more / see less doable in osC

    Not sure why I kept playing with this but I like understanding regex better. I used RegexBuddy to test the regex. Anyway, I figured we could automatically split and insert the div tag into text formatted into paragraphs like products description would have. I use a test.php on my local machine to test ideas like this. I just used the div that Burt provided. $subject = "<P>One reason people lie is to achieve personal power. Achieving personal power is helpful for someone who pretends to be moreconfident than he really is.</p> <p> For example, one of my friends threw a party at his house last month. He asked me to come to his party and bring a date.</p> <p> However, I didn't have a girlfriend. One of my other friends, who had a date to go to the party with, asked me about my date. I didn’t want to be embarrassed, so I claimed that I had a lot of work to do. I said I could easily find a date even better than his if I wanted to. I also told him that his date was ugly. I achieved power to help me feel confident; however, I embarrassed my friend and his date. Although this lie helped me at the time, since then it has made me look down on myself.</p>"; $pattern = '%<p\b[^>]*>(.*?)</p>(.*)%simx'; $replace = "$1 <div class=\"collapse\" id=\"collapseMe\"> $2 </div>"; $result = preg_replace($pattern, $replace, $subject); echo $result; The above will output html like One reason people lie is to achieve personal power. Achieving personal power is helpful for someone who pretends to be moreconfident than he really is. <div class="collapse" id="collapseMe"> <p> For example, one of my friends threw a party at his house last month. He asked me to come to his party and bring a date.</p> <p> However, I didn't have a girlfriend. One of my other friends, who had a date to go to the party with, asked me about my date. I didn’t want to be embarrassed, so I claimed that I had a lot of work to do. I said I could easily find a date even better than his if I wanted to. I also told him that his date was ugly. I achieved power to help me feel confident; however, I embarrassed my friend and his date. Although this lie helped me at the time, since then it has made me look down on myself.</p> </div>
  9. John W

    See more / see less doable in osC

    Nevermind, it didn't work.
  10. John W

    See more / see less doable in osC

    You got me curious so I looked through their site and it seems they are using bootstrap collapse to do it. i'm guessing you're looking for an automated way to add this to say your product description. How about using a conditional statement with PHP's countable function to count characters? http://us3.php.net/manual/en/countable.count.php
  11. John W

    PHP 7

    PHP 6 is not going to be released.
  12. Hi Dom, Yes, I am using FF and it does work perfectly now. It's a nice contribution and your efforts are appreciated.
  13. Correct, it doesn't display at all. I tried it on my stock BS site and see the same.
  14. Hi Dominic, Mine works with no columns just fine. However, if on a product page, it doesn't work at all. Haven't explored why.
  15. I figured out why mine wasn't working by looking at the autocomplete output directly and I think this may help other people. If parse time or probably anything is enabled to output at the bottom it breaks the json encode string.
  16. It must be something else I've modified becaue I installed in on my stock BS and it works. Again, thank you for making this.
  17. Thanks for making this contribution. It seems to install fine but in testing on my local machine it only comes up with "no matches". Any ideas?
  18. John W

    ULTIMATE Seo Urls 5 - by FWR Media

    I'm using the same sitemap generator and it's not a problem I see. That looks like it could be a default date that's being inserted instead of a current date. Are you able to check this in your database with phpmyadmin or the like? You could also make a small change to the item or category and see if it changes. It lists categories and products with the oldest change last. Is the url it lists correct? I'm assuming you've modified what your showing.
  19. John W

    ULTIMATE Seo Urls 5 - by FWR Media

    I see another potential problem in the contribution but I haven't investigated its effect thoroughly. The function "utf8_encode" is being used which is only supposed to be used with ISO-8859-1 and not UTF-8, which is what current versions are using as standard. Below is a quote from the php online manual found at http://php.net/utf8_encode "Please note that utf8_encode only converts a string encoded in ISO-8859-1 to UTF-8. A more appropriate name for it would be "iso88591_to_utf8". If your text is not encoded in ISO-8859-1, you do not need this function. If your text is already in UTF-8, you do not need this function. In fact, applying this function to text that is not encoded in ISO-8859-1 will most likely simply garble that text."
  20. John W

    ULTIMATE Seo Urls 5 - by FWR Media

    I was still getting Call to a member function store() on a non-object in /home/xxxxxxx/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78 So, I changed line 77 to if ( is_object('cache') && defined( 'USU5_ENABLED' ) && ( USU5_ENABLED == 'true' ) ) { I think this solved the error. Otherwise it assumes if USU5_ENABLED is true that cache is enabled.
  21. John W

    ULTIMATE Seo Urls 5 - by FWR Media

    First I'd like to point out that errors should never be displayed on a live site and should be written to a log. Second, it's very helpful to have a test server running on your local machine so you can use something like xdebug with an IDE such as Netbeans so you can output a stacktrace with clickable links. When an error pops up on screen you can click the link and it opens the page to the line in your IDE where the error occuring. The page that actually fails is not always where the error is occuring thus the stack trace being handy. Netbeans and xdebug are free. I found these errors occuring in my log when an incorrect link is being called. PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxxx/public_html/includes/modules/ultimate_seo_urls5/page_modules/index.php on line 114 PHP Fatal error: Call to a member function store() on a non-object in /home/xxxxxxx/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78 There are some lines where false is being strictly compared, ie "===" and it's failing. By changing it to a looser comarison, ie "==" it seems to solve the errors. This is probably not the best way to solve this since strict comparison is better than loose, so you can try this at your own risk. Changing on the lines below. if ( false === to if ( false == ultimate_seo_urls5\main\usu5.php around line 160 and ultimate_seo_urls5\page_modules\index.php around line 110 and ultimate_seo_urls5\page_modules\product_info.php aroundline 98 if ( false === $text_array ) { to if ( false == $text_array ) { In the case of "ultimate_seo_urls5\page_modules\index.php" where it should return false it's failing the false comparison and failingf on the foreach on line 114. This shows in the strack trace.
  22. John W

    FedEx - Web Services v9

    I'm assuming you have your correct account numbers entered? If not, it doesn't quote correctly.
  23. John W

    FedEx - Web Services v9

    Correct
  24. John W

    FedEx - Web Services v9

    There are plenty of people here you can hire to help you to varying degrees, but many are questionable IMHO. Based on the quality of the contributions that Rob has done I would look to him first. I got this off of his docblock in USU5_PRO Robert Fisher, FWR Media, http://www.fwrmedia.co.uk Burt has been around for along time so you may want to talk to him too.
×