![]() |
HTML in signatures - usergroup restricted.
This modification is no longer available or supported. This is a little custom hack originally written for Viruseater. This hack allows you to turn on the use of HTML in signatures - and restrict it's use to a defined set of usergroups. Unzip the xml file and import it into vbulletin via the product manager then turn on the option to allow html in signatures (in the vb options) and set the allowed usergroups - 5,6 & 7 are the defaults. History: v1.01 : First Private Release. v1.02 : Minor changes, no update necessary. v1.03 : First Public Release. v1.04 : Fixed bug in postbit display. |
Very nice Paul. May use this in the future, thanks.
|
Thanks I've been waiting for this! :)
|
installed .
|
Quote:
|
This bit is interesting. Automatic install clicker?
Code:
|
Yes (and uninstall as well).
Not foolproof, but it should work in the majority of cases. |
thanks i have been waiting for something like this :)
|
heh, I like the automatic installer/uninstaller, I think I'ma use it in my hacks as well :)
EDIT: I don't think this will work properly in postbit. Maybe the postbit_display_start should be modified in the following way: if (!defined('ALLOWHTML_SYSTEMSETTING', $vbulletin->options['allowhtml']); if (!is_member_of($post,$groups)) { $vbulletin->options['allowhtml'] = false; } else { $vbulletin->options['allowhtml'] = ALLOWHTML_SYSTEMSETTING; } Also, you might wanna consider re-enabling allowhtml after signature is displayed, to remove the potential possibilty of conflicts with hacks that use bbcode in custom fields etc. |
i have instaled the hack and the users can use the html in thear sig . i have chosed the admin group only in the group options
any ideas |
Quote:
New version uploaded. I'm not really sure what you mean by the second bit - but html in sigs is normally a global setting, so any clashes with custom BB code would happen anyway if it were turned on. :cool: |
Thx Paul. Installed! :)
|
Thank you Paul :)
Install |
Thank you! I was looking for this! :)
|
For some reason after I installed this and allowed only usergroup 6 to use it, the sigs of that usergroup do not show up at all - html or not. I'm on 3.5.4. Do you know how I can fix this?
|
-edit- nvm fixed it works good mate +install thanks for this awesome mod.
|
Hmm.. it just appeared all of a sudden for some reason.
New problem though: I am putting adbrite ads in my sig, and for some reason when I reply through the quickreply I sometimes get taken to a white screen with nothing there except for the ads. The message still gets posted, but I'd still like to fix this. I'm not sure if any of the users ever get taken to this horrifying white screen - so far it hasn't happened to me. The address stays correct but it's just this white page that keeps on loading. Am I doing something wrong? Here is the code that I'm pasting into the sig field: HTML Code:
<center><!-- Begin: AdBrite --> |
No idea, but all this does is allow you to put that html in your sig, it cannot affect posting.
|
Paul, I have installed this mod but it doesn't seem to work correctly. At the very bottom where the posting/signature rules are, it says the HTML code is currently off. Any idea where I did wrong?
|
Can you actually use html ?
|
Quote:
|
There is a very good reason that html is generally banned from posts and signatures - it breaks things.
My html knowledge is very basic, so no, I have no idea why the html you are using would do that. :cool: |
Quote:
What's the problem I wonder? |
Nevermind, Paul. It seems the hack is 100% functionable. Inorder to use this hack, I had to turn the "Allow HTML in Signatures" feature to on just the one above yours. It works now! :)
Thanks anyway... |
Quote:
|
Quote:
|
Yeah my bad. :rolleyes:
|
ah yes it works, thanks :)
|
All times are GMT. The time now is 07:48 PM. |
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:
|