Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Print Post Permissions Reply #1 - Nov 15th, 2014 at 4:31pm Mark & QuoteQuote Code <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 <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)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: 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)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Print Post Permissions Reply #3 - Nov 15th, 2014 at 10:25pm Mark & QuoteQuote 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. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: 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)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Print Post Permissions Reply #6 - Nov 16th, 2014 at 3:41pm Mark & QuoteQuote I should have that ready tomorrow or so. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: 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 <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 <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)} IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: 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! IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: 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)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged