Permissions Info (v1.6 Released Supporting SMF 2.0 RC4!)

Started by Nibogo, March 15, 2008, 05:47:02 PM

Previous topic - Next topic

Nibogo


Permissions Info v1.6 - NIBOGO
This modification shows permissions that user have at the bottom of the message index and message display pages.





Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customziation of your SMF.

SMFPacks.com Provides Other Great Packages:
- Reason for Editing Mod.
- Yet Another Global Announcements Mod.
- SMF Social Groups.
- SMF Links Directory.
- SMF Downloads Directory.
- SMF Dynamic Directory.
- Advanced Topic Prefix Mod.
- Advanced Invitations System.
- Move Topic Notification.
- PM to New Members.
- Permissions Info.
- Next Post Level.
- Karma Buttons.
- SMF Multi Quote.
- Attachments in Topics.
- and much more visit us on SMFPacks.com


Author
:
- NIBOGO

Features:
o Shows permissions for users and guest.
o Permission Block Collapsable.
o SMF 2.0 & 1.1.X Support.
o Support Classic , Default and Babylon Theme.
o New Style for the Permission Info Box
o Support "The Rules" Mod by Deprecated

Languages:
- English/English-utf8
- Turkish/Turkish-utf8
- Spanish/Spanish-utf8

Compatibility:
- 2.0
- 1.1.X



Changelogs:

1.6 - 19 Jan 2011

o Updated for SMF 2.0 RC4 and 1.1.12.

1.5 - 18 March 09

o Fixed bug with the SMF 1.1.X Installation.
o Fixed bug with the babylon and classic installation on SMF 1.1.X.
o Fixed a little bug with the mod name.

1.4 - 17 Feb 09

o Added Support for 1.1.8 & SMF 2.0 RC1.
o Changed the Permission Info Style.
o Added support for "The Rules" Mod by Deprecated.

1.2 - 21 October 08

o Permission Mod Take over By NIBOGO.
o Added support to SMF 2.0 BETA 4.
o Added support to SMF 1.1.6.
o Two little bugs fixed.
o Added support to Babylon and Classic Theme.
o Added Spanish, Spanish-uft8, English-utf8, Turkish-utf8 Languages.

1.1

o Made the block collapsable.
o Hr XHTML bug fixed.
o Quick reply space bug fixed.

1.0

o Initial release by SiNaN.

Eliana Tamerin

Nice job, [SiNaN]. I like this, clean like the vB version of this, and very useful and informative. I'll use this on all my forums, I think.

Keep them coming!
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

au8ust

#2
Great mod! Thanks ; )

Just curious how to make this mod working with Related Topics Mod :=/

Sabre™

Sorry to sound bland...
But can someone up an image, so I can see what this actually does.
My forum isnt open yet, so Im not too sure if I need a message/PM from someone, or what to see this.

Thank You  :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Eliana Tamerin

This creates a Permissions Box much like on vBulletin forums, indicating what you have permission to do in each forum/topic.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

[SiNaN]

Thanks Eliana.

Here are the demos:

http://bizmuhacirler.com/test/index.php/board,1.0.html

http://bizmuhacirler.com/test/index.php/topic,3.0.html

It's at the bottom of the pages.

Quote from: au8ust on March 15, 2008, 07:19:21 PM
Great mod! Thanks ; )

Just curious how to make this mod working with Related Topics Mod :=/

I'll look at that au8ust.
Former SMF Core Developer | My Mods | SimplePortal

Kimmie

SiNaN..

In your demo links that box shows two "You Can't Post Replies" lines but when I look on the image on the mod page, one of those says "you cant post attachments". Once its installed, which way will it show up?   

Thanks :)


Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


[SiNaN]

Quote from: Kimmie on March 16, 2008, 03:38:40 AM
SiNaN..

In your demo links that box shows two "You Can't Post Replies" lines but when I look on the image on the mod page, one of those says "you cant post attachments". Once its installed, which way will it show up?   

Thanks :)



That's a language file mistake.

Modifications.english.php

Find:

$txt['attachment_permission_no'] = 'You <b>can\'t</b> post replies.';

Replace:

$txt['attachment_permission_no'] = 'You <b>can\'t</b> post attachments.';

Who installed the mod before this message please make this change. Package is updated.
Former SMF Core Developer | My Mods | SimplePortal

mynewusername

Hi [SiNaN],

Nicew mod but is it possible to have another with it only to display to guests as with the Quick Reply mod it makes it untidy. Or is there a way to RIGHT ALIGN the Quick Reply mod?

Hoochie Coochie Man

Great mod Sinan..

But, There is a huge blank at the bottom. maybe you can make pop-up box to show permissions.  :-\

