vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help ! (https://vborg.vbsupport.ru/showthread.php?t=315659)

nisan3232 11-27-2014 07:41 AM

Help !
 
Hi,
I want to make my community will anyone who runs under sub-forums
You can help?

ver : 3.8.4

Phillip 11-27-2014 02:10 PM

Quote:

Originally Posted by nisan3232 (Post 2524389)
Hi,
I want to make my community will anyone who runs under sub-forums
You can help?

ver : 3.8.4

I'm not sure of your question here.

ozzy47 11-27-2014 03:40 PM

Yes, please explain in a bit more detail of what it is you are wanting to do.

nisan3232 11-28-2014 10:36 AM

i want all admins forums Under sub-forum

Dave 11-28-2014 10:42 AM

It's still not clear what you want. Perhaps show some screenshots?

Phillip 11-28-2014 12:57 PM

Quote:

Originally Posted by nisan3232 (Post 2524596)
i want all admins forums Under sub-forum

You want sub-forums similar to here on vb.org? Or something completely different?
I'm still not understanding this question at all.

Lynne 11-28-2014 06:50 PM

Perhaps an image of what you want would help.

HM666 11-29-2014 02:11 AM

1 Attachment(s)
You want the moderator list under the sub forums? Like so in the attachment...

blind-eddie 11-29-2014 01:00 PM

Best game of Charades ever!

I know this will get deleted... I just had to, sorry.

Phillip 11-29-2014 01:37 PM

Quote:

Originally Posted by HM666 (Post 2524679)
You want the moderator list under the sub forums? Like so in the attachment...

So asking this on someone else's thread is reasonable?

ozzy47 11-29-2014 01:47 PM

Quote:

Originally Posted by GhostX (Post 2524752)
So asking this on someone else's thread is reasonable?

H was asking the OP if that is what he was talking about.

Phillip 11-29-2014 02:03 PM

Quote:

Originally Posted by ozzy47 (Post 2524754)
H was asking the OP if that is what he was talking about.

Ah, I didn't see the whole thing. :( Now that's going to look bad on me...I saw the question within the OP question.

ozzy47 11-29-2014 02:11 PM

This is why it is important to read through everything before jumping to conclusions. :)

Phillip 11-29-2014 02:42 PM

Quote:

Originally Posted by nisan3232 (Post 2524596)
i want all admins forums Under sub-forum


From what I can see from this little bit of information he wants his admin forums in sub-forums...maybe meaning he wants his admin forums he already has and change them into sub-forums instead of being on like category -> forum to category -> forum -> sub-forum looks like I could be mistaken still.

HM666 11-29-2014 04:57 PM

Quote:

Originally Posted by ozzy47 (Post 2524754)
H was asking the OP if that is what he was talking about.

Uh yeah. :) Just trying to decipher what he needs.

nisan3232 11-30-2014 06:50 AM

look photo :
https://vborg.vbsupport.ru/attachmen...0&d=1417234312

ozzy47 11-30-2014 09:10 AM

ACP --> Settings --> Options --> Forum Listings Display Options, set the setting Show Moderators to Yes.

nisan3232 11-30-2014 09:34 AM

ohh no i want in homeforum down sub-forum

ozzy47 11-30-2014 09:43 AM

IIRC If you have a parent forum, and any amount of sub forums in it, in order for the moderator to show up on the forum home page, they need to be set as a moderator of the parent forum. If you have them set as a moderator of only a subforum in the parent, they will not show on the forum home, but they will show up in forumdisplay.

ozzy47 11-30-2014 10:00 AM

1 Attachment(s)
Also you will not get that type of display you posted in the image with vB3, that has a separate column that shows the moderators

HM666 11-30-2014 12:42 PM

Quote:

Originally Posted by ozzy47 (Post 2524916)
Also you will not get that type of display you posted in the image with vB3, that has a separate column that shows the moderators

Yeah but I think he wants to code to show it under the subforums. I used to have that code for vb3 but have misplaced it. :(

ozzy47 11-30-2014 12:44 PM

I took a look around also but did not come up with anything.

ozzy47 11-30-2014 01:06 PM

1 Attachment(s)
Ok I found it.

In the template FORUMHOME find and delete:
HTML Code:

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

Save.

Then in the template forumhome_forumbit_level2_post find and delete:
HTML Code:

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

In the same template, find this bit of code:
HTML Code:

        <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
Right below it add this:
HTML Code:

        <if condition="$forum[moderators]">
            <div class="smallfont">
                <b>Moderators:</b>&nbsp;$forum[moderators]&nbsp;
            </div>
        </if>

Save.

Then you will get the results like I have below. :)

blind-eddie 11-30-2014 02:16 PM

Works perfectly, much better then an extra column.

ozzy47 11-30-2014 02:55 PM

Glad you found it useful as well. :)

nisan3232 11-30-2014 07:06 PM

Quote:

Originally Posted by ozzy47 (Post 2524967)
Ok I found it.

In the template FORUMHOME find and delete:
HTML Code:

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

Save.

Then in the template forumhome_forumbit_level2_post find and delete:
HTML Code:

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

In the same template, find this bit of code:
HTML Code:

        <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
Right below it add this:
HTML Code:

        <if condition="$forum[moderators]">
            <div class="smallfont">
                <b>Moderators:</b>&nbsp;$forum[moderators]&nbsp;
            </div>
        </if>

Save.

Then you will get the results like I have below. :)


tanks you dude !!

You can close the thread

ozzy47 11-30-2014 08:51 PM

Not a problem, glad to help. :)


All times are GMT. The time now is 09:29 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.01323 seconds
  • Memory Usage 1,785KB
  • 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
  • (8)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete