None of my mods, wherever you find them, are abandoned.
All of them are in developement, even if i am not active on phpbb.com.

[DEV] Post Group Styles v.0.0.1 (Two Current Fixes)

[DEV] 3.0.* Mod Base

[DEV] Post Group Styles v.0.0.1 (Two Current Fixes)

Postby Sekuro » 28 Oct 2011, 19:38

Post Group Styles
(PGS)

MOD-Title: Post Group Styles
MOD-Version: 0.0.1
MOD-Author: 4seven

License: GNU General Public License v2

Request by: SvenLittkowski, Netframe
Request Threads:
http://www.phpbb.com/community/viewtopi ... #p12980432
http://www.phpbb.com/community/viewtopi ... #p13023327

MOD-Description: This Mod add post style attributes to given groups

phpBB-Version: phpBB 3.0.9
phpBB-Languages: en
phpBB-Styles: all Styles, that are based on prosilver

Demo: viewtopic.php?p=182#p182

News: http://www.phpbb.com/community/viewtopi ... #p13028076

Download:
Post_Group_Styles_PGS_v.0.0.1.zip
(94.66 KiB) Downloaded 475 times

Image

Image

Features:
- post style attributes for groups
- open jquery acp on grouplist
- controlled by admin only, no ucp settings
- text-colour, background-colour, border-colour and other styles

To Do:
- Adding language variables instead of hardcoded
- ??
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] Post Group Styles v.0.0.1

Postby Sekuro » 28 Oct 2011, 19:38

Demo

Usage:

- Login: ucp.php?mode=login (un: test / pw: testuser)
- Use the following links to administrate


- Click on PGC Style (Screen)
- Check out the Styling (jQuery Preview)
- If you want to overtake a colour from last config to new,
click in [# xxxxx] field in colour-picker and hit enter

- Result: viewtopic.php?p=15#p15

edit: demo server/links changed..
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] Post Group Styles v.0.0.1

Postby Sekuro » 15 Aug 2012, 00:00

Announcements

We found a bug in v.0.0.1:

If a member is newly added to a named group, he dont get the given style.
Therefore you must set the styling again. For 'old' group members all works ok on set.
Normally this should be set automatically on changing a member to a 'styled group'.

This bug will be fixed in v.0.0.2
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Re: [DEV] Post Group Styles v.0.0.1

Postby Sekuro » 08 May 2013, 23:22

Two little bugfixes for v.0.0.1

bug1: js dont close the popup windows
reason1: jquery deprecates .browser var / code change

bug2: border cant set
reason2: coding hurry up error

fix1

open

styles/prosilver/template/pgc_swatch.html

find

Code: Select all
if ($.browser.webkit && (chrome !== true)) 


replace with

Code: Select all
// if ($.browser.webkit && (chrome !== true)) { 
// fix1
if (chrome !== true) 

---------------------------------------------

fix2

open

styles/prosilver/template/pgc_swatch.html

find

Code: Select all
if($('#border_true').attr('checked')){ 


replace with

Code: Select all
 // if($('#border_true').attr('checked')){
// fix2
 if($('input#border_true:checked').length>0){ 

clear all board- and browser-caches

..the current v.0.0.1 package will be updated after some more tests
Mod-Bot / Service-Team
User avatar
Sekuro

Tiptop

Tiptop
 
Posts: 241
Joined: 11 Feb 2008, 11:49
 
Resolution: 1440x900



Return to phpbb 3.0.* St@ff

Who is online

Users browsing this forum: No registered users and 1 guest

cron