The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HTML just for admins?
Is it possible to only allow HTML posting for admin or a specified group, or even one user?
What I really want is to give the admins the ability to insert a javascript into their/ my signatures All admins are trusted, btw |
#2
|
|||
|
|||
All admins are trusted? Hmmm... anyway just set it per usergroup in the usergroup manager....
|
#3
|
|||
|
|||
Where abouts, I don't see the option there?
|
#4
|
||||
|
||||
If you add that ability, some tags in your php boxes will not show up right in the code. If you post any code on your board with those tags, I would advise not to turn that on.
|
#5
|
||||
|
||||
I need a similar setup for my vb CMPS pages. I start threads in the news forums but anyone on the board can post replies. How do I turn HTML on only for myself?
|
#6
|
|||
|
|||
Yes i too want this.
Dark Wizard there is no option regarding posting html, vb code, php, or the likes in the usergroup -- usergroup manager -- edit options |
#7
|
|||
|
|||
Same here...
|
#8
|
||||
|
||||
@Caspartheghost
This is how I did it (really baaaad code, but seems to work): In functions_showthread.php FIND PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#9
|
|||
|
|||
KirbyDE,
I suspect that Code:
if ($post['permissions']['adminpermissions'] & CANCONTROLPANEL) Code:
$permissions['adminpermissions'] & CANCONTROLPANEL) In any case, this suggested mod will only allow CANCONTROLPANEL to view/run the HTML. I am not sure, but I think the request might be for admin's to be able to post and all to view/run. Cheers |
#10
|
||||
|
||||
$permissions does give you the permissions for the current user, whereas $post['permissions'] contains the permissions for the user who made the post.
And this is exactly what was requested here: Check if the user who made the post has admin permissions and then parse his sig with HTML enabled. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|