vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - Individual Username HTML Markup (https://vborg.vbsupport.ru/showthread.php?t=184426)

DarkGizmo 08-11-2008 03:08 AM

Quote:

Originally Posted by s810car (Post 1595841)
Works great! :D only thing I don't like is I got this for a few people that I was going to edit their color myself from Admin CP, couldn't do it. Tested as a user though and it's all good, I'll just make them do it themselves lol

Nominated since this saved me from losing a few picky members :D

You can make it so they can't edit it themselves, but you can.

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. :)

s810car 08-11-2008 03:42 AM

I tried, set it but it keep erasing :( i dont get it

Leon44 08-12-2008 05:04 AM

Quote:

Originally Posted by NegativeSmoke (Post 1595783)
Sorry man, I'm just sick of seeing the same question. :p

If you tired of it then simply dont look!

Anyways thanks.

se_p800 08-12-2008 08:50 PM

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

DarkGizmo 08-13-2008 02:07 AM

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.

se_p800 08-13-2008 09:59 AM

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 :)

DarkGizmo 08-13-2008 05:39 PM

Quote:

Originally Posted by se_p800 (Post 1597637)
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 :)

Very good. Glad ya got it fixed up bro. :)

If ya need any further assistance with the mod or anything in general feel free to drop me a PM. :)

infernow 08-14-2008 01:59 AM

Sounds good will deffo try this

haxcommunity 08-15-2008 05:17 AM

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)">
To the beginning of :
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

Opserty 08-15-2008 09:14 AM

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).


All times are GMT. The time now is 06:14 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
  • Page Generation 0.01344 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete