shoutbox witout the extra permission mod

This shoutbox, fully integrates in phpbb2, support smilies and bbcode
this shoutbox is a shoutbox written for phpbb2, therefor it makes uses of templates and language files

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby ghostadmin on Mon 26. Jan, 2004 22:56

the mod brings me:

http://www.ghostadmin.org/phpBB2/viewforum.php?f=0

forum doesn´t exist :cry:

this is the content of phpbb_forums table:

0 0 SHOUTBOX PAGE Shoutbox Page Control 1 1 0 0 0 NULL 0 0 0 0 0 0 0 0 0 3 0 0 0 -1 0 3 5 1 NULL 0 0 0 0 0 0 0 0 1

admin_db_utilities.php looks a bit different:

$tables = array('shout', 'auth_access', 'banlist', 'categories', 'config', 'disallow', 'forums', 'forum_prune', 'groups', 'posts', 'posts_text', 'privmsgs', 'privmsgs_text', 'ranks', 'search_results', 'search_wordlist', 'search_wordmatch', 'sessions', 'smilies', 'themes', 'themes_name', 'topics', 'topics_watch', 'user_group', 'users', 'vote_desc', 'vote_results', 'vote_voters', 'words');
ghostadmin
Poster
Poster
 
Posts: 2
Joined: Tue 10. Dec, 2002 13:21

Postby chockmilk on Tue 27. Jan, 2004 19:14

Niels wrote:you need proberbly to incude the code into index_body.tpl....

in the file templates/subSilver/index_body.tpl
you should NOT include the code
Code: Select all
<!-- BEGIN switch_shoutbox_on -->
<!-- END switch_shoutbox_on -->

ONLY include the code found in between !!


OMG It worked perfectly!!! i am so happy man hehehhe
Thank Alot.... The problem is that i included the :
Code: Select all
<!-- BEGIN switch_shoutbox_on -->
<!-- END switch_shoutbox_on -->


when i removed, it show perfectly at the forum index.. :P
chockmilk
Poster
Poster
 
Posts: 2
Joined: Fri 23. Jan, 2004 22:29

Postby Caprice on Sat 31. Jan, 2004 03:43

I finally gave up and deleted the extra permissions MOD...I just couldn't get it to work. I've tried to get the shout box to work, but it won't. The window frame appears but that's all. Please help. I see someone above had the same problem...I wonder if he got his to work?

http://cattyshaq.com/forum/
Caprice
Poster
Poster
 
Posts: 5
Joined: Fri 30. Jan, 2004 16:18

Postby Caprice on Sun 01. Feb, 2004 01:06

Ok...nevermind. I had made a mistake on the change to the 'index'.

Very nice shoutbox...thanks!
Caprice
Poster
Poster
 
Posts: 5
Joined: Fri 30. Jan, 2004 16:18

Permission Levels

Postby CoreIssue on Mon 02. Feb, 2004 01:57

Is there a combo that allows:

Guests to view only.

Users to view, post and edit.

Delete etc. only Mod and Admin.

Thanks!
CoreIssue
Poster
Poster
 
Posts: 2
Joined: Sun 01. Feb, 2004 21:45

Postby Niels on Sun 29. Feb, 2004 01:11

@coreisue, pressent version does not allow anyone to edit - anyway, this should be the one you need

Code: Select all
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'] = 0;
         } else
         {
            $is_auth['auth_delete'] = $is_auth['auth_mod'];
            $is_auth['auth_post'] = 1;
         }
}


or

Code: Select all
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'] = 0;
         } else
         {
            $is_auth['auth_delete'] = 1;
            $is_auth['auth_post'] = 1;
         }
}


the different is that REG users may "censor own shouts" - in both cases only MOD/ADMIN may permanently delete shouts
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sun 29. Feb, 2004 01:16

ghostadmin wrote:the mod brings me:

0 0 SHOUTBOX PAGE Shoutbox Page Control 1 1 0 0 0 NULL 0 0 0 0 0 0 0 0 0 3 0 0 0 -1 0 3 5 1 NULL 0 0 0 0 0 0 0 0 1



forum_id for shoutbox should be "-1035", in your case it seam to be "0"
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Mon 08. Mar, 2004 14:14

this topic is now locked as the shoutbox MOd no longer require "extra permission MOD"
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Previous

Return to Fully integrated shoutbox [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron