![]() |
HTML in Postbit per Usergroup
This hack lets you format usernames in postbits (in showthread only) with whatever HTML you want, depending on each poster's usergroup.
Note that if you have any significant tags around the username in your postbit already, you should remove them for this to be fully effective. |
Admin CP:
|
Viewing posts (notice how many name is bold and italics like I specified because I'm an admin):
|
Good idea, I did something similar, but on a per style per usergroup basis :).
|
filburt1, I love your hacks! Going to install now!
PS: Maybe you can clarify this better? Quote:
|
Nice:)
Satan |
nice one .. this is getting installed
theres some great stuff coming from camp filburt :D |
If you'll follow a certain thread in my announcements forum then you'll know how all of these little new hacks will be used in my forums soon ;)
|
oh ho.. this is a great addition :)
|
Hmm I installed it - but I see one problem.
$username is not only used in the postbit. When I change it, I can easily screw up other parts; especially those, that contain $username in their alt="..." descriptions (alt doesnt like html code inside). For instance, try this one: <span style="FILTER: Glow(Color=#ffcc66, Strength=8); width:200px;font-size:16pt;">$username</span> I think we should use another, unique, variable for the postbit part, like $usernamepp or so. filburt1, any ideas? |
it also conflicts with your user comment system :p
in the admin/usergroup.php file |
I noticed this to. Just change the variable. If Filburt dont mind :)
|
Quote:
Ok. This is the code.. PHP Code:
|
Hum, how would I go about installing this with that user comments system installed?
|
it looks great ,especially it was from filburt1 :laugh:
but it will be more graet if you can modify the hack to be able using html in each username :) i mean differnet users from one usergroup regards |
Quote:
|
Hmmm how i miss these hacks is beyond me :(
- miSt |
is it possible to modify this so that people can have html in their sig depending on their user group?
|
Search and ye shall find :) ^^
|
I get an error when I do what you said to do here:
In admin/functions.php, find (not entire line): PHP Code:
I Put this PHP Code:
... what am I doing wrong? Can someone please update me? how should I put that format? |
All times are GMT. The time now is 06:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|