Coding-Spot

You are not connected. Please login or register

 
 
 

how to modify text date and time in latest topic?

Message (Page 1 of 1)

#1

weeknight

weeknight
 
Senior Member

Posted May 29th 2013, 3:56 pm

 
hello all i want to ask :)

how to modify text date and time in latest topic?
more details see this pic:
how to modify text date and time in latest topic? A0NAjsC

how to be like that?

please help me :)

thanks before ^_^

my forum:
http://budokai.indonesianforum.net/

my code mod_rcent_topic
Code:
<!-- BEGIN scrolling_row -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catLeft" height="25">
         <span class="genmed module-title">{L_RECENT_TOPICS}</span>
      </td>
   </tr>
   <tr>
      <td class="row1" align="left" id="comments_scroll_div">
         <!-- BEGIN recent_topic_row -->
         » <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_TITLE}" title="{scrolling_row.recent_topic_row.L_TITLE}">{scrolling_row.recent_topic_row.L_TITLE}</a><br />
         <img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY} 

         <!-- BEGIN switch_poster -->
         <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.switch_poster.U_POSTER}">{scrolling_row.recent_topic_row.switch_poster.S_POSTER}</a><br /><br />
         <!-- END switch_poster -->

         <!-- BEGIN switch_poster_guest -->
         {scrolling_row.recent_topic_row.switch_poster_guest.S_POSTER}<br /><br />
         <!-- END switch_poster_guest -->

         <!--
         <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_POSTER}">{scrolling_row.recent_topic_row.S_POSTER}</a><br /><br />
         -->
         <!-- END recent_topic_row -->
      </td>
   </tr>
</table>

<script type="text/javascript">
//<![CDATA[
$(function(){
   div_marquee('comments_scroll_div', 'comments_scroll_container', '{SCROLL_WAY}', '{SCROLL_STEP}', '{SCROLL_DELAY}', '{SCROLL_HEIGHT}', 'genmed');
});
//]]>
</script>
<!-- END scrolling_row -->

<!-- BEGIN classical_row -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catHead" height="25"><span class="genmed"><b><center>{L_RECENT_TOPICS}</center></b></span></td>
   </tr>
   <tr>
      <td class="row1" align="left"><span class="gensmall" id="sejajar">
      <!-- BEGIN recent_topic_row -->
      » <a href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a><br />{BY}&nbsp;

      <!-- BEGIN switch_poster -->
      <a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>
      <!-- END switch_poster -->

      <!-- BEGIN switch_poster_guest -->
      {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
      <!-- END switch_poster_guest -->

      {ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />

      <!--
      <a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</a> {ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />
      -->
      <!-- END recent_topic_row -->
      </span></td>
   </tr>
</table>
<!-- END classical_row -->





#2

Mark

Mark
 
Administrator
Administrator

Posted May 29th 2013, 4:01 pm

 
Find this on your mod_recent_topics template and remove it: (There are 2, remove them; remove the space between the & and r since it appears on the post as a symbol)
Code:
& raquo;

Now find this:
Code:
{classical_row.recent_topic_row.S_POSTTIME}

Replace it with this:
Code:
<br/>{classical_row.recent_topic_row.S_POSTTIME}



https://coding-spot.darkbb.com


#3

weeknight

weeknight
 
Senior Member

Posted May 29th 2013, 4:19 pm

 
hello mr.mark, step 2 done, and work :)
how to modify text date and time in latest topic? RcTTOy9

but in step 1 im cant find
Code:
& raquo;

and i find this
Code:
& nbsp;

my mod
Code:
<!-- BEGIN scrolling_row -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
      <td class="catLeft" height="25">
        <span class="genmed module-title">{L_RECENT_TOPICS}</span>
      </td>
  </tr>
  <tr>
      <td class="row1" align="left" id="comments_scroll_div">
        <!-- BEGIN recent_topic_row -->
        » <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_TITLE}" title="{scrolling_row.recent_topic_row.L_TITLE}">{scrolling_row.recent_topic_row.L_TITLE}</a><br />
        <img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY}

        <!-- BEGIN switch_poster -->
        <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.switch_poster.U_POSTER}">{scrolling_row.recent_topic_row.switch_poster.S_POSTER}</a><br /><br />
        <!-- END switch_poster -->

        <!-- BEGIN switch_poster_guest -->
        {scrolling_row.recent_topic_row.switch_poster_guest.S_POSTER}<br /><br />
        <!-- END switch_poster_guest -->

        <!--
        <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_POSTER}">{scrolling_row.recent_topic_row.S_POSTER}</a><br /><br />
        -->
        <!-- END recent_topic_row -->
      </td>
  </tr>
</table>

<script type="text/javascript">
//<![CDATA[
$(function(){
  div_marquee('comments_scroll_div', 'comments_scroll_container', '{SCROLL_WAY}', '{SCROLL_STEP}', '{SCROLL_DELAY}', '{SCROLL_HEIGHT}', 'genmed');
});
//]]>
</script>
<!-- END scrolling_row -->

<!-- BEGIN classical_row -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
      <td class="catHead" height="25"><span class="genmed"><b><center>{L_RECENT_TOPICS}</center></b></span></td>
  </tr>
  <tr>
      <td class="row1" align="left"><span class="gensmall" id="sejajar">
      <!-- BEGIN recent_topic_row -->
        » <a href="{classical_row.recent_topic_row.U_TITLE}"><strong>{classical_row.recent_topic_row.L_TITLE}</strong></a><br />Author&nbsp;

      <!-- BEGIN switch_poster -->
      <a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>
      <!-- END switch_poster -->

      <!-- BEGIN switch_poster_guest -->
      {classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
      <!-- END switch_poster_guest -->

      {ON} <br/>{classical_row.recent_topic_row.S_POSTTIME}<br /><br />

      <!--
      <a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</a> {ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />
      -->
      <!-- END recent_topic_row -->
      </span></td>
  </tr>
</table>
<!-- END classical_row -->

please help me mr.mark, thanks ^_^





#4

Mark

Mark
 
Administrator
Administrator

Posted May 29th 2013, 5:03 pm

 
Find this on your mod_recent_topics template and remove it: (There are 2, remove them; remove the space between the & and r since it appears on the post as a symbol)

Smile



https://coding-spot.darkbb.com


#5

weeknight

weeknight
 
Senior Member

Posted May 29th 2013, 6:27 pm

 
yes, no wim understand, im remove this »

, but can you help me for this topic mr.mark.
https://coding-spot.darkbb.com/t195-date-and-time-in-latest-topic-not-align#1216

please :(

thanks before ^_^





#6

Mark

Mark
 
Administrator
Administrator

Posted May 29th 2013, 6:41 pm

 
So is this solve now? Happy



https://coding-spot.darkbb.com


#7

weeknight

weeknight
 
Senior Member

Posted May 29th 2013, 7:38 pm

 
yes, this problem solved mr.mark :)

but, help me for similar this topic :(
https://coding-spot.darkbb.com/t195-date-and-time-in-latest-topic-not-align#1218

arigatou gozaimasu ^_^





#8

tommycoo

tommycoo
 
CS Staff
CS Staff

Posted May 29th 2013, 9:28 pm

 
~Topic solved and archives



http://atlanta.forumid.net/


#9

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None