[Aphrodite] Yellow Card Mod

Specific instructions on how to apply certain mods to certain styles.

Moderator: Moderators

Postby znabty on Fri Dec 23, 2005 1:18 am

i have the problem same like MrBass does anyone know how to fix it!!! its the same thing!!!!
znabty
Registered User
Registered User
 
Posts: 13
Joined: Mon Dec 19, 2005 12:38 pm

Postby znabty on Fri Dec 23, 2005 4:29 pm

anyone!!!?
znabty
Registered User
Registered User
 
Posts: 13
Joined: Mon Dec 19, 2005 12:38 pm

Postby kvfb97 on Fri Dec 23, 2005 5:16 pm

[quote user="znabty" post="61884"]anyone!!!?[/quote]

Is there any chance of you shutting up and giving Mr. Bass to get online and tell you?
Tip: Don't argue with idiots, they'll drag you down to their level and beat you with experience.
User avatar
kvfb97
Registered User
Registered User
 
Posts: 1774
Joined: Mon Aug 02, 2004 8:18 am
Location: Northern Ireland, UK

Postby znabty on Fri Dec 23, 2005 8:15 pm

ok iam waiting..........................................................
znabty
Registered User
Registered User
 
Posts: 13
Joined: Mon Dec 19, 2005 12:38 pm

Postby okada1314 on Fri Jan 20, 2006 10:49 am

why i cannot ban or warn people!!!!!!!
User avatar
okada1314
Registered User
Registered User
 
Posts: 192
Joined: Thu Dec 29, 2005 4:04 pm

Postby UseLess on Fri Jan 27, 2006 7:50 am

Greetings,

When adding the style your using to the array in viewtopic.php remember the style name IS case sensitive so 'ca_Aphrodite' is not the same as the actual style dir 'ca_aphrodite' (this is what MrBass altered to fix his problem).

kvfb97: You get your issue sorted out or not?

If you cannot ban or warn anyone then does the mod work in subSilver? If not then the mod is installed wrong if you can then you have applied the changes for Aphrodite wrong.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby kvfb97 on Fri Jan 27, 2006 10:25 am

Hi,

Yep, i got it fixed ;)

Thanks.
Tip: Don't argue with idiots, they'll drag you down to their level and beat you with experience.
User avatar
kvfb97
Registered User
Registered User
 
Posts: 1774
Joined: Mon Aug 02, 2004 8:18 am
Location: Northern Ireland, UK

Postby Case on Fri Jan 27, 2006 9:32 pm

My users and as a guest on my forum I can see all the warning/ban buttons. Is this normal?

You can click them and the box comes up as if you were going to ban the users but it says Not Authorised. Which is fair enough.

Should guests and normal users be able to see the buttons though?
[size="9"]The Dope Spot - Urban Music Forum[/size]
User avatar
Case
Registered User
Registered User
 
Posts: 751
Joined: Thu Apr 28, 2005 3:27 pm
Location: North West UK

Postby mwx on Fri Jan 27, 2006 11:26 pm

they should only see the blue card
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby Case on Fri Jan 27, 2006 11:29 pm

Oh.

Any ideas where I should check to correct this? I have the Ban Permissions set to MOD so that should mean they shouldn't see those buttons.
[size="9"]The Dope Spot - Urban Music Forum[/size]
User avatar
Case
Registered User
Registered User
 
Posts: 751
Joined: Thu Apr 28, 2005 3:27 pm
Location: North West UK

Postby UseLess on Sat Jan 28, 2006 12:17 am

Greetings,

admin/admin_forumauth.php for the forum permissions and viewtopic.php for the button display based on your user_level
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby Case on Sat Jan 28, 2006 9:49 am

viewtopic.php
Code: Select all
//
// User authorisation levels output
//
$s_auth_can = ( ( $is_auth['auth_post'] ) ? $lang['Rules_post_can'] : $lang['Rules_post_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_reply'] ) ? $lang['Rules_reply_can'] : $lang['Rules_reply_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_edit'] ) ? $lang['Rules_edit_can'] : $lang['Rules_edit_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_delete'] ) ? $lang['Rules_delete_can'] : $lang['Rules_delete_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_ban'] ) ? $lang['Rules_ban_can'] : $lang['Rules_ban_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_greencard'] ) ? $lang['Rules_greencard_can'] : $lang['Rules_greencard_cannot'] ) . '<br />';
$s_auth_can .= ( ( $is_auth['auth_bluecard'] ) ? $lang['Rules_bluecard_can'] : $lang['Rules_bluecard_cannot'] ) . '<br />';



That seems right, doesn't it?



