Version: 1.00, by zajako
Developer Last Online: Aug 2013
Version: 3.0.0
Rating:
Released: 01-08-2004
Last Update: 01-09-2004
Installs: 19
No support by the author.
This hack shows a counter for how many hits each link forum has. THis helps show how much traffic you have given that site.
If it is 0 it hides it so as not to make it look bad.
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[Updates]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
********************added a file to work for RC 1 and 2********************
also how do I get rid of the Never thats above the Redirected links: ? and how can I remove the two colums to the right of that and make the redirection span 3 columns
To make any link open in a new window, use target=windowName. I forgot exactly where you put it, but it is part of the <a href html tag.
I thought about doing the 3 column thing too, but I think it was more trouble than it was worth to do it. I justed looked into it and it requires more than just a template change, so I didn't try it.
To make any link open in a new window, use target=windowName. I forgot exactly where you put it, but it is part of the <a href html tag.
I thought about doing the 3 column thing too, but I think it was more trouble than it was worth to do it. I justed looked into it and it requires more than just a template change, so I didn't try it.
It looks like to me that the link is hard coded into forumdisplay.php (I dont see anywhere in the template fourmdisplay where it creates the link for the links only forum. I dont want my reg forums to open up in a new window just want the links one to
It looks like to me that the link is hard coded into forumdisplay.php (I dont see anywhere in the template fourmdisplay where it creates the link for the links only forum. I dont want my reg forums to open up in a new window just want the links one to
I actually just tried what I was thinking and it won't work. What I was thinking was to put code where it asks for the link url in the forum manager.
To be able to get links to open in a new window, you have to find where it builds the actual html link using the information from the forum itself. Then you could change that piece of code and make it
######################################
########## forumdisplay.php ##########
######################################
look for:
######################################
######################################
// check if this forum is a link to an outside site
if (trim($foruminfo['link']))
{
exec_header_redirect($foruminfo['link']);
}
######################################
######################################
Replace with:
######################################
######################################
// check if this forum is a link to an outside site
if (trim($foruminfo['link']))
{
$DB_site->query("Update " . TABLE_PREFIX . "forum Set linkhits=linkhits+1 Where forumid='$foruminfo[forumid]'");
exec_header_redirect($foruminfo['link']);
}