vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Link Forum Hit Counters (https://vborg.vbsupport.ru/showthread.php?t=59928)

BamaStangGuy 10-20-2004 07:34 AM

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

SamirDarji 10-20-2004 04:31 PM

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.

BamaStangGuy 10-20-2004 05:00 PM

Quote:

Originally Posted by SamirDarji
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

SamirDarji 10-20-2004 06:16 PM

Quote:

Originally Posted by BrentWilson
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
HTML Code:

<a href="http://www.huntsvillecarscene.com" target=new>
instead of
HTML Code:

<a href="http://www.huntsvillecarscene.com">

vectra-a-x.de 11-01-2004 10:40 PM

Quote:

Originally Posted by jluerken
Many thanks Mone'
This hack is working fine with gold and also with an installed SPONSOR Banner hack :-)

See here www.clanforums.com

Where can get/find this SPONSOR hack ?

venomx 11-09-2004 08:34 AM

Any screen shots that show exactly what this hack does?

venomx 11-09-2004 08:36 AM

NM I see now... hmmm

Code Monkey 11-24-2004 01:01 AM

Nice. Installed.

BamaStangGuy 01-03-2005 11:15 PM

Doesnt work with 3.0.4

Can't find

Code:

######################################
########## 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']);
}


BamaStangGuy 01-03-2005 11:24 PM

http://www.vbulletin.com/forum/bugs....iew&bugid=3360

It has been moved from forumdisplay.php to global.php

:)


All times are GMT. The time now is 12:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete