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 |
#42
|
||||
|
||||
Just updated package to 2.04
THis is just a minor fix where I made the unknown category hardcoded so it couldnt be deleted or editied. THat way all existing links will appear in unknown if not assigned to a category. In Lizards situation - the unkown category ID was 1 but all his existing links were category 1, therefore they were not appearing (even though they are still there). This fixes it. To upgrade from 2.03, just replace the GAL_admin.php file. Oh, and rerun the install->phrases path of the new install file to insert the latest phrases. If Unknown is showing up in your category display (where you can edit/delete) just change the name or delete it as it is not needed anymore. Thanks. Think we are alomst there |
#43
|
|||
|
|||
everhthing is working perfect
|
#44
|
|||
|
|||
One quick tip. If you have previous gal and entered some auto link variables you have to edit them , paste the replacement variable
Code:
<a href='$link' target='_blank' class='DEF' title='$description'>$text</a> |
#45
|
||||
|
||||
Hey Lizard - not sure what you mean.
If there is no global replacement text, or category text, or item text, it should substitute the above for you. (Make sure you have the latest functions_gal.php file). The replacement order goes: Is there an item specific code? yes -> Use it No -> Is there a category code? yes-> Use it No->Is there a global replacement? Yes->Use it No->Use hard coded default (the one you posted). Let me know if that is not how it is working for you. |
#46
|
|||
|
|||
Hmmm... step 200 and step 300 have to be manually applied.
It's my fault, since I was move the placement of the code, but maybe you can improve it by not searching for: // ************************************************* if (can_administer('canadminstyles')) Just search for: //=== GEEK AUTOLINK step 4.2 === $printhr = true; construct_nav_option($vbphrase['GAL_display'], 'GAL_admin.php'); construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=add'); construct_nav_option($vbphrase['GAL_settings'], 'GAL_admin.php?do=rebuild'); construct_nav_group($vbphrase['GAL_CP']); //=== /GEEK AUTOLINK === That's step 200. Now I'm going to do step 300, report going after... |
#47
|
|||
|
|||
Step 300 has the same problem, but this is my fault to have extra linebreak after the last comment.
This may break the code if it's the fresh install, but if the previous has been installed and worked, maybe just do the search from the start comment to the last comment is enough. Just my 2 cents. After all, it worked Thank you Geek. |
#48
|
||||
|
||||
Hi Frzzy.
I am stumped as to what you mean. Clean installs are a bit o cake. Upgrading is a little more challenging. THat said - there are really only 3 file edits at the most anyway. Did you upgrade from 2.6? I thought you were doing a clean install. |
#49
|
|||
|
|||
Ya Geek,
I installed 2.6, it work great... then I think maybe it's better if it can popup a tooltip, then I go here and ask for it... then I found out about 3.0 It worked well here... I'm tweaking the replacement code, since I dont' like the "title" attribute tooltip |
#50
|
||||
|
||||
I would love a floating popup tooltip too. Just dont know how to do it.
You should be able to include $post variables as well (like the post id) which may help someone develop that - but once again... Im not sure how. The way this version has been designed was to give someone the flexability to do that though. Let me know how you get on. |
#51
|
||||
|
||||
Interesting... the install went well. Had to do 3 manual edits, but everything else was fine.
The links don't work though. Just plain text now. How would I go about finding what the problem is? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|