vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What's Going On? - On TOP of fourm? (https://vborg.vbsupport.ru/showthread.php?t=198895)

scoyote 12-15-2008 12:12 AM

What's Going On? - On TOP of fourm?
 
What's Going On?

I like that, mainly because I like people to see who is online and how many.

Is there a way I can move that to the top of my forums?

dismas 12-15-2008 12:30 AM

Sure, all you have to do is basically edit the FORUMHOME template and move the entire What's going on? section to the top of the template. Similar to this: https://vborg.vbsupport.ru/showthread.php?t=198404

scoyote 12-15-2008 01:42 AM

OK....did that and it's not showing up.
Mabye I gotta wait for my server to update the database?

Usually when I make a change it's immediately available......that didn't do anything.

But, everything is still working normally

Dismounted 12-15-2008 02:07 AM

Are you trying to make it display at the top of FORUMHOME, or at the top of every page?

scoyote 12-15-2008 02:18 AM

Top of ForumHome only

http://www.walleyecentral.com/forums/index.php

dismas 12-15-2008 03:00 AM

Go to your FORUMHOME template.

scroll almost all the way to the bottom and copy everything between
Code:


<!-- what's going on box -->

and

<!-- end what's going on box -->

Find this near the top of the template:
Code:

<!-- / guest welcome message -->
<br />
</if>

Paste the first part right after the second.

scoyote 12-15-2008 02:54 PM

Here is what my FORUMHOME code looks like right now, and it's not working??
Code:

<!-- / guest welcome message -->
<br />
</if>

<!-- what's going on box -->
<if condition="$show['upcomingevents']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</table>
</if>
<!-- end what's going on box -->
<br />


Dismounted 12-16-2008 03:15 AM

How is it "not working"? What happens?

Lynne 12-16-2008 03:19 AM

Try taking the $show['upcomingevents'] condition out of there (both the beginning <if condition...> and ending </if> for it). I think you may have that turned off, so it isn't going to show the box. Why is it even there - it isn't there in the default code.

scoyote 12-16-2008 03:28 AM

Hi Lynne

OK....I was just doing what it said in this thread:
https://vborg.vbsupport.ru/showthread.php?t=198404

So I understand correctly ..... remove:
<if condition="$show['upcomingevents']">
and
</if>

Leave the rest....I'll give it a quick try

--------------- Added [DATE]1229405591[/DATE] at [TIME]1229405591[/TIME] ---------------

OK....we're getting closer now the Events is showing up ....thanks.

What I'm really wanting (and thought it was what I had) is for the
What's Going On box at the top with the Number of people that are online, who they are and the Events....pretty much what is on the bottom....at the top.


All times are GMT. The time now is 08:40 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.01306 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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