vb.org Archive

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

teach1st 06-25-2011 04:16 PM

With fifth graders, not much is consistent. :)

You are right...too much risk. So far, the "homework" tag is the only problem. I can simply use "hw" when I want to link to our homework page. Thanks for your help today and thanks for a great product!

furnival 07-05-2011 04:34 PM

Wow this is fantastic. I was just looking for whether VBSEO could do something like this and stumbled across this thread. Many thanks for releasing this!

yamahapaul 07-15-2011 06:49 AM

I want to use this for amazon but can't figure out how to structure the link to my affiliates program :confused:


:(

BirdOPrey5 07-15-2011 07:36 PM

A basic affiliate link to Amazon looks like:

Code:

http://www.amazon.com/?tag=joesultofftop-20
Change my affiliate code in red to your own code.

suko22 07-27-2011 11:19 AM

Hi, congrats for this addon, works great in my forum.

But have one problem with images. Using the default 'Insert image' button from vbulletin, if I try to insert an image whit a name linked whit this addon, I have this problem:

https://vborg.vbsupport.ru/external/2012/07/5.jpg

The word linked is 'dmt' , and the image name is 'dmt22.jpg' . How can I solve it?

thanks :)

BirdOPrey5 07-27-2011 11:25 AM

I'll need a link to that post.

suko22 07-27-2011 11:51 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2225518)
I'll need a link to that post.

here you are http://www.todocircuito.com/foro/sho...865#post105865

Thanks in advance :)

BirdOPrey5 07-27-2011 12:31 PM

Quote:

Originally Posted by suko22 (Post 2225524)

Thanks... But please disable the mod or take dmt out so I can see what it looks like normally.

BirdOPrey5 07-27-2011 12:39 PM

Nevermind- I see the issue- you're image resizer mod is conflicting.

You can fix this by editing the three plugins:

Word Linker Group Message
Word Linker Postbit
Word Linker Visitor Messages


In EACH find the line:
Code:

$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|onclick="[\w .()]+"))~'.$bopcase;
And replace it with:
Code:

$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|rel="thickbox">|onclick="[\w .()]+"))~'.$bopcase;
In a future version I will include an option for a custom regex to take care of special circumstances like yours.

suko22 07-27-2011 02:39 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2225547)
Nevermind- I see the issue- you're image resizer mod is conflicting.

You can fix this by editing the three plugins:

Word Linker Group Message
Word Linker Postbit
Word Linker Visitor Messages


In EACH find the line:
Code:

$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|onclick="[\w .()]+"))~'.$bopcase;
And replace it with:
Code:

$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|rel="thickbox">|onclick="[\w .()]+"))~'.$bopcase;
In a future version I will include an option for a custom regex to take care of special circumstances like yours.

Man, thousand of thanks, 'miles de gracias' in spanish. Now it?s woriking fine ;)

Of course, nominated to motm, i love this addon


All times are GMT. The time now is 10:52 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.01001 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_code_printable
  • (3)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