vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Move What's Going On? (https://vborg.vbsupport.ru/showthread.php?t=299348)

MistyMeanor 06-21-2013 08:06 PM

Arghhhh! I tried that and several other ways by leaving on some stuff </div> and such ... Nothing works. I cannot get the box to close... and then it makes my sidebar not work for some reason... I think because the box is not closed so the code is kind of interfering with the other home page codes.

This is how it looks... notice also the right side has a lot of white space, this is because when it's like this, the sidebar doesn't show until you scroll all the way down to the bottom, off the main forum area.

https://vborg.vbsupport.ru/external/2013/06/15.png

Amaury 06-21-2013 10:19 PM

Quote:

Originally Posted by MistyMeanor (Post 2429668)
Arghhhh! I tried that and several other ways by leaving on some stuff </div> and such ... Nothing works. I cannot get the box to close... and then it makes my sidebar not work for some reason... I think because the box is not closed so the code is kind of interfering with the other home page codes.

This is how it looks... notice also the right side has a lot of white space, this is because when it's like this, the sidebar doesn't show until you scroll all the way down to the bottom, off the main forum area.

http://img.photobucket.com/albums/v369/MistyMeanor/FORUM%20IMAGES/ScreenShot2013-06-21at44331PM.png

It may not be possible, then, to separate it, so it has to be all on the top or bottom.

ozzy47 06-21-2013 10:47 PM

I believe this may work for you.

In FORUMHOME find this:

HTML Code:

    <!-- what's going on box -->
    <div id="wgo" class="collapse wgo_block block">
        <h2 class="blockhead">{vb:rawphrase whats_going_on}</h2>
        <div class="blockbody formcontrols floatcontainer">
            {vb:raw template_hook.forumhome_wgo_pos1}
            <vb:if condition="$show['loggedinusers']">
            <!-- logged-in users -->
            <div id="wgo_onlineusers" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
                <div>
                    <p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
                    <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
                    <vb:if condition="$activeusers">
                    <ol class="commalist" id="wgo_onlineusers_list">
                        <vb:each from="activeusers" value="loggedin">
                            <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
                        </vb:each>
                    </ol>
                    </vb:if>
                </div>
            </div>
            <!-- end logged-in users -->
            </vb:if>
            {vb:raw template_hook.forumhome_wgo_pos2}
            <!-- Start Members Today -->
            <vb:if condition="$show['wgo_members']">
            <div id="wgo_wgo_members_users" class="wgo_subblock section collapse">
                <h3 class="blocksubhead"><a href="{vb:raw wgo_members.url}"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:phrase wgo_members_alt_title}"/></a>{vb:raw wgo_members.whotitle}</h3>
                <a class="collapse" id="collapse_wgo_members_list" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw wgo_members.collapse}.png" alt="" title="{vb:rawphrase collapse_expand}" /></a>
                <div id="wgo_members_list" {vb:raw wgo_members.style}>
                    <p>{vb:raw wgo_members.visitors}</p>
                    <vb:if condition="$vboptions['wgo_members_names']">
                        <vb:if condition="$wgo_members['totaltoday'] == 0">
                            {vb:phrase no_members_list}
                        <vb:else />
                            <ul class="commalist" id="wgo_wgo_members_list">
                                <vb:if condition="$wgo_members['template_hook']">
                                    {vb:raw wgo_members.template_hook}
                                <vb:else />
                                    <vb:each from="wgo_members_list" value="row">
                                        <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw row}}" title="{vb:raw row.wrdate}">{vb:raw row.musername}</a>{vb:raw row.markinv}{vb:raw row.comma}</li>
                                    </vb:each>
                                </vb:if>
                            </ul>
                        </vb:if>
                    <vb:else />
                        {vb:phrase member_list_disabled}
                    </vb:if>
                </div>
            </div>
            </vb:if>
            <!-- End Members Today -->
            {vb:raw template_hook.forumhome_wgo_pos6}
            <vb:if condition="$show['upcomingevents']">
            <div id="wgo_events" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
                <ol>
                    {vb:raw upcomingevents}
                </ol>
            </div>
            </vb:if>
            {vb:raw template_hook.forumhome_wgo_pos3}
            <vb:if condition="$show['birthdays']">
            <!-- today's birthdays -->
            <div id="wgo_birthdays" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
                <ol class="commalist">
                    <vb:each from="birthdays" value="row">
                        <li><a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}</li>
                    </vb:each>
                </ol>
            </div>
            <!-- end today's birthdays -->
            </vb:if>
            {vb:raw template_hook.forumhome_wgo_pos4}
            <div id="wgo_stats" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
                <div>
                    <dl>
                        <dt>{vb:rawphrase threads}</dt>
                            <dd>{vb:raw totalthreads}</dd>
                        <dt>{vb:rawphrase posts}</dt>
                            <dd>{vb:raw totalposts}</dd>
                        <dt>{vb:rawphrase members}</dt>
                            <dd>{vb:raw numbermembers}</dd>
                        <vb:if condition="$show['activemembers']">
                            <dt>{vb:rawphrase active_members}</dt>
                            <dd>{vb:raw activemembers}</dd>
                        </vb:if>
                    </dl>
                    <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
                    {vb:raw template_hook.forumhome_wgo_stats}
                </div>
            </div>
            <div id="wgo_legend" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3>
                <div>
                    <dl id="icon_legends" class="icon_legends">
                        <dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
                        <dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
                        <vb:if condition="$vboptions['showlocks']"><dt><img src="{vb:stylevar imgdir_statusicon}/forum_lock-16.png" alt="{vb:rawphrase forum_is_closed_for_posting}" /></dt><dd>{vb:rawphrase forum_is_closed_for_posting}</dd></vb:if>
                        <dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
                        <dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
                    {vb:raw template_hook.forumhome_icon_legend}
                    </dl>
                </div>
            </div>
            {vb:raw template_hook.forumhome_wgo_pos5}
        </div>
    </div>
    <!-- end what's going on box -->

And replace it with this:

HTML Code:

    <!-- what's going on box -->
    <div id="wgo" class="collapse wgo_block block">
        <h2 class="blockhead">{vb:rawphrase whats_going_on}</h2>
        <div class="blockbody formcontrols floatcontainer">
            <div id="wgo_legend" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3>
                <div>
                    <dl id="icon_legends" class="icon_legends">
                        <dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
                        <dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
                        <vb:if condition="$vboptions['showlocks']"><dt><img src="{vb:stylevar imgdir_statusicon}/forum_lock-16.png" alt="{vb:rawphrase forum_is_closed_for_posting}" /></dt><dd>{vb:rawphrase forum_is_closed_for_posting}</dd></vb:if>
                        <dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
                        <dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
                    {vb:raw template_hook.forumhome_icon_legend}
                    </dl>
                </div>
            </div>
            {vb:raw template_hook.forumhome_wgo_pos5}
        </div>
    </div> 
    <!-- end what's going on box -->

Then find:

HTML Code:

    <div id="pagetitle">
        <h1>{vb:raw vboptions.bbtitle}</h1>
        <p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
    </div>

Above that add this:

HTML Code:

    <!-- what's going on box -->
    <div id="wgo" class="collapse wgo_block block">
        <h2 class="blockhead">{vb:rawphrase whats_going_on}</h2>
        <div class="blockbody formcontrols floatcontainer">
            {vb:raw template_hook.forumhome_wgo_pos1}
            <vb:if condition="$show['loggedinusers']">
            <!-- logged-in users -->
            <div id="wgo_onlineusers" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
                <div>
                    <p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
                    <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
                    <vb:if condition="$activeusers">
                    <ol class="commalist" id="wgo_onlineusers_list">
                        <vb:each from="activeusers" value="loggedin">
                            <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
                        </vb:each>
                    </ol>
                    </vb:if>
                </div>
            </div>
            <!-- end logged-in users -->
            </vb:if>
            {vb:raw template_hook.forumhome_wgo_pos2}
            <!-- Start Members Today -->
            <vb:if condition="$show['wgo_members']">
            <div id="wgo_wgo_members_users" class="wgo_subblock section collapse">
                <h3 class="blocksubhead"><a href="{vb:raw wgo_members.url}"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:phrase wgo_members_alt_title}"/></a>{vb:raw wgo_members.whotitle}</h3>
                <a class="collapse" id="collapse_wgo_members_list" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw wgo_members.collapse}.png" alt="" title="{vb:rawphrase collapse_expand}" /></a>
                <div id="wgo_members_list" {vb:raw wgo_members.style}>
                    <p>{vb:raw wgo_members.visitors}</p>
                    <vb:if condition="$vboptions['wgo_members_names']">
                        <vb:if condition="$wgo_members['totaltoday'] == 0">
                            {vb:phrase no_members_list}
                        <vb:else />
                            <ul class="commalist" id="wgo_wgo_members_list">
                                <vb:if condition="$wgo_members['template_hook']">
                                    {vb:raw wgo_members.template_hook}
                                <vb:else />
                                    <vb:each from="wgo_members_list" value="row">
                                        <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw row}}" title="{vb:raw row.wrdate}">{vb:raw row.musername}</a>{vb:raw row.markinv}{vb:raw row.comma}</li>
                                    </vb:each>
                                </vb:if>
                            </ul>
                        </vb:if>
                    <vb:else />
                        {vb:phrase member_list_disabled}
                    </vb:if>
                </div>
            </div>
            </vb:if>
            <!-- End Members Today -->
            {vb:raw template_hook.forumhome_wgo_pos6}
            <vb:if condition="$show['upcomingevents']">
            <div id="wgo_events" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
                <ol>
                    {vb:raw upcomingevents}
                </ol>
            </div>
            </vb:if>
            {vb:raw template_hook.forumhome_wgo_pos3}
            <vb:if condition="$show['birthdays']">
            <!-- today's birthdays -->
            <div id="wgo_birthdays" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
                <ol class="commalist">
                    <vb:each from="birthdays" value="row">
                        <li><a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}</li>
                    </vb:each>
                </ol>
            </div>
            <!-- end today's birthdays -->
            </vb:if>
            {vb:raw template_hook.forumhome_wgo_pos4}
            <div id="wgo_stats" class="wgo_subblock section">
                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
                <div>
                    <dl>
                        <dt>{vb:rawphrase threads}</dt>
                            <dd>{vb:raw totalthreads}</dd>
                        <dt>{vb:rawphrase posts}</dt>
                            <dd>{vb:raw totalposts}</dd>
                        <dt>{vb:rawphrase members}</dt>
                            <dd>{vb:raw numbermembers}</dd>
                        <vb:if condition="$show['activemembers']">
                            <dt>{vb:rawphrase active_members}</dt>
                            <dd>{vb:raw activemembers}</dd>
                        </vb:if>
                    </dl>
                    <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
                    {vb:raw template_hook.forumhome_wgo_stats}
                </div>
            </div>
            {vb:raw template_hook.forumhome_wgo_pos5}
        </div>
    </div>
    <!-- end what's going on box -->


MistyMeanor 06-23-2013 07:59 PM

OMG!!! AWESOME!!! IT WORKED AND IS BEAUTIFUL!

Thank you SO MUCH Ozzy47! I knew there HAD to be a way to do this!

Amaury25, thank you for all of your help! I really appreciate it as well.

ozzy47 06-23-2013 08:27 PM

Not a problem, glad it worked the way you wanted. :)

obglobal.net 09-24-2013 12:44 AM

Quote:

Originally Posted by Amaury (Post 2429477)
Like here where I administrate?

That looks absolutely amazing! I would love to have that exact setup.

Quote:

Originally Posted by ozzy47 (Post 2430048)
Not a problem, glad it worked the way you wanted. :)

You're a legend, ozzy47. Congrats on the Advisor bump, bro. You definitely deserve it. Been really helpful a number of times. :up:

ozzy47 09-24-2013 12:50 AM

Quote:

Originally Posted by obglobal.net (Post 2447586)
That looks absolutely amazing! I would love to have that exact setup.



You're a legend, ozzy47. Congrats on the Advisor bump, bro. You definitely deserve it. Been really helpful a number of times. :up:

Thank you sir, I try to help where and when I can. :)

obglobal.net 09-24-2013 12:58 AM

Quote:

Originally Posted by ozzy47 (Post 2447589)
Thank you sir, I try to help where and when I can. :)

Quote:

Originally Posted by ozzy47 (Post 2447589)
Thank you sir, I try to help where and when I can. :)

Because you're a legend!

Any tips on how I'd get these what's going on drop-downs like in this forum?

That'd be brilliant for my forum!

http://www.kh-flare.net/forum.php

ozzy47 09-24-2013 01:05 AM

You mean the sideblocks?

obglobal.net 09-24-2013 01:14 AM

Quote:

Originally Posted by ozzy47 (Post 2447592)
You mean the sideblocks?

Yeah, I guess. They have all the features of What's Going On, but are far more useful as part of the forum.


All times are GMT. The time now is 06:38 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.02376 seconds
  • Memory Usage 1,866KB
  • 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
  • (4)bbcode_html_printable
  • (7)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