UBB.Dev
Hack Name: Whos Online Status Effect
Description: This hack makes mods names bold and admins names bolded and italicized.
Author: Tim Yarbrough
Email: [email protected]
Web: http://www.extremechatforums.com
Demo: http://www.extremechatforums.com/ubbcgi/ultimatebb.cgi
Version: 1.2
UBB Version: 6.2.x
Download: Get it here
thanks ...but I have one question.. how do i change the size of the fonts in name list of recent visitors.. I dont like the size of the fonts, want them smaller in display.. Help please
Sweetness, thanks. I like this hack.
Glad you guys like it. I had realy missed that old effect myself.
Makes Admins look more important. laugh
Great hack Tim.
Thanks smile

Next im gonna add in the stuff to do it for wol list.
You don't need the -e check. If the number is in @xa, it has to exist.

You don't need to sling the whole profile around either. Try this instead:

my $user_status = (&OpenProfile($number))[8];

...then compare against that, not $user_profile[8]. smile

Good work though.
Thanks for the tip charles. I will try that as soon as i get home.
Good job Tim. smile
Charles thanks for helping me out there i was trying for about an hour last night to get a better way for it to grab the info. Thanks alot i will update the hack in a second i have the new version on my board and it works great.

~~~edit~~~
I just updated the hack. smile
Posted By: qasic Re: [6.2x] Whos Online Status Effect version 1.2 - 02/14/2002 11:18 PM
Hi Tim,

Nice job with the code snippet. However the following chunk of code:

[code][/code]is not strict compatible. To make it compatible, I recommend you add my ($wol_se_s, $wol_se_e); before this code.

qasic
can you show me what you mean by placing it in the code???
I know what your saying. :0
I just took me a bit.
I will fix that in a bit. Thanks for pointing it out to me.
Nice one Tim now if pntf can ever get rid of the double records when php is enabled we might get somewhere
Please move this to finished. It seems to be working fine with no bugs.
Posted By: LK Re: [6.2x] Whos Online Status Effect version 1.2 - 02/28/2002 1:55 PM
Please post it at finished wink
Thats rigth i need to make it strick tonight. Sorry about that.
Anyway of making different color for Admin and Mods too?
Raichu Babai
I would assume you just change the lines that set the bold and italics:

Code
[/code]the $wol_se_s is the start and the $wol_se_e is the end, so for instance to change the Administrator line, change them to:

[code]
That should work if I am reading it right. You can change the font color to what ever you like.
Thanks Storm, works great!
anyway of adding a image beside admin and mod name?
shure
just add the img tag right before the in the admin effect tag. smile
like
[code][/code]
Posted By: Brad Re: [6.2x] Whos Online Status Effect version 1.2 - 03/06/2002 3:32 PM
quote:
Originally posted by Galipabi:
thanks ...but I have one question.. how do i change the size of the fonts in name list of recent visitors.. I dont like the size of the fonts, want them smaller in display.. Help please

Hi there,

Look, I am newbie of that stuf, But I figured out something.

Here is a small change to the code. If you want to change the font color, size..etc

quote:
SORTORDER: foreach my $number (@xa) {
my $pn = &GetPubName($number);

my $user_status = (&OpenProfile($number))[8];
if ($user_status eq "Administrator") {
$wol_se_s = "";
$wol_se_e = "
";

and the same for Moderator, or else.

Bye.
hmm the MegaModerators dont get the Bold effect frown

Anoyone know how to put this in :?
Yup, works just like the 6.0 WOL hack.

Much appreciated smile
works great.

i had to use

$wol_se_s = "";

to change the color though....
VVouter

public_pntf_summary.pl

find**

Code
[/code]add above**

[code]
quote:
Originally posted by Galipabi:
thanks ...but I have one question.. how do i change the size of the fonts in name list of recent visitors.. I dont like the size of the fonts, want them smaller in display.. Help please

yeah, i was just looking around the code to try and change the size of the font and color of the font (for ALL uses and the comma) to something different.. haven't been able to locate it yet.

one other thing i just noticed.. how come the list of names isn't sorted alphabetically? sorry.. i know this isn't related to this mod specifically.
Thanks ClanKiller it works smile

I tried soemthing like that but that crashed laugh
quote:
Originally posted by VVouter:
hmm the MegaModerators dont get the Bold effect frown

Anoyone know how to put this in :?

Just copy the Mod code and replace
if ($user_status eq "Administrator") { with
if ($user_status eq "MegaModerator") {

EDIT-Oops, clankiller already did it. shocked
i also got the font shrinker in forum so now if a megamoderator is on my forum everything after the and will get size -1 again..

example: vaag and vvouter (and vvouter = size -1 and vaag = size -2 he is a megamod)
Hmm you guys can't find the line to edit the font size for the Who's Online feature? No problem guys, I found it.

Open public_pntf_summary.pl (Templete)

FIND:
Code
[/code]REPLACE:
Code
</pre></div></div>That's it. Upload file and clear cache.<br><br>For those you with this Who's Online hack installed, just scroll down a few lines below:<br>[code]
You'll find it down their. wink
Didnt ask for that wink

just a little problem with the megamod font size tipsy
I recall two people I believe asking about changing the font size for it on the forum summary. If not, my bad...

Kinda annoying seeing it in size 2. laugh
hehe I can unbold the megamods then i wont have problems with the size tipsy
well guys, this hack has a monster bug:

sometimes only it trys to find non existing members (which have been deleted previosly) and the forum quits with this message:

No member profile found for member number: '00002456'
(Backtrace: : ubb_lib_files.cgi:835 -> sub main::Tracer)
(Backtrace: : public_pntf_summary.pl:911 -> sub main::OpenProfile)
(Backtrace: : ubb_lib.cgi:1901 -> sub main::QuickSummary)
(Backtrace: : ubb_forum_summary.cgi:165 -> sub main::FilterPNTF)
(Backtrace: : ultimatebb.cgi:546 -> sub main::forum_summary)

I have checked it out 100 times, and its definitly this hack, thus I cant find out why. any suggestions ?`

the error occurs on 6.2.0 and on 6.2.1.1., if this error occurs on the forum it is not accessable. when I restore the original public_pntf_summary.pl the forum works again, when I hack the file the error occurs, but as I say, only sometimes and only for 10 minutes, after its okay again.

very strange.......
Does anyone have this hack, would like to install on 6.3 smile

tia again laugh

stubbsy
I have most of Tims hacks on my comps and since he is gone and I am one of his closest friends I will probably re-release these for 6.3.
thx dexter smile

looking forward to it - keep up the good work
Thanks.

And expect some released this week.
I cna't seem to connect to your site, is there some problem? I very much would like this hack if possible could you email it to me at [email protected] ?
Like I said I have most of the hacks on the server and will be re-released soon.
ok frown just wanted it soon hehe, but when you can thats cool, could you email me when you upload them? I could provite temperary hosting for them if you want smirk.
I will have it done today hopefully. It won't take too long.
The link is down frown
Can anybody m@il it ??

[email protected]

THX
Here is the link to my re-released thread of this:

https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=31;t=000057