vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Word Links FREE (Turn words into links) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=263699)

Trevor Matthews 02-09-2012 08:02 PM

Well it has been a week and this mod has been an absolute God send.

I am now linking to other parts of my forum and to external web-sites I run that sell products.

Couldn't be easier to do.

If there was a Mod of the Year this should be the one that wins.

If you don't have this installed get it downloaded now.
It really has been a massive help to me.

Trevor Matthews 02-09-2012 08:05 PM

Donation Sent.

BirdOPrey5 02-10-2012 12:14 AM

Thank you for the donation Trevor- I got your email and am looking into if what you asked is possible. Will get back to you soon. :up:

Trevor Matthews 02-11-2012 10:27 PM

My pleasure and thank you for looking in to the seach issue for me.

dnk.it 02-29-2012 07:16 PM

If this mod will works on cms too should be fantastic!

craiovaforum 03-04-2012 11:57 AM

Does this mod affects the already existing links or only text?

For example, if I have the word amazon, I understand that it will transform it into a link per my settings but if I already have something like this:

"I bought it from amazon" the plugin will try to put a link on the amazon word that already has a link under it?

BirdOPrey5 03-04-2012 12:02 PM

Quote:

Originally Posted by dnk.it (Post 2304778)
If this mod will works on cms too should be fantastic!

It doesn't currently work in the CMS.

Quote:

Originally Posted by craiovaforum (Post 2306026)
Does this mod affects the already existing links or only text?

For example, if I have the word amazon, I understand that it will transform it into a link per my settings but if I already have something like this:

"I bought it from amazon" the plugin will try to put a link on the amazon word that already has a link under it?

It will ignore existing links.

craiovaforum 03-04-2012 01:06 PM

Thanks for your reply

Is there any way that I can make it work instead of url-s to put directly the html code?

Because I need to insert a tracking image too, something like this:


Code:

<a href="http://domain.com/click.php?ad_client=md5&add_id=id&redirect=">Text</a><img src="http://domain.com/link_track.php?ad_client=md5&add_id=id" alt="" border="0" width="1" height="1" style="border:none !important; margin:0px !important;" />

BirdOPrey5 03-04-2012 04:31 PM

Does the image you have to put in change depending on the word/link that is made?

If not a fairly easy edit of the plugin code would do... If so it just isn't possible without some significant editing of the mod.

craiovaforum 03-04-2012 09:13 PM

It changes but I managed to do it with this code:

Replaced
Code:

      $boplink = $bopspan1 . '<a href="'.trim($boplink).'"' . $bop_target_array[$bopi] . $bop_nofollow_array[$bopi] . ' >$1</a>' . $bopspan2;
with
Code:

      $boplink = $bopspan1 .  $bopspan2;
and included instead of the url, the whole html code.

this should work, right? :D


All times are GMT. The time now is 12:49 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.01325 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (2)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