Documentation
Sponzy - Support Creators Content Script
Created: 03, September 2020 by Miguel Vasquez
Table of Contents
Sponzy - Support Creators Content Script is a platform where content creators, writers, designers, developers, photographers or any other branch can monetize their content by receiving subscriptions from their most loyal followers or just anyone who likes their work. They can create free and premium posts for their subscribers.
Features:
- Built with Laravel 8
- Live Streaming
- Subscription system
- Users can set the monthly subscription price
- Bootstrap 4
- Font Awesome 5
- Implemented GDPR
- Banner Cookies Policy
- Strong Customer Authentication (SCA) in stripe for customers with business in Europe.
- Dashboard with Statistics and balance of your account
- Storage (Local, Amazon, DigitalOcean, Wasabi)
- Notifications Real-time
- Online / offline user
- Google reCAPTCHA
- Edit your page (profile)
- Account verification by uploading ID or Passport
- Verified users will display a badge
- Create unlimited posts Free and Premium
- Creators can change their name, username and password
- Creators manage their posts
- Feed from recent posts of creators subscribed
- Infinite scroll
- Categories
- SEO on Pages
- SEO on Categories
- Upload Avatar
- Upload Cover
- Setting your Payout method (PayPal or Bank Transfer)
- Make withdrawals when you reach the minimum amount established by admin
- Search creators by Name/Username, categories and filter by featured and new
- Integration with PayPal (Recurrent)
- Integration with Stripe with (SCA) (Recurrent)
- Creators Featured
- Social Login with Facebook and Google
- Email Verification
- Users can like in posts
- Users can comment on posts
- Ajax Comments
- Upload Photos
- GIF Animated
- Upload Videos MP4/MOV (quicktime)
- Upload Audio MP3
- Social profiles
- Sending mail to the user when a withdrawal payment is sent.
- You can report posts and creators
- Current balance of the creator in the drop-down menu
- XSS: Protection from cross site scripting
- Secure Bcrypt password hashing
- SMTP Support
- Share your page URL (Profile) or share on Facebook and Twitter
- Easy translation
- Multilanguage
- Option Delete Account
- Link to @username on posts and comments
- Progress bar on Upload
- Message system with creators, they can send photos, videos and audios
- Infinite scroll on Message system
- Creator can edit posts and replace Media
- Lazyload Images
- History of payments made and received
- Sitemap
- Email notifications (New subscriber)
- Blog
- Contact us page
- Invoices for payments made
- Admin Features:
- Set General Settings (Name Site,Keywords,Currency Position,others)
- Change Logo/Favicon/Avatar Default/Images on Index
- Manage Subscriptions
- Accept / reject, ID verifications
- Create/Update/Delete Categories
- View/Delete Reports
- View/Pay Withdrawals
- Add code Google Analytics
- Update/Delete Members
- Create/Update/Delete Pages
- Set Payment Settings
- Set Profiles Social
- Set limits (File size allowed,Min donation amount)
- Statistics
- Maintenance mode
Requirements:
- PHP 7.4.0 or Greater
- MySQL 5.6
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- BCMath PHP Extension
- cURL
- GD Library or ImageMagick or Imagick.
- allow_url_fopen (PHP.INI) is ON
- Fileinfo PHP Extension
- FFMPEG
IMPORTANT:
Make sure your server has PHP 7.4.0 or higher and MySQL 5.6 as a minimum
Setting MySQL
- 1.) Create a database
- 2.) Create a user for database
- 3.) Import the Database
- Log into your phpMyAdmin and import the
sponzy.sql
file located in the folderMySQL
Uploading Files
- Upload all files inside the folder
"Script"
to the"public_html"
or"www"
folder on your server. You can compress the files or use FTP.
Installation
- After you have uploaded all files, go to
https://yousite.com/install/script
- This screen will appear, all the boxes must be green to proceed with the installation.
- Next, you can put the credentials of your database, your App name, URL and an email. You will be redirected to the Panel Admin after the installation has finished.
- Credentials Admin Panel
- Just enter from
https://yousite.com/login
and enter the following credentials.
User: Admin
Pass: 123456
storage \ framework
and delete the file named down
go back to panel / admin / maintenance / mode
put "off" and then "on" again, whenever you want to have your site in mode maintenance.
/usr/local/bin/ea-php74 /home/username/public_html/artisan schedule:run >> /dev/null 2>&1
Important: if it doesn't work with /usr/local/bin/ea-php74 or whatever PHP version you have try /usr/local/bin/php
https://yousite.com/panel/admin/settings/email
https://yousite.com/panel/admin/storage
Important: If you want to migrate your site to any storage service (Amazon, DigtalOcean or Wasabi), you must upload the following folder located in the public / uploads of your current site.
Important: If your site is new you should upload the folder located in the public / uploads
https://yousite.com/panel/admin/google
IMPORTANT:
choose reCAPTCHA v2 and Invisible reCAPTCHA
Developers section
of the Stripe dashboard and click on Webhooks
.
Click on Add endpoint
stripe/webhook
Signing secret
to reveal the Stripe Webhook Secret that you must place in Dashboard > Payment Settings > Stripe
2020-08-27
The URL you must put in is:
https://yourwebsite.com/paypal/ipn
DYNAMIC PRICES
on your CCBill account - contact their live support https://support.ccbill.com
Creating a FlexForm
Allow for dynamic price to be passed to form
box and click save.
Panel Admin > Payment Settings > CCBill
Sub Account
Setup Webhooks
Webhook URL
text box with the URL https://yourwebsite.com/webhook/ccbill
Webhook format
select URL Encoded
Select All
and click on update.
Disabling User Management
- On the Account Info megamenu, click Sub Account Admin, then User Management.
- Select Turn off User Management in the top section.
-
Select
Do Not Collect Usernames and Passwords
in theUsername Settings
section.
Create Library of URL (Approval)
2. URL Name. Enter a meaningful name for this URL. Forexample: Payment Success
3. URL. Under URL, enter the base URL for your Site store.
https://yourwebsite.com/ccbill/approved
2. Under the green Approve arrow, click the square to modify the action.
3. Approval URL. In the left menu, select A URL. Select Select a Saved URL and select the URL your created earlier (e.g. Payment Success).
4. Redirect Time. Select a redirect time of 1 second using the slider at the bottom and save the form. (e.g. 4 seconds)
If you have any problems or questions contact CCBill support https://support.ccbill.com
Panel Admin > Payment Settings > Paystack
Callback URL
Webhook URL
put https://yourwebsite.com/webhook/paystack
Account Settings -> Merchant Settings -> IPN
Panel Admin > Payment Settings > Coinpayments
Panel Admin > Payment Settings > Mercadopago
Panel Admin > Payment Settings > Flutterwave
settings
and then Payment methods
IMPORTANT:
This step is essential, not doing it will not work.
Panel Admin > Payment Settings > Mollie
Panel Admin > Payment Settings > Razorpay
Social Login
- Go to
https://yousite.com/panel/admin/social-login
Live Streaming (Agora.io)
- Get yourself account Agora.io
- Go to https://console.agora.io/ and Click on New Project, give a project name and choose Testing mode: APP ID
- [IMPORTANT] Switch to live mode
- The configuration should look like this
- Go to Panel Admin > Live Streaming enable and set the APP ID
Customize
- Language files
- Find this lines in resources / lang / en /
/*
|--------------------------------------------------------------------------
| Admin Language Lines
|--------------------------------------------------------------------------
|
*/
'admin' => 'Panel Admin',
'role_admin' => 'Admin',
'dashboard' => 'Dashboard',
How to add a new language
Translate Categories
<?php
return array(
/*
|--------------------------------------------------------------------------
| Categories Language Lines
|--------------------------------------------------------------------------
|
*/
"Animals" => "Animales",
"Business" => "Negocios",
"Charity" => "Caridad",
);
Translate Pages
Troubleshooting
storage / framework
and delete the file named down
go back to Panel Admin > Maintenance mode
put "off" and then "on" again, whenever you want to have your site in mode maintenance.Panel Admin > Email settings
).htaccess
file has not been corrupted when uploading to your server..env
file has not been corrupted when uploading to your server. It must have a dot before the name, and you must have at least PHP 7.4Make sure these folders and files have 0755 permissions
FilesBasic PHP configuration
max_execution_time
minimum 6000memory_limit
set to 512Mpost_max_size
set the maximum upload value you wantupload_max_filesize
must be the same maximum value of post_max_size
Sources and Credits
- Laravel - https://laravel.com/
- jQuery - https://jquery.com/
- Bootstrap - https://getbootstrap.com/
- Font Awesome - https://fontawesome.com
- IcoMoon - http://icomoon.io
- jquery Form // malsup.com/jquery/form/
- jqueryTimeago.js // http://timeago.yarp.com/
- Readmore - http://jedfoster.com/Readmore.js/
- Fonts - https://www.google.com/fonts
- http://www.tinymce.com/
- https://github.com/sliptree/bootstrap-tokenfield
- http://morrisjs.github.io/morris.js/
Any problem or doubt send me an email to support@miguelvasquez.net
Do not forget to visit miguelvasquez.net
Thank you for purchasing my script 😉