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 Links (https://vborg.vbsupport.ru/showthread.php?t=144214)

LanciaStratos 08-15-2008 02:02 AM

So, version 1.2 isn't working on vB 3.7.2, right? I'm also anxiously awaiting an update. :)

dknelson 08-21-2008 08:07 PM

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.

siliconfinance 08-29-2008 05:59 PM

any time now...I hope...still patiently waiting.

siliconfinance 09-09-2008 07:25 AM

anybody have a sure fire way to make this work in 3.7.x?

creativepart 09-09-2008 01:16 PM

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

What problems are you having?

siliconfinance 09-10-2008 03:01 AM

My above post and dismounted's reply:

Quote:

Originally Posted by siliconfinance (Post 1582633)
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 (Post 1582918)
Soon ;).


creativepart 09-10-2008 03:18 AM

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

siliconfinance 09-10-2008 03:11 PM

Quote:

Originally Posted by creativepart (Post 1618708)
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.

creativepart 09-10-2008 03:36 PM

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.

siliconfinance 09-10-2008 03:39 PM

This didn't work:

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. 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 (Post 1355337)
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);





:)


All times are GMT. The time now is 06:03 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.02200 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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