Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 57
6 members and 51 guests
affiz4iliate6ec, cliaw9cckhereto, lowsad4erback5s, mariacolmanyne3, medaricalddw93g, parttarcts
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
Forum After Post Redirection
Old
  (#1 (permalink))
ico
Junior Member
 
Status: Offline
Posts: 3
Join Date: Oct 2004
Forum After Post Redirection - 12-01-2004, 01:09 PM

Well basically i want the user after they posted in the forum to automatically be sent to the board index they posted in for example..

http://www.nukemods.com/modules.php?...viewforum&f=30

How can i do this and what code do i have to edit?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-01-2004, 03:12 PM

You're gonna have to start digging for that code.
Try to figure out what files are being used when a user posts a topic or replies. I would say the
modules/Forums/posting.php file would be a good place to start looking.
Then I am not sure, but you may have to alter your phpBB template files accordingly as well.

You desire a feature that I doubt anyone has looked at doing yet. So how about you being the poineer in your quest?
:wink:

Search for 'redirect' in that file.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
12-01-2004, 03:47 PM

Isn't phpnuke using the header function than the redirect which is on the phpbb?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
ico
Junior Member
 
Status: Offline
Posts: 3
Join Date: Oct 2004
12-01-2004, 05:04 PM

Quote:
Originally Posted by mikem
You're gonna have to start digging for that code.
Try to figure out what files are being used when a user posts a topic or replies. I would say the
modules/Forums/posting.php file would be a good place to start looking.
Then I am not sure, but you may have to alter your phpBB template files accordingly as well.

You desire a feature that I doubt anyone has looked at doing yet. So how about you being the poineer in your quest?
:wink:

Search for 'redirect' in that file.
or search for META :P

Yea i been looking through the code over and over. I searched google with many different keywords but no-one seems to have tried it before.

See im used to SMF -- another PHP Forum software package and it sends you directly to the board you are in after posting your reply/topic.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
ico
Junior Member
 
Status: Offline
Posts: 3
Join Date: Oct 2004
12-01-2004, 05:05 PM

I know this is an awkward question really but still does anyone know just at least where the code is?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Moderator
 
dar63's Avatar
 
Status: Offline
Posts: 473
Join Date: Oct 2002
Location: UK
12-02-2004, 05:57 PM

includes/function_post.php I believe.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 10
Join Date: Dec 2004
Location: France
12-14-2004, 09:28 PM

Code:
#
#OPEN
#

includes/functions_post.php

#
#FIND
#

$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';

#
# ADD, AFTER
#

header("Location: ".append_sid("viewforum.$phpEx?f=$forum_id" ));

#
#SAVE , UPLOAD
#
  Send a message via MSN to Rica  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Post Colors in XPMidnight Forum princessmegi Nuke 7.x - Themes 6 05-22-2005 10:22 PM
News Post nazrin Nuke 7.x - General 2 10-22-2004 07:08 PM
recent post mod (at a glance) for the main forum page AstroCreep nukemods.com 5 06-22-2003 08:30 AM
Forum Post Counts TuNa Purged Topics 1 04-29-2003 12:24 PM
recent forum post unknown Purged Topics 1 02-21-2003 12:57 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31