Notifications
Clear all

Suggestion [Closed] User's post count in simplified layout

11 Posts
3 Users
5 Reactions
1,471 Views
selsebil
Posts: 88
Topic starter
(@selsebil)
Estimable Member
Joined: 3 years 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: 1453
(@tutrix)
Noble Member
Joined: 5 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

9 Replies
(@percysgrowroom)
Joined: 6 years ago

Noble Member
Posts: 1187

@tutrix This guy is a legend!

selsebil
(@selsebil)
Joined: 3 years ago

Estimable Member
Posts: 88

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

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1453

@selsebil 

if you did it as described above, no

Theme Customization (upgrade-safe way)

selsebil
(@selsebil)
Joined: 3 years ago

Estimable Member
Posts: 88

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

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1453

@selsebil 

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

selsebil
(@selsebil)
Joined: 3 years ago

Estimable Member
Posts: 88

@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.

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1453

@selsebil 

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

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

selsebil
(@selsebil)
Joined: 3 years ago

Estimable Member
Posts: 88

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

Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1453

@selsebil 

give us a link to your forum