Code

InBefore - News Aggregator with Search Engine

InBefore - News Aggregator with Search Engine

Cart 800 sales


InBefore is an automated news aggregator, that can import latest content from unlimited RSS feeds. With no-cost Google CSE based search engine that searches different portions of the web. Including different types of search sections, like web, videos, torrents even subtitles. No API keys are needed.

InBefore is not your average RSS aggregator, it comes with special features like HTML DOM based full-text fetching for articles, cron based automatic content fetching and deletion of the old content after a certain period and many more.

InBefore is the perfect choice for anyone who’s looking to build their very own content portal with no much server load to worry about.


Requirements

Before you buy or try to install inbefore please make sure your server meets the following requirements

  • PHP 7.4 to PHP 8.3 – Linux/unix web-server.
  • Apache 2.4+ with mod_rewrite
  • MySQL 5.6+
  • Standard cPanel with CRON support
  • cURL - PHP Extension
  • PDO-MySQL - PHP Extension
  • Mbstring - PHP Extension
  • fileinfo - PHP Extension
  • libxml- PHP Extension
  • DOM - PHP Extension

Warning

Please check the live demo and ask questions before you buy. Pre-sale questions are always welcomed. Ask questions and take your time before you buy to make sure you’re not buying something that you don’t want. Feeds must be added by yourself, only valid feeds are supported. Check if a feed is valid or not from here: https://validator.w3.org/feed/

There will be no refund once the item has been downloaded.


ALSO TO CUSTOMIZE THE ITEM YOU NEED AT LEAST BASIC KNOWLEDGE OF PHP AND HTML.

Live Preview

Live Demo: https://inbefore.mirazmac.com
Admin Dashboard: https://inbefore.mirazmac.com/dashboard

Admin Credentials

E-Mail: demo@mirazmac.com
Password: 123456

Search engines not working all of a sudden?

If your search engines are not showing any results, download to the latest update and at the root you will find a file named “engines-fix.sql”. Import that file to your current installation’s database. It will reset the engines with new default values.

Or you can manually run this SQL query:

TRUNCATE `in_engines`;
INSERT INTO `in_engines` (`engine_id`, `engine_name`, `engine_cse_id`, `engine_is_image`, `engine_show_thumb`, `created_at`, `updated_at`) VALUES
(1, 'Web', '34eef687ce269487c', 0, 0, 1567321257, 1580814530),
(2, 'Images', '954a56c1e00db57aa', 1, 0, 1567321258, 1592295337),
(3, 'Videos', '530b5e7ca4f8045d4', 0, 1, 1567321259, 1580814558),
(4, 'News', 'b16521454a1884f6a', 0, 1, 1567321259, 1567321259),
(5, 'Torrents', '6ff7034d0894868ee', 0, 0, 1567321259, 1592295317),
(6, 'Subtitles', '93314d2add702dbab', 0, 0, 1567321259, 1567321259);

Or, alternatively, go to Dashboard > Engines

And change the Google Custom Search IDs of the engines to the following new values:

Web – 34eef687ce269487c
Images – 954a56c1e00db57aa
Videos – 530b5e7ca4f8045d4
News – b16521454a1884f6a
Torrents – 6ff7034d0894868ee
Subtitles – 93314d2add702dbab

Further disclaimer about the Search Engines

The search engine part of the script depends on a free third party API named, Google CSE. If a situation arrives when the API is discontinued, the search engines will stop working. As I have no control over third party APIs, I won’t be able to do anything to fix it. So if you are purchasing this solely for the search engines then make sure you understand this, thank you.

PS: NO URL SHORTNERS WERE CREATED DURING THE MAKING OF THIS ITEM.

Changelog


Minor Bug fix and Improvement - October 09, 2023 (Only for 1.0.6)
========================
- Replace the following files from the archive to your installation:

\src\vendor\simplepie\simplepie\library\SimplePie\Item.php

\src\drivers\Http\RssImporter.php

