![]() |
Latest X Posts on Forum Home
What this does? This will add the latest x posts onto your forum index What version does it work on? This modification should work on any version 3.6.0 and up! Including the new 3.7 Features?
Added?
Installation?
Thats It! Fixes? 2.3
2.2
2.1
2.0
1.9
1.8
1.7
1.6
1.4
1.3
1.2
Please Click Install if you use |
I noticed it says "Site News" and "Latest 5 Posts" on your site. Is it possible to be able to have these as user configurable settings?
|
Yes I could set that up for ya, as a temporary fix you can just edit the phrases. Will do in next small update
EDIT: By the way, the "Latest 5 Posts" Changes to like "latest 10 Posts" and so on. How ever many you have it grabbing, it changes that number |
Quote:
|
think i might just make the "Site News" Changable, doing that now
|
Ok done, redownload
|
You can grab the last # posts on forumhome by just adding some code in functions_forumlist.php without adding any query, I think !
|
Thanks :)
|
Hey nice hack..
I get the sql error, on my forum index page Database error in vBulletin 3.6.5: Invalid SQL: SELECT post.postid, post.pagetext, post.userid, post.username, thread.forumid, forum.forumid, forum.title FROM post as post LEFT JOIN thread as thread on (post.threadid = thread.threadid) LEFT JOIN forum as forum on (thread.forumid = forum.forumid) WHERE thread.forumid not in () ORDER BY postid DESC LIMIT 5; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY postid DESC LIMIT 5' at line 5 Error Number : 1064 Date : Thursday, March 22nd 2007 @ 12:42:24 PM Script : ********************* Referrer : IP Address : ****************** Username : ****************** Classname : vB_Database |
Same error here!
|
I got the database error as well.
|
Fixed, reason being if you did not fill out any forumid's to be excluded, then it would give you this error
|
Has this been fixed yet?
|
yes, just fixed
|
Would it be possible to use that in the header or a sidebar instead of forumhome?
|
just go ahead and delete the str_replace at the bottom of plugin, then move $latest where you want it to go
|
Ok. Now i get this error
Quote:
|
how come i get this error?
Parse error: parse error in c:\Inetpub\vhosts\babienhu.com\httpdocs\index.php( 536) : eval()'d code on line 83 |
fixed error, thanks
|
Thanks But ; It should be seen only by admins ?
|
what do you mean? All members can view it, thats why you exclude the forums that you dont want shown
|
Going to give this a try now, thanks.
|
This only a request if you can do that i'd be happy...
|
just add a condition to the if is_member_of($user, 6); for admins only
|
Hey...
It not show up at my forumhome! Can you post the temple edits, so i can install manuel Thx for you time - I love this hack!!!!!!!!! Sry for my VERY bad english!!! |
Not a problem, on forumhome it *should* show up under navbar. so just put $latest where you want it
|
Does this mod inherit usergroup permissions or do you have to manually enter the forum ID to exclude private forums?
|
Can you modify this hack so that it has a loop marquee funtion where it will scroll vertically through the last 30 posts? Once the user hovers his mouse over the box it stops scrolling.
Thanks |
Before I do, who's has success installing this? Link?
|
I have it running on 2 sites. white-projects.com, and carutopia.net
|
Would it be possible to get this to collapse like the rest of forum_home?
|
was mentioned already, ill put that out with next release. soon more hten likely
|
Problemo!
Quote:
|
It is not cached becuase its constantly updated, at every page refresh, but not even a noticiable load IMO
|
How can i stick it at the bottom of the forum?
|
Quote:
|
Inside of plugin forumhome_latest
Find: Code:
//adds location to forumhome template Then place: $latest Where you want it :D Also updated so now it collapses |
Mike, did you see my post above regarding permissions?
|
Just read your message, sorry, must of read over, anyways it does not use permissions, I designed this mod for a customer this way, because he wanted it, he recently bailed on me, so I decided to release it to the public. Will think about doing that in the near future :D. Thanks and sorry
-whitemike |
I'm trying to stick $latest in my footer, will that work or what? It seems to not do anything when I stick it anywhere in the footer, tried a few places.
|
All times are GMT. The time now is 09:30 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:
|