This hack will allow you to "easily" apply forum elements outside of vBulletin (for say, your website)
UPDATE - 1.5:
This update provides more stability, the vBExternal file will only call 1 query for $vboptions and 1 query for the action, a maximum potential of 2 queries (some may execute 3 dependant on functionality used)
UPDATE - 1.6:
Several minor bugs fixed, 2 main one's were users online (repeating names) and emoticons (being red x's).
Also using vBExternal is completely different as to before (the download contains instructions on how to set up vBExternal the new way)
To update: Re-upload vBExternal.php
Features:- Newest Members
- Description: Outputs X members onto your website, ordered by newest first
- Available Parameters/Options: Change amount shown (default is 5)
- Top Posters
- Description: Outputs X members onto your website, ordered by # of posts
- Available Parameters/Options: Change amount shown (default is 5)
- Newest Threads
- Description: Outputs X threads onto your website, ordered by post date
- Available Parameters/Options: Choose all/1/several forums to pick from (default is all forums), Change Amount shown (default is 5)
- Newest Replies
- Description: Outputs X threads onto your website, ordered by newest reply
- Available Parameters/Options: Choose all/1/several forums to pick from (default is all forums), Change Amount shown (default is 5)
- News
- Description: Outputs X posts onto your website, from a specific forum, ordered by post date
- Available Parameters/Options: Choose which forum news is pulled from, Change Amount shown (default is 5)
- Users Online
- Description: Outputs all your users online on your forum, onto your webpage
- Available Parameters/Options: N/A
Installation:
All you have to do is upload a few files, no running an installer, no file edits, no template additions/edits, nothing!!
Resources:
The system uses the default 1 vB queries onload, and then only
ONE additional query (if action is successful)
Using vBExternal:
First of all, your site will have to be php, if your site is say .htm/.html, no worries, just rename the file type to .php, it will all be the same. Then read 'Usage Instructions' contained within the download to see how to set it up
Customizing HTML Output:
Go inside yourforumdir/vBExternal/
You'll find a few HTML files, these files are the template "structure" for each action, you can change the HTML to your own liking, however leave in the macro's --> {bla} (These are swapped with data called from your forum)
I think that's it really, really simple, really easy to use, so there ya go
PS: Feel free to send me any donations, my paypal is:
webmaster@gzevolution.net :p
Enjoy,
- Zero Tolerance