The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Auto-Linker

Geek Auto-Linker GAL automatically links keywords that users type in posts to advertising hover pop-ups.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2008, 05:21 PM
KenDude KenDude is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Question on autolinking abbreviations

I'd like to autolink to the abbreviation "SC", but only when SC is preceeded by and followed by a space. In other words autlink SC but NOT SChool or SCript or any other word with SC in it. If I just put SC in the config will it only link to SC by itself or do i need to put it in quotes or something to prevent linking in words like school script scion etc?
Reply With Quote
  #2  
Old 01-22-2008, 08:53 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

With the 'standard' regular expression, only keywords preceded and followed by a word boundary would get linked, so cat would match cat but not catch and not scat and not scatter.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 01-22-2008, 11:01 PM
KenDude KenDude is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Got it, thanks! The one exception I found was SC is different from SCorpion but not different from SC-IV, the dash is treated as a word boundary I guess, not a biggie for me.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autolinking in Side Columns MOG Geek Auto-Linker 1 05-28-2008 06:02 PM
No autolinking when certain formatting is applied? Specifically search highlighting. bob Geek Auto-Linker 1 11-11-2005 10:57 PM


All times are GMT. The time now is 08:49 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.