Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Confirm Correct Forum Before New Thread (AJAX) Details »»
Confirm Correct Forum Before New Thread (AJAX)
Version: 1.00, by ChurchMedia ChurchMedia is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-01-2006 Last Update: Never Installs: 16
Uses Plugins Template Edits
 
No support by the author.

There is a better version here:
https://vborg.vbsupport.ru/showthrea...hreadid=114388

NOTE: To use this mod you have to disable the WYSIWYG editor option. Go to vBulletin Options > Message Posting Interface Options and set Full Editor to "Enable Standard Controls".

This product will ask the user if they are sure that they are in the correct forum before posting a new thread. If they click "Yes" then the New Thread box will appear immediately (via AJAX).

If they are not in the correct forum, they will be able to choose a different forum from a drop-down box (similar to forum jump). When they choose a different forum it automatically takes them to a new thread in that forum, where they are asked to confirm again.

This should save a lot of headaches with people posting in the wrong forums. It reduces thread-moves.


1) Install the product

2)Find in newthread:
PHP Code:
$navbar 
BELOW Add:
PHP Code:
<div id='thread_confirm' align="center"><br /> 
<
table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" style="border-width: 1px"
<
tr class="tcat"><td><div align="left">&nbsp<img id="pi_4" title="Exclamation" onclick="rb_iconid_4.click()" alt="Exclamation" src="images/icons/icon4.gif"><b>&nbsp Confirm Forum</b></div></td></tr
<
tr

    <
td class="alt1"
<
div align="center"><br />You are about to post a new thread in the <u><b>$foruminfo[title]</b></u>  
forum.<br /> 
<
i><b>Please make sure this is the correct forum for your topic.</b></i
<
br /><br /> 
<
input type='button' class='button' value='YES, $foruminfo[title] is the correct forum!' onclick='cm_NewThread(this)' /><hr
NoI need to post in a different forum:<br
$forumjump2 
<br /> 
    </
td

    </
tr
</
table
</
div

<
script type='text/javascript'
<!-- 

function 
cm_NewThread(cButton

document.getElementById('new_thread').style.display 'block'
document.getElementById('thread_confirm').style.display 'none' 


--> 
</
script
3) Find (still in newthread):
PHP Code:
<form action="newthread.php" method="post" name="vbform"<if condition="!is_browser('webtv')"onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>> 
Add ABOVE:
PHP Code:
<div id='new_thread' style='display:none'
4) Find (still in newthread):
PHP Code:
$footer 
Add ABOVE:
PHP Code:
</div

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 04-02-2006, 10:17 PM
Bellinis's Avatar
Bellinis Bellinis is offline
 
Join Date: Aug 2005
Location: Amsterdam, the Netherland
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!

Could this be restricted to certain groups or only for people who are about to make their first post? (or first x posts)
Reply With Quote
  #3  
Old 04-02-2006, 10:23 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install this HERE at .org!!
Reply With Quote
  #4  
Old 04-02-2006, 10:34 PM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bellinis
Very nice!

Could this be restricted to certain groups or only for people who are about to make their first post? (or first x posts)
That should be easy with an 'if' statement before the code. Good idea!
Reply With Quote
  #5  
Old 04-02-2006, 11:19 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great job man...........
Reply With Quote
  #6  
Old 04-03-2006, 03:15 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChurchMedia
That should be easy with an 'if' statement before the code. Good idea!
im happy you took my advice on making it AJAX! =D thank you!!

[high]* COBRAws installs[/high]
Reply With Quote
  #7  
Old 04-03-2006, 04:13 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to help! I've been really getting tired of moving threads on my site.

I think I've worked out all of the bugs. Let me know if there is something I missed.

Thanks!
Reply With Quote
  #8  
Old 04-03-2006, 11:04 AM
thedvs thedvs is offline
 
Join Date: May 2002
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, this might also help stop those lamer spam attack board apps too
Reply With Quote
  #9  
Old 04-03-2006, 11:51 AM
OndaReal OndaReal is offline
 
Join Date: Feb 2006
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, installed
Reply With Quote
  #10  
Old 04-03-2006, 12:17 PM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed thanks
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 09:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04923 seconds
  • Memory Usage 2,311KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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