Mind you my board is a humor board and there might be offensive jokes on the active list, consider yourself warned!
This copy has several things I want to add, in the following priorities....
a) Template support
b) User defined number of topics / topics since last logon
c) RDF support (to allow others to take the list from your site dynamically)
d) WML support (to allow mobile phone users to get their humor fix via phones... also to allow me to admin / delete the forums via a mobile phone)
e) Clean up of the code / comments
f) Offline (low overhead) generation via cron
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
in all actuality, it runs the same. the only difference is that it is much easier (for me) to integrate the active-topic with my site. you don't have to edit the php file with html, just edit the page template and the message template.
As i don't have vbulletin configured/setup on the site I am working on, there wouldn't be much to show you if I could.
Nice job on the active posts.
I take it that when you say it uses a template, you're not referring to a vBulletin template?
I've spent a lot of time with this hack on the UBB trying to find a version that is low overhead. The best way to implement this hack is to hack the posting script so that every time a post is made, an entry is made to either a flat file or a database entry. That way, when the script is called, it only has to make one call/include one file. Also, unlike cron, it is always perfectly up to date.
Sorry, my mistake again... Yes, when I said template, it means a template separate from vbulletin.
Quote:
I've spent a lot of time with this hack on the UBB trying to find a version that is low overhead.
That is the neat thing about PHP/mysql. Everything (within reason) is low overhead. I do not believe there is a way to make this script less overhead than it is now. If you are compairing it to UBB Active Topics, then it is so far below their overhead that it wouldn't show up on a graph. (imnsho)
To have this script up to date, just ssi it in your page.
To have a 'less overhead' version, have it output (via cron) to a text file and have the text file ssi'ed into your page. The more time between the output, the less overhead.
I have a list of topics called mythread.txt generated by this program.
I want to include them in my new homepage, which I"m building at index.php using vB as the backend. Index.php calls a variety of tempaltes liek homepage, etc, as well as some stuff from vB liek fivelinks.
I've got it all working except for two things. One is login on the homepage. The other is how to include the .txt file inside the template.help?