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 03-06-2008, 09:35 AM
Bellinis Bellinis is offline
Junior Member
 
Join Date: Jan 2006
Posts: 7
Geek Auto-Linker Pro License Holder 
Smile Adding HTML

I'm trying to add some HTML to the content of a GAL -link, but it doesn't seem to work.

Here's the (affiliate) code I need to add:

Code:
<script type="text/javascript">
var uri = 'http://impnl.tradedoubler.com/imp?type(img)g(16955006)a(1039899)' + new String (Math.random()).substring (2, 11);
document.write('<a href="http://clk.tradedoubler.com/click?p=60878&a=1039899&g=16955006" target="_BLANK"><img src="'+uri+'" border=0></a>');
</script>
an alternative would be:
Code:
<script type="text/javascript">
var uri = 'http://impnl.tradedoubler.com/imp?type(js)g(16955006)a(1039899)' + new String (Math.random()).substring (2, 11);
document.write('<sc'+'ript type="text/javascript" src="'+uri+'" charset="ISO-8859-1"></sc'+'ript>');
</script>
In my permissions I have 'allow HTML' for admins...

Please advice
Reply With Quote
  #2  
Old 03-07-2008, 03:48 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

Upgrade to the latest version, and then go to the ACP -> GAL -> Permissions and for each usergroup and for each dictionary, set the permissions are you prefer, and then save, even if it looks correct.
__________________
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
  #3  
Old 03-07-2008, 09:03 AM
Bellinis Bellinis is offline
Junior Member
 
Join Date: Jan 2006
Posts: 7
Geek Auto-Linker Pro License Holder 
Default

Hmmm, I don't get it. I uninstalled my entire GAL just to make sure my old version is not interfering. Deleted all tables from the database. Downloaded and installed the latest version. Set the permissions to allow HTML for admins. Created a new new GAL , attached an image, added a description in the content and below that the above script. Still the script shows as plain text in the popup. Where do I go wrong?
Attached Images
File Type: jpg happy.jpg (30.7 KB, 12 views)

Last edited by Bellinis; 03-07-2008 at 09:07 AM..
Reply With Quote
  #4  
Old 03-07-2008, 01:49 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

Grab the GAL package again, reFTP the gal_admin.php file into the /forum/admincp directory, and then go edit the newly created GAL and click the save button.
__________________
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 03-07-2008, 02:09 PM
Bellinis Bellinis is offline
Junior Member
 
Join Date: Jan 2006
Posts: 7
Geek Auto-Linker Pro License Holder 
Default

Thanks Morgan...

Ok, I re-uploaded the file. Re-created the GAL . Rebuild Post Cache and checked my site. Now only my description shows and nothing below that. (the script should show a linked image). I checked it with different affiliate links and none of them work. Also the page now loads with a syntax error (IE7). Running vb 3.6.4

Last edited by Bellinis; 03-07-2008 at 02:12 PM..
Reply With Quote
  #6  
Old 03-07-2008, 03:31 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

Enter the JavaScript as one line:
Code:
<script type="text/javascript">var uri = 'http://impnl.tradedoubler.com/imp?type(img)g(16955006)a(1039899)' + new String (Math.random()).substring (2, 11); document.write('<a href="http://clk.tradedoubler.com/click?p=60878&a=1039899&g=16955006" target="_BLANK"><img src="'+uri+'" border=0></a>');</script>
It'll soft word-wrap in the box, and that's okay, but if you put in hard returns, they turn into <br /> tags, and that affects the JavaScript.
__________________
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
  #7  
Old 03-10-2008, 09:57 AM
Bellinis Bellinis is offline
Junior Member
 
Join Date: Jan 2006
Posts: 7
Geek Auto-Linker Pro License Holder 
Default

Ok, it's working great now. Thanks a bunch Morgan!
Reply With Quote
  #8  
Old 03-10-2008, 08:18 PM
f4vn f4vn is offline
Junior Member
 
Join Date: Feb 2008
Posts: 9
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by Morgan View Post
Enter the JavaScript as one line:
Code:
<script type="text/javascript">var uri = 'http://impnl.tradedoubler.com/imp?type(img)g(16955006)a(1039899)' + new String (Math.random()).substring (2, 11); document.write('<a href="http://clk.tradedoubler.com/click?p=60878&a=1039899&g=16955006" target="_BLANK"><img src="'+uri+'" border=0></a>');</script>
It'll soft word-wrap in the box, and that's okay, but if you put in hard returns, they turn into <br /> tags, and that affects the JavaScript.
Can you tell me where I can add this code in the mod ?
Reply With Quote
  #9  
Old 03-12-2008, 10:37 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

That code is Bellinis' ad code; you wouldn't want to use it. To enter your own ad code, use the content box when adding/editing keywords via the ACP.
__________________
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
  #10  
Old 03-17-2008, 10:42 PM
f4vn f4vn is offline
Junior Member
 
Join Date: Feb 2008
Posts: 9
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

I tried but.... Please see the attached images.
Attached Images
File Type: jpg 014.jpg (18.7 KB, 10 views)
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
HTML Customization matt4 Geek Gazette 3 09-10-2009 05:36 PM
HTML not parsing right? Tigratrus Geek Auto-Linker 1 02-08-2008 05:38 PM
Using HTML in Articles pixie Geek Article and Review System 1 03-27-2007 12:09 PM
html tag, got any? Bridges Geek Advertising Banner System 2 01-26-2007 03:52 PM
HTML By usergroup jaks Geek Article and Review System 1 11-17-2006 09:04 AM


All times are GMT. The time now is 10:28 AM.


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