Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Redirect to Forum after Posting New Thread Details »»
Redirect to Forum after Posting New Thread
Version: 1.0, by Alan @ CIT Alan @ CIT is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.0 Beta 2 Rating:
Released: 06-17-2006 Last Update: Never Installs: 24
Uses Plugins
 
No support by the author.

Redirect to Forum after Posting
Version 1.0


What does this do?
This little mod will redirect you back to the forum when you post a New Thread. The default behaviour is to redirect you to the thread that you have just posted, which never made much sense to me - you've just posted it, why do you need to see it?


Sounds Great! How do I install?
Installation couldn't be easier. Unzip the attached ZIP file and import the Product XML to your AdminCP as normal. - it adds 1 plugin


Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though See you all in early September!

Show Your Support

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

Comments
  #12  
Old 06-18-2006, 11:18 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Patrickstar,

If you trying to install this mod, do the following:

1) Download and unzip the attached zip file ^^^
2) Open your AdminCP
3) Go to the Product Manager
4) Click on Add/Import Product
5) Click Browse and find the XML file that was unziped in Step 1
5) Click OK a few times and it will install it for you
6) All done!

Thanks,
Alan.
Reply With Quote
  #13  
Old 06-18-2006, 11:31 PM
patrickstar patrickstar is offline
 
Join Date: May 2006
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, it looks like it installed and i see it under my installed products and i can even edit it but its not working.
Reply With Quote
  #14  
Old 06-18-2006, 11:33 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Patrickstar: If you can give me the link to your forum, I'll take a look.

Is it enabled? Check in the Plugin Manager for "Redirect to forum instead of thread" which uses the newthread_post_complete hook and make sure it's enabled.

Thanks,
Alan.
Reply With Quote
  #15  
Old 06-18-2006, 11:40 PM
patrickstar patrickstar is offline
 
Join Date: May 2006
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok im getting this message after upload it:

There seems to have been a problem with the Forums database.
Please try again by clicking the Refresh button in your web browser.

and its showing up as an installed product under products manager but its not showing up in the plug in manager.

fitnessandbeyond.net
Reply With Quote
  #16  
Old 06-18-2006, 11:42 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you certain your upload this hack? This hack doesn't touch the database at all

When you get that message, right click on the page and click View Source - it will show a details MySQL error in there - copy and paste that into this thread

Also, remove it from the Product Manager, and try installing it again

Thanks,
Alan.
Reply With Quote
  #17  
Old 06-18-2006, 11:49 PM
patrickstar patrickstar is offline
 
Join Date: May 2006
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im cursed! lol for some reason i have the hardest time doing the simplest tasks with vb.

ok i went to product manager--->add/import product--->browse---attached xml file--->import.

then i get that message and also this:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Redirect to forum instead of thread', 'newthread_post_complete', 'if ((!$newpost[\'postpoll\']) AND ($newpost[\'visible\']))\r\n{\r\n $vbulletin->url = \'forumdisplay.php?\' . $vbulletin->session->vars[\'sessionurl\'] . \"f=$foruminfo[forumid]\";\r\n eval(print_standard_redirect(\'redirect_postthanks \', true, true));\r\n}', 'cit_newpost_forum_redirec');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Sunday, June 18th 2006 @ 07:45:02 PM
Script : http://www.fitnessandbeyond.net/Foru...ncp/plugin.php
Referrer : http://www.fitnessandbeyond.net/Foru...?do=productadd
IP Address : 68.91.109.74
Username : admin
Classname : vb_database


so i hit the refresh like it says. it is in the product manager and editable, but not in the plug in manager.
Reply With Quote
  #18  
Old 06-18-2006, 11:56 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh, I see - sorry, but this mod only works on vBulletin v3.6 or above

Thanks,
Alan.
Reply With Quote
  #19  
Old 06-19-2006, 12:03 AM
patrickstar patrickstar is offline
 
Join Date: May 2006
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damnit!!!

ive been asking this forever.

do you think there is a hack i can do instead of a product that will work.

i know older versions of vb are doing this but i cant find any thread on it whatsoever.

thanks anyways.

oh and one last simple question thats been bother me and off topic, do i have to install something from ImageMagick onto my server if i want to use them for custom avatars? im thinking yes.
Reply With Quote
  #20  
Old 08-08-2006, 05:25 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, any chance on making it forum specific? I have a couple forums that would benifit but for the most part, my members like the redirect back to the thread..

Great idea though
Reply With Quote
  #21  
Old 08-25-2006, 01:06 PM
bigmonay2k bigmonay2k is offline
 
Join Date: May 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan @ CIT
When I post a thread, I don't then re-read it after I've posted it I post it then go straight back to the forum again to continue reading/posting

Thanks,
Alan.
but I do re-read again ...but thanks for your hard work.
Reply With Quote
Reply

Thread Tools

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 04:57 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
  • Page Generation 0.04338 seconds
  • Memory Usage 2,297KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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