![]() |
Recent Topics on Non-VB Pages
RECENT TOPICS by LBmtb
Version 2.0 Last updated: September 9th, 2008 DESCRIPTION This script will display the topics with the most recent posts on a non-vb page (any HTML page). The page it's on must have a .php extension or you should setup apache to parse the page correctly. The threads with the latest posts are on top. You may output the recent topics in table format, list format, or retrieve an array of the topics for custom output. Installing this script assumes basic PHP knowledge. PHP5 is required. This is an updated version of this mod: https://vborg.vbsupport.ru/showthread.php?p=1141334 COPYRIGHT I am releasing this script on the condition that you do not remove the copyrights from the code. You may not modify and redistribute the code without written permission. Thanks in advance for understanding. NEED CUSTOMIZATION OR PROFESSIONAL INSTALLATION? Email me at webmaster@socaltrailriders.org, PM me on vbulletin.org, or aim me at "LBmtb" to inquire about customizing this script or for installation. REVISION HISTORY Version 2.00: Complete code rewrite (OOP). Preview of first post removed for performance. Made it possible for multiple recent topic blocks to be added to a page. Version 1.03: Adds small preview of first post when the user rolls over the links Version 1.02: option to exclude certain forums Version 1.01: option to only include certain forums Version 1.0: Initial Release INSTRUCTIONS: 1) Unpack the files into it's own directory. Make sure that recent_topics.class.php, config.php, and register.class.php stay in the same directory now and after you upload to your web server. 2) Go into config.php and modify the values for your forum URL and the database connection. 3) Go into usage.php to see examples and instructions on the usage of Recent Topics. If you use Recent Topics in a different directory, make sure to adjust the 'require_once('recent_topics.class.php');' line to reflect that change. 4) Mark as Installed 5) Donate (optional) DEMO: http://www.socaltrailriders.org/recentTopics/usage.php DONATIONS Having recent topics on the rest of your website is a great way to show what's currently going on in your forum. I tried to make the process of adding this functionality as easy on you as I could. If you like what this brings to your website, please consider making a donation. It would be much appreciated. My paypal email is: webmaster@socaltrailriders.org |
Reserved.
|
syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}
|
Quote:
Oh . . . I also forgot to mention that this requires PHP5. If there's enough demand I can make a PHP4 version. |
Will this release work along the same lines as the vbSEO version you have previous?
We have vbSEO installed and was just wondering if this works the same way, aside from the upgrades and changes to code you made? We currently have PHP 4.4.9 as well, I don't know if we can upgrade or not to 5. I'll have to ask. |
Quote:
|
Does it work with other versions of vb, 3.5, 3.6, etc?
I suppose it's irrelevant if you think about it, since the code is working on a non-vb page but I thought I'd ask. |
Quote:
Thanks! |
Sent you a pm about the vbSEO version, let me know please when you have a chance.
|
Quote:
Thanks! |
All times are GMT. The time now is 09:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|