I just very carefully did an install for shoutbox without extra permissions (cause i made the mistake of installing Q Box and it won't uninstall without taking the entire nav system of the overall_header.tpl along with it) and i edited the install script, then loaded the mod using easymod.
now i get a pretty shoutbox frame on the index, but no shoutbox, it's blank. no data entry options, no button to go or refresh.
also, typing myurl/myphpbbdir/shoutbox_view.php and shoutbox.php produce blank pages as well.
i am going to go through the code by hand now, but i can't figure out what went wrong.
unless it's this instruction:
open the 3 included php files
shoutbox.php
shoutbox_max.php
shoutbox_view.php
FIND
Code:
//
// Start auth check
//
$is_auth = array();
$is_auth = auth(AUTH_ALL, PAGE_SHOUTBOX_MAX, $userdata);
if( !$is_auth['auth_read'] )
{
  $message = ( !$is_auth['auth_view'] ) ? $lang['Not_Authorised'] : sprintf ($lang['Sorry_no_auth'],$is_auth['auth_read_type']);
  message_die(GENERAL_MESSAGE, $message);
}
//
// End auth check
//
REPLACE WITH
Code:
//
// Start auth check
//
switch ($userdata['user_level'])
{
  case ADMIN :
  case MOD :  $is_auth['auth_mod'] = 1;
  default:
      $is_auth['auth_read'] = 1;
      $is_auth['auth_view'] = 1;
      if ($userdata['user_id']==ANONYMOUS)
      {
        $is_auth['auth_delete'] = 0;
        $is_auth['auth_post'] = 1;
      } else
      {
        $is_auth['auth_delete'] = 1;
        $is_auth['auth_post'] = 1;
      }
}
if( !$is_auth['auth_read'] )
{
  message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
}
//
// End auth check
//
hard code, witch type of users have access to what, inside this code 1 means enable, while 0 means disabled.
I understood this code to mean that if i upped it as is, then unregistered users would not be able to see the shoutbox (not true) and only logged in members would be able to see the box and post in it (also not true)
how would i set the above code to operate this way?
guests: no see, no post
all others: see and post
please help.
sad... feeling bad, this is a fresh install of a totally botched previous attempt. looks like i've demolished it again already...
link to my boarddss