The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
LBmtb's Recent Topics on Non-VB Pages (vbSEO edition) Details »» | |||||||||||||||||||||||||||
LBmtb's Recent Topics on Non-VB Pages (vbSEO edition)
Developer Last Online: Aug 2015
This mod does the same thing as my original recent topics mod but vbSEO'izes the URL's. You MUST have vbSEO installed for this one to work. Otherwise use the original one.
RECENT TOPICS (vbSEO edition) by LBmtb Version 1.00 Last updated: Dec 21th 2006 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. The output is a clean list in this format: HTML Code:
<ul class="vb_topics"> <li><a href="http://www.yourdomain.com/forum/general-discussion/4150-a-thread.html">This is the latest thread</a> <span class="vb_last_post">(user1 @ 12/18/06 05:58 PM)</span></li> <li><a href="http://www.yourdomain.com/forum/general-discussion/4152-another-thread.html">Another recent thread</a> <span class="vb_last_post">(user2 @ 12/18/06 05:58 PM)</span></li> </ul> * forum ID - choose to only include or exclude certain forums * number of topics displayed * CSS class names for the topic name/url and last poster/date * and a few others COPYRIGHT There is a copyright line. I am releasing this script on the condition that you do not remove this line unless you send $5 via paypal to webmaster@socaltrailriders.org. 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 installation. REVISION HISTORY Version 1.0: Initial Release INSTRUCTIONS: 1) Copy and paste the following code where you want the list to appear and adjust the values in the section "CUSTOMIZE THE FOLLOWING": PHP Code:
3) Enjoy! NOTES: This is my first (second now?) mod/script so be nice, please . DEMO's: "Stock" script: http://www.socaltrailriders.org/latest_posts.php with vbSEO URL's: http://www.socaltrailriders.org/latest_posts_vbseo.php Show Your Support
|
Comments |
#12
|
|||
|
|||
LBmtb, this looks great, though my needs might not fit the great work you've done here. Do you know a way to do this?
I have category > sub forum > sub forum. So basically I have forum areas that in forumdisplay have additional sub forums. I would like to show latest threads for just those particular sub forums....thoughts? |
#13
|
|||
|
|||
Pmed you yesterday.
|
#14
|
|||
|
|||
Quote:
Now in the CUSTOMIZE THE FOLLOWING section of the script find PHP Code:
PHP Code:
|
#15
|
|||
|
|||
LBmtb, I was actually hoping to use this in the forumdisplay area for those forums which have only subforums....I'll have to tinker a bit.
|
#16
|
||||
|
||||
Can someone tell me where to get vbSEO for this?
Thanks! |
#17
|
|||
|
|||
http://www.vbseo.com/ It's not free, btw. But a lot of people have said it's well worth it. I've only had it on my boards for a short period of time so I haven't noticed a HUGE difference in traffic yet.
|
#18
|
||||
|
||||
Will this hack work fine if embedded under another portal system templates ?
|
#19
|
|||
|
|||
I kinda dont understand lets say i set it up right on .php page but how do i use it on .html page?
|
#20
|
||||
|
||||
I'm not a coder by any means....but is there a higher potential of being hacked or someone getting your database password using this code on pages?
|
#21
|
|||
|
|||
Quote:
Or you can also google "parse php htaccess html" for more info. Sort of but not really. PHP stuff get processed on the server so as long as you don't insert "echo $db_pw" or something along those lines a user won't see it. The only way someone can see it is if they have FTP or SSH access to your server, then they can just download the actual file and look at it. But if someone already has FTP or SSH access they can also go into your vB directory and download includes/config.php and get that info there. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|