![]() |
how can i change the num threads/posts in the private forum to other text
hi,
in the private forum, if i set "show private forum" with "yes - hide post count" option in the admincp, the number of posts to displyed is 0 threads and 0 posts... how can i change the "0 threds" and "0 posts" in private forum to other text ? (like "do not have a permission to view number of thread/posts"...) does anyone have an idea ?:) |
You would probably have to do a template edit to change it for that forum.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.) |
ok, but if I change this:
Code:
<ul class="forumstats td"> Code:
<ul class="forumstats td"> |
You will need to make a condition to do that for only the forumids you want to show it to.
Code:
<vb:if condition="$variable['forumid'] == x"> |
Sorry, this is a relevant code from"forumhome_forumbit_level2_post" themplate.
Code:
</div> How do I know what is $variable ? |
It looks like $forum would be the variable to use.
|
now it's worked.
Lynne, Thank you very much for the help ! |
All times are GMT. The time now is 09:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|