The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Last new posts
i want to show the last 20 posts made on the forum on a seperate page does anyone have an idea on how to do this ??
|
#2
|
||||
|
||||
I think it will be something like this.
PHP Code:
|
#3
|
|||
|
|||
u nearly there m8
i get a Warning: Cannot modify header information - headers already sent by (output started then it shows one new post underneath it |
#4
|
|||
|
|||
ok i took out the error reporting bit
and no error now but it only shows one post still |
#5
|
||||
|
||||
Try
PHP Code:
|
#6
|
|||
|
|||
same m8
no error but only one latest thread/post is showing |
#7
|
||||
|
||||
$DB_site->query_first() will only return one result, no matter now may rows you tell it to fetch from the DB. You need to use $DB_site->query() and use $DB_site->fetch_array() in a while loop to get more than one item from the DB.
|
#8
|
||||
|
||||
Quote:
It should be this PHP Code:
|
#9
|
|||
|
|||
works perfect
can i use <smallfont> in a php file to make text a lot smaller ? also thanks to assassingod and NTLDR |
#10
|
|||
|
|||
sorry one final question
i knwo u helped enough but the above is fine but it only gets new threads dont it,how can i do the exact same but for posts. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|