Jump to content

Popup for tokens


Recommended Posts

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 




Link to comment
Share on other sites

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>


  • Like 1
Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

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 ? 

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...