Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[code release] Redirect to forum instead of thread after post Details »
[code release] Redirect to forum instead of thread after post
Mod Version: 1.00, by Gutspiller (Member) Gutspiller is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 1
Released: 26 Aug 2001 Last Update: Never Downloads:
Not Supported  

After you post a message it takes you back to the message you just posted. How would I make it so that instead of doing that, take the users back to forum main forum that they posted in?

Any help is appreciated.

Thanks!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[release] moving bar and % on redirect after posting phill2003 vBulletin 2.x Template Modifications 70 08 Sep 2003 15:48
[Release vb2.0] Send random password instead of activation code bira vBulletin 2.x Full Releases 49 09 Dec 2001 09:51

Comments
  #2  
Old 26 Aug 2001, 18:33
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #3  
Old 27 Aug 2001, 20:31
samtha25 samtha25 is offline
 
Join Date: Jan 2002
Just what I was looking for!

Thanks, Firefly. You're a wonder.
Reply With Quote
  #4  
Old 27 Aug 2001, 20:34
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Thank you!

If you want, I can add this as an option, under the "Show Signature" and its friends, something like "Send to forum".
Are you interested?
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #5  
Old 27 Aug 2001, 20:37
samtha25 samtha25 is offline
 
Join Date: Jan 2002
If you mean a user-selectable option in their options, that would be terrific. I was just thinking it would be nice to make it user-selectable.
Reply With Quote
  #6  
Old 27 Aug 2001, 20:58
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Alrighty.

Undo all changes (from my first post).
In newreply.php replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In newthread.php replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And in poll.php replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now, in your newreply and newthread templates, add this code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

right after

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can change the text, but don't touch the tags please.
That's about it - don't forget the last edit needs to be done on both newreply and newthread templates!

I tested this on my forums, so you shouldn't have any problems.

EDIT:
A little tip - if you want the checkbox to be selected by default, add checked right after value="yes" in the code you added to your templates.

EDIT 2:
This could be expanded even more - having an option for the user in their profile options, and making that option decide wheter the box is checked by default, or not.
If you are interested in this, please let me know and I'll work on it tomorrow.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #7  
Old 27 Aug 2001, 21:06
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Is there a way to make it so the user has control over what the default is?

Some of my users want it one way, and others want it the other way. I don't want to set it to default because then they will have to uncheck it if they don't want it. (I know that's better than not having the checkbox at all) but if it's possible it would be nice to give the users a place in their profile. Is this possible or does this then start to become a hack?
Reply With Quote
  #8  
Old 27 Aug 2001, 21:12
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Originally posted by FireFly
EDIT 2:
This could be expanded even more - having an option for the user in their profile options, and making that option decide wheter the box is checked by default, or not.
If you are interested in this, please let me know and I'll work on it tomorrow.
So like I said, I will work on it tomorrow morning.
(And yes, this is starting to look like a mini-hack )
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #9  
Old 28 Aug 2001, 00:09
samtha25 samtha25 is offline
 
Join Date: Jan 2002
Very nice work, Firefly! You've got two approachs there that forum admins might decide to use.

It would be great to have this in the user profile, but there is something to be said for having it selected from newreply, as in some cases someone might be replying to different posts in a thread as they go and want to return to the thread, while in other cases they might be making only one reply or making their last reply and want to return to the forum.

I can't say I see where someone starting a newthread would want to return to their new post, unless to check it. With Preview, though, it doesn't seem necessary.

So, maybe what would work best is to let the user set a default behavior but then be able to also change it from the posting pages. Heh, not too much to ask, right?

I've seen UBB hacks that let the poster select where to go from the redirect message, but usually it flies by too fast for people to make the selection or pauses in which case it usually becomes annoying to be forced to click.
Reply With Quote
  #10  
Old 28 Aug 2001, 06:55
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
The user now has full control over this.

1. In the newreply and newthread replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in both templates!

2. In the modifyoptions add this code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

right after

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. In newreply.php replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. In newthread.php replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5. In member.php replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

right after

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

6. And last but by no means least, run this SQL query:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is it. I skipped adding this info to the register because it really doesn't matter, there are some option that are not available there as well, so it's not the end of the world.

Hope this is what you want.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #11  
Old 28 Aug 2001, 08:05
Kier Kier is offline
 
Join Date: Oct 2001
[moved to hack releases forum]
Reply With Quote
  #12  
Old 28 Aug 2001, 13:25
RobAC RobAC is offline
 
Join Date: Oct 2001
Would it be possible to get this into a nice clean release version...zip file, etc,.?
Reply With Quote
  #13  
Old 28 Aug 2001, 16:02
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
how exactly do I run the SQL query?

I don't know how to do that.
Reply With Quote
  #14  
Old 28 Aug 2001, 16:32
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Originally posted by RobAC
Would it be possible to get this into a nice clean release version...zip file, etc,.?
I will do it later today.

Gutspiller - take a look here or here.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #15  
Old 28 Aug 2001, 17:04
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Im sorry but that very first line in the hack you tell me to find in newthread and newreply cannot be found. Uh, are you sure?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:22.

Layout Options | Width: Wide Color: