vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=240254 |
Hi,
I´m trying yo disable the printable version for guests ( VB4 ). In the printthread template i try to use this code:
But does not work.... :( Can you please help me? Thanks!!! :) |
1 Attachment(s)
|
I'll create this Mod today, And Send PM To you when I finish it :)
|
|
Quote:
|
Quote:
|
Quote:
|
Quote:
As I was looking for a Mod to completely give No access to anyone to print function |
You could go to your "SHOWTHREAD" template, and locate the code:
and change it to:
|
Which will not prevent people from seeing the printable version if they know the direct link.
|
Thanks MarkFL sadly They know the url of the printable version :( anyone to block everyone?
Quote:
|
Try adding:
at the top of your "printthread.php" file. |
1 Attachment(s)
If you wish to avoid template edits and PHP file hacks, then download and import the attached add-on. It uses 1 plugin to inject a snippet of javascript to remove the "Show Printable Version" item from the "Thread Tools" menu, and another plugin that will deny permission to anyone trying to access the script manually. :up:
There are no settings to configure, once it is imported, it is active. |
Appreciate it MarkFL , I will try and report to u once i get home
|
Quote:
Mark I just test this, "Show Printable Version" phrase-option is still there. It does not allow though to see the page. Stratis, you do not have permission to access this page. This could be due to one of several reasons: This is ok, but if the option "Show Printable Version" is not there it would be great. Thanks any way. :) |
All times are GMT. The time now is 14:24. |
Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.