Notifications
Clear all

Suggestion User's post count in simplified layout

11 Posts
3 Users
5 Likes
752 Views
selsebil
Posts: 61
Topic starter
(@selsebil)
Trusted Member
Joined: 1 year ago

Dear wpforo developers,

I like simplified layout than others. But simplified layout don't show the post count of users. So, I am obliged to use extended layout. But I like simplified layout's appearance. Can you add this feature also to simplified layout?

10 Replies
Tutrix
Posts: 756
(@tutrix)
Prominent Member
Joined: 2 years ago

@selsebil

you can customize the post.php from layout 2

/wp-content/plugins/wpforo/wpf-themes/classic/layouts/2

open the post.php from layout 2 with an Editor

search for

<div class="author-title">
<?php wpforo_member_title($member) ?>
</div>

add after

<div class="author-posts"><?php wpforo_phrase('Posts') ?>: <?php echo intval($member['posts']) ?></div>
  1. Create / wpforo / folder in your current active theme folder.
  2. Create / layouts / folder in / wpforo / folder
  3. Create / 2 / folder in / wpforo / layouts / folder
  4. add the customize post.php in this folder

looks like this

wp-content / themes / your aktiv theme / wpforo / layouts / 2 / post.php

Theme Customization

Reply
9 Replies
Macky
(@percysgrowroom)
Joined: 3 years ago

Noble Member
Posts: 951

@tutrix This guy is a legend!

Reply
selsebil
(@selsebil)
Joined: 1 year ago

Trusted Member
Posts: 61

@tutrix Thank you for answer. One more question; If the plugin takes update, will the customization be cancelled?

Reply
Tutrix
(@tutrix)
Joined: 2 years ago

Prominent Member
Posts: 756

@selsebilย 

if you did it as described above, no

Theme Customization (upgrade-safe way)

Reply
selsebil
(@selsebil)
Joined: 1 year ago

Trusted Member
Posts: 61

@tutrix I made your instructions, but it did not worked. Photo is attached. Check it please

Reply
Tutrix
(@tutrix)
Joined: 2 years ago

Prominent Member
Posts: 756

@selsebilย 

if you did everything right it works 😉ย 
clear forum and browser cache

Reply
selsebil
(@selsebil)
Joined: 1 year ago

Trusted Member
Posts: 61

@tutrix Is my attached photo's customization correct? Is it true that the line begins from the far left? I suspect only my post.php regulation.

Reply
Tutrix
(@tutrix)
Joined: 2 years ago

Prominent Member
Posts: 756

@selsebilย 

yes is correct
if you are using a cache plugin, remove the forum from it

>>>>ย wpForo and Cache Plugins <<<<

Reply
selsebil
(@selsebil)
Joined: 1 year ago

Trusted Member
Posts: 61

@tutrix I cleared the cache and perform CTRL+F5, and open the page in incognito tab, But I didn't accomplish

Reply
Tutrix
(@tutrix)
Joined: 2 years ago

Prominent Member
Posts: 756

@selsebilย 

give us a link to your forum

Reply
Share: