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 12-31-2005, 07:08 PM
acers acers is offline
Member
 
Join Date: Aug 2005
Posts: 84
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default gal replace problem

jus check this thread:
http://www.techenclave.com/forums/te...tml#post327564

now the replacement is fine as long as the replacement text is not the first word. But if its first word in the post then its not replaced..

umm why is that? is it some bug?
Reply With Quote
  #2  
Old 01-01-2006, 02:06 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

GAL is designed to be picked up as the first word (see, its done it here!) - however looking at your source, the first word is preceeded directly by: <!-- google_ad_section_start -->FIRSTWORD which is screwing it up. (the google bit).

What is that?
Reply With Quote
  #3  
Old 01-01-2006, 03:03 AM
acers acers is offline
Member
 
Join Date: Aug 2005
Posts: 84
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

vbseo

thats the google adsense block beginning.
any way i will tke it up
thanks

Last edited by acers; 01-01-2006 at 03:19 AM..
Reply With Quote
  #4  
Old 01-01-2006, 10:57 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

If its giving you a lot of problems, you can edit your gal_class_admin.php file and change:

$leadingchar='(?<=\\s|"right">|"left">|"center">|< li>|<span class="highlight">|<strong>|<b>|<i>)(?<! GAL --> )';

to

$leadingchar='(?<=\\s|"right">|"left">|"center">|< li>|<span class="highlight">|<strong>|<b>|<i>|<!-- google_ad_section_start -->)(?<! GAL --> )';

Personally, I dont think the extra overhead is worth it though

HTHs
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
Gal problem in IE Storm Geek Auto-Linker 5 06-11-2008 04:38 AM
Replace automatically Hyperlinked Words fernandose Geek Auto-Linker 1 04-17-2007 12:10 AM
Wildcards in replace? theGuru Geek Auto-Linker 4 04-20-2006 08:56 AM
Gal 4.5c VB 3.5.1 Memory Problem. pixl97 Geek Auto-Linker 3 12-13-2005 06:25 PM
Only replace first n occurrence(s) Erik Geek Auto-Linker 1 10-19-2005 08:56 AM


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


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