The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#137
|
|||
|
|||
I thought firefly said that you only have to edit index.php not both index.php and forumdisplay.php?
|
#138
|
||||
|
||||
I had to edit both. I just put all the code from the original hack into the .txt file. I only did it to make things easier since codes were here and there. ^^;
|
#139
|
|||
|
|||
SavgeDusk: A fine job, and I thank you for condensing it all into an easily installable format. I was running v2.3.3 under the original hack, but I since used your 'updated file' and made the changes to keep up to date with the latest. Many thanks for making a newbies life worth living!
|
#140
|
|||
|
|||
SavgeDusk..
Fine job THANKS!!!! |
#141
|
|||
|
|||
firefly,
any way to adjust the query so it includes all subforums under the parent forum? In other words if there is a forum on the homepage which containts 5 popular forums and the parent forum is a no posting forum then it shows 0 users browsing that forum leading to the appearance nobody is browsing the 5 forums inside of it when in reality it could be 100's of users. |
#142
|
||||
|
||||
/me hits install
Flawless on 2.3.0 including sub-forums. (vBulletin.org style) |
#143
|
|||
|
|||
This is a modified version of Neo and FireFly's "# of users on forumhome". This hack uses templates to control certain aspects of it. It likely resembles the version Jelsoft used with vBulletin 3 but seeing as how I haven't even downloaded it yet I decided to accomplish the same with vBulletin 2.
. If there is 1 user browsing, you can have it say "1 user" instead of "1 users" . If there are 0 users browsing, nothing will show up at all. Note: It does not currently work for sub-forums as far as I can tell, I am looking into that to see if I can figure out to do that. Example: http://www.ewplanet.org/e/index.php?s= NOTE: If you find this hack useful and plan on using it, click install. [v 1.1 fixes] + Added templates to $templatesused to save 1 query. ++ Thanks to Mist & Alien for the suggestion. + Added forumdisplay_nobrowsers template just incase people want to display something for 0 users browsing. ++ Thanks to MadCat75 for the suggestion. [v 1.2 fixes] + Changed $browsers variable to $numbrowsers variable in template forumdisplay_nobrowsers ++ Thanks to MadCat75 for the alert. [v 1.3 fixes] + Changed $numbrowsers variable back to $browsers in template forumdisplay_nobrowser. ++ Got confused with one users question and made the wrong choice. [v 1.4 fixes] + Assigned 0 to the variable $browsers if there were no users browsing. |
#144
|
|||
|
|||
If you do not wish to follow one of the above links in order to view this hack in action, a screenshot has been provided.
|
#145
|
|||
|
|||
Keep up with the good work man.
|
#146
|
|||
|
|||
Nice work my friend
|
#147
|
|||
|
|||
Barely work, thanks for the comments. I'm learning, slowly and this is just fun for me. I figure if I do something neat with my forums, that I should release it to this community because my community's features are great due to this place, without it it would be just forums... my small way of giving back.
|
#148
|
||||
|
||||
I'm quite sure this has been done before (I know almost every hack in this damn db ). I'll look for it to be sure.
|
#149
|
||||
|
||||
Quote:
Good work |
#150
|
|||
|
|||
I said it twice, said it once in the hack file, and gave a link to the original hack. I'm quite well aware of the fact that it's been done before.
|
#151
|
||||
|
||||
How many additional queries does this add to the forumhome?
Also, anyone know if it would be helpful to add the template calls added from this hack into the templatesused line? Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|