[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
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

[CDB] Rank Post Styling

Post by PayBas »

Rank Post Styling

A small extension that lets you add special CSS classes to post containers. This gives you the ability to put rank-specific styling rules in your CSS files. Things like making all posts made by admins display in red text-color. Or a brighter background, or whatever. You are in control.
screenshot.png
  • Integration with phpBB 3.1 ranks ACP module
  • Allows admin to specificy a CSS class rule for each "special" rank
  • CSS class rule is applied to <div class="post-container"> which wraps posts
  • Available in:
    • Viewtopic
    • Search results (posts mode)
    • Memberlist (viewprofile)
  • Gives total control to style whatever you like (fonts, colors, images, etc.)
Warning!:
This extension is only for those that are familiar with HTML and CSS. No support will be given beyond the actual functionality of the extension. All styling is up to you.

More info & download: https://www.phpbb.com/customise/db/exte ... t_styling/
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Rank Post Styling

Post by Mess »

Does this include the space "behind" the miniprofile? Like the Blizzard image behind the miniprofile for admins in your pbwow addon?
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Rank Post Styling

Post by PayBas »

Mess wrote:Does this include the space "behind" the miniprofile? Like the Blizzard image behind the miniprofile for admins in your pbwow addon?
Yes. If you know some CSS, you will be able to do this relatively easily.

Basically this extension allows you to style every part of a post (based on a specific rank). From the most outer container to the content.
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Rank Post Styling

Post by Mess »

/Drool
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN »

Whow this sounds good !!!! I will install it when i come back from worck. I suggest to make one forum or somthing where people can post their styles and image how it looks like :) I will try to do 1 or 2 :)
User avatar
Patrick W.
Registered User
Posts: 110
Joined: Wed Sep 26, 2007 9:02 pm

Re: [DEV] Rank Post Styling

Post by Patrick W. »

This is a great extension! Do you have any plans to add ACP options for this to allow those who do not have HTML/CSS experience to use this?
Always use the Support Board for phpBB support. One PM answers one. One post answers many.
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Rank Post Styling

Post by PayBas »

Patrick W. wrote:This is a great extension! Do you have any plans to add ACP options for this to allow those who do not have HTML/CSS experience to use this?
Not really, because the possible options would be exhausting to list. Besides, you might want different CSS rules for different installed styles.
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN »

http://i.imgur.com/0tzXFHH.png
Hmm i think it didnt worck for me :/

Using:
Apache Version : 2.4.9
PHP Version : 5.5.12
MySQL Version : 5.6.17

Current version 3.1.0-RC2
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Rank Post Styling

Post by PayBas »

Darkness_demoN wrote:Hmm i think it didnt worck for me :/
Until phpBB 3.1 RC3 is released, you will need to manually add some code. You can find it in the opening post, under "requires".
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN »

More info & download: ???
I open that many times and read README.md but didn't find where and what code i need to add.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [DEV] Rank Post Styling

Post by david63 »

Darkness_demoN wrote:More info & download: ???
I open that many times and read README.md but didn't find where and what code i need to add.
No - the link above that where is say "Requires". This is for the pull request that has the new events (in the core files) which this extension will need
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN »

david63 wrote: No - the link above that where is say "Requires". This is for the pull request that has the new events (in the core files) which this extension will need
Ok i manage to made it :D But why this only work on PBTech style ?

Edit 1:
I try to copy images and custom.css from styles\PBTech\theme into styles\prosilver\theme but still nothing :/
Last edited by Darkness_demoN on Thu Jul 17, 2014 8:26 am, edited 1 time in total.
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Rank Post Styling

Post by PayBas »

Darkness_demoN wrote:Ok i manage to made it :D But why this only work on PBTech style ?
It works on all styles that have prosilver's template events.

It's up to the style author if they want to include CSS rules that can be used by this extension. I included some rules in PBWoW 3 and PBTech, but for any other style you will have to create the rules yourself.

edit in response to above edit: Like I said, you need CSS knowledge to get this to work on your different styles. I can't provide any support for individual styles (except my own). You can't just copy CSS rules from one style to another and expect them to work like magic.
User avatar
Darkness_demoN
Registered User
Posts: 111
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN »

PayBas wrote: It works on all styles that have prosilver's template events.

It's up to the style author if they want to include CSS rules that can be used by this extension. I included some rules in PBWoW 3 and PBTech, but for any other style you will have to create the rules yourself.
The name of the css file need to be custom.css or somthing else ?
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Rank Post Styling

Post by PayBas »

Darkness_demoN wrote:The name of the css file need to be custom.css or somthing else ?
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.

Return to “Extensions in Development”