Theme Detection Script -- WordPress plugin in PHP

Cancelado Publicado Apr 3, 2014 Pagado a la entrega
Cancelado Pagado a la entrega

~~~~~~~~~~~~~~~~~~~~~~~~~

OVERVIEW

~~~~~~~~~~~~~~~~~~~~~~~~~

This project is to create a "theme checker" script (similar to [url removed, login to view]) as a WordPress plugin written in PHP.

Must be well stuctured, clean code, and well commented. Also the PHP and Mysql must be secure from injection attacks by implementing "stripslashes" and all the usual security stuff.

Note: There are many more projects in the pipeline so if you prove yourself with this one, then you may be my goto person for future stuff.

~~~~~~~~~~~~~~~~~~~~~~~~~

WHAT'S NEEDED

~~~~~~~~~~~~~~~~~~~~~~~~~

a. Create script to analyze a website and output the cms (e.g Wordpress, Joomla,etc) & theme name & list of plugins used.

b. This is a free service to the public. (fyi I'm monetizing this by being an affiliate reseller of some theme providers, with my affiliate link shown in the output results)

c. Write as a WP (WordPress) plugin

d. Include "Admin Setttings" page in WP Admin

e. Create the WP shortcode [analyze-site]

f. Create the WP shortcodes [popular-themes] and [popular-plugins]

g. Create MySQL logfile

h. Other minor items & features as listed below.

~~~~~~~~~~~~~~~~~~~~~~~~~

NOTES

~~~~~~~~~~~~~~~~~~~~~~~~~

For WordPress, a theme's name, author, version etc can be extracted from [url removed, login to view]

There's a free php class ([url removed, login to view]) which can determine a website's cms (e.g. WordPress, Joomla,etc) as well as applications used in the site.

As a point of reference, check out these theme detection websites:

[url removed, login to view]

[url removed, login to view]

~~~~~~~~~~~~~~~~~~~~~~~~~

FEATURE REQUIREMENTS

~~~~~~~~~~~~~~~~~~~~~~~~~

1. Check if cms is WordPress, Joomla, Drupal, etc

(use the free php class: [url removed, login to view] )

2. If WP (WordPress) theme, then check for theme name & plugins.

If not WP theme, then check for popular applications used in theme.

(use the free php class: [url removed, login to view] )

3. If nothing is detected then output a no-theme-detected message such as: "This website does not seem to be using a theme".

...If submitted website is on the blocked list, then output a blocked-site message such as: "Sorry we cannot analyze that website."

...If submitted website contains words on "bad words list" or bad words in URL, then output a blocked-adult-site message such as: "Sorry we cannot analyze any adult website."

4. Save search to mysql logfile:

ip numer, country, URL_searched, cms, theme-name, plugin1, plugin2, plugin3, … plugin15

5. Link translation. Normally the output will give a link to where the user can purchase that theme. However in certain cases, the URL will be translated to my affiliate URL. I am a reseller for ThemeForest and Elegant Themes, so any links to those theme provider sites should contain my affiliate code. In "Admin Settings" the admin can list links which should be translated. For example:

[url removed, login to view]{name} --> [url removed, login to view]{name}&affiiateID=7447

6. Create script (activated by cron) to query logfile and make list of 10 most popular themes, and 10 most popular plugins. Store results in mysql db.

7. Create shortcodes [popular-themes] and [popular-plugins] which can be inserted anywhere on the page. Will grab list from mysql db (see item 6 above) and display output as shown: (output not shown due to reaching max words for project desc)

~~~~~~~~~~~~~~~~~~~~~~~~~

OUTPUT

~~~~~~~~~~~~~~~~~~~~~~~~~

----Detected CMS----

CMS type: (e.g. WordPress, Joomla, Drupal etc)

----Detected Theme----

Theme Name

Theme Homepage

Theme Homepage screenshot

Theme Description

Theme Version

Theme Author

Theme Author Homepage

----Detected Plugins----

{plugin1-name} [wp link] [gooogle lnk]

{plugin2-name} [wp link] [gooogle lnk]

{plugin3-name} [wp link] [gooogle lnk]

(etc)

~~~~~~~~~~~~~~~~~~~~~~~~~

ADMIN SETTINGS

~~~~~~~~~~~~~~~~~~~~~~~~~

(described below)

(Ownership info described below)

~~~~~~~~~~~~~~~~~~~~~~~~~

ADMIN SETTINGS

~~~~~~~~~~~~~~~~~~~~~~~~~

o Modify "no-theme-detected" message ....
o Modify "blocked-website" message
o Modify "blocked-adult-website" message ....
o Set "Most Popular" tool run times: Daily, 2x/day, or Hourly (this modifies cron file)
o Set "Most Popular" list size (how many items in Themes list and Plugins list)
o "Blocked Sites" list (Admin can edit list of websites that cannot be analyzed)
o "Link Translation" list (Admin can edit list of URLs which will translate to other URLs)
Example: ....
www.themeforrest.com/?theme={name} --> www.themeforrest.com/?theme={name}&affiiateID=7447
www.ElegantThemes.com/themes/{name} --> www.ElegantThemes.com/themes/name/?reseller=stevej
o Bad Word Filter: Comma separated list of bad words.
URLs containing a bad word will not be analyzed.
Websites containing bad words in index.html will not be analyzed.
o Other admin settings as suggested by developer.

ADDITIONAL INFO FOR FEATURE #7

(7. Create shortcodes [popular-themes] and [popular-plugins] which can be inserted anywhere on the page. Will grab list from mysql, see item 6 above, and display output)

OUTPUT EXAMPLE:

Most Popular Themes

Theme Provider ……… % of Total Searches
1. Studio Press (Genesis) ….. 8.78%
2. ThemeForest ….. 6.02%
3. WordPress ….. 5.85%
4. Thesis (DIYthemes) ….. 3.17%
5. Elegant Themes ….. 2.93%
6. WooThemes ….. 2.89%
7. Sahifa ….. 0.93%
8. Theme Junkie ….. 0.86%
9. OptimizePress ….. 0.80%
10. Avada ….. 0.64%


Most Popular Plugins

Plugin ….. % of Total Searches ….. Links
1. Contact Form 7 ….. 6.52% … wp-link google-link
2. Yoast WordPress SEO Plugin ….. 6.14% … wp-link google-link
3. All In One SEO Pack ….. 5.17% … wp-link google-link
4. W3 Total Cache ….. 3.47% … wp-link google-link
5. Jetpack ….. 3.32% … wp-link google-link
6. Yoast Google Analytics For WordPress ….. 2.57% … wp-link google-link
7. WP Super Cache ….. 2.54% … wp-link google-link
8. WP Pagenavi ….. 1.78% … wp-link google-link
9. Nextgen Gallery ….. 1.54% … wp-link google-link
10. WP Polls ….. 1.04% … wp-link google-link


OWNERSHIP .....
(a) All source code is unencrypted and nothing will "phone home" to developer's site or any other website, or rely on any third party website for software key yadda yadda yadda--basically no games. (b) Ownership and copyright transfer from developer to buyer. Developer will sign and email agreement to buyer. Developer may not resell this script or similar script to others, or distribute, share, giveaway or publish the script. (c) Buyer agrees to offer Developer opportunity for future modifications to script. Developer has "first right of refusal" which gives Developer the opportunity to accept project or allow someone else to take the project. Basically, Developer has "first dibbs" on any future work.

CMS MySQL PHP Arquitectura de software WordPress

Nº del proyecto: #5758273

Sobre el proyecto

2 propuestas Proyecto remoto Activo Apr 3, 2014

2 freelancers están ofertando un promedio de $184 por este trabajo

mohidkhan

Hi, I am professional Programmer & designer of Front end & Back end, I am working with challenge and hope to improve future plan with good network every client. If you want to get more faster job services with save ti Más

$257 USD en 10 días
(3 comentarios)
3.0
jianri

Hello, I'm WP EXPERT. I have developed many WP plugins like TCI CMS, TCI CMS Pro, TCI Graphics, TCI Front End Editor, Inventory Plugin, Google Advertise and so on. You can look these plugins at my portfolio project Más

$111 USD en 3 días
(0 comentarios)
0.0