Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 post date placement [SOLVED] , html templates
#
http://dreamtesting.jcink.net/index.php?sh...5&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!


This post has been edited by nixodesse: Sep 9 2017, 03:15 PM
PM
#
Bump~
PM
#
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.

signature
email: admin@jcink.com :: blog: John C.
#
Ahhh worked like a charm thanks so much for explaining it!!!!
PM
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll