PDA

View Full Version : Glowing usernames V2



P5ycho
Sat 7th Apr '01, 9:35pm
Go in to your POSTBIT template

search for :

<normalfont><B>$post[username]</B></normalfont><br>


and replace it by :

<font color=Blue><font size=2><table style="filter:glow(color=orange,strength=6"><b>$post[username]</b></table style>
<font color=black><font size=2>

Enjoy ...

( VBB 2 beta 3 )

Jake Bunce
Sat 7th Apr '01, 9:44pm
cool. I'm gonna try this when I get home. I'm just posting so it's marked with a dot so I see it when I get home. :D

Ajnabi
Sat 7th Apr '01, 10:34pm
Hmm... i tried it.... doesn't work... maybe i'm doing something wrong! d'oh

bokhalifa
Sat 7th Apr '01, 11:56pm
Thank you ;) P5ycho

Jake Bunce
Sun 8th Apr '01, 4:43am
Originally posted by P5ycho
( VBB 2 beta 3 )

Ok guys, I'll hold him down, you break his legs with baseball bats. :D

ummm, I haven't tried it yet but, are you using javascript to do the name thing?

Lost
Sun 8th Apr '01, 5:20am
:D Cool dude ,,
Worx a treat....
Would be nice just to have it for admins/mods only:):)
Well done though.....

mschoel
Sun 8th Apr '01, 12:46pm
great stuff! thanks! :cool:

P5ycho
Sun 8th Apr '01, 3:11pm
Originally posted by Lost
:D Cool dude ,,
Worx a treat....
Would be nice just to have it for admins/mods only:):)
Well done though.....


You can do that by replacing......
<font color=Blue><font size=2><table style="filter:glow(color=orange,strength=6"><b>$post[username]</b></table style>
<font color=black><font size=2>


By :

( ADMIN) $post[usergroupid]==6

(MODERATORS) $post[usergroupid]==7 AND $post[usergroupid]==5

Lost
Sun 8th Apr '01, 5:08pm
:( :( That did not work for me.
Will try again l8r...
It messed up the user name thays all,,,

Thanx anyway:)

Ajnabi
Sun 8th Apr '01, 11:07pm
Works for me now.... looks wicked... thx dude!

EXCHANGE
Mon 9th Apr '01, 12:52am
I canīt really imagine how this will look like, anyone got a demo running?

Joe
Mon 9th Apr '01, 1:07am
Firstoff, this only works in IE (glow), and 2nd, this should probly be in the Templates forum :)

P5ycho
Mon 9th Apr '01, 4:57am
Yep you are right .. it has to be in the template forum ..

Could someone move this one .. ?

Flare
Mon 9th Apr '01, 1:45pm
Originally posted by P5ycho



You can do that by replacing......
<font color=Blue><font size=2><table style="filter:glow(color=orange,strength=6"><b>$post[username]</b></table style>
<font color=black><font size=2>


By :

( ADMIN) $post[usergroupid]==6

(MODERATORS) $post[usergroupid]==7 AND $post[usergroupid]==5

This ... for obviously reasons ... does not work. Which brings me to a question. Is there any way to do conditionals in templates?

IE - CAN I say if $post[usergroupid == 6 {><table style="filter:glow(color=orange,strength=6"><b>$post[username]</b></table style> }

Or something similar?

If not, how can you give Mod/Admin glowing user names and not normal users?

jojo85
Mon 9th Apr '01, 3:13pm
Will install it :)
Thx for the tips :)

CJ
Mon 9th Apr '01, 3:23pm
This does only work in IE. More special effects can be found at http://freesources.net/authoring/html/css.htm

tubedogg
Mon 9th Apr '01, 6:13pm
Originally posted by Flare
Is there any way to do conditionals in templates?
No.


If not, how can you give Mod/Admin glowing user names and not normal users?
Gonna have to edit the code...I would do showthread.php for starters. That'll cover most of your pageviews - the thread pages.

ff92k
Mon 9th Apr '01, 6:45pm
where is the postbit template?
and how do i get into it?

Wayne Luke
Tue 10th Apr '01, 2:22am
Originally posted by Flare


This ... for obviously reasons ... does not work. Which brings me to a question. Is there any way to do conditionals in templates?

IE - CAN I say if $post[usergroupid == 6 {><table style="filter:glow(color=orange,strength=6"><b>$post[username]</b></table style> }

Or something similar?

If not, how can you give Mod/Admin glowing user names and not normal users?

No. You have to do it in code.

ff92k
Tue 10th Apr '01, 12:25pm
works a treat
thanks

Eternal_Dragon
Sun 8th Jul '01, 3:40pm
ya right!

thanx man

made mine blue and white :D

KroeT
Mon 9th Jul '01, 4:47am
Can't you just go to User Titles (in the admin thingy), and do this?

(using my board as an example)

change

New User <br><img src=gold.gif>
to

<Font Color=Blue Size=2><Table Style="filter:glow(Color=Orange,Strength=6">New User</Table Style></Font><br><img src=gold.gif>

because you can use html in this little thingy, and blabla, just tell me if I'm spreading nonsense and newbee-things :)

express
Tue 10th Jul '01, 11:28am
Is there a way to add this hack in 2 area's.

1) to the birthday hack, where when a person has a birthday their name would glow.

2) Add to a member when they reach a total amount of posts say 25 or 50?

express
Tue 10th Jul '01, 11:28am
Is there a way to add this hack in 2 area's.

1) to the birthday hack, where when a person has a birthday their name would glow.

2) Add to a member when they reach a total amount of posts say 25 or 50?

Also what is the gold.gif file?

veedee
Fri 20th Jul '01, 11:50am
ok

that is seriously cool !

all done !

TripleH
Sat 21st Jul '01, 2:19am
Hmm I can't get this to work.. this is what I have put in


<font color=Blue><font size=2><table style="filter:glow(color=orange,strength=6"><b>$post[usergroupid]==6</b></table style>
<font color=black><font size=2>

And then beside the name of the admin there is a blue 2==6

Whast have i done wrong?

HHH

The Realist
Sun 22nd Jul '01, 1:08pm
In my replies within any section I'm getting the following error:

17 /normal/font

should this only be saying 17 and not 17 /normal/font.

The Realist
Sun 22nd Jul '01, 1:20pm
Found the problem, all sorted.

Thanks,