Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated database handling and html parsing and increased integration for plugins #8

Open
wants to merge 140 commits into
base: master
Choose a base branch
from

Conversation

CreaoticX
Copy link

This borrows heavily from Wordpress in order to increase the ability for plugins to integrate with SEO Panel. It does this primarily by adding the ability to incorporate action and filter hooks into the SEO Panel operations and by adding the ability save meta data associated with any data type, but specifically websites, projects, and reports.

Functions to simplify managing settings were also added. Settings can now include arrays and can be excluded from being made constants by adding the prefix 'ign_' to the category.

In the process of adding this functionality, an html parser and a MySQLI database handler were also added to simplify operations, increase readability, and increase security. A mysqli helper file was also added to maintain backwards compatibility until the existing code can be

sendtogeo and others added 30 commits June 6, 2015 00:55
Reset $supportClass in adminmenu.ctp.php×2
Merge cron's separate debug property with SP_DEBUG
CreaoticX added 10 commits July 28, 2016 19:35
Updated the getPageInfo function to utilize the PHPHtmlParser and added new filters to allow for customized page info
str_replace was throwing an error a number 1 set as the limit so a $limit variable was created and inserted
Fixed the URL removing the domain name.  Added a boolean $internal variable to the link_info filters.
Fixed two more errors in formatting the link url
Eliminated duplicate home page issue for domain ending in / and changed the broken link checker to check the database before pinging the website.
Added update setting function to simplify updating settings without having to enter all the setting data.
Added maybe serialize functions to saving and getting settings functions
By adding the prefix ign_ to the category of a setting it will not be loaded as a constant
Updated the database calls to use the new MySQLi database handler and added filters and action hooks to the scoring functions
# Conflicts:
#	controllers/components/auditorcomponent.php
#	includes/sp-common.php
#	includes/sp-load.php
#	libs/seopanel.class.php
#	libs/spider.class.php
#	themes/classic/views/menu/adminmenu.ctp.php
#	themes/classic/views/menu/usermenu.ctp.php
@sendtogeo
Copy link
Owner

Hi Team,

Thanks a lot for these changes send by you.

We will verify and will add it to seo panel repository and will update you.

Thansk for the support

CreaoticX added 17 commits July 31, 2016 22:26
Separated scoring functions into separate classes to allow for additional scoring factors to be added dynamically and factor weighting and settings to be editted by the user.

TODO:
Create score weight and setting editting pages
Create domain scoring factors
Divided the total score by the total of all weights and multiplied by 10 to give a total score between -10 and 10
Reverted the classic theme to it's original form.  Creating a new theme to make changes in instead
Added include to load the the default score classes
This makes them accessible by the Score Class children
A label is required to save a setting.
Scores can now be activated and deactivated
Active check was after default return and wasn't being called.
If runkit_constant_redefine function does not exist don't try to reset constants
Fixed bug causing updated score settings not to save properly
Added a score to handle the average page score for websites.

TODO:
Implement website scores
… dynamic scoring for projects

The countScore and weightedScore functions can now be used for any score type.  These are now used to calculate the score for projects as well.
@sendtogeo
Copy link
Owner

Thanks again for the support by writing this much code.

Can you please send the merge request to following develop branch of seo panel

https://github.com/seopanel/Seo-Panel/tree/develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants