The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
HowdA All,
Welcome to Geek Autolinker 4.0 from the makers of Geek Autolinker 2.0 and Tang - the stuff the people in space drink. posts for version 4.0 start here What it does: It allows you to specify key words to replace in posts with ANY FREAKING URL YOU COULD THINK OF. Thats right, you to can now have key words automatically url'ed to other areas of the world wide web. Now in 4.0 you can create popups, track impressions and click-thrus, get statistics on them and specify more attributes of the links. The popups can now also use bbcode to create virtually any kind of popup you could imagine. You can limit categories of links to certain forums and also enable specific usergroups to toggle GALs on or off (by category). This is a perfect gift for sponsors, click throughs, referal programs, definitions, instructions, birthdays and other celebrations. Example: If I define Bob as a keyword that I would like to automatically come up hyperlinked to bob.com all I have to do is say so (well, you put it into the admincp). Presto! As quick as that, everytime a user sees the word bob, bobs, bob! Bob bOb? etc... it comes up linked to bob.com How much will bob love you? If the url you want it to jump to is actually a thread on your site, you can use the nifty ignorethreadid option. Heres how that works: If I have a thread entitled Reputation and how to use it, I can put the word reputation into the Geek AutoLinker with the URL pointing to the thread about reputation. Then everytime the word reputation appears in someones post, anyone can click on it to learn more. Since it would be stupid to have the thread Reputation and how to use it autolink to itself, I put the threadid in the ignorethreadid box. That way all matches for reputation are linked to that thread except for the reputation matches in the thread Reputation and how to use it. Safe mode and dangerous mode. There are now two modes of operation. Safe mode will autolink any match AS LONG AS IT HAS A SPACE BEFORE IT. That means that <br />bob or .Bob are not valid matches and wont be highlighted. The reason for this is to prevent the autolinker messing up URLs with matches in them (like www.bob.com). Safe mode will most likely end up with fewer matches, but no messed up URLS. Dangerous mode however could care less about your cute little spaces. It will link them regardless. That means more matches, but a slight increase that an existing url might break in a post. Here are some examples in action. Keyword: freak Safe mode. Freak out whenever freaks freak about on www.freak.com Dangerous mode: Freak out whenever freaks freak about on www.<a href="www.freak.com">freak</a>.com Other stuff:
Difficulty: Easy File mods: 4 simple ones Added queries: 0 or greater depending on your settings Updated 10.5.05 - Major Massive update in functionality Updated 13.4.05 - Major Massive update in functionality Update 25.03.05 - oops! Changed readme addition to functions_showthread.php Things look good now ![]() Updates 25.05.05 to v.204 - sneaky bug Thanks to Razz - I found 2 minor typos that end up causing people working in safemode to actually be working in danger mode! To upgrade, simply check out this post Updated 12.2.05 to v. 2.03 - ultra minor Fixed a typo in readme. To upgrade, al you need to do is edit admincp/index, do a search for construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=create'); and replace with construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=add'); Updated 11.2.05 - ultra minor Fixed a typo in README (dont worry, it wasnt in the instructions) Stopped phrase text spitting out during install. Some of the phrase is html so it looked confusing to new installers. Removed reference to GAS3 settings in the install. This is because its the same installer. Just forgot to remove that line. All in all, this was just a typo fix. There is no upgrade because there are no problems with the code. Updated 10.2.05 - minor Found a couple typos that affect safe mode. Nothing major - just replace the GAL_admin.php file Updated 10.2.05 - Major Completely re-written. See README for upgrade instructions. Update 10.2.05 - minor Updated include/geek_autolink.php as it was missing a table_prefix To upgrade, download latest package and replace your geek_autolink file. nJoy Show Your Support
|
Comments |
#272
|
||||
|
||||
![]() Quote:
Just do not overwrite with the one from GAS - thats older (in fact I am going to go remove it now) |
#273
|
||||
|
||||
![]()
Running the upgrade and last edit and it provides this message :-
"in clientscript/vbulletin_menu.js, replace: ???" .. Guess I must have missed something with the initial installation .. where does this go in vbulletin_menu.js with: Code:
function GAL_popup(e,value){ var leftpx = fetch_object_posleft(e); var toppx = fetch_object_postop(e) + e.offsetHeight; var dest=fetch_object("GALBox"); toppx=toppx-5; dest.innerHTML=value; dest.style.left = leftpx + "px"; dest.style.top = toppx + "px"; if ((window.document.body.clientWidth-dest.offsetWidth)<leftpx){ leftpx=window.document.body.clientWidth-dest.offsetWidth; dest.style.left = leftpx + "px"; } dest.style.visibility='visible'; } function GAL_hidepopup(){ fetch_object("GALBox").style.visibility='hidden'; } // ############################################################################# // another function to handle the different event models of different browsers // and prevent event bubbling in a lesser way |
#274
|
||||
|
||||
![]()
oops
![]() Just replace Code:
// ############################################################################# // another function to handle the different event models of different browsers // and prevent event bubbling in a lesser way Looks like I forgot to put that in... Ill go off and update the installer now. *edit - just fixed it. Thanks |
#275
|
|||
|
|||
![]()
Hi TNG,
Two questions 1) I reported a bug with Gal 2 but never got a response in that thread so I will ask again here: in safe mode, certain punctuation before the leading space was causing links not to be made. Things like commas and periods for example would stop links: . keyword would not link text, keyword, keyword, keyword would not link Has this issue been addressed? 2) Can you choose on a per-link basis whether the link will be a new window or the popup? I have some links that are board internal that should open in the same window while others (advertising-related) should open in new windows. Regards, Matt |
#276
|
||||
|
||||
![]() Quote:
Point 1- that is by design. In safe mode, the word MUST have a leading space. Otherwise it wont link for fear it will mess up a link. Danger mode will link them though. Point 2- You can overwrite on a per item basis. However the prefered and easier method is to now create a category for those special links and override the global replacement with whatever you want (ie taking out the target='_BLANK' option) |
#277
|
|||
|
|||
![]() Quote:
in #1 all of those have leading spaces .SPACEkeyword would not link text,SPACEkeyword,SPACEkeyword,SPACEkeyword would not link #2 - great! |
#278
|
||||
|
||||
![]()
Sorry - missed those spaces ([baddrumroll]I guess I 'spaced' them off! [/baddrumroll])
Well... a couple of users have mentioned this and I have to say I only just first witnessed it while testing 3.0. Thats because I generally use danger mode. FOr the life of me I couldnt figure out why it wasnt linking (mind you - its still very rare). The only thing I can think of is that the message itself (out of the DB) has some formatting during parsing which does not equate to a literal space. This would explain why it is consistent on the same message, but sows up elsewhere. If that is the case - it could be taken into account in the regex. However like I said - I only first just witnessed it. If anyone has some ideas - let me know. |
#279
|
||||
|
||||
![]()
Hate to find another problem .. my admin GAL items are now missing after the upgrade .. can someone post the edits for admincp/index.php .. thanks
|
#280
|
||||
|
||||
![]() Quote:
|
#281
|
|||
|
|||
![]()
I don't know what I am doing wrong. I ran the upgrade, had to do a couple adjustment manually, but now links are not working. Am I supposed to use what is in Gal folder instead of regular forum?
First time I used the auto installer... did not realized I had to copy files over |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|