Info


Official Announcement


Author : CodeDaddy

Create Date : 29-05-2020

Support : yupokteam@gmail.com

Portfolio : Codedaddy Portfolio

Overview


Official Announcement is very powerful tool to your Business. You can within touch with your Users/Visitors what's going on or update in the website with Just a single click and easily managable with Hassle Free Admin Panel.

This feature has an attractive front end and back end interface that are really awesome and eyecatching. Almost all kinds of changes are possible to do using the Admin Panel without having any kind of programming language knowledge.

SaaS Ready. You can also earn via Sell Announcement Package to Users.

Security : It is protected against SQL injection, XSS and other attack and your website will be safe.

Requirements


Before starting to install, make sure you fulfill the following requirements:
  • For Local Server installation, you need to have XAMPP, WAMP or any apache server with PHP and MySQL (Sending Email will not work on Localhost)
  • You can use this script on any live LINUX server.
  • Required PHP version in server >= 5.4.
  • Required PHP Mail Function enabled in server.
  • Stripe Merchant Account

Admin Features


  • SaaS Ready
  • Create Announcement Package
  • Limit No. of Announcement in Package.
  • Accept Payment via Stripe from your Users.
  • Payment History
  • Dashboard Analysis of Payment, Users, Blocked Users & Many More.
  • Give Free Announcement to User on SignUp.
  • Limit No. of Chances to Verify User Email.
  • Easily Manageable Setting Page(Imp.)
  • Email Notification to Admin for New Payment
  • Iframe Embed Code for Users in User Panel
  • Create Notification/Announcement in Admin Panel.
  • Add/Edit YouTube Video in Announcement.
  • Add/Edit Facebook Post / Video in Announcement.
  • Add/Edit Instagram Post / Video in Announcement.
  • Add/Edit Twitter Status in Announcement.
  • Subscribe Us Function Added with Anti-Spam.
  • Your Subscriber Never Miss New Announcement
  • Automatic Send Email to All Subscriber with Announcement Link whenever You Post New Announcement. (Note - Send Email to Subscribers whenever Admin New Announcement Posts Option Set to Yes in Admin Panel)
  • Admin can also manually Add / Delete Subscriber in Admin Panel.
  • Automatic Send Email with Announcement Link to User whenver Admin Reply on Any Comment. (Note - Send Email to User whenever Admin Reply on their Comment Set to Yes in Admin Panel)
  • If Admin Reply then Automatic Comment is Approved
  • If Admin Edit own Reply then also New Email Sent to User
  • Receive Email to Admin when User Comment on Any Announcement. (Note - Receive Email to Admin whenever New Comment on Any Announcement Set to Yes & Fill Admin Email in Admin Panel Email Setting Option)
  • Recover Admin Password via OTP on Email.
  • Pinned to Top One Announcement.
  • Disable Comment on any Announcement.
  • Admin Reply on Comment with Verified Tick.
  • Multiple Link Supports in Announcement Text (http / https).
  • Social Share of Announcement.
  • Announcement SEO Ready.
  • Search Announcement.
  • Edit Announcement.
  • Activate / Deactivate Announcement.
  • Approve Comments.
  • Unapprove Comments.
  • Edit Comment, User Name & Email.
  • Search Comment.
  • Hassle Free Different Section of Approve & Unapprove Comments.
  • Update Email / Password.
  • Visitors or Users can view Announcement without Page Reload with Load More Announcement.
  • Like Count Announcement System.
  • Admin can view How Many Likes on their Announcement in Admin Panel.
  • Set Alignment Left, Right & Center of Announcement Page in Admin Panel.
  • Set Limit Option for Announcement Post.
  • Well Rich Online & Offline Documentation.

