[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!
Anti-Spam Guide
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 » Thu Jul 10, 2014 6:19 pm

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 » Thu Jul 10, 2014 6:50 pm

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 » Thu Jul 10, 2014 6:55 pm

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 » Thu Jul 10, 2014 7:36 pm

/Drool

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 » Fri Jul 11, 2014 12:46 pm

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. » Sun Jul 13, 2014 4:40 am

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 » Sun Jul 13, 2014 7:23 am

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: 105
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN » Thu Jul 17, 2014 6:57 am

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 » Thu Jul 17, 2014 7:00 am

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: 105
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

Post by Darkness_demoN » Thu Jul 17, 2014 7:33 am

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: 16186
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [DEV] Rank Post Styling

Post by david63 » Thu Jul 17, 2014 7:45 am

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

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:19 am

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 » Thu Jul 17, 2014 8:26 am

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: 105
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Rank Post Styling

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

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 » Thu Jul 17, 2014 8:32 am

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.

Locked

Return to “Extensions in Development”