[2.0.17] Avatars Secret Gallery

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
8
89%
Very Good
1
11%
Good
0
No votes
Fair
0
No votes
Poor
0
No votes
 
Total votes: 9

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27956
Joined: Sat Aug 16, 2003 7:36 am

[2.0.17] Avatars Secret Gallery

Post by Extensions Robot » Tue Sep 06, 2005 2:15 am

MOD Name: Avatars Secret Gallery
Author: 3Di
MOD Description: Lets ADMIN and MODerators have an Avatars Secret Gallery that doesn't appear to Registered Users.


MOD Version: 1.0.3

Download File: AvatarsSecretGallery103.zip
mods overview page: View
File Size: 478798 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:28 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Thu Sep 15, 2005 1:01 pm

MOD Validated/Released

Notes:
This MOD allow admins and moderators to have a hidden collection of avatars to choose from.

Charlestradamus
Registered User
Posts: 87
Joined: Sun Jul 24, 2005 7:47 am

Post by Charlestradamus » Thu Sep 15, 2005 1:03 pm

Nice! gonna try it out now. :D
damusfoundation.com/forums

My phpbb forum

User avatar
3Di
Former Team Member
Posts: 14078
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Thu Sep 15, 2005 6:35 pm

Thanks Mod Team
Thanks Merlin Sythove

It is the first MOD i got approved.

Enjoy that, guys.

Greets
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove » Thu Sep 15, 2005 6:53 pm

Congratulations all around, cake, beer, whatever... :D

User avatar
3Di
Former Team Member
Posts: 14078
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Thu Sep 15, 2005 6:59 pm

Merlin Sythove wrote: Congratulations all around, cake, beer, whatever... :D


A glass of Courvoisier will do the trick tonight, mate. :wink:
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
3Di
Former Team Member
Posts: 14078
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Sat Oct 01, 2005 6:26 pm

This small MOD perfectly works also on Categories Hierarchy 2.1.1 Series (tested on 2.1.1 RC6 BETA).

Greets
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

DKing
Registered User
Posts: 751
Joined: Sat Jul 03, 2004 8:38 pm

Post by DKing » Tue Oct 11, 2005 8:42 am

ooh looks pretty! :D Nice job! ;)
-DKing
Latest phpBB Version: 2.0.21
Search For a MOD: MOD Search

User avatar
3Di
Former Team Member
Posts: 14078
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Tue Oct 11, 2005 9:52 pm

DKing wrote: ooh looks pretty! :D Nice job! ;)


Thx, i only managed the Merlin's rough code plus minor things and then submitted.. ;)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove » Wed Oct 12, 2005 5:51 am

That is what he said - nice job :D

Fayo
Registered User
Posts: 56
Joined: Wed Nov 09, 2005 10:56 am

Hm

Post by Fayo » Wed Nov 09, 2005 8:25 pm

Can it be made to work for specific groups or ranks as well?

User avatar
3Di
Former Team Member
Posts: 14078
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Wed Nov 09, 2005 9:01 pm

I think yes but unfortunately i'm busy these days...
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Fayo
Registered User
Posts: 56
Joined: Wed Nov 09, 2005 10:56 am

Well

Post by Fayo » Sat Nov 12, 2005 9:52 am

Well, no need to rush :) Maybe one day... I'll be waiting. And thanks for the mod!

Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove » Sat Nov 12, 2005 10:35 am

In includes/usercp_register.php and in includes/usercp_avatar.php you will find this line:

if ($userdata['user_level'] > USER || $key != 'SecretGallery' )

which sets the conditions for viewing the secret gallery: being MOD or ADMIN, or the name is not one of the secret galleries.

You could change this to

if ($userdata['user_level'] > USER || $key != 'SecretGallery' || $userdata['user_posts'] > 100)

to allow users with more than 100 posts access to that gallery. So that would be equivalent to a rank, but hard-coded.

Doing it via the ranks or groups tables would be more complicated.

User avatar
3Di
Former Team Member
Posts: 14078
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Sat Nov 12, 2005 2:19 pm

erm.. actually the MOD uses only includes/usercp_avatar.php and the line is

Code: Select all

		if ($userdata['user_level'] != USER || $key != '1SecretGallery' ) 
I'm thinking to leave that Cat just for admin/mods and add instead other private galleries based on groups or user's post count, not hardcoded though..

thank you Merlin Sythove :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Post Reply

Return to “[2.0.x] MOD Database Releases”