Membership Level Serious

Hiiz a serious problem just occured.  i have membership levels on my community and some how they stoped working. by that i mean that promotion member can upload 8 pics every 24 hours. but somehow members are uploading unlimited photos daily. i looked and rechecked through admin panel but no use !! help please

Quote · 12 Dec 2008

wht is with the boonex why aint any one replying ??

Quote · 12 Dec 2008
Hi, perhaps your standard membership level will available this function. You will need check this.
We only have a unique modules for dolphin!
Quote · 13 Dec 2008

ok sorry abt tht buddy but i thought its for helping us. anyways i said the not present thing coz my las two posts havent been answered from last two weeks. and yes thts wht i mean abt the problem.

anyways i fixed it out my self. there is a bug in the admin/profiles.php file

THe code is :

$sMemJoin  = "LEFT JOIN `ProfileMemLevels` ON `ProfileMemLevels`.`IDLevel`=`Profiles`.`ID`
LEFT JOIN `MemLevels` ON `ProfileMemLevels`.`IDLevels` = `MemLevels`.`ID` ";

While it should be :

$sMemJoin  = "LEFT JOIN `ProfileMemLevels` ON `ProfileMemLevels`.`IDLevel`=`Profiles`.`ID`
LEFT JOIN `MemLevels` ON `ProfileMemLevels`.`IDMember` = `MemLevels`.`ID` ";

thx

Quote · 13 Dec 2008

The code should be, for 6.1.4 at least...

$sMemJoin  = "LEFT JOIN `ProfileMemLevels` ON `ProfileMemLevels`.`IDMember` = `Profiles`.`ID`
LEFT JOIN `MemLevels` ON `ProfileMemLevels`.`IDLevel` = `MemLevels`.`ID` ";

and what it is doing is matching up the members with their membership level.

The only <minor> flaw in this code is they call the first join ProfileMemLevels, when it is really the member's ID number,

and then memLevels is the membership level for each member.

It works in 6.1.4 from a default install.

Quote · 3 May 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.