![]() |
Exaclty as seen on progresstalk.com
Anyone have this hack or is there one? I have searched btw :D |
What would you like to order this by?
i.e Top XX latest threads with no reply? That is quite easy to do: PHP Code:
Just upload to your forum's folder, and include using SSI. |
Thank you very much Firefly! I am gonna try this soon :)
Thanks again! |
Hey I put in the code and called it new.php
I then tried to run http://www.wannabebigforums.com/new.php to test it before I incuded it in the forums and got a blank screen :( Heres my php file.. Code:
<?php |
also out of curiousity how hard is it to make it the last XX threads in the last 24 hours?
That might save some old unanswered posts showing up? Just wondered, may chose to keep it like it is :) |
LOL, I am so dumb. :p
Forgot to echo the stuff. ;) PHP Code:
|
would this interfere with tubedogs top xx posters?
Its just I get the new.php working fine.. So I add this to phpinclude.. ob_start(); require("/home/wbbforum/www/topposters.php"); $noreplytopic = ob_get_contents(); ob_end_clean(); I then use $noreplytopic in one of my templates and it shows the top XX posters ???? So I had top xx posters twice?? |
my fault.. I am stupid..
I copied the php include from the topposters one.. D'oh I feel stupid now ha ha |
ok I changed it to new.php
I then got this,.. Fatal error: Cannot redeclare stripslashesarray() in /home/wbbforum/public_html/global.php on line 10 Any ideas? |
sorted it../
Removed the require global from the php file.. |
What about listing all forums except hidden (moderators) forum?
Can that be done by uncommenting the $whereforum line & excluding a certain froum? |
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) |
Thanks all.
how would i modify this to specify the forumid in the url? i.e: http://yoursite/vb/new.php?&forumid=3 |
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.. |
SOrry i dont follow this, could someone please put it simply for me? I am quite lost :(
Thanks Matthew |
Please............... Someone
|
May I offer an alternative? This is the one I use, works great.
https://vborg.vbsupport.ru/showthrea...=virgin+topics |
All times are GMT. The time now is 03:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|