v.1.0.6 - PHP 8 Support - Sep 14, 2023
========================================
- Added PHP 8 support (Only for new installations, upgrade isn't possible due to a lot of changed files).

October 2, 2022
===============
- Minor Reflective XSS Fix on the search pages "no search results text" 
in: src/controllers/SiteController.php 
changed line: 'noResultsString' => sprintf(__('no-search-results', _T), $q),
to:
'noResultsString' => e(sprintf(__('no-search-results', _T), $q)),

Thanks to @allyelyas for reporting.

Important Fix - October 22, 2021
========================
- For some odd reason Google has disabled all my CSEs. I have created new ones and added them to the SQL file. If you are running an existing installation just import the <strong>engines-fix.sql</strong> in your current database.

Minor Bug fix - Feb 09, 2021
========================
- src\drivers\Http\RssImporter.php - Fixed content limit wasn't working. Just replace this file in your current installation from the new archive.

v.1.0.5 - New Year's Update - Dec 31, 2020
===========================
- Added image search support in search
- Added keyword based post ignoring/importing feature
- Added content length based post importing
- Added character limit based filtering on imported posts
- Added in site articles search
- Added ability to view posts of a specific feed in frontend
- Added import and manual writing support for HTML5 video, audio content (No custom player)
- Added ability to import iFrames based content, with domain white-listing (By default youtube, vimeo, twitch is enabled)
- Added ability to set time interval for the popular posts (Daily/Weekly/Monthly/Yearly/All time)
- Added ability to set the search engine as default homepage
- Added full support for YouTube channel feeds, now videos will be embedded
- Completely revamped post importing algorithm, last refresh time now resembles the latest imported post's publish time, and if no post is found, last refresh time won't be updated. Also duplicate posts check now checks the post URL as well as the title
- Frontend design revamp with support for tablet devices
- [Plugin] Same site RSS Feed can now show full content and thumbnail
- [Plugin] Added category wise RSS feed for site
- [Plugin] New synonyms based Article Rewriter Plugin (English only)
- [Fix] Fixed broken instant answer images in search
- [Fix] Fixed issues where FeedBurners feed would be considered invalid
- [Fix] Added support for many third party image tags to make fetching the thumbnail image easier
- [Fix] Fixed issues regarding rich snippets (breadcrumbs)
- [Fix] Fixed issues regarding last refresh time
- [Fix] Automatically detects feedburners feeds and appends necessary parameters to import the feed
- [Fix] Newly added pages now appear at sidebar footer
- [Fix] Fixed the cron command to be compatible with all kinds of hosting.

v.1.0.4 - Quick Bugfix and Feature Update, April 14, 2020 (Recommended)
=====================================================
- Added ability to automatically fetch fulltext without any CSS selector (should work for most 80% of the sites)
- Added an option to forcefully add invalid feeds (eg. feeds with invalid mimetypes)
- Disabled SSL verification of the Feeds (known to cause cURL SSL issues in some hosts)
- Fixed encoding issues with foreign characters in CSS based fulltext fetching
- Some minor tweaks of the system files

v.1.0.3 - Quick Bugfix, April 4, 2020 (Updating Recommended)
==============================================
site/plugins/sitemap/lib/SiteMapController.php - Fixed the issue where another sitemap would only show in index when the total limit is reached
src/functions/formatting.php - Fixed invalid max file size value for some sites
src/functions/system.php - Fixed some featured image URLs being broken
src/helpers/UrlSlug.php  - Slugs now support foreign character normalization

v.1.0.2 Quick Bugfix, March 25, 2020 (Update immediately)
==================
- Added missing language parameters
- Fixed social share and image thumbnail issue
- Fixed some issues with unicode/complex characters in URL

v.1.0.1 Quick Bugfix, March 21, 2020 (Update immediately)
==================
- Fixed issue of white screen on search page
- Removed YouTube downloader completely 

v.1.0.0 - February 23 - InBefore Next - Major Update
====================================================
- Added Support for Translations with two pre-loaded languages (English, Bengali)
- Added Dynamic Sitemaps with sitemap index
- Added RSS Feed
- Added User Management with Roles and Permissions
- Added support for user registration (Can be disabled)
- Added support to enable or disable Google CSE Ads (Adsense for Search)
- Added ability to change trending searches region
- Added support for toggling the YouTube downloading feature
- Added ability to select the default search engine
- Added support for Theme Options
- Added pagination for homepage
- Added post view count
- Default theme has two layouts for the article page
- Added Facebook comment-box
- Added Related Posts
- Fixed critical issues of double encoding of URLs
- Fixed YouTube feeds fetching swf files instead of the thumbnail issue
- RSS Importer now loops through all the enclosures to find a image
- Fixed an issue where importer was fetching video URLs, even when image was present
- Updated the docs with solutions to the most common issues

v.0.1.4 - January 31, 2020 - YouTube Signature HotFix (Update immediately)
==========================================================================
- Downloading YouTube videos will now work with the latest YouTube Cipher Update

v.0.1.3 - December 22, 2019 - YouTube Downloader Hotfix (Update immediately)
============================================================================
- Fixed YouTube downloading issues

v.0.1.3 - December 22, 2019 - YouTube Downloader Hotfix (Update immediately)
============================================================================
- Fixed YouTube downloading issues

v.0.1.2 - November 17, 2019 - Hotfix (Update immediately)
========================================================
- Fixed critical fulltext fetch error bug in src/controllers/Site/SiteController.php
- Fixed chmod related bugs  in:
    src/controllers/Dashboard/DashboardThemesController.php
    src/controllers/Dashboard/DashboardPluginsController.php
- Changed post_title field to MySQL TEXT instead of VARCHAR to prevent MySQL Truncate issue.

v.0.1.1 - Ocober 15th, 2019
========================
- Fixed a critical RSS import bug in src/drivers/Http/RssImporter.php

v0.1 - October 10th, 2019
==========
- Created

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey