|
Joined: Apr 2001
Posts: 78
Member
|
Member
Joined: Apr 2001
Posts: 78 |
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
|
|
|
|
Joined: Apr 2001
Posts: 711
Spotlight Winner
|
Spotlight Winner
Joined: Apr 2001
Posts: 711 |
Sweetness, thanks. I like this hack.
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
Glad you guys like it. I had realy missed that old effect myself.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Makes Admins look more important. Great hack Tim.
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
Thanks Next im gonna add in the stuff to do it for wol list.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
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]. Good work though.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
Thanks for the tip charles. I will try that as soon as i get home.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Good job Tim. 
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
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. 
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
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
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
can you show me what you mean by placing it in the code???
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
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.
|
|
|
|
Joined: Apr 2001
Posts: 3,266
Member
|
Member
Joined: Apr 2001
Posts: 3,266 |
Nice one Tim now if pntf can ever get rid of the double records when php is enabled we might get somewhere
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
Please move this to finished. It seems to be working fine with no bugs.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Please post it at finished 
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
Thats rigth i need to make it strick tonight. Sorry about that.
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
Anyway of making different color for Admin and Mods too?
|
|
|
|
Joined: Sep 2001
Posts: 170
Member
|
Member
Joined: Sep 2001
Posts: 170 |
Raichu Babai I would assume you just change the lines that set the bold and italics: [/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.
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
Thanks Storm, works great!
|
|
|
|
Joined: Oct 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 20 |
anyway of adding a image beside admin and mod name?
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
shure just add the img tag right before the in the admin effect tag. like [code][/code]
|
|
|
|
Joined: Mar 2002
Posts: 1
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 1 |
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.
|
|
|
|
Joined: Mar 2002
Posts: 63
Member
|
Member
Joined: Mar 2002
Posts: 63 |
hmm the MegaModerators dont get the Bold effect Anoyone know how to put this in :?
|
|
|
|
Joined: Mar 2002
Posts: 78
Member
|
Member
Joined: Mar 2002
Posts: 78 |
Yup, works just like the 6.0 WOL hack. Much appreciated 
1998 Firebird Formula with a blower and then some...
|
|
|
|
Joined: Aug 2001
Posts: 50
Member
|
Member
Joined: Aug 2001
Posts: 50 |
works great.
i had to use
$wol_se_s = "";
to change the color though....
|
|
|
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
VVouter public_pntf_summary.pl find**
|
|
|
|
Joined: Oct 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 22 |
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.
|
|
|
|
Joined: Mar 2002
Posts: 63
Member
|
Member
Joined: Mar 2002
Posts: 63 |
Thanks ClanKiller it works I tried soemthing like that but that crashed 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by VVouter: hmm the MegaModerators dont get the Bold effect
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. 
|
|
|
|
Joined: Mar 2002
Posts: 63
Member
|
Member
Joined: Mar 2002
Posts: 63 |
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)
|
|
|
|
Joined: Jul 2001
Posts: 122
Member
|
Member
Joined: Jul 2001
Posts: 122 |
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]REPLACE:
</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. 
|
|
|
|
Joined: Mar 2002
Posts: 63
Member
|
Member
Joined: Mar 2002
Posts: 63 |
Didnt ask for that just a little problem with the megamod font size 
|
|
|
|
Joined: Jul 2001
Posts: 122
Member
|
Member
Joined: Jul 2001
Posts: 122 |
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. 
|
|
|
|
Joined: Mar 2002
Posts: 63
Member
|
Member
Joined: Mar 2002
Posts: 63 |
hehe I can unbold the megamods then i wont have problems with the size 
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
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.......
|
|
|
|
Joined: Dec 2000
Posts: 27
Member
|
Member
Joined: Dec 2000
Posts: 27 |
Does anyone have this hack, would like to install on 6.3 tia again stubbsy
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
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.
|
|
|
|
Joined: Dec 2000
Posts: 27
Member
|
Member
Joined: Dec 2000
Posts: 27 |
thx dexter looking forward to it - keep up the good work
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thanks.
And expect some released this week.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|