Specify the price of the product and after receiving a payment add the client to the premium group. In wfdownload you create a categroy that is only accesible by the premium group. easy as that and workable I think...
pinchecl wrote: Quote:Thanks Trabis. I'm using shoutbox 4.0.5 The forum indeed now is displayed in the right way.trabis wrote: When core has bugs, modules use code to avoid it. After bug is fixed this extra code becomes a bug itself. It seems that what is happening in cbb rank title. Please edit newbb/class/user.php and change line 91:Ranks are already sanitised when using $ranks = $rank_handler->getObjects(null, true, false); The extra $myts->htmlspecialchars() is causing double encoding. What shoutbox are you using?$ret = array();
if($rank_id>0){
$ret["title"] = /*$myts->htmlspecialchars(*/$ranks[$rank_id]["rank_title"]/*)*/;
$ret["image"] = $ranks[$rank_id]["rank_image"];
}else{
foreach($ranks as $id=>$rank){
if($rank["rank_min"]<=$posts && $rank["rank_max"]>=$posts && empty($rank["rank_special"])){
$ret["title"] = /*$myts->htmlspecialchars(*/$rank["rank_title"]/*)*/;
$ret["image"] = $rank["rank_image"];
break;
}
}
}
trabis wrote: When core has bugs, modules use code to avoid it. After bug is fixed this extra code becomes a bug itself. It seems that what is happening in cbb rank title. Please edit newbb/class/user.php and change line 91:Ranks are already sanitised when using $ranks = $rank_handler->getObjects(null, true, false); The extra $myts->htmlspecialchars() is causing double encoding. What shoutbox are you using?$ret = array();
if($rank_id>0){
$ret["title"] = /*$myts->htmlspecialchars(*/$ranks[$rank_id]["rank_title"]/*)*/;
$ret["image"] = $ranks[$rank_id]["rank_image"];
}else{
foreach($ranks as $id=>$rank){
if($rank["rank_min"]<=$posts && $rank["rank_max"]>=$posts && empty($rank["rank_special"])){
$ret["title"] = /*$myts->htmlspecialchars(*/$rank["rank_title"]/*)*/;
$ret["image"] = $rank["rank_image"];
break;
}
}
}