vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Moderators shown under Forum Description (https://vborg.vbsupport.ru/showthread.php?t=95313)

Snort_2005 10-09-2005 12:38 AM

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 " when I posted the code in the modification itself. :[

dr_way 10-11-2005 09:16 AM

where can i find this for vb3.0.9?

Sooner95 10-11-2005 11:40 AM

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.

Snort_2005 10-12-2005 12:18 PM

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. :p Would require me to write another mod. :p However, It's more than just a forum home modification.. It affects a page in the UserCP as well as Forumdisplay. :p

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.

Ben5150 10-17-2005 04:56 AM

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

Snort_2005 10-17-2005 01:29 PM

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. :p

Ben5150 10-17-2005 02:27 PM

wont work for me :( uninstall

Oblivion Knight 10-19-2005 09:47 AM

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>

;)

nobita 10-26-2005 10:47 AM

This hack not for vb3.5 Gold?

SpaceStar 10-26-2005 07:32 PM

Installed and working :)


All times are GMT. The time now is 07:59 AM.

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.01089 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete