Printable Version of Topic
Click here to view this topic in its original format
Jcink.com Forums > General Support > post date placement [SOLVED]


Posted by: nixodesse Sep 9 2017, 09:11 AM
http://dreamtesting.jcink.net/index.php?showtopic=25&st=0&#entry38

Hi there, so I was wondering if there was a way to get the date of member's posts to appear always directly under the member's mini profiles. Currently, I have the <!-- |post_date| --> field in my mini profile's html template, which i know won't work as you tell since it does not show the date of the post. I know it needs to be placed someone in the post row html template to work properly, but I am unsure how I can do this while making sure it appears directly under the member's avatar/mini profile always! I tried to insert the field a few different times into the post row section, but can't seem to get the placement right when I do this, so I'd greatly appreciate it if someone knows how to do this!

post row html template:

CODE
<div class='g-<!-- |g_id| -->'><div class="gs-cstpst-cont">
<div class="gs-cstpst-info"><div class="dl-det"> PLAYED BY <!-- |field_4| --> <i>//</i> <!-- |field_11| --> <i>//</i> <!-- |field_13| --> <i>//</i> <!-- |field_16| --> <i>//</i> <!-- |field_32| --> <i>//</i> <!-- |field_33| --></div>
<div class="gs-cstpst-iinfo">
  <div class="gs-cstpst-iname"><!-- |name_prefix| --><a href="/index.php?showuser=<!-- |poster_id| -->"><!-- |name| --></a><!-- |name_suffix| --></div>

</div>
</div>
<div class="gs-cstpst-minip">
<!-- |mini_profile| -->
</div>
<div class="gs-cstpst-cntnt">
<div id="pid_<!-- |pid| -->"><!-- THE POST <!-- |pid| --> --><div class='postcolor'><!-- |post| --></div><!-- THE POST --></div>
</div>
<div class="gs-cstpst-btm1">
<div class="gs-cstpst-btmr"><div class="gs-center"><!-- |mod_checkbox| --></div></div>
<div class="gs-cstpst-btmm"><div class="gs-center"><!-- |delete_button| --> <!-- |edit_button| --> <!-- |report_link| --> <!-- |quote_button| --></div></div>
</div>
</div></div>



mini profile html template:

CODE
<center><div class='g-<!-- |g_id| -->'>




<div class="gs-cstpst-igif">
    <span class="gs-cstpst-igifrsz">
    <img src="<!-- |field_17| -->" />
   </span>
  </div>

<div id="ccmin"><div class="ccmin-one">
         <img src="<!-- |field_29| -->" />
 <div class="ccmin-four"><div class="ccmin-five"></div><div class="ccmin-six"><img src="<!-- |field_30| -->" style="width: 80px; height: 80px;"></div><div class="ccmin-seven"><div class="ccmin-eight"></div><table cellspacing="0" cellpadding="0"><th><div class="ccmin-nine"><!-- |prefix| -->
<a href="<!-- |field_9| -->">want ad</a>
<br>
<a href="<!-- |field_8| -->">dev. board</a>
<br>
<!-- |status| -->
<br>
<a href="/index.php?act=Msg&CODE=04&MID=<!-- |id| -->">message</a>
<!-- |suffix| --></div></th><th><div class="ccmin-ten"><div class="ccmin-eleven"><!-- |prefix| --><!-- |posts| --><!-- |suffix| --></div><div class="ccmin-twelve">POSTS</div><div class="ccmin-thirteen"></div><div class="ccmin-eleven"><!-- |prefix| --><!-- |field_10| --><!-- |suffix| --></div> <div class="ccmin-twelve">YEARS</div></div></th></table><div class="ccmin-fourteen"><!-- |prefix| --><a href="<!-- |field_7| -->">PLOT WITH ME!</a><!-- |suffix| --></div></div></div></div></div>
<div class="time-fa"><i class="fa fa-clock-o"></i><div class="time-center"><!-- |post_date| --></div></div>

</center>


css available upon request!

Posted by: nixodesse Sep 12 2017, 08:19 AM
Bump~

Posted by: John Sep 13 2017, 10:55 AM
Take this and remove it from the mini profile template:

CODE
<div class="time-fa"><i class="fa fa-clock-o"></i><div class="time-center"><!-- |post_date| --></div></div>

</center>


Now in the post row template find:

CODE
<div class="gs-cstpst-minip">
<!-- |mini_profile| -->
</div>


Change it to:

CODE
<div class="gs-cstpst-minip">
<!-- |mini_profile| -->
<div class="time-fa"><i class="fa fa-clock-o"></i><div class="time-center"><!-- |post_date| --></div></div>

</center>
</div>


Here we are just splitting a small part off of the mini profile into the post template and finishing it off outside of the mini profile variable.

Posted by: nixodesse Sep 14 2017, 08:52 PM
Ahhh worked like a charm thanks so much for explaining it!!!!

Posted by: John Sep 14 2017, 09:41 PM
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

'
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)