|
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 |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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?
|
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|
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 |