Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Geek AutoLinker 4.02 Details »»
Geek AutoLinker 4.02
Version: 4.02, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 02-09-2005 Last Update: 05-25-2005 Installs: 151
DB Changes
 
No support by the author.

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:
  • Category management - allows you to override global settings
  • Limit - limit the number of replacements per link per post
  • Ordinal - organise the order replacments are made
  • Customize your own replacment code on a global, catergory, or individual level.
  • The installer is a prototype GISH installer that does the file edits for you. Please check the readme for details on how it works - its pretty cool).
Upgrading
  • Download, replace all existing files with new ones.
  • Run the gal4_install.php file (in your admincp)
  • Follow the upgrade path.
  • The system will ahve you manullay chage any files it can not find to update.
DEMO: http://www.thenailgeek.com/showthread.php?t=11011 (note the words MMA and PREP. If you follow to MMA you will notice that MMA isnt linked in the final article thanks to ignorethreadid)

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-12-2005, 02:45 PM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To expand on tomshawk clarification, I thought it would be a good idea for users to somehow add files, containing large lists of keywords and the URLs for each, into the system so they don’t have to initially add them in manually. As it stands now, if I were running a music forum, and my ambition was to have practically every mentioned album hyperlinked, I’d have to collect the URLs first (which is fine), and then manually enter each one (and the album titles) into the system once they’re all collected. I don’t know if it’s practical in terms of building something like it, but I do know it’d be easier.
Reply With Quote
  #63  
Old 02-12-2005, 03:27 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Symbian.info
Use install and the readme file, but did not really do the database ad, look:
Database error in vBulletin 3.0.3:

Invalid SQL: SELECT * FROM geek_autolink ORDER BY text asc
mysql error: Table 'mysite.geek_autolink' doesn't exist

mysql error number: 1146

Date: Saturday 12th of February 2005 03:19:59 PM
Script: http://www.mysite/forum/admincp/GAL_...o=rebuildspace
Referer: http://www.mysite/forum/admincp/GAL_...php?do=rebuild

How can I do it manual?

And you are talking about a include/geek_autolink.php
But there is not in the zip file! Only admincp/GAL_admin.php and admincp/GAL_install.php is the file not complet?

Thanks for any help!

EDIT: Ok did it manual (looking in the PHP file) and works now almost ok!
De safemod is not working :disappointed:
And if I press the Add new link in the admincp I get :
Thats a crummy text replacement and you know it!
But at Display it works the Add new. strange!


Wow very nice script, thanks!!
Hey Alex, it looks like you may have an older package. Pre 2.0, there was a fucntions_geek_autolink.php file. Since then the function is inline.

I also went through the code and there are TABL_PREFIX's for all calls so once again I suspect an older version.

I did however find a typo in the changes to your admincp/index.php file. I updated the readme and noted the changes in the first post (basically replace the GAL_admin.php?do=create with GAL_admin.php?do=add

Thanks for that!
Reply With Quote
  #64  
Old 02-12-2005, 03:30 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OrangeFlea
To expand on tomshawk clarification, I thought it would be a good idea for users to somehow add files, containing large lists of keywords and the URLs for each, into the system so they don?t have to initially add them in manually. As it stands now, if I were running a music forum, and my ambition was to have practically every mentioned album hyperlinked, I?d have to collect the URLs first (which is fine), and then manually enter each one (and the album titles) into the system once they?re all collected. I don?t know if it?s practical in terms of building something like it, but I do know it?d be easier.
Hey guys,

I know where you are coming from... but to be honest I am not planning on doing something like that (though it would be really easy to do). One reason why is that you would almost need a moderator ability otherwise a user could really mess up your boards big style.

I would rather do the yellow popup box mentioned eariler first - though to be honest I am not even planning on doing that for a little while. I am knee deep in doing some wicked additions to geek articles 3 that I want to focus on. Then I have already started work on geekbay
Reply With Quote
  #65  
Old 02-12-2005, 03:35 PM
wirewolf's Avatar
wirewolf wirewolf is offline
 
Join Date: Jun 2004
Location: New York City
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First - Clicked Install, nice hack nail geek.
Quote:
Originally Posted by webrats
im trying to make the links another color without changing the links everywhere............................
I did this to change the color of the GAL_autolink:
find in GAL_admin.php, line 66:
Quote:
$links[]= "$leadingchar<a href='$result[link]' target='_blank' class='DEF' title='$result[description]'>$leadingstripper$1</a>";
Change to this:
Quote:
$links[]= "$leadingchar<a href='$result[link]' target='_blank' class='DEF' title='$result[description]'><font color='#FF0000'>$leadingstripper$1</font></a>";
I chose Red (#FF0000)(same color as used in search.php) but you can put in any color.
Here's an example from one of our posts (I used the word "Finish" as a test autolink to one of our members' Articles.) Another note on color choice, if you change the autolink color, make the color change in GAL_admin.php, then open up any autolink in adminCP and just hit "Save".
One other point on checking to see if a word you want to autolink is included in any url's in any of your existing posts. If you have a downloaded save of your database (YOU SHOULD!), open it up with a text editor and do a search for the words you want to autolink. If they show up inside any urls, you could change one of the words, leave out that certain word, or just use "Safemode". Of course that doesn't help with future posts. It would be nice if you could pick "I wanna play it safe" or "Na, I live life dangerously" for each specific word instead of globally. (Hint - nail geek!)
John
Reply With Quote
  #66  
Old 02-12-2005, 04:30 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wirewolf
First - Clicked Install, nice hack nail geek.
I did this to change the color of the GAL_autolink:
find in GAL_admin.php, line 66:

Change to this:
I chose Red (#FF0000)(same color as used in search.php) but you can put in any color.
Here's an example from one of our posts (I used the word "Finish" as a test autolink to one of our members' Articles.) Another note on color choice, if you change the autolink color, make the color change in GAL_admin.php, then open up any autolink in adminCP and just hit "Save".
One other point on checking to see if a word you want to autolink is included in any url's in any of your existing posts. If you have a downloaded save of your database (YOU SHOULD!), open it up with a text editor and do a search for the words you want to autolink. If they show up inside any urls, you could change one of the words, leave out that certain word, or just use "Safemode". Of course that doesn't help with future posts. It would be nice if you could pick "I wanna play it safe" or "Na, I live life dangerously" for each specific word instead of globally. (Hint - nail geek!)
John
Hey John,
I looked at doing it per word... but it seemed excessive as you never know if a word will appear in a link or not.

As for the colour choice, why not just alter the DEF css? The one included is just an example (the one I use).
Reply With Quote
  #67  
Old 02-12-2005, 05:03 PM
wirewolf's Avatar
wirewolf wirewolf is offline
 
Join Date: Jun 2004
Location: New York City
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi nail,
Quote:
I looked at doing it per word... but it seemed excessive as you never know if a word will appear in a link or not.
See what you mean. Nothings perfect. For example - my test word, 'Finish". In most of the posts, the context of the word 'finish' relates to the article I autolinked to "Finishing of Models". But I found a few where the context in some posts meant "Finish", as in "I just about to 'finish' my model" (as in "done with my model"). That's one area that computers haven't quite solved yet, the word and how it is used in a sentence.
Quote:
As for the colour choice, why not just alter the DEF css?
Thought of that, but the GAL_admin.php method allows for both options, ex: red for one, another color for the other.
John
Reply With Quote
  #68  
Old 02-12-2005, 05:24 PM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by the nail geek
Hey guys,

I know where you are coming from... but to be honest I am not planning on doing something like that (though it would be really easy to do). One reason why is that you would almost need a moderator ability otherwise a user could really mess up your boards big style.

I would rather do the yellow popup box mentioned eariler first - though to be honest I am not even planning on doing that for a little while. I am knee deep in doing some wicked additions to geek articles 3 that I want to focus on. Then I have already started work on geekbay
Well, I shouldn't have said "users." I meant admins. Doesn't matter, I suppose, since you're too busy with other projects at the moment.

If anyone comes up with an idea to input multiple keywords and URLs at once (as opposed to one-by-one), I'm all ears.
Reply With Quote
  #69  
Old 02-12-2005, 05:59 PM
Symbian.info Symbian.info is offline
 
Join Date: Nov 2001
Location: Netherlands
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by the nail geek
Hey Alex, it looks like you may have an older package. Pre 2.0, there was a fucntions_geek_autolink.php file. Since then the function is inline.
Nope I download it today!, but standing in the text above. But look wrong. Just wondering..

Quote:
I also went through the code and there are TABL_PREFIX's for all calls so once again I suspect an older version.
See above. today download. But what is the databae SQL format? So that I can check if its really ok..

Quote:
I did however find a typo in the changes to your admincp/index.php file. I updated the readme and noted the changes in the first post (basically replace the GAL_admin.php?do=create with GAL_admin.php?do=add
Ok that solve the add new one problem
Now the safe mode. I must have safe mode .. It looks bad now
Can I do the setting manual??
Reply With Quote
  #70  
Old 02-12-2005, 06:31 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Symbian.info
Nope I download it today!, but standing in the text above. But look wrong. Just wondering..


See above. today download. But what is the databae SQL format? So that I can check if its really ok..


Ok that solve the add new one problem
Now the safe mode. I must have safe mode .. It looks bad now
Can I do the setting manual??
hmm.

The table SQL is in the install file.
For safe mode, just clikc settings->Safe mode, and the datastore is built in safe mode.
Reply With Quote
  #71  
Old 02-12-2005, 06:36 PM
Symbian.info Symbian.info is offline
 
Join Date: Nov 2001
Location: Netherlands
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by the nail geek
hmm.

The table SQL is in the install file.
For safe mode, just clikc settings->Safe mode, and the datastore is built in safe mode.
not working. thats why I ask :squareeyed:
How can I do it manual.. What does it do?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08472 seconds
  • Memory Usage 2,340KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete