vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is there a way to... (https://vborg.vbsupport.ru/showthread.php?t=41800)

Massiel 08-01-2002 10:51 PM

Is there a way to...
 
have the option of whether after posting, it takes you to the active topics page instead of back to the post itself? I am thinking this would save bandwidth. I'd be cool if users could choose where it takes them, either back to the post or to the active topics page (my active topics page is using the getdaily and putting all posts from a day in one page).

Any ideas? Has this been done?

Logician 08-02-2002 07:39 AM

If you edit $goto parts, you can redirect your user whereever you like:

in newthread.php:
PHP Code:

} elseif ($visible) {
        
$goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";
      } else {
        
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid"

in newreply.php:
PHP Code:

 if ($prevpost[visible]) {
        
$goto="showthread.php?s=$session[sessionhash]&postid=$postid#post$postid";
      } else {
        
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";
      } 


Massiel 08-02-2002 10:23 AM

What do I change it for though? Since what I am using is this:

http://www.dietsupporters.com/forums...ction=getdaily

I found this to be the best way to have an active topics page...

Thanks for your help Logician!

Massiel 08-03-2002 04:01 AM

bump

EchoHype.com 08-03-2002 07:34 AM

**bump** for ya

Massiel 08-03-2002 08:38 AM

Why thank you EchoHype! LOL

I really don't know how to do it, so would appreciate someone's guidance.

Logician 08-04-2002 03:38 PM

search.php?s=$session[sessionhash]&action=getnew

should work..

Massiel 08-06-2002 08:37 AM

Thank you so much Logician! I haven't tried it cos my server has been down all day long! Will try it asap! :D

Massiel 08-07-2002 03:07 AM

Do I replace this:

} elseif ($visible) {
$goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";
} else {
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";

with this:

search.php?s=$session[sessionhash]&action=getnew

or do I leave the others? or one of the others? I am confused LOL

Massiel 08-07-2002 05:06 AM

Please help me figure this out!


All times are GMT. The time now is 07:20 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.01055 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_php_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