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.

  Learn how to remove ads

Thread Tools Display Modes
Old 01-20-2006, 03:35 PM
benstafford benstafford is offline
Junior Member
Join Date: Dec 2005
Posts: 1
Geek Auto-Linker Pro License Holder 
Default Ignoring text in alt tags

On our sites, we copy "news" articles into vbulletin so users can post replies to the news. These articles have inline images to which we often apply some alt text. When the article is posted in forum, GAL does a replace on the alt text and breaks the image tag. What's the best way to handle this?

For example:

We use GAL on "Treo 700w, 700w, Palm Treo 700w" and the alt tag was "treo 700w". I removed the alt tag in the forum post, so the images work again.

Can the regular expression for the replacement be modified?

Reply With Quote
Old 01-24-2006, 05:38 PM
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 

Hey there,

In a nutshell, no

The problem is that in order to balance server load versus usablitliy, GAL uses a regexp that looks for instances of key words with spaces before them OR a small selection of common HTML characters. To make a regexp that ALSO did a forward and backward search on every word to see if its nested in a tag would prove to be VERY server heavy.

THere are a couple options though:
1- Dont have GAL parse that forum
2- put an html tag (i.e. <!--foo--> or maybe &nbsp before key words in the alt tags

Hope this helps!
Reply With Quote

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
Tags dieselpowered Geek Article and Review System 2 05-27-2008 01:59 AM
Tags RaceJunkie Geek Article and Review System 10 03-12-2008 07:59 PM
How do I wrap text around the user info box, and change the alignment of the text? ziggy Geek Article and Review System 1 03-12-2008 01:30 PM
using thread tags Loco Geek Article and Review System 22 07-15-2007 05:53 AM
GARS and thread tags anarchoi Geek Article and Review System 1 04-05-2007 05:00 PM

All times are GMT. The time now is 12:45 PM.

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