Expand MOD in phpXP2 template
 
 
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
lord byron
Starter
Starter


Joined: 05 Apr 2005
Posts: 2

PostPosted: Tue Apr 05, 2005 5:37 pm    Post subject: Expand MOD in phpXP2 template Reply with quote

i'd like to do the "expand" MOD in phpXP2 template, if possible.
can you help me please?
Thanks


Down have the file i want modify:

bbcode.tpl
Code:
<!-- BEGIN ulist_open -->
<ul>
<!-- END ulist_open -->
<!-- BEGIN ulist_close -->
</ul>
<!-- END ulist_close -->


<!-- BEGIN olist_open -->
<ol type="{LIST_TYPE}">
<!-- END olist_open -->
<!-- BEGIN olist_close -->
</ol>
<!-- END olist_close -->

<!-- BEGIN listitem -->
<li>
<!-- END listitem -->
   


  <!-- BEGIN quote_username_open -->
  <blockquote><span class="smalltext">
citação:</span>
  <hr>
  <i><b>Originally posted by {USERNAME}: </b></i><br>
<!-- END quote_username_open -->
    <!-- BEGIN quote_open -->
<hr>
</blockquote>
<blockquote>
<span class="smalltext">
    citação:</span>
    <hr>
    <!-- END quote_open -->
    <!-- BEGIN quote_close -->
<hr>
</blockquote>
      <!-- END quote_close -->
      <!-- BEGIN code_open -->
<blockquote>
    <span class="smalltext">código:</span>
    <hr><font face="Courier">
    <!-- END code_open -->
    <!-- BEGIN code_close -->
</font>
    <hr>
    <br>
</blockquote>
    <!-- END code_close -->

<!-- BEGIN b_open -->
<span style="font-weight: bold">
<!-- END b_open -->
<!-- BEGIN b_close -->
</span>
<!-- END b_close -->
<!-- BEGIN updown_open -->
<span><marquee behavior=scroll direction=up scrollamount=1 height=60>
<!-- END updown_open -->
<!-- BEGIN updown_close -->
</marquee></span>
<!-- END updown_close -->

<!-- BEGIN u_open -->
<span style="text-decoration: underline">
<!-- END u_open -->
<!-- BEGIN u_close -->
</span>
<!-- END u_close -->

<!-- BEGIN i_open -->
<span style="font-style: italic">
<!-- END i_open -->
<!-- BEGIN i_close -->
</span>
<!-- END i_close -->

<!-- BEGIN color_open -->
<span style="color: {COLOR}">
<!-- END color_open -->
<!-- BEGIN color_close -->
</span>
<!-- END color_close -->

<!-- BEGIN size_open -->
<span style="font-size: {SIZE}; line-height: normal">
<!-- END size_open -->
<!-- BEGIN size_close -->
</span>
<!-- END size_close -->

<!-- BEGIN img -->
<img src="{URL}" border="0">
<!-- END img -->

<!-- BEGIN url -->
<a href="{URL}" target="_blank" class="postlink">{DESCRIPTION}</a>
<!-- END url -->

<!-- BEGIN email -->
<a href="mailto:{EMAIL}">{EMAIL}</A>
<!-- END email -->



this modifications you say dont works in this template:
Code:
#-----[ OPEN ]------------------------------------------
#
#  NOTE --- You need to do this for all of your installed template styles
#
templates/subSilver/bbcode.tpl
#
#================================================================================
#   MOD Section: quote_username_open
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN quote_username_open --></span>
<table
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<table
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 class="bodyline"
#
#-----[ FIND ]------------------------------------------
#
     <td><span class="genmed"><b>{USERNAME} {L_WROTE}:</b></span></td>
   </tr>
   <tr>
     <td class="quote"><!-- END quote_username_open -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
      <td class="helpline"><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>
   </tr>
   <tr>
     <td class="quote">
<script type="text/javascript">
<!--
   SXBB[id].writeDiv();
//-->
</script><!-- END quote_username_open -->
#
#================================================================================
#   MOD Section: quote_open
#================================================================================
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN quote_open --></span>
<table
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<table
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 class="bodyline"
#
#-----[ FIND ]------------------------------------------
#
     <td><span class="genmed"><b>{L_QUOTE}:</b></span></td>
   </tr>
   <tr>
     <td class="quote"><!-- END quote_open -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
      <td class="helpline"><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>
   </tr>
   <tr>
     <td class="quote">
<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 ]------------------------------------------
#
<!-- BEGIN code_open --></span>
<table
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<table
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 class="bodyline"
#
#-----[ FIND ]------------------------------------------
#
     <td><span class="genmed"><b>{L_CODE}:</b></span></td>
   </tr>
   <tr>
     <td class="code"><!-- END code_open -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
      <td class="helpline"><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>
   </tr>
   <tr>
     <td class="code">
<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 ]------------------------------------------
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Apr 05, 2005 6:09 pm    Post subject: Re: Expand MOD in phpXP2 template Reply with quote

Sorry, don't like to get PMs asking me to answer support requests. Evil or Very Mad

Anyway...

It's just a simple HTML problem... something anyone running a website should know about.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
lord byron
Starter
Starter


Joined: 05 Apr 2005
Posts: 2

PostPosted: Tue Apr 05, 2005 6:55 pm    Post subject: Re: Expand MOD in phpXP2 template Reply with quote

sorry bored you, but i dont know you dont like pm Sad


i know few html , and i not see how resolve this ...thanks anyway
i thought put this problem here i help other users like me.


one more time sorry bored you
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Apr 05, 2005 7:45 pm    Post subject: Re: Expand MOD in phpXP2 template Reply with quote

lord byron wrote:
sorry bored you, but i dont know you dont like pm Sad

General support requests via PM are often ignored/rejected in many other places.


lord byron wrote:
i thought put this problem here i help other users like me.

Sorry, don't have the time to analize how phpXP2 is implemented. Anyway, there was a similar problem posted by deny in the Release Topic over at phpBB site. Read pages 1 and 2 to get the idea...

http://www.phpbb.com/phpBB/viewtopic.php?t=229348

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
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