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
  #11  
Old 01-16-2006, 02:55 PM
taoqcom taoqcom is offline
Junior Member
 
Join Date: Jan 2006
Posts: 8
Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by The Geek
hehe, now I see why.

The reason was that there was no space or word boundary in your example. The reason GAL looks for a space is to prevent breaking URLs. Im not sure if that is an issue for you or not though?!? Anyway, if you would of had a space in front of the characters you were trying to match, it would have come up positive.

HTHs
that's right. In Chinese/Japanese/Korean, there is no space between words. I removed '/b' and it works like a charm now.

Thanks a lot for the help.
Reply With Quote
  #12  
Old 08-13-2008, 04:27 AM
vnjporg vnjporg is offline
Junior Member
 
Join Date: May 2006
Posts: 23
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by taoqcom View Post
In gal_class_admin.php
I changed
$texts= '#(' . '' . '\b(' . $leadingchar.$text_regex . ')s?\b)#im';

to

$texts= '#(' . '' . '(' . $text_regex . '))#im';

It works now. I know the change won't work in all the cases. for the time being, I am happy about it.

Thanks,
Jeff
Hello
I have edited as above but it does not work for my board using japanese utf-8
Anh help?
Thanks
Reply With Quote
  #13  
Old 08-13-2008, 05:16 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

Try setting a new regular expression via the GAL ACP Regular Expressions:
Code:
#(($1)(?=[^>]*<)(?![^<]*</))#im
Then go to the ACP -> GAL -> Categories and select the new regular expression in the Regexp column, and then use the GAL ACP Maintenance -> Rebuild RegExp Cache and see how it works.
__________________
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
  #14  
Old 08-13-2008, 05:29 AM
vnjporg vnjporg is offline
Junior Member
 
Join Date: May 2006
Posts: 23
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Hello
Thanks for your support! It works now. But I just try previewing it via "forum/glossary.php". The link still does not work in my thread! What should I do to make it work in my forum/thread ?


EDit:
Sorry it works now!
Thanks

Last edited by vnjporg; 08-13-2008 at 05:31 AM..
Reply With Quote
  #15  
Old 08-13-2008, 05:33 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

Sorry, I'm not sure what you are asking.

Do you mean like this ---> test

Or do you mean something else?
__________________
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
  #16  
Old 08-13-2008, 05:38 AM
vnjporg vnjporg is offline
Junior Member
 
Join Date: May 2006
Posts: 23
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Sorry!
I firgured it out!Just because I was trying to view it in the forum whose id is "inore forum id"!
It is ok now!
Thanks alot
Reply With Quote
  #17  
Old 08-13-2008, 05:52 AM
vnjporg vnjporg is offline
Junior Member
 
Join Date: May 2006
Posts: 23
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Hello
I have mina problem again.
I have 2 words: ベトナム and ベトナム語 and when I add link for ベトナム語 the gal just links to ベトナム

I meant it considers the later word as the first word.
Is there any way to fix this?
Reply With Quote
  #18  
Old 08-13-2008, 02:46 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

Is the 語 character showing in the GAL ACP for the keyword? Also check the HTML for the page using IE. Does the 語 character appear as ?? in the HTML source, or is it &something; instead? Does the 語 character have any special meaning? Is ベトナム語 full-width, half-width, or a combination?
__________________
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
Im still waiting for Support MotMann Geek Gazette 9 07-01-2008 04:00 PM
no support venon Geek Article and Review System 3 11-24-2007 03:35 AM
GAB Support KenDude Geek Advertising Banner System 5 07-10-2007 05:09 PM
No Support? nolnet Geek Auto-Linker 16 06-04-2006 12:18 PM
can not use chinese? bing11 Geek Auto-Linker 7 04-21-2006 04:32 PM


All times are GMT. The time now is 02:43 PM.


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