admin/admin_forumauth.php
Code: Select all
// Start program - define vars
//
//                View      Read      Post      Reply     Edit     Delete    Sticky   Announce    Vote      Poll    Warn/ban  Unban       Repport
$simple_auth_ary = array(
   0  => array(AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   1  => array(AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   2  => array(AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   3  => array(AUTH_ALL, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_MOD, AUTH_BOT, AUTH_BOT, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   4  => array(AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_BOT, AUTH_MOD, AUTH_BOT, AUTH_BOT, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   5  => array(AUTH_ALL, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_MOD, AUTH_VIP, AUTH_VIP, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   6  => array(AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_VIP, AUTH_MOD, AUTH_VIP, AUTH_VIP, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
   7  => array(AUTH_ALL, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_MOD, AUTH_SUPPORT, AUTH_SUPPORT),
   8  => array(AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_SUPPORT, AUTH_MOD, AUTH_SUPPORT, AUTH_SUPPORT),
   9  => array(AUTH_ALL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
   10 => array(AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
   11 => array(AUTH_ALL, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
   12 => array(AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
   13 => array(AUTH_ALL, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD),
   14 => array(AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD, AUTH_MAIN_MOD)
);

$simple_auth_types = array($lang['Public'], $lang['Registered'], $lang['Registered'] . ' [' . $lang['Hidden'] . ']', $lang['Bots'], $lang['Bots'] . ' [' . $lang['Hidden'] . ']' , $lang['VIP'], $lang['VIP'] . ' [' . $lang['Hidden'] . ']', $lang['Supporters'], $lang['Supporters'] . ' [' . $lang['Hidden'] . ']', $lang['Private'], $lang['Private'] . ' [' . $lang['Hidden'] . ']', $lang['Moderators'], $lang['Moderators'] . ' [' . $lang['Hidden'] . ']', $lang['Main_Moderators'], $lang['Main_Moderators'] . ' [' . $lang['Hidden'] . ']');

$forum_auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate', 'auth_ban', 'auth_greencard', 'auth_bluecard');

$field_names = array(
   'auth_view' => $lang['View'],
   'auth_read' => $lang['Read'],
   'auth_post' => $lang['Post'],
   'auth_reply' => $lang['Reply'],
   'auth_edit' => $lang['Edit'],
   'auth_delete' => $lang['Delete'],
   'auth_sticky' => $lang['Sticky'],
   'auth_announce' => $lang['Announce'],
   'auth_vote' => $lang['Vote'],
   'auth_pollcreate' => $lang['Pollcreate'],
   'auth_ban' => $lang['Ban'],
   'auth_greencard' => $lang['Greencard'],
   'auth_bluecard' => $lang['Bluecard']);


$forum_auth_levels = array('ALL', 'REG', 'BOT', 'VIP', 'SUPPORT', 'PRIVATE', 'MOD', 'MAIN_MOD', 'ADMIN');
$forum_auth_const = array(AUTH_ALL, AUTH_REG, AUTH_BOT, AUTH_VIP, AUTH_SUPPORT, AUTH_ACL, AUTH_MOD, AUTH_MAIN_MOD, AUTH_ADMIN);

if(isset($HTTP_GET_VARS[POST_FORUM_URL]) || isset($HTTP_POST_VARS[POST_FORUM_URL]))
{
   $forum_id = (isset($HTTP_POST_VARS[POST_FORUM_URL])) ? intval($HTTP_POST_VARS[POST_FORUM_URL]) : intval($HTTP_GET_VARS[POST_FORUM_URL]);
   $forum_sql = "AND forum_id = $forum_id";
}
else
{
   unset($forum_id);
   $forum_sql = '';
}

if( isset($HTTP_GET_VARS['adv']) )
{
   $adv = intval($HTTP_GET_VARS['adv']);
}
else
{
   unset($adv);
}


Could it be something to do with the user levels mod?
[size="9"]The Dope Spot - Urban Music Forum[/size]
User avatar
Case
Registered User
Registered User
 
Posts: 751
Joined: Thu Apr 28, 2005 3:27 pm
Location: North West UK

Postby UseLess on Sat Jan 28, 2006 10:57 am

Greetings,

Count the 'AUTH_????' in line 5 in the code above there are 13 and then count them in line 12 onwards there are only 10, so yes you could be right it's something to do with the user levels mod in that you have not added the YCM mods permissions to the arrays for the differing user levels
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby Case on Sat Jan 28, 2006 11:11 am

I've tried adding
Code: Select all
, AUTH_MOD, AUTH_ADMIN, AUTH_REG),
to the end of the lines with only 10 and it didn't seem to do much.

That's when I ran out of ideas. :(
[size="9"]The Dope Spot - Urban Music Forum[/size]
User avatar
Case
Registered User
Registered User
 
Posts: 751
Joined: Thu Apr 28, 2005 3:27 pm
Location: North West UK

Postby UseLess on Sat Jan 28, 2006 12:11 pm

Greetings,

Post your complete 'viewtopic.php' file.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

PreviousNext

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 2 guests

cron