The Arcive of vBulletin Modifications Site. |
|
Confirm Correct Forum Before New Thread Details »»
|
|||||||||||||||||||||||||||
|
Confirm Correct Forum Before New Thread
Developer Last Online: Jun 2013
NOTE: There is an AJAX version with some added features here:
https://vborg.vbsupport.ru/showthrea...hreadid=114388 ------------------------------------------- This is a simple mod that will display a confirmation window, asking the user to confirm that they are posting in the correct forum. It should help prevent people from posting in the wrong forums (and then you have to move them). If they click "Okay" it goes to the new thread page. If they click "Cancel" it goes back to the forum home page. ------------------------------------------- In the newthread template find: PHP Code:
PHP Code:
Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
That's a sweet, helpful code. I've added a forumid conditional to only include specific forums:
Code:
<if condition="in_array($forumid, array(x, y, z))">
<script type="text/javascript">
<!--
var answer = confirm ("You are about to post a new thread in the $foruminfo[title] forum. Make sure it is the correct forum for your topic.")
if (!answer)
window.location="index.php"
// -->
</script>
</if>
*Clicked install*
|
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
Np. I hope other people will find it useful as I do.
|
|
#5
|
|||
|
|||
|
thanks this should help with my boards, I really get tired of moving threads
|
|
#6
|
|||
|
|||
|
Well I would install it but it'd annoy the crap out of my members thats the only problem
|
|
#7
|
||||
|
||||
|
Could someone please convert this JS into AJAX? Would be great! Because I hate popups.
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
There is an AJAX version with some added features here:
https://vborg.vbsupport.ru/showthread.php?t=112023 |
|
#10
|
||||
|
||||
|
Works perfect.
|
![]() |
|
|