Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rewrite eBay Links Details »»
Rewrite eBay Links
Version: 1.4, 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-06-2007 Last Update: 10-12-2008 Installs: 186
Uses Plugins
Additional Files  
No support by the author.

Rewrite eBay Links

Description:
This mod rewrites eBay links so they link to an affiliate.

Request:
Requested in a paid deal by brookelyn, this modification's idea can also be accredited to brookelyn. Also requested by various other members.

Installation:
All the installation information is in the package.

Changes:
2 Plugins
1 File

Supporters / CoAuthors

Show Your Support

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

Comments
  #282  
Old 08-15-2008, 02:02 AM
LanciaStratos's Avatar
LanciaStratos LanciaStratos is offline
 
Join Date: Oct 2001
Location: somewhere you're not
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, version 1.2 isn't working on vB 3.7.2, right? I'm also anxiously awaiting an update.
Reply With Quote
  #283  
Old 08-21-2008, 08:07 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just ran across another small problem. One of my members was trying to send a link to another member via a PM. The link is http://www.limestonebay.com which is a website for a hotel. This mod rewrites that link though and sends you to Ebay.
Reply With Quote
  #284  
Old 08-29-2008, 05:59 PM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any time now...I hope...still patiently waiting.
Reply With Quote
  #285  
Old 09-09-2008, 07:25 AM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anybody have a sure fire way to make this work in 3.7.x?
Reply With Quote
  #286  
Old 09-09-2008, 01:16 PM
creativepart creativepart is offline
 
Join Date: Jun 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It already does work in 3.7.X. I and many others are using it without problem.

What problems are you having?
Reply With Quote
  #287  
Old 09-10-2008, 03:01 AM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My above post and dismounted's reply:

Quote:
Originally Posted by siliconfinance View Post
Dismounted,

I know you are probably busy with other projects, but do you know whether you intend to update the script any time soon. The proposed changes that I made to my file do not seem to work. Thank you for this great mod.
Quote:
Originally Posted by Dismounted View Post
Soon .
Reply With Quote
  #288  
Old 09-10-2008, 03:18 AM
creativepart creativepart is offline
 
Join Date: Jun 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running it on 4 websites all running 3.7.3 and all are earning money and showing clicks. I don't know what you are doing wrong.

I thought the programmer was responding to when he was going to fix the script from inadvertently rewriting non-ebay links that happen to have the letters ebay in the link. And to that question he answered... "soon." He was not answering your question of when he was going to fix the script to work with 3.7 -- because he already answered that one -- it was rewritten to work with ePN and it has always worked with 3.7
Reply With Quote
  #289  
Old 09-10-2008, 03:11 PM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by creativepart View Post
I'm running it on 4 websites all running 3.7.3 and all are earning money and showing clicks. I don't know what you are doing wrong.

I thought the programmer was responding to when he was going to fix the script from inadvertently rewriting non-ebay links that happen to have the letters ebay in the link. And to that question he answered... "soon." He was not answering your question of when he was going to fix the script to work with 3.7 -- because he already answered that one -- it was rewritten to work with ePN and it has always worked with 3.7
Well, I am not sure where your impression came from since his reply was posted immediately after my post. Maybe I am wrong...who knows.

Nonetheless, I followed the modification steps layed out in his post and now this product doesn't seem to work for me so I have been waiting patiently.
Reply With Quote
  #290  
Old 09-10-2008, 03:36 PM
creativepart creativepart is offline
 
Join Date: Jun 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then you have some problem with your installation. The mod works great.

Your first comment back on page 16 or 17 was that you had the same problem as another poster... which was that malformed URL (typos basically) were causing problems. He was asking for regex routines to be added to the mod to keep it from trying to parse malformed URLs.

Is that what you are waiting for? Or do you think the mod doesn't work with 3.7.3 and are waiting for it to be fixed for this version?

The MOD works as designed in 3.7.3 without problem and does not need fixing or updating.
Reply With Quote
  #291  
Old 09-10-2008, 03:39 PM
siliconfinance siliconfinance is offline
 
Join Date: Mar 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This didn't work:

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

But replacing the original phrase with this did:
Quote:
Originally Posted by Dismounted View Post
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
Reply


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 10:38 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.08519 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
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
  • (5)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
  • (2)pagenav_pagelinkrel
  • (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