![]() |
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? |
If you edit $goto parts, you can redirect your user whereever you like:
in newthread.php: PHP Code:
PHP Code:
|
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! |
bump
|
**bump** for ya
|
Why thank you EchoHype! LOL
I really don't know how to do it, so would appreciate someone's guidance. |
search.php?s=$session[sessionhash]&action=getnew
should work.. |
Thank you so much Logician! I haven't tried it cos my server has been down all day long! Will try it asap! :D
|
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 |
Please help me figure this out!
|
I tried this, uploaded and after posting all I got was a blank page, so uploaded the back up again, I might have done it wrong though, Logician can you tell me what code to change please?
|
Replace
} elseif ($visible) { $goto="showthread.php?s=$session[sessionhash]&threadid=$threadid"; } else { $goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid"; with } elseif ($visible) { $goto="search.php?s=$session[sessionhash]&action=getnew"; } else { $goto="search.php?s=$session[sessionhash]&action=getnew"; |
I tried that but it did not work.... I got a db error, I should have saved it, hmmmm...
|
Anyone else has any suggestions?
|
Quote:
|
All times are GMT. The time now is 01:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|