Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Rewrite eBay To ShoppingAds Details »»
Rewrite eBay To ShoppingAds
Version: 1.2, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 04-09-2007 Last Update: 10-09-2008 Installs: 52
Uses Plugins
Additional Files  
No support by the author.

Rewrite eBay To ShoppingAds

*** Please be aware that a member has had his ShoppingAds account deactivated through the use of this modification. (See https://vborg.vbsupport.ru/showpost....&postcount=113) ***

Description:
Adds ShoppingAds prefix to posted eBay links.

Request:
https://vborg.vbsupport.ru/showthread.php?t=144207

Installation:
All the installation information is in the package.

Changes:
2 Plugins
1 File

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 09-17-2007, 12:29 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #43  
Old 09-17-2007, 03:01 PM
WoodiE WoodiE is offline
 
Join Date: May 2002
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #44  
Old 09-17-2007, 10:27 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #45  
Old 09-18-2007, 06:22 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WoodiE View Post
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.
Reply With Quote
  #46  
Old 09-27-2007, 04:55 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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://??? .
Reply With Quote
  #47  
Old 09-28-2007, 06:25 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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);

Reply With Quote
  #48  
Old 09-28-2007, 01:18 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
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.
Reply With Quote
  #49  
Old 10-05-2007, 08:08 AM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #50  
Old 10-08-2007, 06:49 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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);

Reply With Quote
  #51  
Old 10-09-2007, 04:02 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks installed
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:06 PM.


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.04493 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete