Announcement

Collapse
No announcement yet.

calendar: single all-day events ONLY

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • calendar: single all-day events ONLY

    how can i make it to ONLY single all-day events could be added?

    99% of the events that are added to my calendar are nightclub-related so every event starts, say, jan 12th at 9am and ends jan 13th at 5am - this spans the event over two days and makes it very confusing for people...

    also, recurring events are a problem... promoters put their "every tuesday" events to run forever. it's ok in about 10% of the cases but with other 90% promoters endup loosing the venue but, of course, never update the event listing...

    please advise

    also, i'd appreciate a link to a good addon to display calendar events on a non-vB page.

    thank you!!
    me? :cool:

  • #2
    You can remove the links for those other event types:

    Admin CP -> Styles & Templates -> Style Manager -> -> Calendar Templates -> CALENDAR

    Find this code and remove the red code:

    Code:
    <!-- add event menu -->
    <div class="vbmenu_popup" id="add_event_menu" style="display:none">
    	<table cellpadding="4" cellspacing="1" border="0">
    	<tr>
    		<td class="thead">$vbphrase[add_new_event]</td>
    	</tr>
    	<tr>
    		<td class="vbmenu_option">
    			<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[single_all_day_event]" border="0" />
    			<a href="calendar.php?$session[sessionurl]do=add&amp;type=single&amp;c=$calendarinfo[calendarid]">$vbphrase[single_all_day_event]</a>
    		</td>
    	</tr>
    	<tr>
    		<td class="vbmenu_option">
    			<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[ranged_event]" border="0" />
    			<a href="calendar.php?$session[sessionurl]do=add&amp;c=$calendarinfo[calendarid]">$vbphrase[ranged_event]</a>
    		</td>
    	</tr>
    	<tr>
    		<td class="vbmenu_option">
    			<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[recurring_event]" border="0" />
    			<a href="calendar.php?$session[sessionurl]do=add&amp;type=recur&amp;c=$calendarinfo[calendarid]">$vbphrase[recurring_event]</a>
    		</td>
    	</tr>	
    	</table>
    </div>
    <!-- / add event menu -->
    There are also menus in these templates:

    calendar_monthly
    calendar_weekly
    calendar_yearly

    Comment


    • #3
      thank you!

      i will try that out tonight and see if it works
      me? :cool:

      Comment


      • #4
        Originally posted by Jake Bunce
        You can remove the links for those other event types:

        Admin CP -> Styles & Templates -> Style Manager -> -> Calendar Templates -> CALENDAR

        Find this code and remove the red code:

        Code:
        <!-- add event menu -->
        <div class="vbmenu_popup" id="add_event_menu" style="display:none">
        	<table cellpadding="4" cellspacing="1" border="0">
        	<tr>
        		<td class="thead">$vbphrase[add_new_event]</td>
        	</tr>
        	<tr>
        		<td class="vbmenu_option">
        			<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[single_all_day_event]" border="0" />
        			<a href="calendar.php?$session[sessionurl]do=add&amp;type=single&amp;c=$calendarinfo[calendarid]">$vbphrase[single_all_day_event]</a>
        		</td>
        	</tr>
        	<tr>
        		<td class="vbmenu_option">
        			<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[ranged_event]" border="0" />
        			<a href="calendar.php?$session[sessionurl]do=add&amp;c=$calendarinfo[calendarid]">$vbphrase[ranged_event]</a>
        		</td>
        	</tr>
        	<tr>
        		<td class="vbmenu_option">
        			<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[recurring_event]" border="0" />
        			<a href="calendar.php?$session[sessionurl]do=add&amp;type=recur&amp;c=$calendarinfo[calendarid]">$vbphrase[recurring_event]</a>
        		</td>
        	</tr>	
        	</table>
        </div>
        <!-- / add event menu -->
        There are also menus in these templates:

        calendar_monthly
        calendar_weekly
        calendar_yearly
        that worked.

        thanks a bunch
        me? :cool:

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X