Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Another Question/Problem (not urgent :) )
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Another Question/Problem (not urgent :) )
PostPosted: 05/22/2007 12:58 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:46 PM
greatbrE.gif
My mods no longer have the Mod control panel at the bottom of their pages. Its still in the ACP etc so I'm not sure where to check. Its only been noticed since the hosting change but that's not to say it happened after it.
Any ideas??  sunny


Last edited by Karen on 05/24/2007 3:17 AM; edited 1 time in total
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/22/2007 4:17 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:46 AM
Location: St Pete, FL
peace.gif
Something must have happened with your page_tail.php file.  The MOD code was not installed in it.  So I imagine that you might have accidentally uploaded an older pre-Mod Control Panel version of the file.  IOW, since the page_tail.php file was the only phpBB file modified by the MOD, the Moderator Control Panel MOD was not installed on your forum.  It is working now for everyone with a 2 user_level setting.  If you want those assigned with the 3 user_level to also have access, which would be lovingmommies and OweirdO, the code will have to be modified a bit more...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 12:36 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:46 PM
greatbrE.gif
Ooh OK Smile
I want it for all my mods but some of them are users in a Mode usergroup so would they have it too? (I get so confused working that out  Rolling Eyes
Do I find the mod and add that bit of missing code then or is it more complicated?
flower
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 12:45 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:46 AM
Location: St Pete, FL
peace.gif
I'm really not sure what you mean.  This is what we had to do to get it to work for all his moderators and support on AB's board...

OPEN
includes/page_tail.php

FIND
Code:
( $userdata['user_level'] == MOD )

IN-LINE FIND
Code:
( $userdata['user_level'] == MOD )

IN-LINE AFTER, ADD
Code:
 || ( $userdata['user_level'] == MAIN_MOD ) || ( $userdata['user_level'] == SUPPORT )

So it would look like this when done:

Code:
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : ( ( $userdata['user_level'] == MOD ) || ( $userdata['user_level'] == MAIN_MOD ) || ( $userdata['user_level'] == SUPPORT ) ? '<a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '' );

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 12:53 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:46 PM
greatbrE.gif
Great thanks I'll try that  headbang
I wanted them to have access to different things so instead of making them mods I made a usergroup which had mod permissions so I could choose which bits they were mods in, but it doesn't really matter now they can all be the same  flower
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 12:59 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:46 PM
greatbrE.gif
Hmm I don't appear to have that code in my file.

www.babydreamz.net/public/page_tail.txt
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 1:03 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:46 AM
Location: St Pete, FL
peace.gif
Yes, you do.  It's on about line 31 that starts like this:

Code:
$admin_link =


headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 1:10 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:46 AM
Location: St Pete, FL
peace.gif
Ok, the code is different now.  Did you install another version of the MOD?  I had installed the code for the Moderator Control Panel version 1.0.5 yesterday, but now the code is different...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 1:15 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:46 PM
greatbrE.gif
crybaby I can't see it.

All I can see is
Code:
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : ((in_array($userdata['user_level'], explode(',', $board_config['modcp_levels_used']))) ? '<a href="modcp/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Mod_CP'] . '</a><br /><br />' : '');
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: Another Question/Problem (not urgent :) )
PostPosted: 05/23/2007 1:21 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:46 AM
Location: St Pete, FL
peace.gif
Yes, this part:

Code:
(in_array($userdata['user_level'], explode(',', $board_config['modcp_levels_used']))

Is doing the same thing that I did with this:

Code:
( $userdata['user_level'] == MOD ) || ( $userdata['user_level'] == MAIN_MOD ) || ( $userdata['user_level'] == SUPPORT )

I don't know where your code came from because it doesn't match the code that I added to the file yesterday.  My code came from Kooky's Moderator CP version 1.0.5...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0774s (PHP: 61% - SQL: 39%) - SQL queries: 58 - GZIP disabled - Debug on