PDA

View Full Version : What's Going On? - On TOP of fourm?


scoyote
12-15-2008, 12:12 AM
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


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

and

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


Find this near the top of the template:

<!-- / 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??
<!-- / 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 1229405591 at 1229405591 ---------------

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.

Lynne
12-16-2008, 03:36 AM
But that thread is for Upcoming Events, not What's Going On.

The only difference I see now between what you have on top and what you have on the bottom is the board statistics. So, just copy that part to the top also. Just do a search for "forumhome_stats" and you should find that part of the code in that template.

scoyote
12-16-2008, 03:42 AM
I think I got it figured out now....I'm messing with it now that I have a better idea of what I'm doing.

I've got what I want up there now....just not where I want it....but I'm on the right path.

Thanks again Lynne....I owe ya