PDA

View Full Version : Upcomming Events in Forum stats


tmffirework
01-24-2009, 12:28 PM
Hey,

I downloaded Cyb - Advanced forum statics. But I need one option more, I want to see my upcomming events in the statics. Can anyone help me with this, or has anyone an other mod so I can do this?

Thanks

Thomas

glennybee
01-25-2009, 10:01 AM
This is the code for upcoming events.

<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_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>
</if>

There are also options in AdminCP > vBulletin Options > Forums Home Page Options that you would need to set.

tmffirework
01-25-2009, 12:32 PM
and where do I have to place this code?

glennybee
01-26-2009, 03:09 PM
I don't have this mod installed so I'm not sure.

Check the Cybernetics templates, you can probably edit one and add the code in to suit yoru needs.