For example:

First..


when you click the buttom, than will open a little pop-up page.


So as you can see the second image, there is no huge blank at the bottom. :)
İnadına SMF 1.1.X

Apllicmz

NICE Mod
Work fine 100%
Portuguese...translate...

Quote$txt['permissions_info'] = 'Permissões';
$txt['post_new_topic_permission_yes'] = 'Você <b>Pode</b> Postar novos tópicos.';
$txt['post_new_topic_permission_no'] = 'Você <b>Nao Pode</b> Postar novos tópicos.';
$txt['reply_permission_yes'] = 'Você <b>Pode</b> Postar respostas.';
$txt['reply_permission_no'] = 'Você <b>Nao Pode</b> Postar respostas.';
$txt['attachment_permission_yes'] = 'Você <b>Pode</b> Postar anexos.';
$txt['attachment_permission_no'] = 'Você <b>Nao Pode</b> Postar respostas.';
$txt['modify_permission_yes'] = 'Você <b>Pode</b> Modificar seus postes.';
$txt['modify_permission_no'] = 'Você <b>Nao Pode</b> Modificar seus postes.';
$txt['bbc'] = 'BBCode';
$txt['smiley'] = 'Smilies';
$txt['img'] = '[img]';
$txt['html'] = 'HTML';
$txt['enabled'] = '<b>Activado</b>';
$txt['disabled'] = '<b>Desativado</b>';




[SiNaN]

Quote from: mynewusername on March 16, 2008, 04:15:54 AM
Hi [SiNaN],

Nicew mod but is it possible to have another with it only to display to guests as with the Quick Reply mod it makes it untidy. Or is there a way to RIGHT ALIGN the Quick Reply mod?

Can you show the right align thing with a screenshot?

Hoochie Coochie Man, not a pop-up I think. But it would be wonderful if I can make it collapsable. :)

joomlamz, thanks. I will add it now.

Former SMF Core Developer | My Mods | SimplePortal

Hoochie Coochie Man

Quote from: [SiNaN] on March 16, 2008, 04:27:36 AM
Hoochie Coochie Man, not a pop-up I think. But it would be wonderful if I can make it collapsable. :)

Sorry SiNaN, I mean "collapsable" too :D
Ofcourse..
Not pop-up
So you can see collaps buttons :)
İnadına SMF 1.1.X

mynewusername

Bit busy now sorry, if you put the Quick Reply mod on the test site (install and uninstall) you will get an idea of what I mean. :)

Quote from: [SiNaN] on March 16, 2008, 04:27:36 AM
Quote from: mynewusername on March 16, 2008, 04:15:54 AM
Hi [SiNaN],

Nicew mod but is it possible to have another with it only to display to guests as with the Quick Reply mod it makes it untidy. Or is there a way to RIGHT ALIGN the Quick Reply mod?

Can you show the right align thing with a screenshot?

Hoochie Coochie Man, not a pop-up I think. But it would be wonderful if I can make it collapsable. :)

joomlamz, thanks. I will add it now.



[SiNaN]

Quote from: mynewusername on March 16, 2008, 04:42:45 AM
Bit busy now sorry, if you put the Quick Reply mod on the test site (install and uninstall) you will get an idea of what I mean. :)

Okay, I'll look at that.
Former SMF Core Developer | My Mods | SimplePortal

mynewusername

Sorry the mod I am using is the Enhanced Quick Reply Box 2.0 + I have Tiny Portal so it probably just makes things squishy, Im now thinking to use the VB style theme though as this is perfect for it, still if it could be modified (seperate modification) for guests only that would be great. Nice work on the mod!

[SiNaN]

Quote from: mynewusername on March 16, 2008, 05:15:09 AM
Sorry the mod I am using is the Enhanced Quick Reply Box 2.0 + I have Tiny Portal so it probably just makes things squishy, Im now thinking to use the VB style theme though as this is perfect for it, still if it could be modified (seperate modification) for guests only that would be great. Nice work on the mod!

Display.template.php

Find:

echo '<br />
<table cellspacing="0" cellpadding="0" class="tborder">
<tr>
<td>
<table cellspacing="1" width="100%" class="bordercolor">


Replace:

if ($context['user']['is_guest'])
echo '<br />
<table cellspacing="0" cellpadding="0" class="tborder">
<tr>
<td>
<table cellspacing="1" width="100%" class="bordercolor">


This will make it to show only when the user is guest. If the user is logged in, it will disappear.
Former SMF Core Developer | My Mods | SimplePortal

mynewusername

Cool thanks!

Rates this mod 5 stars!

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

Advertisement: