Tuesday, 23 June 2009

What's been happening?

Well despite there being loads of activity last week on the Blog this week we have had very little. This is down to many reasons, one of them is that i am working hard on the Supa Kode minor module: Supa Enjin. I have been building the documentation area of the Supa Kode wiki with the functions and information as i work towards writing it for Microsoft SQL whilst also improving some of the functionality of MySQL version of the class. There are a lot of functions in the class but i am getting through at a steady rate and i hope to get a lot of it done before i go camping. As well as that i also have an OU course to finish off before i go away.

Speaking of which, from the 5th July to the 26th of July i will be camping over the south west side of England and Wales. So there will be no updates in the way of podcasts, coding information, website updates or anything. I may update my twitter if i can get some internet using my PDA but other than that it's no internet time.

I hope to get some more stuff done before i go though. I promised something about MyWikiBB but i have not going around to adding in some more functions that i was planning. As already explained i have a lot to do and so MyWikiBB is on the back burner at the moment.

The good news is that i have now finished the basic structure of Project Submission for the Supa Comix website, the major problems with this is that i have to try and make it so that new projects can be easily added and that i can write code for one project and hope that i do not have to make code custom for each project. But that has it's basics down right now and i will be moving onto Group submission shortly, there is a lot left to do to the website and i will not have it done by July 1st as promised. With major changes in how Supa Comix will work and other things i could not keep to the schedule.

So that's all for me for today, i may be posting a news post on the Supa Comix website later. So stay tuned.

Monday, 15 June 2009

MyWikiBB

MyWikiBB is a Mybb plugin which allows users to have a very simple wiki section added to their own forum.

MyWikiBB only introduces one new user page and that is just used to display the wiki, there are no new user input pages that require you to use and get used to create your wiki.

I am aware that there already exists another Wiki plugin for Mybb by StefanT, this is a very good plugin and i invite you to use his Wiki if it fills your needs. I coded this plugin because i wanted to try and do the same thing just slightly differently, including some of my own features that i think that the plugin needed that his did not support. I invite you to try both plugins and see which one fulfils your needs more accuratley.

You can see a live version of the Alpha version of this plugin here.

Current Version: Alpha 2 (Unreleased) - This version is currently being tested on the l4dpodcast.net/forums.

For a full list of features as well as more detailed information please go here.

Saturday, 6 June 2009

PHP Naming Conventions

Wow some major coding things have been happening over the past few days since my last blog post. The major reason for this is to announce that i have moved the SupaKode wiki to wikidot.com as i found that their services seemed to fit with more of what i wanted compared to wetpaint. (Wetpaint was good but we wanted to do something else with it). The new wiki can be found here. Hopefully this one will be a lot more used than any previous one that i have set up.

I have been having problems with writing code, a lot of it becomes instantly confusing when reading and the comments have not been very clear. I have also found that functions become repeated with different names meaning that i just have way too many functions on the go and it's just taking up space and power. So i have decided to write up some guidelines of how i intend to code things in the future, these are PHP Naming Conventions which apply for variables, functions and even some files. The intention is to maintain a level of consistency with which i can write my code, these coding practices will be applied to all future Supa Comix coding projects (other than those within the Mybb Plugins area). I am in the process of making these gradual changes to the code as i go along with some of the older modules seeing some function renaming to start to fit into this new style of naming things. Read my article on how i lay them out here.

MyWikiBB has not really faced any alterations since last week, the intention was to wait until i had uploaded to the l4dpodcast.net website and make a lot of the changes to the code there. I have begun filling it in at the Supa Comix forum and writing the wiki of it about the actual plugin. It's some good practice in the way of using it and i find that it's working pretty well so far. It's just the installation and uninstallation process that i have to work on.

Speaking of Supa Comix websites, i am starting on the create projects section of the website and working from there on. I will be inserting each project into the new website and having the code written around the demands of each project as well as any considerations for any other project that people may submit. At the moment i'm working on comics so that i can submit Adele's Is It Because I'm Green and our Survivor Comic to the website.

MyTwitterBB has also been showing some signs of bugs since i last updated it. I will be workign towards the change log as i spot the bugs.

I think that raps up everything for now. Back to work!

Monday, 1 June 2009

Upcoming new mini project: MyWikiBB

Well i have just updated MyTwitterBB into version 2.2 so i will be awaiting bug replies on that one soon. But the Survivors Diary website is soon to be undergoing an update and that includes the implementation of a wiki system. This is something that i've been looking at for a while. I have looked at many ways to do it:
  • MediaWiki seems to complicated and although i've found ways to link it to mybb it's not something i'm really after.
  • WordPress Wiki is not something that i found to be what i particulary wanted, i reasoned that i wanted it to be on the forum so that users can interact with it a bit better.
  • Wiki for Mybb, there is a nice little plugin i found for Mybb which was alright but i think that it still was not particulary what i was aiming for with this. It has some aspects which are interesting but i wanted to go for something simpler and a lot more adjustable.
And thus i was left with the only option of coding it myself. So i have begun development of my new mini project: MyWikiBB. This will:
  • Use .htaccess to allow proper linking like real wikis, i will also provide an update for the current mybb .htaccess file incase people use that.
  • Use a forum category as its information background whereby only Administrators and Wiki Editors can view and create threads for it.
  • Everything in the way of styling and creating articles will be done like normal threads only within this hidden Wiki Forum category.
  • It will use its own display functions however and also allow a choice between a strutuce commonly employed by Wiki's like Wiki Pedia as well as the option to be displayed like the normal forum.
There is a lot in the way of development and coding left to do. I am also coding it so that updating it to the next code standard will be easier and does not involve the removal of a lot of database information. At the moment i have coded in the install, activate and deactivate code. This will soon be tested on my home server and so i can get it all coded in properly. Though i may have to write a script to remove all of the inserted data if it goes wrong at some point as it usually does.

Stay tuned for that and a page about that which should be coming out soon!

Now normally i would be updating the Supa Comix website but beings as this code is needed in two weeks i think that i had better focus all of my home personal coding time on this project rather than Supa Comix until it is done. I will re-continue with Supa Comix once this project is at least in some form complete.