The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Geek AutoLinker 3.00 RC1 Details »» | |||||||||||||||||||||||||
HowdA all.
BETA CLOSED. PACKAGE IS RELEASED HERE I have finally gotten GAL3.0 to a stage where it can be beta tested via fresh install or upgrade from 2.6 GAL is designed to be able to auto link keywords to your own specific URLs. (Read more here). 3.0 builds on 2.6 but includes the following: 1- ability to specify ordinal 2- ability to add URL titles 3- ability to cusomize the URL replacement 4- abiilty to limit # of time a match is replaced per post 5- new installer/upgrader/uninstaller built on a prototype GISH installer. This means that all file edits are done automatically for you unless you choose otherwise. 6 - Just added a category manager to categorize your GALS, but also so you can override the global replacement text on a category level. 7- Global, categorical, or individual replacment value. You can customise the replacement code on a global level, but override it on a category level, or even override that on an individual level which gives you massive versatility. All is pretty much self explanitory in the readme and the GAL 2.6 thread. As this is a beta, I would encourage that it is not used on a live board and that you backup your DB and files before running. edit: I just updated the package to allow for "'s in the replacement. Now you can customize the replacements with things like: For normal: Code:
<a href='$link' target='_blank' class='DEF' title='$description'>$text</a> Code:
<a href='$link' target='_blank' class='DEF' title='$description' onmouseover="window.status='$description'; return true" onmouseout="window.status=''; return true">$text</a> I have spent all afternoon and just come up with a way to have the hovering popups!!! Consider it a beta add on for a beta. Once that is working 100% I will fold it into the main package. For now, the instructions are in the current package. It requires a file edit and a template edit. The rest just works off replacement code that you create. [/edit] Like I said - the above is just pseudo code. But I am sure something like that would work (my javascript chugs). nJoy Show Your Support
|
Comments |
#92
|
||||
|
||||
So everyone - how we looking?
Do we feel that the system is sorted now? I assume that everyone would like the popup option built into the install? |
#93
|
|||
|
|||
Quote:
|
#94
|
|||
|
|||
Quote:
I am still on the last RC before you added the popup. Not really a feature I would use, but everything else is A-OK. I also setup a test forum on a seperate box, and fresh install was smoooooth. |
#95
|
||||
|
||||
Quote:
Unless someone says otherwise - Ill most liekly release tonight |
#96
|
|||
|
|||
Thank you very much for this hack Geek. It is incredibly useful.
I would like to see a "smart mode" in addition to the dangerous and safe mode. I am using safe mode, but there are a lot of potential links that are not getting linked. I think it just needs a little more intelligence with regular expressions to catch more of them without resorting to the dangerous mode where even segments of words get linked. Also, can we enter regexps in the "text to replace" field when adding entries? |
#97
|
|||
|
|||
Pop-up doesnt work and if you do a search that IS the link the link dies.
For example if I made the word sexy a link and do a forum serach for sexy and goto that page.... (http://www.yoursite.com/forums/showt...highlight=sexy) The link will die. Just figured that one out. |
#98
|
|||
|
|||
Quote:
|
#99
|
||||
|
||||
Tom, you would have to edit the code to edit the regex. If you can supply a better one - I am game to put it in.
In safe mode, it must have a space before the word in order to qualify. when searching, the word gets highlighted with something like <span=highlight>word</span>. It would be very difficult and very slow to try and figure out if the > next to word was the end of a link or not. Same with a full stop . who knows if that is part of an extension of a url? Or an underscore? You get the gist. Without a lot of recursive checking - its very difficult to try to determine if it is safe to link. But like I said in the begining - if a better regex can be put forward then I think that is a big + For the popup to work - you have to make file changes to vbulletin_menu.js and you must have the recommended replacement text in the global, category or item replacment where that item lives (if you get me). |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|