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 01-09-2006, 10:06 PM
kafi kafi is offline
Member
 
Join Date: Oct 2005
Posts: 89
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default GAL only within certain thread

1. I would like to have some of my GAL links acitve only in certain forum or thread.
Would be possible to add this to the functionality?

2. I need to replace some text with paragraph tag. Example: text123 will be replaced in html code with <a name=123>123</a>.
Can you add this feature?
Reply With Quote
  #2  
Old 01-10-2006, 10:15 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

It will do, but you cant limit it by therad or forum (at least for the foreseeable future)
Reply With Quote
  #3  
Old 01-11-2006, 08:25 PM
kafi kafi is offline
Member
 
Join Date: Oct 2005
Posts: 89
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

should i understand it as
question nr. 2 is working (if yes, should I simply put html code?)
question nr. 1 is not in the shortplan?
Reply With Quote
  #4  
Old 01-12-2006, 09:01 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

Hey Kafi,

For #2: Not by default, though its easy to do (although not for the example you gave).
For instace, I can easily define a new GAL replacement variable like this:
PHP Code:
<a name="$gal_title">$gal_text</a
Then you could have an entry like: 123 in a category that used the above replacement - however it would not match test123 because that is in middle of a word. The catch with GAL is that in most cases, there needs to be a space in front of the word. This helps to prevent breaking URLs.

AS far as #1 - its not in the near future. Sorry
Reply With Quote
  #5  
Old 03-24-2006, 07:36 AM
kafi kafi is offline
Member
 
Join Date: Oct 2005
Posts: 89
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by The Geek
AS far as #1 - its not in the near future. Sorry

:-( i would love it :-(
Reply With Quote
  #6  
Old 10-02-2006, 09:34 PM
kafi kafi is offline
Member
 
Join Date: Oct 2005
Posts: 89
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Sorry to bump, after 6 months of this thread I just want to check if this is under consideration :-)

Anyway I am impressed with other stuffed you have managed during these 6 moths here...
Keep on good work Sam, God bless you .-)
Reply With Quote
  #7  
Old 10-02-2006, 10:37 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 
Default

Thanks Kafi... I was pretty sure you could limit by forum however for the upcoming 5.0, the functionality certainly doesnt exist. I can look into it again, but cant promise anything yet... 5.0 is a total rewrite and difficult just to bolt on additional functionality. Plus everyone is waiting on me to get the thing out
Reply With Quote
  #8  
Old 10-02-2006, 10:49 PM
WiBu WiBu is offline
Junior Member
 
Join Date: Jun 2006
Posts: 28
Geek Article and Review System License Holder 
Default

Couldn't this be done by an <if forumid="#"> GAL invocation code</if> or <if threadid="#"> GAL invocation code</if> in the template? (May not be correct syntax but you should get what I mean).

If so GAL could quite easily be implemented to only work with certain forums/threads.
Reply With Quote
  #9  
Old 10-02-2006, 11:04 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 
Default

Sure, there are plenty of workarounds, however the trouble with this, usergroup restrictions and 5.0 is the caching system. I just checked a current installation and you CAN limit by forum (but not thread).

How it works now - GAL goes and grabs EVERY SINGLE GAL that the usergroup is qualified to see for that forum (which results in a complex, longer-than-I-would-like query). It then processes each post for each entry.

The new system is far more complex, but also far more refined. If there is a record of GAL parsing the post before, then it only grabs those items which results in a significant performacne boost especially on large boards with a lot of entries. The problem is that posts can move forums thus changing their elibability for certain categories. The other problem is that if there isnt an entry in the post cache, GAL still needs to go get all GALS (regardless of forum or usergroup restrictions) because it still needs to know which entries are still valid no matter what forum it is in or usergroup is viewing it.

I have just thought to myself: Why the hell am I rambling on about this. The poor guys just asked if he could restrict by forum/thread and here I am writing a freaking essay on caching. Now I am sitting here wondering why the hell I am writing an essay on why I am writing an essay.

I need to go to bed.

TOodles!
Reply With Quote
  #10  
Old 10-03-2006, 01:36 AM
WiBu WiBu is offline
Junior Member
 
Join Date: Jun 2006
Posts: 28
Geek Article and Review System License Holder 
Default

Quote:
Originally Posted by The Geek
Sure, there are plenty of workarounds, however the trouble with this, usergroup restrictions and 5.0 is the caching system. I just checked a current installation and you CAN limit by forum (but not thread).

How it works now - GAL goes and grabs EVERY SINGLE GAL that the usergroup is qualified to see for that forum (which results in a complex, longer-than-I-would-like query). It then processes each post for each entry.

The new system is far more complex, but also far more refined. If there is a record of GAL parsing the post before, then it only grabs those items which results in a significant performacne boost especially on large boards with a lot of entries. The problem is that posts can move forums thus changing their elibability for certain categories. The other problem is that if there isnt an entry in the post cache, GAL still needs to go get all GALS (regardless of forum or usergroup restrictions) because it still needs to know which entries are still valid no matter what forum it is in or usergroup is viewing it.

I have just thought to myself: Why the hell am I rambling on about this. The poor guys just asked if he could restrict by forum/thread and here I am writing a freaking essay on caching. Now I am sitting here wondering why the hell I am writing an essay on why I am writing an essay.

I need to go to bed.

TOodles!
Ah. I understand now. I guess it works simularily to BBcode then.

I was under the impression is was implemented in a similar way to those inline text ads that are knocking about; a snippet of javascript in the html.
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
How to do a form for New Thread f4vn Geek Article and Review System 1 08-26-2008 04:00 PM
New Thread/Edit Thread/Post Reply Template Set Half Pint Geek Article and Review System 1 01-27-2008 12:11 AM
Ratings in the thread Mello28 Geek Article and Review System 0 08-12-2007 08:45 PM
GAL once per thread Nick0r Geek Auto-Linker 1 11-28-2006 08:37 PM
Anyway to make a GARS thread automatically create a GAL benj Geek Auto-Linker 5 09-15-2006 10:42 AM


All times are GMT. The time now is 04:28 PM.


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