The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBFavorites v1.0 Details »» | |||||||||||||||||||||||||
Alright everyone, here's my first (hopefully of many) released hack, so have mercy
This hack adds a category to your index.php page containing the X (customizable) most frequented forums by that particular user. This hack does not apply to guests however, or members who have no (or less than a customizable amount of) posts. Not much more to it, it's a very simple 2 minute install and it should (although I haven't verified it) work across 2.2.x. A live demo will be available soon at Somethingleet, but for now some screenshots will have to do. Please let me know the url of the forums you install it on, if you do, I like seeing where my work is used Screenshots: Screenshot of what it looks like to your qualifying user with a sufficient number of posts - [here] Screenshot of how it appears to a guest - [here] Screenshot of how it appears to a registered user without a sufficient number of posts - [here] Minihacks & Customizations: Exclude a forum from favorites Make 'Your Favorites' Username's favorites If you like the hack, make sure and install it! Show Your Support
|
Comments |
#22
|
||||
|
||||
Sure, just change
Code:
$query = $DB_site->query("SELECT forum.forumid as forumid, forum.* as foruminfo, COUNT(post.postid) as numposts FROM forum, thread, post WHERE forum.forumid=thread.forumid AND thread.threadid=post.threadid AND post.userid='".$bbuserinfo[userid]."' GROUP BY forumid ORDER BY numposts DESC LIMIT 0,".$max_forums); Code:
$query = $DB_site->query("SELECT forum.forumid as forumid, forum.* as foruminfo, COUNT(post.postid) as numposts FROM forum, thread, post WHERE forum.forumid=thread.forumid AND thread.threadid=post.threadid AND post.userid='".$bbuserinfo[userid]."' AND forum.forumid!=9999 GROUP BY forumid ORDER BY numposts DESC LIMIT 0,".$max_forums); |
#23
|
||||
|
||||
lol, I had forgot that forum names were even inputted.. I must have been thinking it was hardcoded for some reason (been a while since I added a forum).
Anyway, to get the effect you requested Okiewan, find in index.php: PHP Code:
PHP Code:
|
#24
|
||||
|
||||
Nice velo, I was looking at it like it was much more complicated than that. I think I'm going to index all of the little code modifications on the first post.
|
#25
|
||||
|
||||
nice hack. Got no use for it, on my site though...
|
#26
|
||||
|
||||
Awesome hack. I installed it last night in less than 5 minutes and my members have already made several dozen posts on the thread I made for feedback praising it .
|
#27
|
||||
|
||||
That's great to hear DC That's on my agenda for v2, also, is making an editable list.
|
#28
|
||||
|
||||
Is it possible to modify this hack so that you can have (in the style header), just below the main forum logo/buttons, little text links of just the three 'favorite' forums?
So that no matter where the user is in the forums (well, wherever the header is displayed), they can always just hit one of the three links to go to one of their top 3 forums? If that's not possible, then is there any other hack which can do this ? |
#29
|
||||
|
||||
Sure, it would take some heavy modification, but the SQL query is there, and that's what took me the bulk of the time developing this hack. I'll give it a shot and see what I can do
|
#30
|
|||
|
|||
sweeeeeet mystis.
SL will definitely enjoy this hack |
#31
|
|||
|
|||
Great hack, but it would be cool if you could somehow modify this hack so that people could specifically add forums to the favorite list.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|