The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||||||||
Word Links FREE (Turn words into links) by BOP5
![]() Developer Last Online: Aug 2023 ![]() ![]()
Thank You for voting this June 2011 Mod of the Month!!! The purpose of this mod is to automatically turn keywords or phrases you specify into links. You set a list of keywords and a list of URLs to link them to and let the mod do the rest. This is the FREE Version. It allows you to auto-link words in:
The GOLD Version is available at Qapla.com It allows auto-linking words in:
Live Demo at Qapla.com. There are many options as you can see in the screenshot. You can choose to include the "nofollow" attribute, choose to open links in a new tab, choose to match whole words only or not, specify specific forums, enable in social groups and visitor messages, and disable completely for selected usergroups or styles. Version: 2.0
Example... If someone types: "I bought it on Amazon." This mod can auto convert it to: "I bought it on Amazon." And you would presumably put your Amazon affiliate code, if you had one, in the link. NOTE: This mod does not alter the actual posts or the database. Disabling or uninstalling the mod will remove all links. There is a VB3 and VB4 version of this mod, please download the correct version. Full instructions in zip file. Notice: Since the following words are used in HTML tags I would avoid them as keywords: style, div, class, pre, href, img, html, meta, name, rel, nofollow, and link. I would also avoid any single letter or two letter keywords since they could easily be used accidentally in places you weren't intending. ------------------------------------------------------ Please "Mark as Installed" if you use this. ![]() Donations always appreciated. :up: [s]Nominate MOTM if you LOVE it! ![]() Download Now
Screenshots
Show Your Support
|
12 благодарности(ей) от: | ||
babyv0x, BCP Hung, CThiessen, dnk.it, eTiKeT?, m2006, mahsazn, markoroots, mohammadxxx, postcd, Taurus1, Trangalleiro |
Comments |
#332
|
|||
|
|||
![]() Quote:
i found ISO-8859-2 is not supported in htmlspecialchars() function: http://php.net/manual/en/function.htmlspecialchars.php Please any idea how to replace (htmlentities?) that function or safelly skip it so this Word Links plugin works with that charset? functions_bop_wordlinks.php CODE: Code:
// $bopfind = preg_quote (htmlspecialchars($bopfind)); define('CHARSET', 'ISO-8859-2'); define('REPLACE_FLAGS', ENT_COMPAT | ENT_XHTML); $bopfind = preg_quote (htmlspecialchars($bopfind,REPLACE_FLAGS, CHARSET)); |
#333
|
|||
|
|||
![]()
Talk to your host
|
#334
|
||||
|
||||
![]() Quote:
But looking at the description you could just try replacing htmlspecialchars with htmlentities in the code- the function should work the same way, |
#335
|
||||
|
||||
![]()
What version of PHP are you running?
|
#336
|
|||
|
|||
![]()
Thank you very much
It work fine but I have some problem with this one https://vborg.vbsupport.ru/showthrea...hlight=hashtag Can you check please. Thank you. |
#337
|
||||
|
||||
![]() Quote:
Create a new plugin on the global_bootstrap_init_start hook with an execution order of 3. Code: Code:
function bop5htmlspecialchars ($t) { $find[0] = '<'; $find[1] = '>'; $replace[0] = '<'; $replace[1] = '>'; return str_replace ($find, $replace, $t); } |
Благодарность от: | ||
ForceHSS |
#338
|
|||
|
|||
![]() Quote:
only UTF-8, but im unsure why then links are not added to words when they contain some of ě?čř????? characters.. so there is no way to modiffy Code:
// $bopfind = preg_quote (htmlspecialchars($bopfind)); define('CHARSET', 'ISO-8859-2'); define('REPLACE_FLAGS', ENT_COMPAT | ENT_XHTML); $bopfind = preg_quote (htmlspecialchars($bopfind,REPLACE_FLAGS, CHARSET)); |
#339
|
||||
|
||||
![]()
I'm afraid as I said earlier I am not able to support non-English languages, sorry, I just don't know how PHP works when not using the letters I am familiar with. Maybe someone else had an idea.
|
Благодарность от: | ||
postcd |
#340
|
|||
|
|||
![]() Quote:
![]() |
#341
|
||||
|
||||
![]()
dear
Does not work on the vBulletin 4.2.3 Beta 4 version The problem: White page when open any Post |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|