форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.6.x > vBulletin [3.6] Troubleshooting and Problems
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
mad@Max
Эксперт
 
mad@Max's Avatar
Default Модераторы под разделами
0

На форуме много подобных тем, но тут ее нет
А вопрос таков, как сделать отображение модераторов раздела под названием раздела (на главной). В данном случае ситуация сложней, используется не стандартный стил и в шаблонах нет moderatorcolumn.
Можно, пожалуйста подробней описать, как сие реализовать?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kirbak
Продвинутый
 
kirbak's Avatar
Default
2

Quote:
Installation:

1. Login to your Admin Control panel and open the style manager.
2. Edit the templates of the style you wish to apply this to.
3. Double-click Forum Home Templates to expand it.
4. Double-click the template: FORUMHOME
5. Find and delete:

<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>

6. Find: (3x)

<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>

7. Change to:

5

8. Save the template bit.
9. Double-click the template: forumhome_forumbit_level1_nopost
10. Find:

<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>

11. Change to:

5

12. Save the template bit.
13. Double-click the template: forumhome_forumbit_level1_post
14. Find:

<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

15. Add Below:

<if condition="$forum[moderators]"><br /><div class="smallfont"><b>$vbphrase[moderator]s:</b> $forum[moderators]</div></if>

16. Find and delete:

<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>

17. Save the template bit.
18. Double-click the template: forumhome_forumbit_level2_nopost
19. Find:

<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>

20. Change to:

5

21. Save the template bit.
22. Double-click the template: forumhome_forumbit_level2_post
23. Find:

<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

24. Add Below:

<if condition="$forum[moderators]"><br /><div class="smallfont"><b>$vbphrase[moderator]s:</b> $forum[moderators]</div></if>

25. Find and delete:

<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>

26. Double-click Forum Display Templates to expand it.
27. Double-click the template bit: FORUMDISPLY
28. Find and delete:

<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>

29. Save that template bit.
30. Double-click User Control Panel Templates to expand it.
31. Double-click the template bit: USERCP
32. Find:

<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>

33. Change to:

5

34. Save that template bit.
35. Repeat for additional styles.

Installation is complete!
 
 
mad@Max
Эксперт
 
mad@Max's Avatar
Default
0

Спасибо, попробую;)

Добавлено через 3 часа 46 минут
Неа, не работает:( В стандарте работает, а тут нет. Пришлось выдерать фразы из стандарта и вставлять, но зато работает

Last edited by mad@Max : 09-14-2007 at 10:33 PM. Reason: Добавлено сообщение
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 10:17 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...