Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I change the number of URL slots
I would like to change my site so that free members only get 1 slot and premium gets 3

however I cannot locate these settings in the admin

If you change the default in the actual SQL to 1, it will still allow more that 1 url to be entered

Please advise

Follow the instructions below to change the default website slots.

1. Goto phpMyAdmin via cPanel and run SQL queries below : 

ALTER TABLE `users` MODIFY `website_slots` int(11) NOT NULL DEFAULT '1';
UPDATE `users` SET `website_slots` = '1' WHERE `premium`='0';
UPDATE `users` SET `website_slots` = '3' WHERE `premium`='1';

2. Goto /public_html/gateways/paypal/ipn_premium.php, open the file.

Search for :

$db->query("UPDATE `users` SET `premium`='1', `premium_exp` = '".$post_data."', `website_slots` = '15' WHERE `id`='".$user['id']."'");

Replace with :

$db->query("UPDATE `users` SET `premium`='1', `premium_exp` = '".$post_data."', `website_slots` = '3' WHERE `id`='".$user['id']."'");

Please contact us if you have further questions.

Best Regards!
In case you want to say thank you, we'd really appreciate and be thankful if you leave a good review on Traffic Exchange PRO page. This is the best way to say thank you to this project and support team.

Forum Jump:

Users browsing this thread: 1 Guest(s)