SMF Support > SMF 1.1.x Support
Is it possible to disable the "print" option?
nathanb:
Short of hacking up the template, is it possible to remove "print" from the list of topic actions? Nobody in the history of time has ever needed to print anything from our board, but search engine crawlers keep wasting our CPU cycles generating printable pages.
Shambles:
I believe that some aspects of the crawling function use the print facility to create indexable pages.
But don't quote me on that... just trust me.
MrPhil:
Search on "robots.txt" and it will tell you the entry to stop crawlers from exploring print pages. I think it will be something close to
--- Code: --- /index.php?action=printpage*
--- End code ---
Otherwise, if you still want to remove the Print button, I'm sure modifications to that line of buttons has been discussed before (don't confuse it with the menu tabs at the top).
Orangine:
Just open your display.template.php and search for the Print button code, then remove it. Or better - comment it out. If you attach it here I'm sure someone will give you a hand.
nathanb:
Orangine -- yes, I do know how to do that. I'd just rather have a checkbox...couldn't find one, figured I'd ask here before munging the template by hand.
Navigation
[0] Message Index
[#] Next page
Go to full version