PDA

View Full Version : How to rwmove date under the thread name in FORUMDISPLAY ?


ka81
10-13-2016, 05:24 PM
How to rwmove date under the thread name in FORUMDISPLAY ?

Hello.
When you go to any forum you get to page where:
in the left column there are names of threads. Under that name of every thread there is a nickname of topicstarter, date of creating topic, page icons if there more then 1 page.


Question is - how to remove date from there?

I guess I need to delete some code in FORUMDISPLAY template, but I just can't understant what exactly to delete..

--------------- Added 1476388175 at 1476388175 ---------------

i see it in threadbit template, but if I delete {vb:raw thread.startdate}, {vb:raw thread.starttime}, and next {vb:raw thread.startdate} then on forumdisplay it will show me: [ARG:5 UNDEFINED], ‎ [ARG:4 UNDEFINED]

--------------- Added 1476388270 at 1476388270 ---------------

<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:stylevar dirmark}}
</vb:if>

Seven Skins
10-13-2016, 06:59 PM
Find this code in threadbit template and remove or comment it out..



<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
</vb:if>




<vb:comment>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
</vb:if>
</vb:comment>




For me there are no error messages showing up..



.

ka81
10-13-2016, 07:08 PM
I need to remove only date. With your code it will remove also a nickname of topicstarter...

Seven Skins
10-13-2016, 07:37 PM
Replace those variables with null and you will be left with , (comma) after the name.

<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, null, null, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername},null, {vb:stylevar dirmark}}
</vb:if>