/**
- ONE UP META
- @package Core PHP
- @author bobthenoob678
- @co-author David Junior -> https://www.fiverr.com/davidjunior195
*/
-
Basic Signup with:
-
Lastname - Email - Captcha
-
Firstname - Password
-
Username - Confirm Password
-
Display Name (same as username by default, but can be changed, to be used when interacting on discussions)
-
welcome email and email verification
-
Basic Login with:
- username or email
- password
- captcha
- user logs for login and logout
- recording of users failed attempts and upon 5 failed attempts, sends a prompt to change password instead.
-
user profile update
- User can update the following info
- Lastname
- Firstname Then verified by entering Password and Captcha for security
- Newsletter subscription via email, name and optional website.
- Comments system
- article sharing via social buttons
- affiliate links
- icons with links to shop, facebook, twitter, instagram, youtube, and tiktok page.
- article search functionality by any keyword
- user panel to update profile, change password, add articles, edit and delete functionality.
- admin panel to manage site display, add affiliate links, announcement bar, create article, category, etc.
- Front End - Bootstrap 4.6 Default Template
- Jquery 3.5.1
- fontawesome icons
- php 8.0
- html 5
- css 3
- mysql database
- Requirement: Local Server - XAMPP, WAMPP, Laragon or mamp etc
- copy/extract/clone this project to your pc www folder for wamp server or htdocs folder for xamp
- create a database in phpmyadmin named "oneupmeta" and import oneupmeta.sql file
- edit dbconn.php file, rename database to what you created above
- start development server and make sure apache, mysql, php are all running
- open directory on any browser to see the views
- users
- affiliate
- log
- subscribers
- category
- subcategory
- article
- announcement
- failed_attempts
- tblcomments
kindly modify the settings in file to suit your needs
# Email server
- gmail server to send mail ("[email protected]") used in signup.php line 132, forgot_password.php in line 59, verify_email.php in line 45, in both user/admin panel settingsController.php in line 107
- gmail password for authentication before sending mail (p@ssword123456) used in signup.php line 133, forgot_password.php in line 60, verify_email.php in line 46, in both user/admin panel settingsController.php in line 108
# links to verify email
i used the variable $link="http://localhost/fiverr/oneupmeta/reset_password.php?reset_code=$token"; because i stored the files in a www/fiverr/oneupmeta/reset_password.php directory so that i can test this on a local server but may not work in your case because folder directory may differ, so modify those links to suit your file directory where oneupmeta file was placed or copied to, preferably on a live hosting. I know about base url and paths, but this url is a reference to another page, that the user will go to, php server variables will only show the current requesting url and not from another page entirely.
you will need to make that link changes in the following files:
- signupController.php in line 44
- forgot_password.php in line 41
- in both user/admin panel settingsController.php in line 28
- in article-details.php line 342 change this too to suit your file directory ($site_url = "http://localhost/fiverr/oneupmeta/share.php?article_id=$article_id";)
# Google adsense
- to configure google adsense, it will require a live doamin name and link to website for configurations