The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
What about listing all forums except hidden (moderators) forum?
Can that be done by uncommenting the $whereforum line & excluding a certain froum? |
#12
|
||||
|
||||
Quote:
$allthreads=$DB_site->query("SELECT threadid,title FROM thread WHERE replycount='0' $whereforum ORDER BY dateline LIMIT $threadnum"); AS: $allthreads=$DB_site->query("SELECT threadid,title FROM thread WHERE replycount='0' AND (forumid=X OR forumid=Y OR forumid=Z) ORDER BY dateline LIMIT $threadnum"); (Replace X,Y,Z and if you need to add more forums use "OR forumid=N" format) |
#13
|
|||
|
|||
Thanks all.
how would i modify this to specify the forumid in the url? i.e: http://yoursite/vb/new.php?&forumid=3 |
#14
|
||||
|
||||
Quote:
$whereforum=""; AS: $whereforum="AND forumid='".$forumid."'"; However this may not be a good idea if your users are allowed to use this script since they can access hidden forums with this method.. |
#15
|
|||
|
|||
SOrry i dont follow this, could someone please put it simply for me? I am quite lost
Thanks Matthew |
#16
|
|||
|
|||
Please............... Someone
|
#17
|
|||
|
|||
May I offer an alternative? This is the one I use, works great.
https://vborg.vbsupport.ru/showthrea...=virgin+topics |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|