![]() |
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); |
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). :p
Anyway, to get the effect you requested Okiewan, find in index.php: PHP Code:
PHP Code:
|
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.
|
nice hack. Got no use for it, on my site though...
|
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 :).
|
That's great to hear DC :D That's on my agenda for v2, also, is making an editable list.
|
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 :) ? |
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 :)
|
sweeeeeet mystis.
SL will definitely enjoy this hack :D |
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.
|
All times are GMT. The time now is 07:01 AM. |
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:
|