[RC] Style Permissions Modification (1.1.0-RC)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

[RC] Style Permissions Modification (1.1.0-RC)

Post by NintendoMii »

Modification Name: Style Permissions Modification
Author: NintendoMii
Requested by: master412160
Modification Description: This modification allows you to set style-permissions for each group. Just like in the regular permission system, it works with 'yes', 'no' and 'never'.

Modification Version: 1.1.0-RC

Requirements: A 3.0.10 board

Features:
  • MODX (1.0.6)
  • UMIL (1.0.6)
  • Setting style permissions for groups (1.0.6)
  • Removes unauthorized permissions out of the list users can choose between. (Since 1.1.0)
  • Override with default style no matter what permission + ACP option to enable / disable. (Planned)
Screenshots: No

Demo URL: Not provided, ACP is not accessible for visitors and without you can't see the permissions and you won't really notice the modification.
Video: http://img513.imageshack.us/img513/3585/knq.mp4

Modification Download:
2 Shared (1.0.6)
2 Shared (1.1.0)
Last edited by NintendoMii on Wed Feb 01, 2012 9:07 pm, edited 16 times in total.
User avatar
master412160
Registered User
Posts: 314
Joined: Sat May 22, 2010 5:45 pm
Name: Max Pen

Re: [DEV]Style Permissions Modification (1.0.4-RC)

Post by master412160 »

You can't believe how happy I am seeing this mod has finally arrived to phpBB its doors to be used by anyone who wishes to!

I and some people in the past questioned if its possible to give permissions to styles. With this mod this should now be possible.

Thanks alot alot to Mii for building this mod.

:D

Can't wait to try it out.
Regards, Matt.
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [DEV]Style Permissions Modification (1.0.4-RC)

Post by NintendoMii »

Modification release delayed because I will be absent the following weeks. (I'll try to get a stable (but not finished) release up by Wednesday.
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [DEV]Style Permissions Modification (1.0.4-RC)

Post by NintendoMii »

Thanks to everyone who PM'd me, I will do the best I can to release it a bit sooner. I can't promise anything tough.
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC]Style Permissions Modification (1.0.4-RC)

Post by NintendoMii »

Download in first post.. Reply if you tested for 3.0.10. ;)
demon327
Registered User
Posts: 847
Joined: Thu Nov 16, 2006 2:16 pm

Re: [RC]Style Permissions Modification (1.0.4-RC)

Post by demon327 »

NintendoMii wrote:Download in first post.. Reply if you tested for 3.0.10. ;)
Link is down, cant you use something else then MU? ;)
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC]Style Permissions Modification (1.0.4-RC)

Post by NintendoMii »

demon327 wrote:
NintendoMii wrote:Download in first post.. Reply if you tested for 3.0.10. ;)
Link is down, cant you use something else then MU? ;)
Updated first post.. ;)
User avatar
master412160
Registered User
Posts: 314
Joined: Sat May 22, 2010 5:45 pm
Name: Max Pen

Re: [RC]Style Permissions Modification (1.0.4-RC)

Post by master412160 »

1) Do permissions set to a style after deletion of said style get deleted to or remain stored until said style is re-installed again?

2) can you as founder admin choose if other admins can also manage style permissions yes or no?

Third I installed this mod on a phpbb 3.0.10 board but it didn't work out.

Due it asking for the sql table while I haven't yet run the install.php file which I can't due this error:

Code: Select all

SQL ERROR [ mysqli ]

Table 'board_board.STYLE_PERMISSIONS_TABLE' doesn't exist [1146]

SQL

SELECT permission FROM STYLE_PERMISSIONS_TABLE WHERE style_id = '42' AND group_id = '5'

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/session.php
LINE: 1976
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/session.php
LINE: 1643
CALL: user->check_style_permitted()

FILE: [ROOT]/index.php
LINE: 27
CALL: user->setup()

Tell me what sql commands to preform through phpmyadmin?
Regards, Matt.
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC]Style Permissions Modification (1.0.4-RC)

Post by NintendoMii »

master412160 wrote:1) Do permissions set to a style after deletion of said style get deleted to or remain stored until said style is re-installed again?

2) can you as founder admin choose if other admins can also manage style permissions yes or no?

Third I installed this mod on a phpbb 3.0.10 board but it didn't work out.

Due it asking for the sql table while I haven't yet run the install.php file which I can't due this error:

Code: Select all

SQL ERROR [ mysqli ]

Table 'board_board.STYLE_PERMISSIONS_TABLE' doesn't exist [1146]

SQL

SELECT permission FROM STYLE_PERMISSIONS_TABLE WHERE style_id = '42' AND group_id = '5'

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/session.php
LINE: 1976
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/session.php
LINE: 1643
CALL: user->check_style_permitted()

FILE: [ROOT]/index.php
LINE: 27
CALL: user->setup()

Tell me what sql commands to preform through phpmyadmin?
Try the new download.
User avatar
Galandas
Registered User
Posts: 734
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: [RC] Style Permissions Modification (1.0.5-RC)

Post by Galandas »

when I launch the install
I get this error

Code: Select all

Parse error: syntax error, unexpected ';', expecting ')' in /membri/provemieforum/forum/install.php on line 81
English is not my native language My CDB Contributions My RC extensions
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC] Style Permissions Modification (1.0.5-RC)

Post by NintendoMii »

Galandas wrote:when I launch the install
I get this error

Code: Select all

Parse error: syntax error, unexpected ';', expecting ')' in /membri/provemieforum/forum/install.php on line 81
I see, I uploaded the wrong package. Here is the real one: ----
User avatar
Galandas
Registered User
Posts: 734
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: [RC] Style Permissions Modification (1.0.5-RC)

Post by Galandas »

This mod has 2 other problems to be solved
the first and it does not detect files with AutoMod
styles / prosilver / overall_footer.html
is
styles/subsilver2/overall_footer.html

http://www.diigo.com/item/image/27r7n/ydtu

second, when I launch install.php
I get this error. video
Errore Generale
SQL ERROR [ mysqli ]

Table 'my_provemieforum.phpbb_style_permissions' doesn't exist [1146]

SQL

SELECT * FROM phpbb_style_permissions

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/session.php
LINE: 1627
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/install.php
LINE: 22
CALL: user->setup()
English is not my native language My CDB Contributions My RC extensions
User avatar
Galandas
Registered User
Posts: 734
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: [RC] Style Permissions Modification (1.0.5-RC)

Post by Galandas »

there is no answer? :?
English is not my native language My CDB Contributions My RC extensions
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC] Style Permissions Modification (1.0.5-RC)

Post by NintendoMii »

Galandas wrote:there is no answer? :?
I noticed, and will now create the new package with testing the database too. I thought that wouldn't be needed... :oops:
New download in the first post within 30 minutes
EDIT: Forgot to tell you. The not found files are normal if you didn't install Prosilver or Subsilver2 style. (You'll need to do that edits to all other styles tough.)
User avatar
master412160
Registered User
Posts: 314
Joined: Sat May 22, 2010 5:45 pm
Name: Max Pen

Re: [RC] Style Permissions Modification (1.0.6-RC)

Post by master412160 »

I just installed it for the 3rd time and now it worked splendid on my 3.0.10 phpbb installation!

Success

I hope you can make an addon for this mod to work with your mod:
http://www.phpbb.com/customise/db/mod/p ... ick_style/
Regards, Matt.
Locked

Return to “[3.0.x] MODs in Development”