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
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2009, 10:30 PM
JustaQuestion JustaQuestion is offline
Junior Member
 
Join Date: Sep 2009
Posts: 16
Geek Auto-Linker Pro License Holder 
Default URL length limit: How to increase it above 255 characters

In Auto-Link Options, if I enter a URL longer than 255 characters, and then I save it, upon re-opening it I see that only the first 255 characters of the URL have been saved.

If I use a URL longer than 255 characters, such as the following one:
Code:
http://www.example.com/1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
... then clicking on a hyperlink generated by GAL with result in a URL consisting of only the first 255 characters, such as the following example:
Code:
http://www.example.com/1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
In an attempt to increased the 255 character limit I went to AdminCP => Plugins & Products => Manage Products => GAL Auto-Linker => Edit => and I replaced all instances of (255) with (999). That made no noticeable difference.

Then I found an instance of "255" in gal_gdic_editor template, so I changed that also to "999", but no success.

Is there a way to increase this URL length limit?



Thanks.

Last edited by JustaQuestion; 10-16-2009 at 04:54 PM..
Reply With Quote
  #2  
Old 10-16-2009, 07:27 PM
JustaQuestion JustaQuestion is offline
Junior Member
 
Join Date: Sep 2009
Posts: 16
Geek Auto-Linker Pro License Holder 
Default

I've searched I think all the php files for "255", but found none. I'm running out of ideas. Is there any way I can modify my installation to remove the 255 character limit for URLs?
Reply With Quote
  #3  
Old 10-17-2009, 03:13 PM
JustaQuestion JustaQuestion is offline
Junior Member
 
Join Date: Sep 2009
Posts: 16
Geek Auto-Linker Pro License Holder 
Default

... some affiliate links are longer than 255 characters, and in some cases the affiliate ID, which is close to the end of the URL, gets removed. A person who clicks such link does get to the intended product page, but the affiliate may not get credited if a sale has been made.

Any assistance with this would be hugely appreciated!
Reply With Quote
  #4  
Old 10-23-2009, 05:13 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

Using phpMyAdmin go look at the gal database table and there you can change the url field from varchar(255) to whatever you prefer.
__________________
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
  #5  
Old 10-23-2009, 05:32 PM
JustaQuestion JustaQuestion is offline
Junior Member
 
Join Date: Sep 2009
Posts: 16
Geek Auto-Linker Pro License Holder 
Default

Done! It works! I thank you very much, Morgan!
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
Characters Limit in custom field Kasra_olips Geek Article and Review System 2 08-26-2008 08:33 PM
Increase Description Amount Agent GeekMart 3 07-31-2007 09:18 PM
Length of preview for thread block Tigratrus Geek Gazette 2 06-11-2007 03:48 PM
Remove the Character limit and Picture limit? vbg Geek Article and Review System 3 12-20-2005 06:17 PM
increase the width of rating score box romow Geek Article and Review System 2 11-14-2005 12:03 AM


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


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