View Single Post
  #2640  
Old 08-15-2004, 08:09 PM
Swanny231 Swanny231 is offline
 
Join Date: Aug 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having problems with the group premissions
here is what I did.
(Parse error: parse error in /var/www/html/forums/admincp/usergroup.php on line 846)
usergroup.php
PHP Code:
print_table_header($vbphrase['general_permissions']);
    
print_yes_no_row($vbphrase['can_see_invisible_users'], 'usergroup[canseehidden]'$ug_bitfield['canseehidden']);
    
print_yes_no_row($vbphrase['can_view_member_info'], 'usergroup[canviewmembers]'$ug_bitfield['canviewmembers']);
    
print_yes_no_row($vbphrase['can_edit_own_profile'], 'usergroup[canmodifyprofile]'$ug_bitfield['canmodifyprofile']);
    
print_yes_no_row($vbphrase['can_set_self_invisible'], 'usergroup[caninvisible]'$ug_bitfield['caninvisible']);
    
print_yes_no_row($vbphrase['show_edited_by_note_on_edited_messages'], 'usergroup[showeditedby]'$ug_bitfield['showeditedby']);
    
print_yes_no_row($vbphrase['can_use_custom_title'], 'usergroup[canusecustomtitle]'$ug_bitfield['canusecustomtitle']);
    
print_yes_no_row($vbphrase['can_use_signatures'], 'usergroup[canusesignature]'$ug_bitfield['canusesignature']);
    
print_yes_no_row($vbphrase['can_view_others_profile_pictures'], 'usergroup[canseeprofilepic]'$ug_bitfield['canseeprofilepic']);
    
print_yes_no_row($vbphrase['can_view_hidden_custom_fields'], 'usergroup[canseehiddencustomfields]'$ug_bitfield['canseehiddencustomfields']);
    
print_table_break();
    
print_column_style_code(array('width: 70%''width: 30%'));

    
print_table_header("Arcade Permissions");
    
print_yes_no_row("Can View the Arcade? <dfn>Allows usergroup to view the arcade, including high scores and leaderboards</dfn>"'usergroup[canviewarcade]'$ug_bitfield['canviewarcade']);
    
print_yes_no_row("Can Play Games in the Arcade? <dfn>Allows usergroup to play arcade games</dfn>"'usergroup[canplayarcade]'$ug_bitfield['canplayarcade']);
    
print_yes_no_row("Can Post Comments? <dfn>Allows usergroup to post comments when they achieve a high score</dfn>"'usergroup[canmakecomments]'$ug_bitfield['canmakecomments']);
    
print_yes_no_row("Can Edit Leaderboard Comments? <dfn>Allows usergroup to edit comments left by other members</dfn>"'usergroup[caneditscores]'$ug_bitfield['caneditscores']);
    
print_yes_no_row("Can Delete Leaderboard Scores? <dfn>Allows usergroup to delete scores and comments left by other members</dfn>"'usergroup[candelscores]'$ug_bitfield['candelscores']);
    
print_table_break();
        
print_column_style_code(array('width: 70%''width: 30%'));

    
print_table_header($vbphrase['forum_viewing_permissions']);
    
print_yes_no_row($vbphrase['can_view_board'], 'usergroup[canview]'$ug_bitfield['canview']);
    
print_yes_no_row($vbphrase['can_view_others_threads'], 'usergroup[canviewothers]'$ug_bitfield['canviewothers']);
    
print_yes_no_row($vbphrase['can_see_deletion_notices'], 'usergroup[canseedelnotice]'$ug_bitfield['canseedelnotice']);
    
print_yes_no_row($vbphrase['can_search_forums'], 'usergroup[cansearch]'$ug_bitfield['cansearch']);
    
print_yes_no_row($vbphrase['can_use_email_to_friend'], 'usergroup[canemail]'$ug_bitfield['canemail']);
    
print_yes_no_row($vbphrase['can_download_attachments'], 'usergroup[cangetattachment]'$ug_bitfield['cangetattachment']);
    
print_table_break();
    
print_column_style_code(array('width: 70%''width: 30%')); 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02401 seconds
  • Memory Usage 1,812KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete