| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 7912|Reply: 4
Collapse the left

How to configure Replies and Views On the left side of Thread title

[Copy link]
Post time: 2013-12-29 18:14
| Show all posts |Read mode
Edited by Mypaper at 2014-1-3 14:21

How to configure Replies and Views On the left side of Thread title which you can be seen in following figure
   
I do not think it is a plugin  and it seems to be a property in Discuz!

The pictures are related to a dead site in X1.5






This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 China

Post time: 2014-01-02 05:36
| Show all posts
I don't get your idea clearly. But if you want to edit the CSS of list page. you can edit templates which start with 'forumdisplay_xxxx.htm' under folder '\template\[your template or default]\forum\'.  
Post time: 2014-01-02 13:21
| Show all posts
CSS and HTM mod files only!!!!
Post time: 2014-01-02 16:00
| Show all posts
Edited by Ananthavas at 2014-1-2 18:22

I think this can be achieved by editing this file: 'template/default/forum/forumdisplay_list.htm' (not sure though)
The code seems to be this one:
  1. <div class="hm">
  2.                     <span class="xg1">{lang show}:</span> <span class="xi1">$_G[forum_thread][views]</span><span class="pipe">|</span><span class="xg1">{lang reply}:</span> <span class="xi1">$_G[forum_thread][replies]</span>
  3.                 </div>
Copy the Code
I got this from viewthread.htm ,which is located on the above directory..
That code is used on viewthread.htm for displaying this thing:


So probably that code can also be used on forumdisplay_list.htm ..
Take time & try with those codes on a TEST site.. & implement it on ur Live site if it becomes successful..
Hope it helps...

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
Post time: 2014-01-07 02:12
| Show all posts
@Ananthavas wrong way. I see that you want to use:
  1. <!-- topic views --> $_G[forum_thread][views] <!--/ topic views -->
Copy the Code
  1. <!-- topic replies --> $_G[forum_thread][allreplies] <!--/ topic replies -->
Copy the Code
These codes works for individual statistics only.
Try to use following
  1. <td class="num"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[allreplies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em></td>
Copy the Code

Rate

Number of participants 1Rating +1 Collapse Reason
Ananthavas + 1 Powerfull!

View Rating Log

You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 04:17 GMT+3 , Processed in 0.054370 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list