Removing the "Join" action on Events

All the topics other than the two goes here.
  • Ads

Removing the "Join" action on Events

Postby JacquesPrevert » Thu Dec 03, 2009 12:12 pm

Hi all

How do I remove the "Join" action on Events. I have read suggestions to edit the letter that is being sent, but that is not a viable solution. I would reallly appreciate help on the matter. I am running D. 6.1.4.

Thanks in advance

Happy day to all.
JacquesPrevert
Global Moderator
Global Moderator
 
Posts: 53
Joined: Sun Apr 26, 2009 3:42 pm

Re: Removing the "Join" action on Events

Postby Administrator » Sat Dec 05, 2009 12:34 pm

Open the file inc/classes/BxDolEvents.php

In line 1108

Find:
Code: Select all
$sUsersActions = <<<EOF
<div class="padds">
   <img src="{$site['icons']}_membership.jpg" alt="{$sJoinC}" title="{$sJoinC}" class="marg_icon" />
   <a class="actions" href="{$_SERVER['PHP_SELF']}" onclick="document.forms.JoinEventForm.submit(); return false;" >
      {$sJoinC}
   </a>
</div>
EOF;


Replace it with:

Code: Select all
$sUsersActions = '';
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: Removing the "Join" action on Events

Postby JacquesPrevert » Sun Dec 06, 2009 9:35 am

Hi Praveen

Thanks ever so much. It works beautifully. Members were getting speed dating tickets which was rather embarassing as mine is an art site.
JacquesPrevert
Global Moderator
Global Moderator
 
Posts: 53
Joined: Sun Apr 26, 2009 3:42 pm

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron