Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Jun 2021, 20:00
Aneurysm's Avatar
Aneurysm Aneurysm is offline
 
Join Date: Jul 2006
Real name: Aneurysm
Completely remove printable view

Been trying to figure this out forever, how can I completely disable or remove the printable view?

SITUATION: Our VB forum is for copier and printer technicians so the word "print" occasionally shows up as the last word of a post's title which, because we also utilize Dragonbyte Tech SEO rewrites for our URLs, causes the post to display in the printable view where another user cannot reply (see sample URL in the code block below). Rather than using rewrites to do something with the word "print" in the URLs I would rather just 100% remove/disable the printable view since it's never used and won't be missed. I've tried a few things with permissions but that just leaves users hanging with a message that they're not allowed. Any or thought on how I can completely remove the printable view? (I'm currently running vb v4.2.5)

SAMPLE URL:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
--


Copytechnet - Tech forums for copier, laser printer, and fax machine repair technicians.
Reply With Quote
  #2  
Old 01 Jun 2021, 21:14
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
OK

I tried this and it works, I think, but do not know what affect this will cause to the other functionality if any.

Rename your printthread.php to e.g printthread-old.php
Make a copy of showthread.php
Rename this copy to printthread.php

Basically you are replacing the contents of printthread.php with showthread.php
Reply With Quote
  #3  
Old 03 Jun 2021, 16:34
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
I think before doing anything else I'd turn off "Rewrite Printer-Friendly Thread URLs" in the dbseo forum URL rewrite settings so your users are not inconvenienced.
__________________
Better VB.org search
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements Hide Printable View Link in threads and Printable View Page for certain usergroups yin9 vBulletin 4.x Template Modifications 2 11 Jun 2011 10:22



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:41.

Layout Options | Width: Wide Color: