PDA

View Full Version : vB3 Moderators and Onlineusers-Look in Forumdisplay v 1.1


Kars10
03-26-2003, 10:00 PM
What this hack does?
With this hack you can have your Onlineusers and Moderators in Forumdisplay
displayed like on vB3.
Also you have a new Usercount displayed in Forumdisplay.

Files to edit: (1) forumdisplay.php
Templates to edit: (2) forumdisplay, forumdisplay_threadlist
Templates to add: (0)

Time to install: max. 5 min

Credits to: Boofo for the Usercount - Addon

Screenie in next Post!

Note: Please backup your Files and Templates!!

If you like this hack please lick install
Kars ;)

Kars10
03-27-2003, 09:35 AM
Screenshot: :)


NOTE: Screenshot updatet v1.1

Boofo
03-27-2003, 09:54 AM
Does this work ok if you have subforums?

Kars10
03-27-2003, 09:58 AM
Today at 12:54 Boofo said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=373965#post373965)
Does this work ok if you have subforums?

Yes Boofo, i have subforums too and it works like a charm! :)

Kars

Boofo
03-27-2003, 11:05 AM
Today at 05:58 AM Kars10 said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=373967#post373967)


Yes Boofo, i have subforums too and it works like a charm! :)

Kars

I realized that after I installed it. ;) Great addition, thanks! ;)

Check mine out. I have added how many members are browsing this forum. Let me know what you think. ;)

sabret00the
03-27-2003, 11:07 AM
couldn't this be done with just a temple mod?

Kars10
03-27-2003, 11:07 AM
Glad you like it Boofo!
Cool addition with the Online Users.
If you want i can update the first Post with your addon (credits 2u).

Kars :)

Kars10
03-27-2003, 11:08 AM
Today at 14:07 sabret00the said this in Post #6 (https://vborg.vbsupport.ru/showthread.php?postid=373987#post373987)
couldn't this be done with just a temple mod?

No, because $browsers won?t work in forumdisplay_threadlist without hacking. ;)

Kars

Boofo
03-27-2003, 11:10 AM
Today at 07:07 AM Kars10 said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=373988#post373988)
Glad you like it Boofo!
Cool addition with the Online Users.
If you want i can update the first Post with your addon (credits 2u).

Kars :)

I'll pm the file with the update to you. ;)

Boofo
03-27-2003, 11:11 AM
Today at 07:07 AM sabret00the said this in Post #6 (https://vborg.vbsupport.ru/showthread.php?postid=373987#post373987)
couldn't this be done with just a temple mod?

That was tried over at vbt.com and did not work if you had subforums.

Kars10
03-27-2003, 11:45 AM
Ok, updatet Txt-File in Post#1 and the Screenshot in Post#2 with the Usercount-Addon by Boofo. Thanks Boofo!

To update from 1.0 simple replace the the code from the old instructions with the code from the new instruction and make the templatechange in forumdisplay_threadlist

Kars :)

Dean C
03-27-2003, 03:22 PM
Nice hack karsten :p

- miSt

Kars10
03-27-2003, 03:28 PM
Thanks Mist!! :)

mharmon
03-29-2003, 04:22 PM
Great hack my friend. This makes it look great! Thanks again. :)

Boofo
03-29-2003, 04:35 PM
Karsten, don't you think it is a little late for that avatar? ;)

Bison
03-29-2003, 05:00 PM
Yup - YUP!

Probably a last ploy to "stop the violence" message!

One question ... I have this users browsing hack displayed in the forum home page, is this *literally* the same code, but used to show who's browsing under the main category (forum Display)?

Boofo
03-29-2003, 05:02 PM
That's right. My own adaptation of it. ;)

Kars10
03-29-2003, 07:59 PM
@ mharmon, glad you like it!!
@ Boofo, i am against war at all, not only the Iraq-War! ;)

Kars

Kevorkian
03-29-2003, 09:28 PM
Today at 09:59 PM Kars10 said this in Post #18 (https://vborg.vbsupport.ru/showthread.php?postid=375195#post375195)
@ mharmon, glad you like it!!
@ Boofo, i am against war at all, not only the Iraq-War! ;)

Kars


entry this week i will install it :P

Kars :bored: what's matter? check pm box :(

Hostc
04-11-2003, 05:42 PM
Sweet thanks :D

Have it on my forum now!

kdog316
04-18-2003, 07:09 PM
perfect works great but is there a hack where it will show how many users or in a forum from the forum homepage sort of like what vbulletin.com has
like this

General Chat (4 users in this board)

something along those lines

Kars10
04-18-2003, 07:28 PM
Hi Kdog316!
Glad you like my hack. :)
You can ask Boofo for the hack with the onlineusers on Forumhome.
He has made this hack, and it works great on my board.

Kars

Synicide
04-23-2003, 09:28 PM
This is an awesome hack man, my forum looks so much sleeker now. :D

Kars10
04-23-2003, 09:45 PM
@ Synicide, glad that you like my little Hack!!

Kars :)

+Fares+
04-26-2003, 08:19 AM
any way to have this in the top instead of the button ?

subu1
04-29-2003, 04:14 PM
und install, danke Dir;)

Kars10
04-29-2003, 04:58 PM
Kein Thema subu! :)

Gru?
Kars

Boofo
05-25-2003, 02:17 PM
For anyone using the Usercount Addon, there is a bug with this. If you have a forum where a guest is viewing the thread listing and they are the only one in that forum, the line will look something like this:

0 User011a20289dccd608bbf00f7eba44917b 24 browsing this Forum:

To fix this, you will need to find:

if ($browsers) {
if (!$moderatedby) {
$onlineusers = "";
}
$i = 'are';
if (intval($usercount) < 1) {
$usercount = 0;
}
if (intval($usercount) == 1) {
$i = 'is';
}
$s = 's';
if (intval($usercount) < 1) {
$usercount = 0;
}
if (intval($usercount) == 1) {
$s = '';
}
eval("\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
}
}

and replace that with:

$s = 's';
$i = 'are';
if (intval($usercount) < 1) {
$usercount = "No";
}
if (intval($usercount) == 1) {
$s = '';
$i = 'is';
}
if ($browsers) {
if (!$moderatedby) {
$onlineusers = "";
}
eval("\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
}
}

Chris M
05-25-2003, 03:05 PM
Nice:)

Satan

spaceb
05-27-2003, 01:28 PM
How can i put it in the top of the forum instead of the button??

Destiny Islands
10-24-2003, 02:58 PM
Hey this hack is great! I just installed it to my vB 2.3.2 with no problems! Thanks :)

* Destiny Islands clicks installs.

VirtualHogwarts
11-29-2003, 05:38 PM
/me clicks install works great! Thanks for the fix to that weird problem too!