Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderators shown under Forum Description Details »»
Moderators shown under Forum Description
Version: 1.10, by Snort_2005 Snort_2005 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 08-29-2005 Last Update: 09-14-2005 Installs: 38
Template Edits
 
No support by the author.

Hmm.. don't know if this is a forum home template mod as it also edits a forumdisplay template as well.

Ever wanted the forum moderators to show up underneath the forum description on your forum skin? Well, It is possible with template edits.

Installation:


</p>
  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:
    Code:
    	  <if condition=&quot;$vboptions['showmoderatorcolumn']&quot;>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    	  <td class=&quot;thead&quot;>$vbphrase[moderator]</td>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    	  </if>
  6. Find: (3x)
    Code:
    <if condition=&quot;$vboptions['showmoderatorcolumn']&quot;>6<else />5</if>
  7. Change to:
    Code:
    5
  8. Save the template bit.
  9. Double-click the template: forumhome_forumbit_level1_nopost
  10. Find:
    Code:
    <if condition=&quot;$vboptions[showmoderatorcolumn]&quot;>6<else />5</if>
  11. Change to:
    Code:
    5
  12. Save the template bit.
  13. Double-click the template: forumhome_forumbit_level1_post
  14. Find:
    Code:
    		 <if condition=&quot;$show['subforums']&quot;><div class=&quot;smallfont&quot; style=&quot;margin-top:$stylevar[cellpadding]px&quot;><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
  15. Add Below:
    Code:
    		 <if condition=&quot;$forum[moderators]&quot;><br /><div class=&quot;smallfont&quot;><b>$vbphrase[moderator]s:</b> $forum[moderators]</div></if>
  16. Find and delete:
    Code:
    		<if condition=&quot;$vboptions['showmoderatorcolumn']&quot;>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    		<td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$forum[moderators]&nbsp;</div></td>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    		</if>
  17. Save the template bit.
  18. Double-click the template: forumhome_forumbit_level2_nopost
  19. Find:
    Code:
    <if condition=&quot;$vboptions['showmoderatorcolumn']&quot;>5<else />4</if>
  20. Change to:
    Code:
    5
  21. Save the template bit.
  22. Double-click the template: forumhome_forumbit_level2_post
  23. Find:
    Code:
    		<if condition=&quot;$show['subforums']&quot;><div class=&quot;smallfont&quot; style=&quot;margin-top:$stylevar[cellpadding]px&quot;><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
  24. Add Below:
    Code:
    		<if condition=&quot;$forum[moderators]&quot;><br /><div class=&quot;smallfont&quot;><b>$vbphrase[moderator]s:</b> $forum[moderators]</div></if>
  25. Find and delete:
    Code:
    	<if condition=&quot;$vboptions['showmoderatorcolumn']&quot;>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    	<td class=&quot;alt1&quot;><div class=&quot;smallfont&quot;>$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:
    Code:
    	  <if condition=&quot;$vboptions[showmoderatorcolumn]&quot;>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    	  <td class=&quot;thead&quot;>$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:
    Code:
    <if condition=&quot;$vboptions['showmoderatorcolumn']&quot;>6<else />5</if>
  33. Change to:
    Code:
    5
  34. Save that template bit.
  35. Repeat for additional styles.
Enjoy!


Live Demo: http://www.zcworld.net


Update: Fixed the table inside the UserCP If user has subscribed forums.


NOTE: My forum is using a template alteration where you can collapse the forum descriptions and the thread/reply count away and not be bothered by them so I really need an actual LIVE DEMO. Thank you.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-09-2005, 12:38 AM
Snort_2005 Snort_2005 is offline
 
Join Date: May 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
Its working fine but I have one more question.

I want to but an if clause around all this cause I only want to display MODERATORS if a forum really has one.

It should not display anything if there are no moderators for a board.

Can someone help?
I have included an if condition that does that already. o_O Maybe you copied the wrong code. Check your edits against the ones in the .txt

For some odd reason, this site changed my " to &quot; when I posted the code in the modification itself. :[
Reply With Quote
  #23  
Old 10-11-2005, 09:16 AM
dr_way dr_way is offline
 
Join Date: Oct 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can i find this for vb3.0.9?
Reply With Quote
  #24  
Old 10-11-2005, 11:40 AM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Currently like I have it on my own site where I placed forum descriptions inside their own cell along with the topic/post count also on that row.. and then the ability to collapse those away?
Was wondering if you were going to release that as a template release? Like how its done, and would like to implement it onto my site. Thanks.
Reply With Quote
  #25  
Old 10-12-2005, 12:18 PM
Snort_2005 Snort_2005 is offline
 
Join Date: May 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sooner95
Was wondering if you were going to release that as a template release? Like how its done, and would like to implement it onto my site. Thanks.
Well, I could. Would require me to write another mod. However, It's more than just a forum home modification.. It affects a page in the UserCP as well as Forumdisplay.

Quote:
Originally Posted by dr_way
where can i find this for vb3.0.9?
If I'm not mistaken, the templates that I edit may not have changed since 3.0.x so you can try putting this on your forum.
Reply With Quote
  #26  
Old 10-17-2005, 04:56 AM
Ben5150 Ben5150 is offline
 
Join Date: Jan 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok on this script: Double-click the template: forumhome_forumbit_level1_nopost
10. Find:

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

11. Change to:

5


Question where does the 5 go in where the 6 is or the 5 or change it all together
Reply With Quote
  #27  
Old 10-17-2005, 01:29 PM
Snort_2005 Snort_2005 is offline
 
Join Date: May 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ben5150
Ok on this script: Double-click the template: forumhome_forumbit_level1_nopost
10. Find:

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

11. Change to:

5



Question where does the 5 go in where the 6 is or the 5 or change it all together
You want to remove the if conditional as my template mod makes it useless.
Reply With Quote
  #28  
Old 10-17-2005, 02:27 PM
Ben5150 Ben5150 is offline
 
Join Date: Jan 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wont work for me uninstall
Reply With Quote
  #29  
Old 10-19-2005, 09:47 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your forumhome_forumbit_level2_nopost template edit seems incorrect to me.?
HTML Code:
19. Find:

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

20. Change to:

5
I'm sure that should be:
HTML Code:
19. Find:

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

20. Change to:

4
You're also missing a second template edit in USERCP, you should additionally find and remove this:
HTML Code:
		<if condition="$vboptions['showmoderatorcolumn']">
		<td class="thead" width="20%">$vbphrase[moderator]</td>
		</if>
Reply With Quote
  #30  
Old 10-26-2005, 10:47 AM
nobita's Avatar
nobita nobita is offline
 
Join Date: Aug 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack not for vb3.5 Gold?
Reply With Quote
  #31  
Old 10-26-2005, 07:32 PM
SpaceStar SpaceStar is offline
 
Join Date: Apr 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:30 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
  • Page Generation 0.06038 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (16)bbcode_code
  • (3)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete