snqke Posted December 20, 2023 Share Posted December 20, 2023 Hello guys, i need help to create a pop up button near the "Sign Up/Log in Buttons" called "Remove Ads" , and when click on this button it show for us Pricing Table That have "Select Token Purchase Package : Purchase 5 tokens - $5 " etc... and when i select the options it redirect me to payment links and give the user premium package Thanks Quote Link to comment Share on other sites More sharing options...
Tech Support Posted December 20, 2023 Share Posted December 20, 2023 This popup can be working for members, so I guess you need this code in Website UI -> Page components -> include_header_general.tpl: {{if $smarty.session.status_id!=3}} {{* do not show this link for premium users *}} <a data-href="{{if $smarty.session.user_id>0}}{{$lang.urls.upgrade}}{{else}}{{$lang.urls.login_required}}{{/if}}" data-fancybox="ajax">Remove Ads</a> {{/if}} 1 Quote Link to comment Share on other sites More sharing options...
snqke Posted February 8 Author Share Posted February 8 Thanks for reply, I have 2 billings active CoinPayments and Internal Tokens I already in use when click on token balance it appear CoinPayments Packges etc... But when i click on remove ads it appears the same popup of CoinPayments but i want to display the popup of Internal Tokens and if select 1st package and have enough tokens the user will be automatically premium user (when choose the package) and if there is not enough tokens it will be open another pop of coinpayment to make him purshase tokens Quote Link to comment Share on other sites More sharing options...
Tech Support Posted February 8 Share Posted February 8 You can add parameter to {{$lang.urls.upgrade}} to specify the exact billing you want to trigger. For internal tokens it would be (but you need to check your admin panel, it may have another ID in your case). {{$lang.urls.upgrade}}?service_id=11 1 Quote Link to comment Share on other sites More sharing options...
snqke Posted February 8 Author Share Posted February 8 Thanks for your reply, it worked for me, But i need something else the user when he purshase the package of remove ads, he will be automaticaly premium member and he can see all the premium videos, but i want him to purshase only the remove ads, and he need to pay token for premium videos, is this possible ? Quote Link to comment Share on other sites More sharing options...
Tech Support Posted February 9 Share Posted February 9 No, this is not possible at the moment. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.