Guests no see posts (bug)

Started by Dante`, June 01, 2009, 06:17:10 PM

Previous topic - Next topic

Dante`

if guests press "Print" button
they can see posts


How i remove it ? (completely)

OPEN :
/default/Display.template.php
Find :
'print' => array('text' => 465, 'image' => 'print.gif', 'lang' => true, 'custom' => 'target="_blank"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),

"DELETE"


OPEN :
/index.php
Find :
'printpage' => array('Printpage.php', 'PrintTopic'),

"DELETE"





If you are not using default theme

open display.template
Find :
'print'

delete following line


Note : Sorry for my english

babjusi

Quote from: dantebyy on June 01, 2009, 06:17:10 PM
if guests press "Print" button
they can see posts


How i remove it ? (completely)

OPEN :
/default/Display.template.php
Find :
'print' => array('text' => 465, 'image' => 'print.gif', 'lang' => true, 'custom' => 'target="_blank"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),

"DELETE"


OPEN :
/index.php
Find :
'printpage' => array('Printpage.php', 'PrintTopic'),

"DELETE"





If you are not using default theme

open display.template
Find :
'print'

delete following line


Note : Sorry for my english


That would be my mod. Thanks for reporting it. If you would be so kind, can you post it here as well?

http://www.simplemachines.org/community/index.php?topic=314400.0

Dante`

Quote from: babjusi on June 01, 2009, 06:19:45 PM
Quote from: dantebyy on June 01, 2009, 06:17:10 PM
if guests press "Print" button
they can see posts


How i remove it ? (completely)

OPEN :
/default/Display.template.php
Find :
'print' => array('text' => 465, 'image' => 'print.gif', 'lang' => true, 'custom' => 'target="_blank"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),

"DELETE"


OPEN :
/index.php
Find :
'printpage' => array('Printpage.php', 'PrintTopic'),

"DELETE"





If you are not using default theme

open display.template
Find :
'print'

delete following line


Note : Sorry for my english


That would be my mod. Thanks for reporting it. If you would be so kind, can you post it here as well?

http://www.simplemachines.org/community/index.php?topic=314400.0
of course  :)

Advertisement: