The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I sit possible to disable printable version?
Hey guys please some one tell me how to disable printable version of thread thanku.
|
#2
|
||||
|
||||
The printable thread pages use the same permissions as regular thread pages. If a user has permission to view a thread then they can also view its printable version.
If you don't want anyone to be able to view printable threads then you can edit this template: Admin CP --> Styles & Templates --> Style Manager --> --> Printable Thread Templates --> printthread Find this bit of code: Code:
<div> - - $threadinfo[prefix_rich] <a href="showthread.php?t=$threadid" accesskey="3"><strong>$threadinfo[title]</strong></a> (<span class="smallfont"><em>$vboptions[bburl]/showthread.php?t=$threadid</em></span>) </div> <br /> $postbits <br /> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr valign="top"> <td class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</td> <td align="$stylevar[right]"> <div class="smallfont">$pagenav</div> <if condition="$show['pagenav']"> <div class="smallfont"><a href="printthread.php?$session[sessionurl]t=$threadid&pp=$maxperpage"><phrase 1="$maxperpage">$vbphrase[show_x_posts_on_one_page]</phrase></a></div> </if> </td> </tr> </table> <p class="smallfont" align="center"> $vbphrase[powered_by_vbulletin] <br /> $vboptions[copyrighttext] </p> Code:
<div align="center">Printable threads disabled.</div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|