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 |
#22
|
||||
|
||||
updated package to allow for "'s in replacement variable. Also added a couple of replacement examples in the first post.
|
#23
|
|||
|
|||
You Geek
Can you add more feature to this hack??? Sometime I don't want to link the keyword to any where, just want to have a popup dhtml tooltip with pre-defined content. This may use with advertising purpose, or use as a glossary. My site is all about computer thing, and members are going crazy answering repeating question of noobie. Let's see, when you are "lol"ing... do you want some one ask you "Please, what does 'lol' mean?" |
#24
|
||||
|
||||
well, currently the global replacement is just that - global.
It could easily be modified so that the replacement is on an individual basis (unless left blank - then it uses the global... As easy as it would be to do - I want to freeze functionality to get this released. All I need to know is: 1- does it do a clean install without problems? 2- does it do a clean upgrade without problems? 3- does it work as intended. When I get a yes across the board - it will get moved into its release thread. Ill keep your suggestion in mind |
#25
|
|||
|
|||
Then save this feature for 3.1, may be 3.5
I'll take a look at the code, hopefully I can submit a patch. |
#26
|
||||
|
||||
The code is pretty simple in flow.
What would need to be done is: 1- Add a replacement field to the gal table 2- Add a textarea box to admincp add & edit link sections 3- Capture the replacement text in the save section 4- Add a check in the functions_gal rebuild_gal_links function to see if that field is blank. If so, use the flow it does now. If not - use the text is contains. Sounds more difficult than it would be. Since I seem to be waiting around for feedback on how it is now... Maybe ill throw it in and save you a minute. |
#27
|
||||
|
||||
Done (in about 10 minutes!)
Package updated. You can now have the replacement on an item by item basis - or leave blank for the global setting. Guys - so far there are 6 installs and I only have feedback from 1 person. Can I get a green light from you guys that have installed that all was well? |
#28
|
|||
|
|||
Quote:
6000 users online.... IT BETTER WORK! Hum... ha. he... muhah ahhahahahhaha HAAAAAAAAA! |
#29
|
|||
|
|||
I tired to upgrade. I had to do 3 manual edits, step 100, 200 & 300. What I found was that instead of GAL linking each instance of a word, it removed it. I see the edit box in each item, where we can set variables:
Code:
Replacement code $link = url $description = link title $text is the text replacement. Code:
1. San Francisco 49ers = 49ers So I went for the uninstall/reinstall. Same result. Just opened pandoras box on myself, because I mistakingly deleted my backup. Gotta go back a few days in archive. |
#30
|
||||
|
||||
Well, whilst waiting around for results, I decided that I would add a category manager to it as well.
This way you can categorize the links and override the global replacement code with a category code (which of course can be overridden on an individual level). Man alive this has to be complete now dont you think? So much for the feature freeze If you have already installed - Run the installer but do the following individual steps: 1- DB 2- Phrases Then click the manual file changes and redo Step 200. nJoy |
#31
|
||||
|
||||
Quote:
Use the one listed in the first post in this thread that says normal |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|