vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   HowTo Create Custom Usergroup Permissions (https://vborg.vbsupport.ru/showthread.php?t=82844)

harmor19 10-28-2005 09:36 PM

download the xml's Andreas did for me and look off of those.

akanevsky 10-28-2005 09:39 PM

I don't see any difference other than the group used, and I don't think that's what causes the problem.

Ok, figured that I needed to rebuild bitfields.. But it still does not save.

Andreas 10-28-2005 09:56 PM

vbulletin, NOT vBulletin - better yet use your own product id.

akanevsky 10-28-2005 10:06 PM

I changed the product ID to my own. There are no results though.

As I said, after sumbitting the usergroup options, it says "usergroup X saved", but then after I reload the page, the option is back to "off" (as it was originally)... :( My latest XML:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="dv_ugpefcm">
        <bitfielddefs>
                <group name="ugp">
                        <group name="charlimit">
                        <bitfield name="isexempt" group="post_thread_permissions" phrase="exempt_from_char_limit" install="">0</bitfield>
                        </group>
                </group>
        </bitfielddefs>
</bitfields>


Andreas 10-28-2005 10:17 PM

Did you rebuild the bitfield cache?

akanevsky 10-28-2005 10:18 PM

Yes. Using the admincp navbar link in debug mode.

Figured: The problem was that I specified invalid decimal bitfield value. Now it is working (after I changed 0 to 1). :)

Mr Blunt 10-29-2005 02:38 PM

I don't think '' and '0' are valid bitfield values.

1st bitfield should have value of 1
2nd should have 2
3rd should have 4
4th should have 8
5th should have 16
and so on....

akanevsky 10-29-2005 03:25 PM

Yes, I already figured that, thanks.
It should be mentioned in the first post though.

Andreas 10-29-2005 07:45 PM

I assumed everybody knows how the binary system works ;)

akanevsky 10-29-2005 08:12 PM

Even if yes, it is not mentioned that XML uses binary data as the values. YOu did not specify what to put between the tags :)


All times are GMT. The time now is 12:38 AM.

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.01354 seconds
  • Memory Usage 1,729KB
  • 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
  • (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