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 |
#692
|
|||
|
|||
![]()
Yup you're showing up as licensed now.
![]() |
#693
|
|||
|
|||
![]()
I could do with some help installing this and am prepared to pay for it, if anyone's interested?
![]() |
#694
|
|||
|
|||
![]()
Paul
If you are asking someone to do a job for payment, please post your request in teh Service Request forum. |
#695
|
|||
|
|||
![]()
almost working, but i'm having a problem with IE displaying 'glossary' links (set them up exactly per instructions):
![]() it seems to appear fine in firefox (just showing the text under the link, no <td> code).. tried rebuilding as well. from the debug: Code:
Find #(\s\b(dictionary)s?\b)#im Replace <a href='http://www.dictionary.com' target='_blank' class='DEF' onmouseover='GAL_popup(this,"1", 0, "", "Testing <!--GAL_REMOVAL-->dictionary.com", "");' onmouseout='GAL_hidepopup();'><!--GAL_REMOVAL-->$1</a> |
#696
|
|||
|
|||
![]()
Looks like a bug... "Box style" (box_style) setting does not take when adding a new category. The category can be edited to fix it though.
|
#697
|
|||
|
|||
![]()
Hey, what's with the vB versions you guys are claiming to be running?
MarcoH64: 4.5.0 Beta4 The Geek: 4.06 As far as I know, vB 3.5 is in beta now. |
#698
|
||||
|
||||
![]()
mkdevo - it looks like you are running in danger mode. Make sure its in safe mode and rebuild.
Thanks tom... ill look into it. ![]() |
#699
|
|||
|
|||
![]() Quote:
You didn't envision people using it with more than 190 replacements? I would expect it to be very common to have more than that once you get rolling with it. GAL 4 is substantially slower than GAL 3! It's an absolute show stopper. Even a dual Xeon system is brought to it's knees with hundreds of replacements. In addition to adding extra features, did you mostly switch from simple string replacements to using regular expressions - or is there some other reason that it is substantially slower than the previous version? Other than turning off the DB Cache and removing some replacements, what else can be done to speed things up? How do I turn off GAL4 completely (disabled) without un-installing it? I don't see an option in the admin area. Can replacements be disabled rather than removed? |
#700
|
|||
|
|||
![]()
Geek,
The large amount of CPU time seems to be spent in the regular expression searching of preg_replace(). Since 99.9% of the time, the replacement text is not present in any given post, how about pre-processing the list of replacements "text" fields to see if a simple string search using the quicker stristr() function finds the text in the post before adding it to the find/replacement array to be used by "the CPU hog" preg_replace() function? I would then expect the preg_replace() to usually only be working with a few search terms or less. I think this would speed things up a lot when using hundreds of replacements. |
#701
|
||||
|
||||
![]()
Hi Tom,
The actual processing of the preg_replace is almost identical to the previous version (Especially if not using the DB cache). In fact, off the top of my head it IS the same. Lets say that you have 190 GALS to check, you would then need to run 190 stristr´s THEN run the preg_replace on the results (for each post in the thread). Whether this has any cost implications, I couldnt say. Seems to me the ultimate solution would be to find a way to GAL the page results instead of on a post by post basis. The problem with doing that (as it is easily done) is the increased risk of GALing stuff you dont want GALed. If that could be done, you could cut the average preg_replace cost by an average 15 times. If you want to give it a try, run the process_text function on the postbits after they are created. As I mentioned before, I didnt envision 190 replacements at a go though I guess can easily see it happening now. The previous version would give you about as much overhead as this one would so I dont think it really has much to do with that. Ill look into cost implications of the stristr or strpos when I start to migrate this to 3.5 however I think the real benefit would be by GALing the results instead of the post text. HTH´s |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|