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
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2008, 02:12 PM
alfa alfa is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Geek Auto-Linker Pro License Holder 
Question Full stop in keywords

I tried entering xyz.com but it automatically changes it to xyzcom - is it not possible to have a full stop (dot) in the keyword?
Reply With Quote
  #2  
Old 08-21-2008, 11:45 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

Word characters (\w), space (\s), comma (,), apostrophe ('), and dash (-) are currently allowed. Other characters get stripped, but if you want to allow other characters, you'd need to edit the strip_text function, appearing in both the gal_class_core.php and gal_class_dictionary.php files. Look for all instances of [^\w\s,\'\-] and add whatever you want to the character class, making sure to not allow unsafe characters.
__________________
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 08-22-2008, 10:41 AM
alfa alfa is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Geek Auto-Linker Pro License Holder 
Default

Do you think it's safe to add a full-stop? Do you forsee any problems? Any reason why it wasn't included already, as it seems quite obvious you might want to link a web address or email address?

Thanks Morgan.
Reply With Quote
  #4  
Old 08-23-2008, 05:57 AM
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

1) Yes, 2) no, 3) who knows. Try...
Code:
[^.\w\s,\'\-]
__________________
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
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
Periods in keywords? john2k Geek Auto-Linker 1 11-03-2009 03:48 PM
Full content of the first post in a collapsible section on top of each page? Tigratrus Geek Article and Review System 1 05-13-2009 05:34 PM
GAZ has mind of its own started sending, no way to stop? KenDude Geek Gazette 1 11-17-2008 05:26 AM
I'm going to stop upgrading :( Loco Geek Article and Review System 0 07-12-2007 05:10 PM
Full of ERRORS on GAL! ant0nio Geek Auto-Linker 9 06-15-2007 05:28 PM


All times are GMT. The time now is 09:38 AM.


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