The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Vbulletin with Smarty to display latest threads
Hello,
I have a website, which is Smarty based with templates. On my homepage, I have on the left hand side below the login box, I have a section there called Latest Forum posts. The software/script I am using has its own built in forum, this is not Vbulletin. What I am trying to do, now that i have vbulletin , is to pull the latest VB posts and put into that area. I am trying to format it the same, to display Thread title (hyperlinked), poster, date, time. I know where to make the change (which .tpl file to edit) but i dont know how to get the php code converted into smarty for it to work. I have seen this PHP code on VB site, which is a little messy/unformatted, and someone also provided this for me to play around with. However, both are PHP, and i want to use this with smarty somehow. it doesnt show date/time, but i assume could be added. If you have an easier way of doing this, that would be great too. I just want to somehow get the latest 10 threads on the homepage, in that same area. Do you know how I can make something like this work in a Smarty template file? Thanks, Todd |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|