vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mark Forum Read link (https://vborg.vbsupport.ru/showthread.php?t=32384)

admiralapril 11-13-2001 05:07 PM

How do I change the 'Mark this forum read' link to link to the main community page and not that individual forum?

I'd like the link to lead to the main forum page (like it does at Ezboard) instead of the specific forum that I'm marking read. Is there something in a template that I need to modify?

I'm using version 2.2.0.

Thanks.

Admin 11-13-2001 05:19 PM

Hi again. :)

In forumdisplay.php, replace this:
Code:

        if ($url=="") {
                $url="index.php?s=$session[sessionhash]";
        }

        $url = str_replace("\"", "", $url);
        eval("standardredirect(\"".gettemplate("redirect_markreadforum")."\",\"$url\");");

with just this:
Code:

        $url="index.php?s=$session[sessionhash]";
        eval("standardredirect(\"".gettemplate("redirect_markreadforum")."\",\"$url\");");


admiralapril 11-13-2001 05:42 PM

Thank you, thank you both!! It works like a charm now! :D :pleased:

Admin 11-14-2001 09:55 AM

[QUOTE]Originally posted by admiralapril
Thank you, thank you both!! It works like a charm now! :D :pleased:

admiralapril 11-14-2001 02:13 PM

Quote:

Originally posted by FireFly

Both? I'm the only one here. ;)

FWC also replied with the same information you posted but it looks like his post was deleted. I thank you both!

FWC 11-14-2001 04:09 PM

Quote:

Originally posted by admiralapril

FWC also replied with the same information you posted but it looks like his post was deleted. I thank you both!

LOL! While I was posting FireFly beat me to the punch. I deleted mine so I didn't look slow and redundant. :D

Admin 11-14-2001 04:14 PM

[QUOTE]Originally posted by FWC
LOL! While I was posting FireFly beat me to the punch. I deleted mine so I didn't look slow and redundant. :D

admiralapril 11-14-2001 04:20 PM

I'm glad that I don't look like I'm seeing things anymore.. LOL :pleased:

SWFans.net 04-27-2002 03:28 PM

I wonder if there is a way to make this:
Code:

$url="index.php?s=$session[sessionhash]";
Point at the parent forum(one level up) instead of the main forum index.

Chris Blount 06-14-2002 04:32 PM

Quote:

Originally posted by SWFans.net
I wonder if there is a way to make this:
Code:

$url="index.php?s=$session[sessionhash]";
Point at the parent forum(one level up) instead of the main forum index.

I was wondering that myself. Whenever I'm in a subforum, I'm getting hijacked back to the main forum listing rather than the subforum.


All times are GMT. The time now is 12:06 AM.

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.01148 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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