The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Individual Username HTML Markup Details »» | |||||||||||||||||||||||||
/*================================================= =====================*\ || # -------------- USER SPECIFIC USERNAME HTML MARKUP -------------- # || || # ---------------------- CREATED BY OPSERTY----------------------- # || || # This modification may not be redistributed without prior consent # || \*================================================ ======================*/ What does this modification do? This modification allows users to specify their 'own' HTMLwhich surrounds their username. It is similar to that which is used for the Usergroup HTML Markup, however this modification is more restrictive. (Note: Markup is only applied in cases where the Usergroup Markup is typically applied). Features:
(Please post suggestions for addition HTML/CSS tags and I will consider them for future releases) Mark As Installed Nominate For Modification of the Month Show Your Support
|
Comments |
#102
|
|||
|
|||
Quote:
For the usergroup set "Can use username html markup?" Yes, and set the rest to No, it will prevent THEM from using the markup, but you will be able to edit theirs for them via admin CP. |
#103
|
|||
|
|||
I tried, set it but it keep erasing i dont get it
|
#104
|
|||
|
|||
If you tired of it then simply dont look!
Anyways thanks. |
#105
|
|||
|
|||
I install this but get this error when I go to usercp>edit options:
Warning: require_once([path]/includes/functions_op_user_html_markup.php) [function.require-once]: failed to open stream: No such file or directory in [path]/profile.php(1836) : eval()'d code on line 1 Fatal error: require_once() [function.require]: Failed opening required '/home/customi5/public_html/forums/includes/functions_op_user_html_markup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/customi5/public_html/forums/profile.php(1836) : eval()'d code on line 1 |
#106
|
|||
|
|||
Make sure functions_op_user_html_markup.php is uploaded to your includes directory. That's what that error means.
Leon: No, read the thread next time before replying to ask a question. |
#107
|
|||
|
|||
Thanks -smoke. The thin is there is a functions_op_user_html_markup.php in the includes folder but it is 48 bytes smaller than it should be, no matter how many times I try and overwrite it..I guess its a problem with the server not the mod.
Thanks! EDIT: Everything is fine now,marked as installed |
#108
|
|||
|
|||
Quote:
If ya need any further assistance with the mod or anything in general feel free to drop me a PM. |
#109
|
|||
|
|||
Sounds good will deffo try this
|
#110
|
|||
|
|||
Is There A Way, Where I Can Make It So Only Administrators Can Adjust The Markup For Other Users? Like...Where The User Can't Adjust It, But I Can Change It For Them?
Edit: I Found The Solution Already, simply add Code:
<if condition="is_member_of($bbuserinfo, 6, 11, 5)"> op_user_html_options (sub 6, 11, 5 for the usergroups you want to allow to edit their own markup) add </if> to the end as well. Now....New Problem. I've Made A Hidden Profile Field That I Want To Function As Permission For Editing Your Own Markup. I.E. I Want To Give SOME Users The Ability To Edit Their Markup, But Not Others |
#111
|
|||
|
|||
There is no need to edit the code, you can set all permissions under AdminCP > Usergroups > Edit Usergroup.
To only allow Administrators to set the code, set "Can use Markup" to "Yes" and the rest of the functions to "No" If you only want to allow some users to edit the MarkUp simply but them in their own usergroup and then set the permissions in the "Edit Usergroup" page. (You can see all the usergroup Options listed in the 2nd screenshot). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|