The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I've asked multiple times to get someone to create a simple fetch_news script that will make you able to use the script outside of vB as a news page. It will display news (topics) from a given forumid. It won't have a portal kind-of-look, just a simple template that can be changed to fit in with the rest of your website.
There has been released such a thing for vB2, but still nothing for vB3. We do have the great vBAdvanced and vBIndex (?) hacks, but they are... hacks. I just want a php script that connects to a template in vB, and fetch news posts from a given forumid. Simple as that. I don't want to have to alter any php files just to get a nice newspage. And once it is made, I can use it for the rest of my website aswell. You still reading? Good. ![]() Since no-one have showed any interest in making such a script, I'll try to do so myself. I'm a real php newbie tho, so I got stuck after 6 lines of code. ![]() PHP Code:
![]() Your turn, what to do next? The template fetchnews displays just fine now, but it just displays the xhtml code from the template, no news yet. Please kick me in the right direction. ![]() PS: If it ever gets done, I'll release it to others who might find this usefull. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|