integrated this mod in bbcode.tpl of MorpheusX and Morpheus
 
 
Post new topic   Reply to topic   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> Select Expand BBCodes
View previous topic :: View next topic  
Author Message
MvsB
Apprentice
Apprentice


Joined: 05 May 2006
Posts: 14

PostPosted: Wed Jan 24, 2007 10:31 am    Post subject: integrated this mod in bbcode.tpl of MorpheusX and Morpheus Reply with quote

Solved

Before backup your bbcode.tpl

Code:
templates/MorpheusX or Morpheus/bbcode.tpl
#
#================================================================================
#   MOD Section: quote_username_open
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
   <td class="quote_user" align="left">{USERNAME} {L_WROTE}:</td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
   <td class="quote_user" align="left"><span class="genmed"><b>{USERNAME} {L_WROTE}:</b>
<script type="text/javascript" src="{U_SXBB_JSLIB}"></script>
<script type="text/javascript">
<!--
   var id = 'SXBB' + (1000 + Math.floor(Math.random() * 5000));
   SXBB[id] = new _SXBB(id);
   SXBB[id].T['select'] = '{L_SELECT}';
   SXBB[id].T['expand'] = '{L_EXPAND}';
   SXBB[id].T['contract'] = '{L_CONTRACT}';
   SXBB[id].writeCmd();
//-->
</script>
      </span></td>
#
#-----[ FIND ]------------------------------------------
#
   <td class="quote" align="left"><!-- END quote_username_open -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
   <td class="quote" align="left">
<script type="text/javascript">
<!--
   SXBB[id].writeDiv();
//-->
</script><!-- END quote_username_open -->
#
#================================================================================
#   MOD Section: quote_open
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
   <td class="quote_user" align="left">{L_QUOTE}:</td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
   <td class="quote_user" align="left"><span class="genmed"><b>{L_QUOTE}:</b>
<script type="text/javascript" src="{U_SXBB_JSLIB}"></script>
<script type="text/javascript">
<!--
   var id = 'SXBB' + (1000 + Math.floor(Math.random() * 5000));
   SXBB[id] = new _SXBB(id);
   SXBB[id].T['select'] = '{L_SELECT}';
   SXBB[id].T['expand'] = '{L_EXPAND}';
   SXBB[id].T['contract'] = '{L_CONTRACT}';
   SXBB[id].writeCmd();
//-->
</script>
            </span></td>
#
#-----[ FIND ]------------------------------------------
#
   <td class="quote" align="left"><!-- END quote_open -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
   <td class="quote" align="left">
<script type="text/javascript">
<!--
   SXBB[id].writeDiv();
//-->
</script><!-- END quote_open -->
#
#================================================================================
#   MOD Section: quote_close
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN quote_close --></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN quote_close -->
<script type="text/javascript">
<!--
   document.write('</div>');
//-->
</script>
      </td>
#
#================================================================================
#   MOD Section: code_open
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
   <td class="code_header" align="left">{L_CODE}:</td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
   <td class="code_header" align="left"><span class="genmed"><b>{L_CODE}:</b>
<script type="text/javascript" src="{U_SXBB_JSLIB}"></script>
<script type="text/javascript">
<!--
   var id = 'SXBB' + (1000 + Math.floor(Math.random() * 5000));
   SXBB[id] = new _SXBB(id);
   SXBB[id].T['select'] = '{L_SELECT}';
   SXBB[id].T['expand'] = '{L_EXPAND}';
   SXBB[id].T['contract'] = '{L_CONTRACT}';
   SXBB[id].writeCmd();
//-->
</script>
      </span></td>

#
#-----[ FIND ]------------------------------------------
#
   <td class="code" align="left"><!-- END code_open -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
   <td class="code" align="left">
<script type="text/javascript">
<!--
   SXBB[id].writeDiv();
//-->
</script><!-- END code_open -->
#
#================================================================================
#   MOD Section: code_close
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN code_close --></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN code_close -->
<script type="text/javascript">
<!--
   document.write('</div>');
//-->
</script>
      </td>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
 
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> Select Expand BBCodes 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