[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!
Scam Warning
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

[RC] Style Permissions Modification (1.1.0-RC)

Post by NintendoMii » Wed Jan 11, 2012 3:58 pm

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
Location: Belgium, Flanders
Name: Max Pen
Contact:

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

Post by master412160 » Wed Jan 11, 2012 4:16 pm

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.

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 » Fri Jan 13, 2012 6:24 pm

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 » Sat Jan 14, 2012 12:02 pm

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 » Mon Jan 16, 2012 7:48 pm

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 » Mon Jan 16, 2012 7:56 pm

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 » Mon Jan 16, 2012 8:00 pm

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
Location: Belgium, Flanders
Name: Max Pen
Contact:

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

Post by master412160 » Tue Jan 17, 2012 5:42 pm

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?

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 » Tue Jan 17, 2012 6:31 pm

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: 731
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 » Wed Jan 18, 2012 4:37 pm

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 » Wed Jan 18, 2012 5:56 pm

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: 731
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 » Thu Jan 19, 2012 12:17 am

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: 731
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 » Thu Jan 19, 2012 5:01 pm

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 » Thu Jan 19, 2012 6:39 pm

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
Location: Belgium, Flanders
Name: Max Pen
Contact:

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

Post by master412160 » Thu Jan 19, 2012 8:16 pm

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/

Locked

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