Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Adcycle window target problems..

Quote Reply
Adcycle window target problems..
Ok, Adcycle is working ok at the moment, but for some weird reason it is not taking into account the window targets. I have it set to _blank, but it still opens in the same window :| Anyone had previous experience with this, and if so, did you ever get it solved?

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [A.J.] Adcycle window target problems.. In reply to
hi,

that's a problem i have/had too.

my solution was changing the Adcycle.pm in the links_sql directory .../admin/Plugins/Adcycle.pm .



change all the banner-codes in there like this:

<!-- START ADCYCLE STANDARD CODE for Bottom of Homepage-->
<a href="$cfg->{cgi_url}/adclick.cgi?manager=shop-netz.de&gid=$gid&id=397" target="_blank"><img src="$cfg->{cgi_url}/adcycle.cgi?gid=$gid&id=397" width=$sizes->{WIDTH} height=$sizes->{HEIGHT} border=0 ALT="Shop-Netz Shopping Suchmaschine Werbepartner"></a>
<!-- END ADCYCLE CODE -->


this helps and worksCool but it isn't a solution of the adcycle-problem itself.

cheers,

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] Adcycle window target problems.. In reply to
Thanks, worked great Smile I was hoping there is a way to do it from within the plugin, rather than having to hack the codes, but this will do until I/someone else finds a solution to this problem Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [A.J.] Adcycle window target problems.. In reply to
The only way to change it is to go into the Adcycle.pm file (found in the Admin/Plugins directory) and change in the three subroutines display_banner, display_category_banner, display_search_banner the following:

In each one you will see something along the lines of this:

<!-- START ADCYCLE STANDARD CODE for Bottom of Homepage--> <a href="$cfg->{cgi_url}/adclick.cgi?manager=adcycle.com&gid=$gid&id=397" target="_top"><img src="$cfg->{cgi_url}/adcycle.cgi?gid=$gid&id=397" width=$sizes->{WIDTH} height=$sizes->{HEIGHT} border=1 ALT="Click to Visit"></a> <!-- END ADCYCLE CODE -->

you just need to change the target="_top" to target="_blank"

Mel
Mel Goulet
Developer - Gossamer Threads, Inc.