Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 244 online users. » 0 Member(s) | 242 Guest(s) Bing, Google
|
Latest Threads |
UserSpice Alpha Testing a...
Forum: News Center
Last Post: ivinsons
11-08-2024, 06:13 PM
» Replies: 13
» Views: 42,475
|
UserSpice 4.4 Development
Forum: News Center
Last Post: Amelie12
09-21-2024, 12:23 PM
» Replies: 4
» Views: 15,199
|
Welcome to the new UserSp...
Forum: News Center
Last Post: ivinsons
08-25-2024, 07:39 AM
» Replies: 2
» Views: 27,918
|
How to use hasPerm
Forum: UserSpice 4.4
Last Post: mudmin
07-20-2019, 02:45 PM
» Replies: 1
» Views: 13,755
|
Session issue? What I sho...
Forum: UserSpice 4.4
Last Post: Parth
07-17-2019, 05:06 PM
» Replies: 4
» Views: 14,502
|
Email Error
Forum: UserSpice 4.4
Last Post: Brandin
07-17-2019, 04:47 PM
» Replies: 1
» Views: 6,623
|
{ Missing Text } after up...
Forum: UserSpice 4.4
Last Post: Brandin
07-16-2019, 04:23 PM
» Replies: 22
» Views: 53,638
|
Best Practice Info
Forum: New to UserSpice?
Last Post: Brandin
07-16-2019, 11:55 AM
» Replies: 1
» Views: 13,490
|
Force to use 2FA -always-
Forum: UserSpice 4.4
Last Post: Brandin
07-12-2019, 12:43 PM
» Replies: 1
» Views: 6,636
|
e-mail not verifying
Forum: UserSpice 4.4
Last Post: LBC
07-10-2019, 11:34 AM
» Replies: 31
» Views: 76,232
|
|
|
My Payment Subscription Model |
Posted by: Trioxin - 01-21-2017, 09:35 AM - Forum: Modifications and Hackery
- Replies (4)
|
|
I've been coding a user subscription system and I'm almost done. The last thing will be to add new functionality to the admin panel. My system uses Braintree (http://www.braintreepayments.com) as the payment processor. Currently I have completed...
* Subscription product data is stored in a table.
* A transaction log is kept in a table.
* Coupon codes are stored in a table.
* Users can subscribe to a product by paying.
* Users can get a discount by using a coupon code.
* Subscribed users are allowed to view certain restricted page(s) that correspond to the product they're subscribed to.
* Users can view their billing history.
* Users can unsubscribe.
* A custom API handles payments via ajax.
My code is clean and does not modify any of the base tables or code. The existing page access code and tables are used to manage access along with the new subscription system. When a user subscribes/pays, they're added to a UserSpice group using the built-in function. If they cancel or don't pay, they're similarly removed from that special group but can still login.
I've also coded an API that allows subscribed users to, through an ajax interface, add jobs to a job queue by filling out a form. The ajax page also lists their jobs in a table and shows other arbitrary stats related to my products (A service that runs server-side code). I have my site setup so that when a subscriber submits a job to the job queue, a PHP-CLI script thread forks to complete the job.
This can be used to create many types of online services. I'll probably post the code on GitHub as a fork when I'm done next week.
Any suggestions are welcome.
|
|
|
Private Site |
Posted by: waynez - 01-19-2017, 11:24 PM - Forum: UserSpice 4.3 and Below
- Replies (10)
|
|
Hi,
I'm trying to create a private site, I'd like users to hit the login page first before going anywhere. I've setup index.php to redirect to the page I want (homepage.php) located in the users folder. I have also modified the login.php file (moved to users) based on the login.php in users, mainly changing the css and removing the navigation.php so it only displays the login prompts. I can't seem to get past the "tokens don't match" error message, even when checking the source code of the original page and displaying the token, which appears to be the same it won't work.
Anybody point me in the right direction for some examples of how to make this work. Happy to provide any additional information, not sure what you need. I'm running on 4.2 BETA, on a Raspberry Pi.
Thanks in advance for any help
|
|
|
why is this in the login file? ini_set("allow_url_fopen", 1); |
Posted by: emanresu - 01-18-2017, 09:43 AM - Forum: Modifications and Hackery
- No Replies
|
|
I was wondering why this was in the login file "ini_set("allow_url_fopen", 1);"
the line is found at the beginning of login.php in 4.1.
I've commented it out, and everything still seems to be working fine.
I've read that using this is a potential security risk. But I'm not sure why this is included in the login file, so that's why I'm asking.
|
|
|
forgot email -GO DADDY |
Posted by: vishnu - 01-17-2017, 02:50 AM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
Hi,
I tried to configure my SMTP server detail in the email configuration . but its throwing error contact webmaster.
my hosting is with Godaddy. Can you please help.
Thanks,
Vishnu.
|
|
|
custom login redirect is skipped because of login.php?dest=index.php |
Posted by: emanresu - 01-16-2017, 02:20 PM - Forum: Modifications and Hackery
- Replies (2)
|
|
Hi again,
I've been trying to change the redirection in the login script. So on first login the user is directed to user_settings.php instead of index.php
But if $dest is set, it seems to skip custom_login_script.php. And whenever no one is logged in, the user is always redirected to login.php with destination login.php?dest=index.php.
I've been looking to remove the automatic redirection of $dest, but I fail to see where this part of the URL is created.
So if I'm not logged in and go to my "domain.com/userspice/" it willl auto redirect to "domain.com/userspice/users/login.php?dest=index.php" and custom_login fails to load and the user is redirected to index.php
if I go to "domain.com/userspice/users/login.php" everything is fine, and on first login I'm redirected to user_settings.php
|
|
|
Confirm Admin Password |
Posted by: Brandin - 01-15-2017, 09:18 PM - Forum: Modifications and Hackery
- Replies (57)
|
|
Hey!
Do you know how we can implement a "confirm your password" when access admin pages? e.g. admin_users.php admin_pages.php
I often leave my work computer unlocked which is where I access my stuff, and I don't have an audit setup on settings yet so if something happened in the settings I would never know.
Thank you!
|
|
|
Integrating with PayPal |
Posted by: gathr - 01-14-2017, 04:50 PM - Forum: UserSpice 4.3 and Below
- Replies (9)
|
|
What is the best method for integrating PayPal's REST SDKs with userspice to achieve the following functionality?
The user (who is logged in) upgrades their account to a premuim account by making a payment through PayPal.
Paypal handles the transaction and then sends data back to userpice which is validated and then recorded in the users table identifying them as a premium user.
Thanks for any recommendations you might have.
|
|
|
Database search filter |
Posted by: LBC - 01-12-2017, 11:06 AM - Forum: Modifications and Hackery
- Replies (46)
|
|
I'm trying to create a form with multiple checkboxes through which someone can search the database (by checking certain boxes).
So, checking box 1, 4, and 5 will display a result of users that have the corresponding data in their profile.
Does this make sense and is there a way to do this within UserSpice?
|
|
|
|