User Features


  • Unique Username
  • Automatically Single Page Create with Unique Username
  • Dynamically Logo or Alt Text for User Page in User Panel
  • Buy Announcement Package.
  • Payment History
  • Dashboard Analysis of Annoucement Credit & Many More.
  • Create Notification/Announcement.
  • Add/Edit YouTube Video in Announcement.
  • Add/Edit Facebook Post / Video in Announcement.
  • Add/Edit Instagram Post / Video in Announcement.
  • Add/Edit Twitter Status in Announcement.
  • Subscribe to User Function Added with Anti-Spam.
  • Users Subscriber Never Miss New Announcement
  • Iframe Preview & Responsive Embed Code (If User wants to add their website)
  • Automatic Send Email to All Subscriber with Announcement Link whenever You Post New Announcement. (Note - Send Email to Subscribers whenever Admin New Announcement Posts Option Set to Yes in User Panel)
  • User can also manually Add / Delete Subscriber in User Panel.
  • Automatic Send Email with Announcement Link to User whenver User Reply on Any Comment. (Note - Send Email to User whenever Admin Reply on their Comment Set to Yes in User Panel)
  • If User Reply then Automatic Comment is Approved.
  • If User Edit own Reply then also New Email Sent to User
  • Receive Email to User when Visitor Comment on Any Announcement. (Note - Receive Email to Admin whenever New Comment on Any Announcement Set to Yes & Fill Admin Email in User Panel Email Setting Option)
  • Recover User Password via OTP on Email.
  • Pinned to Top One Announcement.
  • Disable Comment on any Announcement.
  • User Reply on Comment with Verified Tick.
  • Multiple Link Supports in Announcement Text (http / https).
  • Social Share of Announcement.
  • Announcement SEO Ready.
  • Search Announcement.
  • Edit Announcement.
  • Activate / Deactivate Announcement.
  • Approve Comments.
  • Unapprove Comments.
  • Edit Comment, User Name & Email.
  • Search Comment.
  • Hassle Free Different Section of Approve & Unapprove Comments.
  • Update Email / Password.
  • Visitors or Users can view Announcement without Page Reload with Load More Announcement.
  • Like Count Announcement System.
  • Admin can view How Many Likes on their Announcement in User Panel.
  • Set Limit Option for Announcement Post.

Create Database, Username, Password & Import SQL file.


  • Step 1: Login to your website CPanel with your Username & Password.


  • Step 2: On Homepage, Scroll Down to Databases & Click on MYSQL Databases option.


  • Step 3: Create New Database, Just write billing_system & press Create Database Button.


  • Step 4: A message appears, Added the database "yupok_billing_system" It means Your Database Name : yupok_billing_system , Note : yupok_ prefix is demo, your website automatic added Prefix to your database name.So copy that name that is your Original Database Name.


  • Step 5: Press Go Back and return to Database Page again.

  • Step 6: Scroll Down the Page, MYSQL Users Add New User, Just fill the details like you want to use Username & Password & keep details in the safe place & Press Create User button.


  • Step 7: A message appears, You have successfully created a MySQL user named "yupok_demo_user". It means Your Database USERName : yupok_demo_user , Note : yupok_ prefix is demo, your website automatic added Prefix to your Username.So copy that name that is your Original Database Username.

  • Step 8: Press Go Back and return to Database Page again.

  • Step 9: Scroll Down the Page again to Add User to Database . Select your Last Created Username & Last Created Database for this billing system & Press Add Button.


  • Step 10: You will redirect to Another Page. Click on ALL PRIVILEGES option, Scroll down & Press Make Changes Button.



  • Step 11: A Success message appears on top right corner. After that scroll down to the page and press Go Back


  • Step 12: Example
    YOUR_HOST_NAME : localhost  Mostly its localhost but if not then contact your website service provide.
    YOUR_DATABASE_NAME : yupok_billing_system  This is demo which we explained above. Your real database name is different.
    YOUR_DATABASE_USERNAME : yupok_demo_user  This is demo which we explained above. Your real database username is different.
    YOUR_DATABASE_Password : password  That is explained in Step 6.
  • Step 13: Import sql file to Database. Go to CPanel homepage scroll down to Database , Click on phpMyAdmin, your database will be open.

  • Step 14: On the left sidebar your Newly Database Option will be shown Just click on that.

  • Step 15: After click see on right side there is Import Option click on that and browse & select sql file from your downloaded database folder and press Go Button on the bottom.


  • Step 16: Your database will be imported and your website is ready to Use.

Configuration


Do Carefully Otherwise Script will not work

  • Unzip the Downloaded File, Go to Upload Folder and Unzip again the official_announcement.zip


  • After that Go to admin folder


  • Now Go to db folder


  • Open config.php file in any Text Editor like Notepad++, Dreamweaver , etc.


  • Save Details according to your database. Read below section, How to create Database, Username, Password & Import SQL file.


  • How to get Stripe Secret & Publishable Key. - Login to your Stripe Account and Go to Developers->API Keys Stripe API Keys

  • Upload All folder and import database file and its Done.

First Time Admin Login


  • When you have configured correctly Database & Import SQL file then upload time.
  • Go to downloaded file -> Go to upload folder -> Unzip official_announcement.zip file & Open that folder -> Copy all files & admin folder (Note : In admin folder, go to db folder and open config.php file and replace details with your server detail which we explained above.)
  • Create Folder on your server where you want to Upload this script. Upload all copied files.
  • Let we help you in Detail with example.
  • Assume you make a folder on your server mynotification and upload all copied files with correct database configuration.
  • URL for Admin : www.yourwebsite.com/mynotification/admin/
  • Assume you make a folder on your server officialnotification and upload all copied files with correct database configuration.
  • URL for Admin : www.yourwebsite.com/officialnotification/admin/
  • Default Email : admin@admin.com & Password : 123456
  • Click on User Icon on Top Right Corner => Click on Email => Update Your Login Email.
  • Click on User Icon on Top Right Corner => Click on Password => Old Password = 123456 => Set New Password & Keep in Safe Place

Dashboard


  • 3 Types of Announcement & Comment Analysis available.


  • Total Announcement means Your anouncement from starting includes Active & Deactive Announcement.
  • Active Announcements means Your anouncement which is active & User and Visitors can view them.
  • Deactive Announcement means Your anouncement which is not active & User and Visitors cannot view them. Only Admin can view inside Admin Panel.
  • Total Comments means Your User/Visitor comments includes Active & Deactive Comments.
  • Approved Comments means Admin approve User Comment which is active & User and Visitors can view them.
  • Unapproved Comments means Admin did not approved yet & it is not active & User and Visitors cannot view them. Only Admin can view inside Admin Panel.

Email Settings



  • Admin Email : It means where admin wants to receive emails whenever any new comment on Announcement. (Note: This is not your Login Email, It may be different or same its upto Admin)
  • Send Email to Subscribers whenever Admin New Announcement Posts - Yes (If you want send email then set to Yes otherwise No)
  • Send Email to User whenever Admin Reply on their Comment - Yes (If you want send email then set to Yes otherwise No)
  • Receive Email to Admin whenever New Comment on Any Announcement - Yes (If you want receive email then set to Yes otherwise No)

Set Limits



  • How much No. of Announcement Show By Default means when Announcement Page Loads then Number of Announcement Show (It can be 4 to 15).
  • How much No. of Announcement Show after Load More Button Press means after Load More Announcements Button pressed the how many announcement want to show (It can be 4 to 15).

Announcement


  • Go to the Announcement Option which is on Left Sidebar.

  • Step 1:Add Announcement : If you want to add new announcement click on Add Announcement, Fill Date and write what you want to Publish (If any Youtube, Facebook, Instagram or Twitter Post/Video Link you can add) for your User or Visitors. (Note Do not use single & double inverted comma (' or "") Because we have applied strict function to Prevent SQL Injection & XSS Attack. It will automatically converted into html characters to prevent your website.)



  • Multiple Link Supports in Announcement Text (start with http / https).
  • Step 2:Edit Announcement : If you want to edit any of your announcement, Just search with their ID or text and click on Pencil Icon , Edit and click on Edit Announcement Button.


  • Step 3:Deactivate Announcement: If you want to deactivate any announcement Just click on Deactivate Button, an alert shows click OK. Deactivated Announcement hide from Users or Visitors.
  • Step 4:Disable Comment on Any Announcements : Click on Edit Adding Comment and Disable or Enable anytime.(It means no User can add new comments on this Announcement)
  • Step 5:Pinned To Top Any One Announcement : Click on Pinned Button and Change Status anytime.(It means no This Announcement always will be on Top. Only 1 Announcement will be Pinned. If you want to show another Announcement on Top just do the same and Previous Announcement will automatically Unpinned.)

Subscribers



  • Subscriber List with their Email & Date when they Subscribed.
  • Admin can manually Add / Delete Subscriber.

Comments, Approve & Unapprove Comments



  • Admin can Search / Edit / Approve or Unapprove Comment
  • Admin can reply on Comment clicking on Pencil Icon. (If Admin Reply then Automatic comment is Approved and Email Send to User if Admin set Yes in Email Settings)
  • Approved Comment Option means only showing Approved Comment(Everything can be done here also).
  • Unapproved Comment Option means only showing Unapproved Comment(Everything can be done here also).

Design Alignment



  • It only works in Laptop, Computer and Large Screen Tabs.
  • Just set alignment Left, Right or Center of Announcement Page where Visitor/User show Announcements.

How to set up visitor page.


  • When you have configured correctly Database & Import SQL file then upload time.
  • Go to downloaded file -> Go to upload folder -> Unzip official_announcement.zip file & Open that folder -> Copy all files & admin folder (Note : In admin folder, go to db folder and open config.php file and replace details with your server detail which we explained above.)
  • Create Folder on your server where you want to Upload this script. Upload all copied files.
  • Let we help you in Detail with example.
  • Assume you make a folder on your server mynotification and upload all copied files with correct database configuration.
  • URL for Visitor: www.yourwebsite.com/mynotification/
  • Assume you make a folder on your server officialnotification and upload all copied files with correct database configuration.
  • URL for Visitor : www.yourwebsite.com/officialnotification/

Copyright © Codedaddy (yupok)


You are not allowed to use this documentation template for your personal or commercial or any other purposes.