[Release] subBlack 1.2.1 for phpBB 2.0.22

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20809
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by RMcGirr83 » Wed Apr 16, 2008 1:48 am

Ah well, can't blame a guy for trying. Just about every other template the colors (fontcolor 2 for mods and fontcolor3 for admins) is changed in the ACP.

Mea culpa
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Peter77sx
Registered User
Posts: 3247
Joined: Wed Nov 09, 2005 2:51 pm

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by Peter77sx » Wed Apr 16, 2008 2:19 am

Thatbitextra wrote:Peter77sx: Just add:

Code: Select all

.name { color: #F00; }
to the end of gold.css.
well this is strange... user name wont change color unless I mess with a:link
I even gave a:link it's own color and sure enough, was the only time user name color changed.
I'll keep testing. thanks.

RMcGirr83 wrote:Ah well, can't blame a guy for trying. Just about every other template the colors (fontcolor 2 for mods and fontcolor3 for admins) is changed in the ACP.

Mea culpa
This is true, except for user name. I tried it. thanks for the help though.

User avatar
Thatbitextra
Former Team Member
Posts: 7604
Joined: Mon Mar 21, 2005 5:04 am
Location: A place where something is or could be located; a site.
Contact:

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by Thatbitextra » Wed Apr 16, 2008 2:27 am

Where are you wanting to change the username color? If it's in the Who's Online bit then, yes, it is via the ACP. But seeing as you mentioned the .name class I presumed that you are wanting to change the color of the user post author username in viewtopic as that is what .name handles.
Styles KB
My MODs: Choose Who to Accept PMs From (Prevents unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20809
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by RMcGirr83 » Wed Apr 16, 2008 2:42 am

Peter77sx wrote:
RMcGirr83 wrote:Ah well, can't blame a guy for trying. Just about every other template the colors (fontcolor 2 for mods and fontcolor3 for admins) is changed in the ACP.

Mea culpa
This is true, except for user name. I tried it. thanks for the help though.
The user name color is set as the same color for an a href tag per this code in includes/page_header.php

Code: Select all

				$style_color = '';
				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'] . '"';
				}

				if ( $row['user_allow_viewonline'] )
				{
					$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
					$logged_visible_online++;
				}
				else
				{
					$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
					$logged_hidden_online++;
				}
as you can see the $style_color is only set (and therefore overrides the a tag coloring) if the user is a mod or admin.

I know I didn't supply and answer but at least you know why the coloring is applied that way.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

E.Isolation
Registered User
Posts: 25
Joined: Sat Apr 12, 2008 3:07 am

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by E.Isolation » Wed Apr 16, 2008 9:31 pm

Just a quick note to say how much I like this style. Thanks a lot for making it available! The extra color options are a great addition. It is by far the best style (for my forum) that I've seen.

Jay`Z
Registered User
Posts: 6
Joined: Sun Jul 10, 2005 7:08 pm
Location: East Side
Contact:

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by Jay`Z » Tue Jul 29, 2008 11:10 am

Hey guys.

I noticed a strange thing with this new SubBlack theme.
First I thought it was just on my board, but seems to be the same even on the demo board presented in this topic.
The thing goes like this: When viewing a topic, at the begining of every post, on the left top corner there's some small writing that says something like:

Code: Select all

Posted: Wed Nov 01, 2006 8:04 pm    Post subject: Unread Topic
And just below that there should be a horizontal line (<hr>?!).
Well the problem is that, that line doesn't seem to display in Mozilla FireFox (neither v2, nor v3), but does display fine in Internet Explorer 7.
I`ve added some screen shots from both browsers to better illustrate the problem:

IE 7: line ok
FireFox 3: no line

I`ve been using subBlack for a long time but this is the first time I notice the problem (i mostly use IE 7)
Can anyone please explain this, and maybe find a fix?

Thanks a lot,

maxhel
Registered User
Posts: 79
Joined: Sat Apr 14, 2007 8:55 pm

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by maxhel » Sat Aug 30, 2008 2:23 pm

icons for report system??

can make for style sub black
Attachments
reportrk1.png
reportrk1.png (2.02 KiB) Viewed 4613 times
icon_report.gif
icon_report.gif (1.62 KiB) Viewed 4618 times

maxhel
Registered User
Posts: 79
Joined: Sat Apr 14, 2007 8:55 pm

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by maxhel » Sat Aug 30, 2008 3:22 pm

this buttons for advance report system
Attachments
icon_reported.gif
icon_reported.gif (595 Bytes) Viewed 4615 times
topic_report.gif
topic_report.gif (706 Bytes) Viewed 4597 times
topic_reported.gif
topic_reported.gif (707 Bytes) Viewed 4596 times
icon_report.gif
icon_report.gif (595 Bytes) Viewed 4612 times

Jay`Z
Registered User
Posts: 6
Joined: Sun Jul 10, 2005 7:08 pm
Location: East Side
Contact:

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by Jay`Z » Sat Mar 21, 2009 5:35 pm

So can anyone please fix the problem I reported above.
I noticed it's the same in Google Chrome as well. :cry:

User avatar
Thatbitextra
Former Team Member
Posts: 7604
Joined: Mon Mar 21, 2005 5:04 am
Location: A place where something is or could be located; a site.
Contact:

Re: [Release] subBlack 1.2.1 for phpBB 2.0.22

Post by Thatbitextra » Sat Mar 21, 2009 5:57 pm

Jay`Z wrote:So can anyone please fix the problem I reported above.
I noticed it's the same in Google Chrome as well. :cry:
Hi,

Sorry for not replying before, not sure what happened :?
Anyway, to fix it, in main.css, change:

Code: Select all

hr {
	height: 0px;
	border: 0px solid #CCCCCC;
}
to:

Code: Select all

hr {
	height: 0px;
	border: 0px solid #CCCCCC;
	border-width: 1px 0px 0px 0px;
}
:)
Styles KB
My MODs: Choose Who to Accept PMs From (Prevents unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

Locked

Return to “[2.0.x] Styles Development & Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests