Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) Print Post Permissions (Read 4008 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Print Post Permissions
Nov 13th, 2014 at 8:07pm
Mark & QuoteQuote  
This mod gives the admin the ability to disable/restrict permission to use Print Post and Print Thread.

Version History
---------------
0.1 - First release - November 13, 2014
0.2 - Print Thread Permissions added - November 22, 2014
0.3 - adapted for 2.6.11 - Jan 5, 2014

Instructions:

Apply the mod and upload (in ASCII mode):

cgi-bin/yabb2/Admin/Modlist.pm
cgi-bin/yabb2/Admin/NewSettings.pm
cgi-bin/yabb2/Admin/Settings_Main.pm
cgi-bin/yabb2/Languages/English/Admin.lng
cgi-bin/yabb2/Sources/Display.pm
cgi-bin/yabb2/Sources/Load.pm

Instructions - Go to Admin ->Forum Settings -> Posting. Set the level of permissions (none, Members, Guests & Members).
« Last Edit: Jan 14th, 2015 at 6:11pm by Dandello »  

print_post_perms_2611.zip ( 1 KB | 136 Downloads )
print_post_perms_German_files.zip ( 0 KB | 144 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Print Post Permissions
Reply #1 - Nov 15th, 2014 at 4:31pm
Mark & QuoteQuote  
Code
Select All
<edit file>
 Languages/German/Admin.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $admin_txt{'ppostperms'} = q~Ausdrucken Berechtigungen<br /><span class="small">Deaktivieren der Druckfunktion oder setzen Sie ihn auf "Alle Mitglieder", wenn Sie Spambot-Probleme mit dieser Funktion haben.</span>~;
 </add before> 





Code
Select All
<edit file>
 Languages/German_Du/Admin.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $admin_txt{'ppostperms'} = q~Ausdrucken Berechtigungen<br /><span class="small">Deaktivieren der Druckerfunktion oder setze ihn auf "Alle Mitglieder", wenn Du Spambot-Probleme mit dieser Funktion hast.</span>~;
 </add before> 

  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Print Post Permissions
Reply #2 - Nov 15th, 2014 at 5:04pm
Mark & QuoteQuote  
works somehow not correct. Despite deactivation is still the print function is available and active.
  

Bild2_011.jpg ( 162 KB | 152 Downloads )

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Print Post Permissions
Reply #3 - Nov 15th, 2014 at 10:25pm
Mark & QuoteQuote  
Smiley
I don't have time to look at it today. (Probably left a step out in the Mod.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Print Post Permissions
Reply #4 - Nov 16th, 2014 at 1:49am
Mark & QuoteQuote  
The Mod disables the Print Post not the Print Thread. Two different functions - Print Thread is the older one. However, I can certainly modify the mod to disable Print Thread as well.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Print Post Permissions
Reply #5 - Nov 16th, 2014 at 4:33am
Mark & QuoteQuote  
yes, that would be fine. the print function I do not need.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Print Post Permissions
Reply #6 - Nov 16th, 2014 at 3:41pm
Mark & QuoteQuote  
I should have that ready tomorrow or so.  Cool
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Print Post Permissions
Reply #7 - Nov 25th, 2014 at 5:05pm
Mark & QuoteQuote  
This version is for Build 1606 as it requires the 'target="_blank" in the links to already be replaced with a javascript 'window.open'.

This does include admin permissions for Print thread.
  

print_post_perms_2.zip ( 1 KB | 159 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Print Post Permissions
Reply #8 - Dec 6th, 2014 at 5:56am
Mark & QuoteQuote  
Dandello wrote on Nov 25th, 2014 at 5:05pm:
This version is for Build 1606 as it requires the 'target="_blank" in the links to already be replaced with a javascript 'window.open'.


Works whith Build 1611

Code
Select All
<edit file>
 Languages/German/Admin.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $admin_txt{'ppostperms'} = q~Ausdrucken Beitragsberechtigungen<br /><span class="small">Deaktivieren der Druckfunktion oder setzen Sie ihn auf "Alle Mitglieder", wenn Sie Spambot-Probleme mit dieser Funktion haben.</span>~;
 $admin_txt{'ptopicperms'} = q~Ausdrucken Themenberechtigungen<br /><span class="small">Deaktivieren der Druckfunktion oder setzen Sie ihn auf "Alle Mitglieder", wenn Sie Spambot-Probleme mit dieser Funktion haben.</span>~;
 </add before> 




Code
Select All
<edit file>
 Languages/German_Du/Admin.lng
 </edit file>

 <search for>
 1;
 </search for>

 <add before>
 $admin_txt{'ppostperms'} = q~Ausdrucken Beitragsberechtigungen<br /><span class="small">Deaktivieren der Druckfunktion oder setze ihn auf "Alle Mitglieder", wenn Du Spambot-Probleme mit dieser Funktion hast.</span>~;
 $admin_txt{'ptopicperms'} = q~Ausdrucken Themenberechtigungen<br /><span class="small">Deaktivieren der Druckfunktion oder setze ihn auf "Alle Mitglieder", wenn Du Spambot-Probleme mit dieser Funktion hast.</span>~;
 </add before> 



  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Batchman
Full Member
***
Offline


I Love YaBB!

Posts: 165
Location: Somewhere just East of Crazy
Joined: Jul 25th, 2014
Gender: Male
Mood: Depressed
Zodiac sign: Libra
Re: Print Post Permissions
Reply #9 - Feb 25th, 2015 at 4:42am
Mark & QuoteQuote  
Sorry for the delay on this one ... I had the wrong file, and was waiting for an update. Using the version in post 7, this one installs smoothly, and seems to work just fine.
  

If you don't know where you are, but you don't care, you're not lost ... you're exploring!
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Print Post Permissions
Reply #10 - Feb 17th, 2016 at 1:54pm
Mark & QuoteQuote  
Fit for YaBB 2.6.12
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Print Post Permissions
Reply #11 - Feb 18th, 2016 at 4:36pm
Mark & QuoteQuote  
Included in 2.7.00
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Print Post Permissions

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry