Page 1 of 1

Forum View Banner Mod Problem

PostPosted: Wed Mar 05, 2008 8:20 am
Author: meijin
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.watchgeeks.net

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

All:

I implemented the forum view banner mod and am having a bit of an issue. The graphic shows up and you can click on it. However, when you do, it opens an new window/tab, but immediately goes to a "DONE" state. All it shows in the new tab/window is:

If you page does not show shortly, please click Here to go to the requested URL

When you click on the "Here", it does take you to the right site.

I did just recently notice that when you go into the configuration for the banner setup, the following line is displayed at the top:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/meijin/public_html/im4/admin/admin_banner.php on line 368

I don't know if that has anything to do with this error or now.

Any direction would be greatly appreciated!

Re: Forum View Banner Mod Problem

PostPosted: Tue Mar 11, 2008 2:39 pm
Author: meijin
A gentle bump as I still have not managed to get this to work...anyone?

Thanks!

Re: Forum View Banner Mod Problem

PostPosted: Tue Mar 11, 2008 11:09 pm
Author: XHIBIT
Yeah my links dont redirect like they should as well, thats a good question.

Re: Forum View Banner Mod Problem

PostPosted: Mon Sep 29, 2008 1:00 am
Author: Helter
replace templates/all installed templates/redirect.tpl with this

Re: Forum View Banner Mod Problem

PostPosted: Mon Sep 29, 2008 9:50 pm
Author: Blue-Blood
Yes my site dose the same thing.
I replaced the file and still the same.

<BODY><CENTER>{MESSAGE}</CENTER>
<SCRIPT>
setTimeout("document.all['jumplink'].click();",100);
</SCRIPT>
</BODY>


This is the same code that was in my original file

Thanks

Re: Forum View Banner Mod Problem

PostPosted: Fri Oct 17, 2008 11:44 pm
Author: XHIBIT
Yup, that fix isnt working

<BODY><CENTER>{MESSAGE}</CENTER>
<SCRIPT>
setTimeout("document.all['jumplink'].click();",100);
</SCRIPT>
</BODY>

Still leads you back to a white page saying if this page does not reditect click this link.

Re: Forum View Banner Mod Problem

PostPosted: Mon Oct 20, 2008 4:51 pm
Author: .QUACK.Major.Pain
I am guessing you are using the redirect url in the banner edit page and having that problem.

In the Image path/Text/Code: section, try this format:

<a><img></a>

First section has the redirect url link and second has the image link.
The image appears and clicking it will take you where you want.

Re: Forum View Banner Mod Problem

PostPosted: Sat Nov 22, 2008 6:05 am
Author: XHIBIT
Yes that a proper HTML image link code, however I know exactly what he was saying. From the banner menu "custom HTML code" must be selected for the banner image and its accompanying embeded URL to even show.
However the problem we both were facing was that annoying Ctracker prompt, if anything other than a direct image link was inserted in the box.

Its a pain in the ass but if you go to your Cpanel, and rename the ctracker folder to ctracker2 before submiting the new banner, then changing it back right afterwards, the banner image WILL show, and when clicked it will direct you to the address embeded in the link without ever seeing that white redirect page.

Also if you want to have the link open in a 2nd window so your visitor or member doesnt leave your website simply add the following code after the url:

target="new"

Just in case you decide its easier to copy and paste heres the complete HTML for the image link to open in a 2nd window after renaming the ctracker folder, and before submiting it.

<a><img></a>

Now submit, and change the ctracker folder back to its original name, then go to the banner and test it.