Promotional Access

Hey all,

I am working with dolphin 6.1.4 and the site is not running in free mode.

We have promotional set to 60 days

When a new user signs up they are not being assigned promotional status.

Did I miss something in the setup?

I have taken all the normal access and removed it down to the same as non-member

so a new user cannot do anything untill we manually assign them promotional status.

Any help would be appreciated.


Aaron

Quote · 8 Oct 2008

This seems to be a feature everyone is looking for, but from what I can find, is not a function of 6, hopefully 7 will fix this. Not having this automatic, or not letting someone choose another membership level upon initial sign up is a major missing feature.

I have tried changing code and even database ids hoping that maybe it would default to promotion instead, but can't figure it out. Granted, I am not a programmer.

Quote · 1 Apr 2009

backup and open join.php

Above:
//send new user notification


Add:
//promotion
if( getParam('enable_promotion_membership') == 'on' ){
$daysnumber = getParam("promotion_membership_days");
$vRes = db_res( "INSERT INTO `ProfileMemLevels` (`IDMember`, `IDLevel`, `DateStarts`, `DateExpires`, `TransactionID`) VALUES ('{$iMemID}', '3', '', '', '')" );
$vRes = db_res( "UPDATE `ProfileMemLevels` SET `DateStarts` = NOW( ) ,`DateExpires` = (NOW() + INTERVAL $daysnumber DAY) WHERE `IDMember` = '{$iMemID}'" );
}
//promotion end

first couple lines make sure it uses admin settings so if you change your mind,,,,have fun!!

I have video tutorials to help you mrpowless.com
Quote · 1 Apr 2009

Hi

 

Just wanted to say that your great Mr Powless. I used your bit of coding and now my members automatically get signed up as promotional. Thanks for curing a headache :)

 

Laughing

Quote · 21 Oct 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.