phpBBHacks.com - Removing color and bold from Mods and Admin
phpBBHacks.com, the place for phpBB users
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Template and Design Support
 See a User Guidelines violation? Please contact us.
Author Message

CD69
Not So New User

Joined: 08 Feb 2003
Posts: 87

PostPosted: January 10th 2010, 4:24 pm    Post subject: Removing color and bold from Mods and Admin Reply with quote

I thought there was I thread that I found last time I upgraded but I can't find it.

I'd like to have the color and text for the Mods and Admins the same as everyone else on the site.

I just upgraded to 2.0.23 and for the life of me can't remember how I did it in the past.

Any help would be appreciated.
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: January 12th 2010, 11:26 am    Post subject: Reply with quote

Hey CD69,

Thanks for posting. I think I know how it was done. Open includes/page_header.php and find:

Code:
            if ( $row['user_level'] == ADMIN )

            {

               $row['username'] = '<b>' . $row['username'] . '</b>';

               $style_color = 'style="color:#' . $theme['fontcolor3'] . '"';

            }

            else if ( $row['user_level'] == MOD )

            {

               $row['username'] = '<b>' . $row['username'] . '</b>';

               $style_color = 'style="color:#' . $theme['fontcolor2'] . '"';

            }

Replace with:

Code:
            if ( $row['user_level'] == ADMIN )

            {

               $row['username'] = '' . $row['username'] . '';

            }

            else if ( $row['user_level'] == MOD )

            {

               $row['username'] = '' . $row['username'] . '';

            }

Save, upload and that should do the trick!

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

CD69
Not So New User

Joined: 08 Feb 2003
Posts: 87

PostPosted: January 12th 2010, 12:32 pm    Post subject: Reply with quote

Thanks Patrick!
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: January 12th 2010, 4:42 pm    Post subject: Reply with quote

My pleasure.

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Template and Design Support All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.