Board Viewers

Started by Yağız..., March 12, 2006, 05:42:17 PM

Previous topic - Next topic

Harzem

It should be a popup, not a list.

Think about a board that has 450 users inside ;)

450 Benutzer betrachten dieses Board: namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen ....

kezayah

Now I can see "1 Member and 0 Guests are viewing this board" .

Ok but how does nite0859 do to make distinction between member and guests ??  ::)

Harzem

Hmm, on the home page there can be (15 users, 67 guests viewing). That is possible, I will think about it. Or I may add an admin option to seperate users and guests, or not.

bmhm

Quote from: HarzeM on April 09, 2006, 08:26:23 AM
It should be a popup, not a list.

Think about a board that has 450 users inside ;)

450 Benutzer betrachten dieses Board: namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen ....

You can do a break after 10 names or so:
Quote450 Benutzer betrachten dieses Board: namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen, namen...

Problem solved  ;D I want my list :)

Harzem

Sorry, you will get a popup.

A list is easier than a popup, but it will mess up the visual things. The list will be longer than the category name. And also how will we select the users that will appear in the "shortened" list?

A popup will be great. Probably a message box will do better trick.

BTW, the next release including this popup, seperating users and guests, and adding users inside messageindex will be in a few days or a bit more.

bmhm

Quote from: HarzeM on April 13, 2006, 04:18:17 PM
Sorry, you will get a popup.

I've got an idea... see below

Quote from: HarzeM on April 13, 2006, 04:18:17 PM
A list is easier than a popup, but it will mess up the visual things. The list will be longer than the category name. And also how will we select the users that will appear in the "shortened" list?

Easy. How do you choose the order of the shown names? There will be an order. Just cut it to the first twenty or so.

Quote from: HarzeM on April 13, 2006, 04:18:17 PM
A popup will be great. Probably a message box will do better trick.

1) Yes, additional to my idea above
2.) msgBox? Javascript:alert? Don't you dare.... ;)


Quote from: HarzeM on April 13, 2006, 04:18:17 PM
BTW, the next release including this popup, seperating users and guests, and adding users inside messageindex will be in a few days or a bit more.

I'll be one of the first ppl downloading it! Promised! ;)

I hope you like my suggestion - we can combine our ideas. Just take a look at www.galaxywarsforum.de - ok, copying is lame, i know... but why do we need to re-invent the wheel? :p

Regards from germany ;)

b0bby

i thought that this mod will work but i found out that it dont work on RC2. When i installed the mod didnt see the difference on the index board page. No number of users, nothing.

This mod is not recommended due to so many bugs.

Harzem

So many bugs? :D Prove.

This mod is especially for RC2, default theme. If you are not using default theme, don't blame mods for not working. Do some manual installation or ask for help.

More than 1000 downloads of this mod and two unproven "doesn't work" reports.

Skipdawg

Yeppers the Mod works fine. Have it on 4 forums. 3 live and one test. No issues!  ;D ;)
Skipdawg's Community

Powered by SMF 1.1.3

PostThis

What bugs?! This is one of the mods that you just install and enjoy!  :)

Great work, many thanks for sharing this mod!  :D

ltdeta

download-link for the mod is broken  :o

Harzem

It works for me. You can try a different browser. Usually that solves download issues here.

Desktop

I'm using 1.0.7 and I tried it but I cant get it to work.. it wouldnt install with package manager so I tried doing it manually... except I ended up with 84,000+ pages of forum errors lol, I know I probably did something wrong but I'd really love for this mod to work!

This is the error message I get :

8: Undefined index: viewers
File: /home/hostspro/public_html/forum/Themes/May06/BoardIndex.template.php (eval?)
Line: 101

which is this line :


<span class="aarib"><b>', $board['link'], '</b></span>' , /*Board Viewers - by HarzeM*/($board['viewers'] > 0 ) ? '<span class="smalltext" style="float:right;"> (<b>'.$board['viewers'] . '</b> ' . (($board['viewers'] > 1) ? $txt['board_viewers'] : $txt['board_viewer']) . ')</span>' : '' , ' <br />


Did I do it wrong? Please help, thanks

Harzem

Uhm, that error wasn't supposed to occur. The prevention was done in Sources/BoardIndex.php file. You may have forgotten to add a code there. There are small codes to add in various parts of BoardIndex.php file, one of them may have got forgotten, maybe.

Does the system work, even if you get the error?

Desktop

Quote from: HarzeM on May 04, 2006, 05:08:03 AM
Uhm, that error wasn't supposed to occur. The prevention was done in Sources/BoardIndex.php file. You may have forgotten to add a code there. There are small codes to add in various parts of BoardIndex.php file, one of them may have got forgotten, maybe.

Does the system work, even if you get the error?

No it doesnt work... the number of viewers doesn't show up it's just the same as it was before

Harzem

Have you updated Sources/BoardIndex.php file? It is different from BoardIndex.template.php

Desktop

Quote from: HarzeM on May 04, 2006, 05:53:18 AM
Have you updated Sources/BoardIndex.php file? It is different from BoardIndex.template.php

Thanks so much, its working now! I installed it manually and I think I must have got mixed up with the add before and add after stuff in boardindex.php

On the board index it says (2) or (3), how would I change it to say (3 viewing)? Also it's aligned right when the board names are aligned left, how would I go about aligning the Board Viewers right too? So it says:

Board name (3 viewing)

instead of :

Board Name                                       (3 viewing)

Harzem

The "viewing" word should be added to the modifications.english.php file. The mod automatically adds it. If you are manually installing, you should make the change according to the mod XML file instructions.

The numbers may be next to the board name as you said, but this time it will look like vBulletin ;) SMF should be different - actually tidier.

Johno69

Has anyone got this mod working on the helios_multi theme ?

I can't seem too. But in no code junkie either so that might be the problem.

moTaro

I also need pn-pn theme workaround.

anyone?

Advertisement: