Sebastian Bunescu Posted February 19, 2013 at 06:30 PM Share Posted February 19, 2013 at 06:30 PM Hi, I have looked at the other thread that deals with this, and I want something slightly different. Instead of the button "reply to this review" to not show at all for non-paying members, I'd like it to show, but when they click on it, a popup will tell them that it is a paid feature only and give them a link to the payment plans. right now, in review_layout.thtml I have: if (Sanitize::getInt($review['Criteria'],'state')!=2) { if ($Paid->getVar('premium',$listing)==1) { echo $Routes->ownerReply(__t("Reply to this review",true),$review,array('class'=>'jrButton','id'=>'jr_ownerReplyLink'.$review['Review']['review_id'])); } else { echo WHAT DO I ECHO HERE TO GET THE SAME BUTTON LINKING TO A DIFF POPUP?? } } else { if ($Paid->getVar('premium',$listing)==1) { echo $Routes->ownerReply(__t("Reply to this comment",true),$review,array('class'=>'jrButton','id'=>'jr_ownerReplyLink'.$review['Review']['review_id'])); } else { echo WHAT DO I ECHO HERE TO GET THE SAME BUTTON LINKING TO A DIFF POPUP?? } } Also, is this the only file i need to change? aka, are clients able to post owner's reply off of different pages? I also thought of maybe modifying the create.thtml file in the owner's reply folder. I figure I can wrap that html form in a php if clause , and if the $Paid->getVar is not set, then they get a spiel about how the need to join to access that feature. would that make more sense? is the $Paid->getVar available in create.thtml ? Link to comment
Sebastian Bunescu Posted February 19, 2013 at 07:43 PM Author Share Posted February 19, 2013 at 07:43 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 20, 2013 at 03:05 AM Share Posted February 20, 2013 at 03:05 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Sebastian Bunescu Posted February 20, 2013 at 06:26 PM Author Share Posted February 20, 2013 at 06:26 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Sebastian Bunescu Posted February 20, 2013 at 08:41 PM Author Share Posted February 20, 2013 at 08:41 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Kristian Posted February 20, 2013 at 09:37 PM Share Posted February 20, 2013 at 09:37 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Sebastian Bunescu Posted February 20, 2013 at 10:47 PM Author Share Posted February 20, 2013 at 10:47 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 21, 2013 at 02:34 PM Share Posted February 21, 2013 at 02:34 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Ralf Riebe Posted October 12, 2015 at 09:49 PM Share Posted October 12, 2015 at 09:49 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted October 14, 2015 at 03:42 PM Share Posted October 14, 2015 at 03:42 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Ralf Riebe Posted October 14, 2015 at 10:35 PM Share Posted October 14, 2015 at 10:35 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted October 14, 2015 at 11:27 PM Share Posted October 14, 2015 at 11:27 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts