Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Gutspiller Gutspiller is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-25-2001 Last Update: Never Installs: 1
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-28-2001, 05:06 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
Alright, then do everything I said in my posts. (I edited out what's not needed)
When I run that query thingy at the end of the "mini hack" (I already installed your SQL queru) it gives me this error:

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.


Database error in vBulletin Control Panel: Invalid SQL: ALTER TABLE `vbulletin`.`user` ADD `sendtoforumdef` SMALLINT(6) DEFAULT '0' not null AFTER `emailnotification`
mysql error: Access denied for user: 'theforum_Gutspil@localhost' to database 'vbulletin'
mysql error number: 1044
Date: Tuesday 28th of August 2001 02:04:13 PM
Script: /forumz/admin/query.php
Referer: http://www.theforumz.com/forumz/admin/query.php



Question: Did you test this hack or am I your lab rat?
Reply With Quote
  #23  
Old 08-28-2001, 05:13 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Gutspiller
Question: Did you test this hack or am I your lab rat?
Reply With Quote
  #24  
Old 08-28-2001, 05:31 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested and works!

I did change when you said
Code:
#DFDFDF
to

Code:
{secondaltcolor}
and it makes it so there are two greys in around instead of alternating, but it's ok.

And also when you said to look for this code:

Code:
if ($bbuserinfo[emailnotification]) {
    $emailnotificationchecked="checked";
    $emailnotificationnotchecked="";
  } else {
    $emailnotificationchecked="";
    $emailnotificationnotchecked="checked";
  }
and replace it with this code:

Code:
if ($bbuserinfo[sendtoforumdef]) {
    $sendtoforumdefchecked="checked";
    $sendtoforumdefnotchecked="";
  } else {
    $sendtoforumdefchecked="";
    $sendtoforumdefnotchecked="checked";
  }
It was above the previous searched code, so you have to scroll to the top. So that step should be before the other steps in the member.php.

I think that's it.

Thanks for the mini (yet kick ass) hack.
Reply With Quote
  #25  
Old 08-28-2001, 05:45 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OOPS!

For some reason when posting a reply it isn't sending me back to the forum, even though I double checked that is what I set it too.

Ideas?
Reply With Quote
  #26  
Old 08-28-2001, 05:50 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like you didn't do changes for newreply.php, newthread.php and poll.php from my first post (Alrighty. Undo all changes (from my first post)).
Reply With Quote
  #27  
Old 08-28-2001, 05:52 PM
cyrus's Avatar
cyrus cyrus is offline
 
Join Date: Oct 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

waiting for clean hack

thanks fire
Reply With Quote
  #28  
Old 08-28-2001, 06:07 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There you go!
http://www.vbulletin.com/forum/showt...threadid=26734
Reply With Quote
  #29  
Old 08-28-2001, 06:09 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
Sounds like you didn't do changes for newreply.php, newthread.php and poll.php from my first post (Alrighty. Undo all changes (from my first post)).
You know you make this harder than it has to be.

I think I did that thread.

When creating a new THREAD it works, but when creating a new REPLY it doesn't work. I checked the newreply template and this is whats in there

Code:
<br><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Show Signature:</b> include your profile signature.  Only registered users may have signatures.<br><input type="checkbox" name="sendtoforum" value="yes" $sendtoforumchecked> <b>Go back to forum:</b> after posting would you like to return to the forum.
	</smallfont></td>
Isn't that where the only change is, in that template?
Reply With Quote
  #30  
Old 08-28-2001, 06:13 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not know what you did / did not do, so please just undo everything and follow the new instructions.

And this is not hard at all - just do everything I say in this thread and you'll get it done.
Reply With Quote
  #31  
Old 08-28-2001, 06:17 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

undo it

That will take quite some time. I just double checked the newreply template and the newreply.php and everything you stated is in there.

Yes, I would like see another board using this hack please.

That way I can test the reply function of this hack.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:43 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.04303 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete