vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   Admin Permissions not there, and Debug On (https://vborg.vbsupport.ru/showthread.php?t=77519)

Cyricx 03-05-2005 12:05 PM

Admin Permissions not there, and Debug On
 
In the new zip the battledebug is on by default.

Also, I don't know if it's a query or a file edit that is needed, but the new code you added for the admin/index.php puts the rpg links under a new permission setting called "canadminrpg"

That isn't created anywhere in your hack that I can see.

I temporarily changed it to "canadminsettings" so that I could work on the rpg from the admincp.

How do you fix this though? Having a separate permission for messing with the RPG settings is an awesome idea and a feature I'd love! :)

Revan 03-05-2005 01:42 PM

Sh*t! I know I forgot something!
Okay I rebuilt the instructions.
Im uploading the fix as soon as I look over feedback of some other bugs.

Cyricx 03-05-2005 10:58 PM

New version you have up has all the file changes :).....

but your just missing the phrase ;)

To fix - language & phrase manager -

Add a phrase

Variable name : can_administer_rpg
Text: Can Administer RPG?

Revan 03-06-2005 12:55 AM

Aw crap, the phrase wasnt there either eh :P
I was sure I had updated the phrase .xml file.
Ah well, I will now! :p

To fix, create the phrase can_administer_rpg with the text Can Administer RPG under Permissions phrases


All times are GMT. The time now is 06:09 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.00956 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete