vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Rewrite eBay To ShoppingAds (https://vborg.vbsupport.ru/showthread.php?t=144468)

Kamran 09-17-2007 12:29 PM

Hi,

I installed it, but some users experienced popups asking if they wanted to download a file from auctionads, so I've disabled it now.

Here is the thread with screenshots on my forum.

WoodiE 09-17-2007 03:01 PM

I think this mod might be having problems with other mods as on a clean install forum this mod works fine, on my live forum it doesn't.

Kamran,

How long ago have you tried this? AA did have a problem a few days ago to which has been reported as fixed. If so you might want to try it again.

Kamran 09-17-2007 10:27 PM

Woodie - it was a few days ago, so I'll have a go again next week sometime, I'll let you know how it goes :)

I do have some other mods installed also, so its possible there is a conflict somewhere.

Dismounted 09-18-2007 06:22 AM

Quote:

Originally Posted by WoodiE (Post 1340887)
I think this mod might be having problems with other mods as on a clean install forum this mod works fine, on my live forum it doesn't.

I've only tested on my board with my custom modifications and a clean board so that's maybe why I can't pinpoint the problem. I would be happy to go in and check which modification is causing the conflict for you.

Paul M 09-27-2007 04:55 PM

We came across a small issue with this today.

We had a thread that was generating errors and it turned out to be this causing them - it didn't like http://??? .

Dismounted 09-28-2007 06:25 AM

It generated a parse_url() error, correct? The cause of the error is that it isn't a valid URL. I'll need to do a loop to suppress errors, instead of using array_map().

In the meantime, just do this edit to the plugin "Rewrite Function". Find:
PHP Code:

$parsed array_map('parse_url'array_map('strtolower'$links)); 

Replace With:
PHP Code:

// convert all links to lowercase
$links array_map('strtolower'$links);

// parse links
$parsed = array();
foreach (
$links AS $link)
{
    
$parsed[] = @parse_url($link);



Paul M 09-28-2007 01:18 PM

Quote:

Originally Posted by Dismounted (Post 1348791)
It generated a parse_url() error, correct? The cause of the error is that it isn't a valid URL.

Yep, I ended up having to edit the post.

siliconfinance 10-05-2007 08:08 AM

I used your change to fix the parse error...no more parse error, but now it does not seem to rewrite the ebay links. Any thoughts?

Dismounted 10-08-2007 06:49 AM

Try this instead:
PHP Code:

// convert all links to lowercase
$lower_links array_map('strtolower'$links);

// parse links
$parsed = array();
foreach (
$lower_links AS $link)
{
    
$parsed[] = @parse_url($link);



DieselMinded 10-09-2007 04:02 AM

/me clicks installed


All times are GMT. The time now is 04:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete