Board Founder[SOLVED]

Support for IntegraMOD 141

Moderator: Integra Moderator

Board Founder[SOLVED]

PostAuthor: Leadfoot » Sat Feb 03, 2007 8:28 pm

Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.csasylum.com

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Not a bug but I was just wondering if you are somehow able to edit the database to change what user/users can be set to board founder. I would like to be able to show 2 members as founders if possible.
Last edited by Leadfoot on Mon Feb 05, 2007 11:28 am, edited 1 time in total.

Leadfoot
Integra Member
Integra Member
 
Posts: 131
Likes: 0 post
Liked in: 0 post
Joined: Sun Oct 01, 2006 5:02 pm
Cash on hand: 0.00

Re: Board Founder

PostAuthor: Teelk » Sun Feb 04, 2007 7:52 am

Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: Leadfoot » Sun Feb 04, 2007 7:54 am

thanks Teelk that fix worked like a charm!!!!
Last edited by Leadfoot on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Leadfoot
Integra Member
Integra Member
 
Posts: 131
Likes: 0 post
Liked in: 0 post
Joined: Sun Oct 01, 2006 5:02 pm
Cash on hand: 0.00

PostAuthor: Leadfoot » Sun Feb 04, 2007 2:32 pm

oops spoke to soon. Works fine down on the bottom of the index page. But on the left portal wide header. you know the left column. Well I have the Who is Online block there and it still only shows up as admin. So now showing up as founder on bottom and admin on side. Can I edit the side one so it shows founder?
Last edited by Leadfoot on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Leadfoot
Integra Member
Integra Member
 
Posts: 131
Likes: 0 post
Liked in: 0 post
Joined: Sun Oct 01, 2006 5:02 pm
Cash on hand: 0.00

Re: Board Founder

PostAuthor: Teelk » Sun Feb 04, 2007 5:18 pm

If I remember, it shouldn't need editing. Try clearing portal cache.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: Leadfoot » Sun Feb 04, 2007 7:09 pm

Nope tried clearing portal cache, browser cache and nothing. Shows up fine in posts and on bottom of index page but not on the left header column. Not a major issue just curious.
Last edited by Leadfoot on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Leadfoot
Integra Member
Integra Member
 
Posts: 131
Likes: 0 post
Liked in: 0 post
Joined: Sun Oct 01, 2006 5:02 pm
Cash on hand: 0.00

Re: Board Founder

PostAuthor: Teelk » Mon Feb 05, 2007 11:12 am

Looks like you do need an edit in there.

OPEN blocks/blocks_imp_online_users.php
FIND
Code: Select all
                    if ( ($row['user_level'] == ADMIN) && ($row['user_id'] == 2) )                     {                         $row['username'] = '<b>' . $row['username'] . '</b>';                         $style_color = 'foundercolor';                     }

REPLACE WITH
Code: Select all
                    if ( ($row['user_level'] == ADMIN) && ($row['user_id'] == 2) || ($row['user_level'] == ADMIN) && ($row['user_id'] == X))                     {                         $row['username'] = '<b>' . $row['username'] . '</b>';                         $style_color = 'foundercolor';                     }
X being the user_id of the other user you want to be board founder.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: Leadfoot » Mon Feb 05, 2007 11:27 am

Thats got it. Many thanks again. I thought that might be the edit but I am still quite noobish with code.
Last edited by Leadfoot on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Leadfoot
Integra Member
Integra Member
 
Posts: 131
Likes: 0 post
Liked in: 0 post
Joined: Sun Oct 01, 2006 5:02 pm
Cash on hand: 0.00

PostAuthor: zenrei » Tue Sep 18, 2007 9:38 am

just a note... you may have to do the same edit in blocks_imp_online_users2.php if you're using the OTHER who's online block
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot], Yandex [bot]