The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Would like to see a hack to allow only admins (by group or user ID) to post HTML in threads with VB3.
-W596 |
|
#2
|
|||
|
|||
|
I'd also like something like this, but I need to be able to just let one user do it who is not an admin or moderator. At the mo I keep having to enable/disable html in the forum for when he posts his league tables from excel!! :-)
|
|
#3
|
||||
|
||||
|
This may work, tested it and it worked, but I'd test it first to be sure.
![]() Open /includes/functions_showthread.php Find PHP Code:
PHP Code:
To make it for just one person, all I'd think you have to do is change: PHP Code:
PHP Code:
Change X to the user's ID you're wanting. This was not my work, as I used two other hacks from vB2 to figure this out. Entourage and Palmer ofShinra are the original creators of this hack. |
|
#4
|
|||
|
|||
|
Thanks Scrub, I'll give this a try.
|
|
#5
|
|||
|
|||
|
what changes would be nessary for multiple groups and or individuals?
eg 2 groups + 2 individuals |
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
Quote:
Change PHP Code:
PHP Code:
If you'd like it for just cerrtain users. Change: PHP Code:
PHP Code:
I've tested it and it works, but I suggest you test it first before actually making it live. . I am unsure how to make it so you can have both a usergroup and a certain member to be able to use it. But I will play around with it some more later on today and see what I can come up with.And BarHopper, this is not my creation to release. ![]() Before someone says why not use is_member_of, I tried it and couldn't figure it out.
|
|
#8
|
|||
|
|||
|
Thanks Scrub, it worked.
|
|
#9
|
|||
|
|||
|
Hey thanks a lot!
Worked for me, exactly what I needed. I used the array so that in the future, I can add more people as I decide who can post html. This is a no-brainer modification! |
|
#10
|
|||
|
|||
|
Damn! This works like a charm on 3.0.3...
It says though, "HTML Code is OFF" though under my tag. Still allows me to post in HTML which is cool!!!!!!! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|