PDA

View Full Version : Events showing up Problems


xTerMn8R
08-23-2004, 11:01 PM
I'm try to use the Whats Going on code from the site forum Home Page Template to display Whats goin on events in my vbindex Template page. I'm using the exact code that I use in FORUMHOME template and all I see in vbindex home is a Title Block with "Whats Going On" but no other events, birthdays or even the Collapse arrows. Can some one take a look at this who knows more then I with php and see if they can see what modifications I need to make.... I have scowered all kinds of other templates to see how Vbindex references this stuff but I cant find the problem. I'm old, tired and frustrated so all help will be deeply appreciated...


<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>

<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<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]"><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>
</if>
</table>
<br />
<!-- end what's going on box -->


Thanks you for taking the time to accept this challange..

Peace...

defi
08-24-2004, 02:14 AM
Correct me if I'm wrong but this would involve editing the vbindex portal page in order to work...?

Try over at vbulletin.org?

xTerMn8R
08-27-2004, 08:24 PM
I dont believe so as VbPortal uses a Template as does vbulletin Forum home. I've embedded other hacks and Code from the "FORUMHOME" Template into the "vbindex" Template and they work fine...

I Have posted this question on the vbulletin.org page as well some time ago, but I believe the author of vbindex has had a crisis that keeps him from support at this time and other then that I've been unavailable to find any other assistance from anyone else.

Since this is coding question in a Template Oriented Site I figure this is my best shot for help at this point... I hope... No Pray...

Peace...