Giter Site home page Giter Site logo

reddragonwebdesign / bluethrust5 Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 6.0 41.73 MB

A fork/update of the famous BlueThrust Clan Scripts v4. Gaming community website engine in PHP.

PHP 96.21% JavaScript 1.76% CSS 0.85% HTML 1.18%
gaming-website gaming-communities clan cms

bluethrust5's People

Contributors

deepend-tildeclub avatar reddragonwebdesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bluethrust5's Issues

mass replace if ( $_POST ) type statements

To quiet down the PHP warnings when $_POST is not set yet.

if(!$_POST['submit']) {
replace with
if ( empty($_POST['submit']) ) {
	
if($_POST['submit']) {
replace with
if ( ! empty($_POST['submit']) ) {

auto delete install directory after setup is not working. Replace with site wide message "You must delete install directory"

At the end of install, the user currently gets a message saying that the installer directory will be auto deleted. But the code for the auto delete is in the index.php file and is never called.

Fix, or delete.

//Installer Code - Can Be Deleted After Install For Security
function deleteDir($path) {
$i = new DirectoryIterator($path);
foreach($i as $f) {
if($f->isFile()) {
unlink($f->getRealPath());
}
elseif(!$f->isDot() && $f->isDir()) {
deleteDir($f->getRealPath());
rmdir($f->getRealPath());
}
}
rmdir($path);
}

email notifications

Is
members/include/emailnotifications.php gone for a specific reason? Was it just extra broken? Or is the functionality somewhere else now? Would really like functioning notifications.

on a PHP 8.1 server, turn on error_reporting(E_ALL), fix all notices and warnings

Not necessarily because these warnings create errors/problems.

Mainly because the large number of trivial warnings fill the page in debug mode, burying warnings for new changes I make that might need attention.

Also, the more of these we fix now, the less things will break when things are hard deprecated in future versions of PHP.

Things To Test

Update version 4 to version 5 (in HTML and in images)

v4 is present in a lot of images. Edit those out of the images completely, so that we don't have to edit images every time we change the version

  • Installer - installer/images/installer.png
  • Forum Profile Pic - themes/ribbonwow/images/defaultavatar.png
  • topbanners of skins?
  • default user portrait of skins?
  • setup.php - "You must be using at least PHP version 7.0 in order to run Bluethrust Clan Scripts v4. Your current PHP Version"

Then figure out where the main version variable is, and update that as needed

  • config file somewhere... loaded by the footer I think

merge author's improvements from 2015-2016 (v4 R17 2016-02-07)

The GitHub repository I forked from hadn't been updated since 2014. The version on the bluethrust.com website was last updated in 2016, and has a change log.

Bug Fixes:

1/1/2015

1) Fixed bugs with regard to the donations plugin.  

2) View Donation Log Page: If you have already installed a prior version of R17, you can delete this page from the database,
   it is not used.  Alternativly, you can go to My Account > Administrator Options > Manage Console Options.  Then click on 
   "View Donation Log", and choose to hide it.


1/18/2015

1) Added in a php version checker.


1/25/2015

1) Fixed a bug with being able to post extremely long words in a forum post. Limits the width to whatever you set 
   as the max image width.

2) Fixed the clock.  After a new hour it wasn't updating.  Thanks to Timberwolf from the forums for the fix!


3/29/2015

1) Fixed issue with downloads not uploading correctly when not using split file downloads.


2/7/2016

1) Fixed issue with editing theme.  Was allowing the file to save without the correct admin key.

2) Prevented CSRF attacks on Set Rank page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.