[CDB] Rank Post Styling

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Darkness_demoN
Registered User
Posts: 105
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN » Thu Jul 17, 2014 8:41 am

PayBas wrote:They don't need to be in any specific location. They just need to be loaded.

You could add them to common.css, or content.css, or stylesheet.css, or you could add @import(custom.css) to your stylesheet.css and put the rules in custom.css.

It's up to you.
That load part help's allot! :)

Srry for my stupid question's :/

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6061
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Rank Post Styling

Post by Raul [ThE KuKa] » Sun Jul 20, 2014 9:37 am

Spanish translation, a very small job. :D

Code: Select all

<?php
/**
*
* Rank Post Styling [Spanish]
* @copyright (c) 2014 PayBas
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'RANK_STYLE'	=> 'Estilo del rango (clase CSS)',
));
Best regards.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Rank Post Styling

Post by PayBas » Wed Aug 13, 2014 5:32 pm

Since phpBB 3.1 RC3 has been released, this extension can be installed without any additional file changes.

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Rank Post Styling

Post by Sshadow » Sun Nov 02, 2014 1:12 am

Would it be possible to have this effect board wide? Say for example I want to have the glow effect on both the username and groupname board-wide. I have figured out how to do it so far with posts etc but would love the effect to follow them board-wide.

User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [BETA] Rank Post Styling

Post by moviehive » Sun Nov 02, 2014 1:55 am

For the life of me I have no idea how to change the background color of my posts.

My rank CSS name is owner

What code do I place in stylesheet.css for prosilver_se to change the backgorund to a #ACA8A1

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Rank Post Styling

Post by Sshadow » Sun Nov 02, 2014 4:12 am

moviehive wrote:For the life of me I have no idea how to change the background color of my posts.

My rank CSS name is owner

What code do I place in stylesheet.css for prosilver_se to change the backgorund to a #ACA8A1
Should be

Code: Select all

.owner .content {    
    background: #ACA8A1;
}

User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [BETA] Rank Post Styling

Post by moviehive » Sun Nov 02, 2014 4:19 am

That's only for the text. What about for the post-container

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Rank Post Styling

Post by Sshadow » Sun Nov 02, 2014 9:57 pm

moviehive wrote:That's only for the text. What about for the post-container
Change .content to .inner or .postbody depending just how much you want effected.

User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [BETA] Rank Post Styling

Post by moviehive » Sun Nov 02, 2014 10:07 pm

Thanks Shadow.

Now that I've got it the way I want it there is another slight small two issues.

See attached image:
http://i.picresize.com/EnMx

How do I remove the white border line between the post profile and the post itself.

How do I remove the border surrounding the post.

User avatar
Sshadow
Registered User
Posts: 299
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [BETA] Rank Post Styling

Post by Sshadow » Mon Nov 03, 2014 3:17 am

moviehive wrote:Thanks Shadow.

Now that I've got it the way I want it there is another slight small two issues.

See attached image:
http://i.picresize.com/EnMx

How do I remove the white border line between the post profile and the post itself.

How do I remove the border surrounding the post.
I am pretty sure that is outside the scope of where this extension currently injects itself. I could be wrong though. That's another reason I made the comment above.
Sshadow wrote:Would it be possible to have this effect board wide? Say for example I want to have the glow effect on both the username and groupname board-wide. I have figured out how to do it so far with posts etc but would love the effect to follow them board-wide.

User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [BETA] Rank Post Styling

Post by moviehive » Mon Nov 03, 2014 3:18 am

I managed to do the background the way I wanted to. It's the bg1, bg2 etc.

It's just that annoying white border between post profile and the post itself I need gone now.

Nylream
Registered User
Posts: 5
Joined: Thu Nov 20, 2014 2:31 pm

Re: [BETA] Rank Post Styling

Post by Nylream » Thu Nov 20, 2014 4:28 pm

Hello,

Great work, I had to search a little to manage my css, but it does the job.

I asked for a creation of something so close of the one you did, it would be easier (I guess) for you, to make it or to make yours evolve.

If you could please take a look ?
viewtopic.php?f=496&t=2276796

short review :
To use groups instead of ranks...
That would offer more options imho.

Regards,

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Rank Post Styling

Post by PayBas » Fri Nov 21, 2014 1:34 pm

Nylream wrote:Hello,

Great work, I had to search a little to manage my css, but it does the job.

I asked for a creation of something so close of the one you did, it would be easier (I guess) for you, to make it or to make yours evolve.

If you could please take a look ?
viewtopic.php?f=496&t=2276796

short review :
To use groups instead of ranks...
That would offer more options imho.

Regards,
That would require a more complex extension, because the group info isn't retrieved from the database for each user when displaying posts (amongst others). So that would require additional DB queries (or joins), which would make the board slower.

So it's not really something I plan to do in the immediate future. Perhaps at some point in the future.

infinitiv
Registered User
Posts: 166
Joined: Sat Nov 15, 2014 3:47 pm
Location: PL
Name: Ficjusz

Re: [BETA] Rank Post Styling

Post by infinitiv » Fri Nov 21, 2014 5:03 pm

Is it possible to choose which post will change and which not? For example: I'm an admin and I'd like to post a "normal" message, with standard styling, can I do it?

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Rank Post Styling

Post by PayBas » Fri Nov 21, 2014 9:18 pm

infinitiv wrote:Is it possible to choose which post will change and which not? For example: I'm an admin and I'd like to post a "normal" message, with standard styling, can I do it?
No. You could create another "normal" account for that.

Locked

Return to “Extensions in Development”