vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Move Sub-forums listing below threads... (vB4) (https://vborg.vbsupport.ru/showthread.php?t=251127)

BirdOPrey5 07-24-2011 12:39 PM

Have you tried VSa Subforum Manager - https://vborg.vbsupport.ru/showthread.php?t=236960 ?

Randomm 07-24-2011 11:32 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2224285)
Have you tried VSa Subforum Manager - https://vborg.vbsupport.ru/showthread.php?t=236960 ?

I have and I believe I either have that installed or something similar. But that only arranges the subforums in forumhome.

spencerp 09-22-2011 10:08 PM

Thank you for this article, I've been looking for this!! :) :D Question though, is there away to prevent certain usergroups from posting new threads in certain main forum areas, whilst still allowing only staff usergroups to post? So those forum areas don't have to be turned off, via admincp? I was thinking of something like...

Code:

<vb:if condition="$show['guest']">
Show this to only guest.

<vb:elseif condition="is_member_of($bbuserinfo, 5,6)" />
Show this to user group 5 and 6 which is  mods and admins

<vb:else />
Show this to all registered users

</vb:if>

But have it like: IF staff usergroup(5,6,7) allow posting in forums(15,16,7) deny any regular usergroups (1,2,3,4) posting in (15,16,17). Then all other forums will be allowed as normal for all usergroups... Really, it's just mainly the main forums containing sub forums. And to only allow the staff to be able to post new "rules/stickies" in those forums at the top. Without having to shut off those main forum areas from regular users posting new threads... I rather not have to turn off those areas and then turn them back on again later, if a staff needs to post new rules there or whatever... Is this possible? Thanks

Edit: I guess I could just change the forum permissions on each usergroup, denying them the ability to post in those forums lmfao... *slaps forehead* LOL! I guess I just wanted to play with code hahaha... :P Nah, I just wanted to not have to change so many permissions, although it's probably the easiest route...

BirdOPrey5 09-23-2011 11:08 AM

Quote:

Originally Posted by spencerp (Post 2249081)
Thank you for this article, I've been looking for this!! :) :D Question though, is there away to prevent certain usergroups from posting new threads in certain main forum areas, whilst still allowing only staff usergroups to post? So those forum areas don't have to be turned off, via admincp? I was thinking of something like...

Your question has nothing to do with moving sub-forums below thread listings. Please make your own thread in an appropriate section, perhaps VB4 General Discussion.

spencerp 09-23-2011 11:22 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2249227)
Your question has nothing to do with moving sub-forums below thread listings. Please make your own thread in an appropriate section, perhaps VB4 General Discussion.

my bad, since you're mod can you just break my post from your precious thread into general discussion? geesh... someone woke up on wrong side of bed today, that or didnt get nookie yet... LOL!! not sure what some peoples issues are, they so damn cocky and pissy with people.. its bs...

BirdOPrey5 09-23-2011 11:34 AM

No I won't move your post. I also suggest an attitude change.

spencerp 09-23-2011 11:36 AM

i wasn't having an attitude tho! i was being nice in the thread... you're the one that gave the attitude... LOL! ya get what ya give...i was merely asking for that coding help, because it was pertaining to your modification... but later realized, I could probably just do it with forum permissions anyway based on usergroups... i didn't have an attitude originally... its just lately, everyone just seems to be cocky. and it's frustrating.

BirdOPrey5 09-23-2011 11:40 AM

You posted a question that has absolutely nothing to do with my mod. Nothing at all- Not even a little bit. I simply asked you post your question in an appropriate location- I didn't give any attitude.

Please just stop posting in my thread unless it has to do with this mod, thanks.

SpikedRocker 11-29-2011 05:12 PM

Question:

In my template it looks like this:
Code:

<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
        <div class="forumhead">
                <h2>
                        <span class="forumtitle">{vb:rawphrase subforums}</span>
                        <span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
                        <span class="forumlastpost">{vb:rawphrase last_post}</span>
                </h2>
        </div>
        <ol>
                {vb:raw forumbits}
        </ol>
</div>
{vb:raw template_hook.forumdisplay_below_subforums}
</vb:if>

This is a customized forum style, but it appears they've linked the display for above and below subforum in the same $forumbits condition?

When I made the changes listed here, all it did for me was move the forum title to where the thread is, and did not move the threads at all.

I am assuming the way this style is coded I cannot do this because I am moving both parts instead of the sub-forums?

BirdOPrey5 11-30-2011 06:14 PM

I don't know how your custom style should work so unfortunately I don't have any suggestions.


All times are GMT. The time now is 08:08 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.01639 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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