print-version
 
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_forum (beta team)
View previous topic :: View next topic  
Author Message
Haplo
Apprentice
Apprentice


Joined: 19 Oct 2003
Posts: 10

PostPosted: Wed Jul 28, 2004 10:48 pm    Post subject: print-version Reply with quote

i've adapted the print-friendly mod myself...but not cannot make the viewtopic open WITHOUT the portal page anymore Wink

how did you solve this markus?

i mean all viewtopic.php links are made portal pages...not so print-friendly...

 
 
_________________

___________________________________
The MX-Portal Project:
www.mx-system.com
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Thu Jul 29, 2004 11:47 am    Post subject: Re: print-version Reply with quote

aha ha haaa.... Wink

Open forum_hack.php, then search function _validate_redirection() and add the following code to the case block:
Code:

      case 'viewtopic':
         $mode = $this->_get_mode($url, $by_http_vars);
         if( $mode == 'printertopic' || $mode == 'smilies' )
         {
            return '';
         }
         break;

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_forum (beta team) All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum