The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External.php and some code?
Greetings VBulletin.org,
I have this code, which a friend of mine made for me, and it works just fine. Except it shows a very long list of threads and doesn't end. How do i put a limit of 5 threads ? PHP Code:
I'd also like to know how i make it display any new thread made in my announcements forum and updates forum, on my front page. It should be displayed in a few parts. Title, poster, thread link and the things within the thread. Also, will the vBulletin BBC code act up when it's read via external.php ? Thanks in advance, GE |
#2
|
|||
|
|||
To limit the number of threads, you could do this:
PHP Code:
I don't know about the second question - I think you should get threads from any forums that would be included in an external feed. Edit: The forums need to be readable by guests or they won't be included, maybe that's the issue? |
#3
|
|||
|
|||
Quote:
Also, I do know it needs to be readable by guests. But I'd like to know HOW to it display the different parts of each thread, on the site with the different things which are stated above. Note: It's a actual site, i coded in HTML. I just want the front page to display the 5 latest threads in my announcement forum on the frontpage. I divided different parts of the format for announcements into different divs, such as Date, author, body, and reply to thread. How would i got about grabbing all that date from a thread and making it display properly. I can provide the code for it if you wish. --------------- Added [DATE]1314100281[/DATE] at [TIME]1314100281[/TIME] --------------- Bump, could anyone help me with this ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|