Giter VIP home page Giter VIP logo

bluethrust5's Introduction

BlueThrust Clan Scripts v5

Download Link

We have two versions of BlueThrust available:

  • Version 4 - The original BlueThrust clan scripts from 2016. Great if you are running a really old version of PHP such as PHP 5.6.
  • Version 5 - The latest and greatest BlueThrust clan scripts that we have done some bug fixes and PHP error fixes on. Great if you are running a modern version of PHP such as PHP 8.1. This is a WORK IN PROGRESS and may still have some errors.

Bugs, Security Issues, Feature Requests

For all bugs, security issues, and feature requests, please create an issue.

Your feedback is essential to help me decide what to work on. Feel free to make lots of issues.

Leave A Star

If you like this fork or found it useful, please consider leaving us a star. It lets me know that folks are interested in the project and that I should spend more time on it.

Progress So Far

Setup Guide

Click here

What are Clan Scripts?

"Clan Scripts" are a website engine (CMS) for gaming communities. BlueThrust is one of the best clan scripts created during the Battle.net era of clan websites (Starcraft: Brood War, 2000-2005).

This is a fork of BlueThrust 4

The original author was nice enough to open source the scripts, created a GitHub for them, and released them with a license that allowed modification and redistribution.

I attempted to contact him via a couple of different email addresses. I didn't get a response. The original GitHub hasn't been updated since 2014. The BlueThrust.com website has a version of the scripts that haven't been updated since 2016.

I was hired by a client in 2020 to update these scripts and add features. As a result, I became pretty familiar with them.

This repository is a fork of the BlueThrust 4 scripts, and I am going to share some of the changes I made for my client. I am naming this fork BlueThrust Clan Scripts v5.

Features

  • Military ranking system (M26)
  • Days since login (DSL) system - requires members to log in every X days or be auto disabled
  • Integrated forum
  • Multiple skins
  • Permissions - the higher the rank, the more website access
  • Public & internal news
  • Squads
  • Tournaments
  • Events
  • Medals
  • Diplomacy
  • Custom pages
  • Top players
  • Logging
  • Private messages
  • Upload files / upload forum post attachments
  • Customizable control panel menu
  • Shoutbox

Need help?

Do you just want these scripts up and running? Not interested in the technical details? I'm available for hire. I can help with any/all of the following:

  • Buying a domain name
  • Buying web hosting
  • Installing and configuring BlueThrust
  • Making custom modifications to BlueThrust

Click here to send me an email.

Themes

Would you like a different website skin? There are 29 to choose from. Head on over to the BlueThrust5-Themes repository. I did not create these, they are from the BlueThrust website. But I am maintaining them on GitHub so that I can keep their code up to date.

Developer Notes

Interested in contributing? Here's some developer notes.

Screenshots

bluethrust5's People

Contributors

deepend-tildeclub avatar reddragonwebdesign avatar

Stargazers

 avatar  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']) ) {

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.

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.

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

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);
}

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.