![]() |
LBmtb's Recent Topics on Non-VB Pages (vbSEO edition)
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"> * 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 |
Reserved
|
Great work LBmtb, very much thanks
Installed |
Thanks, this is the version I was after. donated.
|
Just a thought, I know we can include or not include certain forums, however I was thinking it would be much better if it could automatically not include any forums who that user does not have permission too.
for example. I want to see the staff section posts, but I dont want other users seeing them. I'm sure this is possible, what do you think? |
Awesome! Exactly what I needed. :)
|
Quote:
Quote:
Quote:
Quote:
|
Great stuff , thanks alot!
|
Quote:
Cool, because if you guys could work together and make some awesome mods for non vb pages, I would seriously be thrilled :) |
Cooooooool thanks
|
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? |
Pmed you yesterday.
|
Quote:
Now in the CUSTOMIZE THE FOLLOWING section of the script find PHP Code:
PHP Code:
|
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.
|
Can someone tell me where to get vbSEO for this?
Thanks! |
Quote:
|
Will this hack work fine if embedded under another portal system templates ?
|
I kinda dont understand lets say i set it up right on .php page but how do i use it on .html page?
|
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?
|
Quote:
Or you can also google "parse php htaccess html" for more info. Quote:
|
Thanks for this, is there any way to make this get the recent post from ReviewPost Pro
|
Quote:
|
Id love to be able to use this but it only displays the copyright info at the bottom ... example is http://www.wrathradio.com/test.php and I would have no problem donating what ever it takes to get this working along with being able to have users login to my vb forums from the same non vb pages.
|
Quote:
Most likely cause of the threads not showing up is that something is wrong with the mysql query which means one of the database settings is off. I'm guessing the table prefix (most common). If you want to double check it, open vBulletin's /includes/config.php and compare the table prefix, database username & password, and database name to what you entered in this script. On your test page I get a login screen. That would be a cool idea for non-vb pages also but I don't have much free time right now. |
Can you add this to show osme text also?
|
thanks.
|
Will this work with ZointsSEO as well?
|
All times are GMT. The time now is 04:54 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:
|