Area51 @ 4seven.de

Mod Base and Testarea
It is currently 23 Feb 2025, 19:32

All times are UTC + 1 hour




Post new topic TOPIC_LOCKED  [ 4 posts ] 
Author Message
PostPosted: 28 Oct 2011, 19:38 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
Attachment:
Post_Group_Styles_PGS_v.0.0.1.zip [94.66 KiB]
Downloaded 586 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


Top
 Profile  
 
PostPosted: 28 Oct 2011, 19:38 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
Demo

Usage:

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

Quote:

- 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


Top
 Profile  
 
PostPosted: 15 Aug 2012, 00:00 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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


Top
 Profile  
 
PostPosted: 08 May 2013, 23:22 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
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:
if ($.browser.webkit && (chrome !== true)) 


replace with

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

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

fix2

open

styles/prosilver/template/pgc_swatch.html

find

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


replace with

Code:
 // 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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic TOPIC_LOCKED  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.011s | 23 Queries | GZIP : Off ]