phpnuke BF 2142 stats

For discussion of the BB stats code.
nos

Re: phpnuke BF 2142 stats

Postby nos » Mon Jan 21, 2008 10:25 pm

Sorry for the double post but i couldnt add all the pics to 1 post.

This will be the basic PHP script converted from your ASP code,
I will be then modifying the code more to suit my phpnuke layout.
Basically I have already coded the script to suit phpnuke, I did keep most of the
function names the same but i did things a little different so allot of
functions are not where u might find them in the ASP and allot of the
functionality was coded differently but obviously get the same out come.
You do not have the required permissions to view the files attached to this post.

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4231
Joined: Thu Dec 01, 2005 10:40 pm

Re: phpnuke BF 2142 stats

Postby Mort » Tue Jan 22, 2008 8:18 am

Looks good, you've done a great job on the conversion. If/when you are ready to release your version of the code I'll send an update out to the other clans that have expressed interest and I'm sure we'll get quite a bit more interest.

WRT the attachment limit... I might bump that up a bit so you can add more in a single post...
Image

nos

Re: phpnuke BF 2142 stats

Postby nos » Tue Jan 22, 2008 9:41 am

Thanks mate.

in the end it wasn't anywhere near as hard as I expected, ASP is really very easy to
read and takes little effort to convert to php, not to say it wasn't allot of work.
But in the end i think the conversion only took a little over a week.

I will be releasing the code in the near future but I would like to implement the stats code
into my own website before its made public.

In regard to credits.

Im going to add you and piers / budda.com
for the original ASP code with a link to your site.

is there anything else u would like me to add?

PS:
How many Australian clans have expressed interest in the php version?
and how many clans have shown interest in a phpnuke version?

Cheers
Nos

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4231
Joined: Thu Dec 01, 2005 10:40 pm

Re: phpnuke BF 2142 stats

Postby Mort » Tue Jan 22, 2008 11:10 am

Simple credit with a link to us is fine. Not after anything too fancy. As long as it's a *REALLY BIG* font so everyone notices it :)

I don't think any other Aussie clans have asked yet. So far it's South Africa, Canada, Germany, and US that I've had people asking from. I think though that a php-nuke version might make it more interesting for people as the idea of converting ASP to php was beyond most clan admins don't know enough about phpbb or php to build it from scratch.

Release when you are ready, but once you have it on your site I will make a post and announce to everyone who has expressed interest so far. That way we'll see who is reall keen to get it :)
Image

nos

Re: phpnuke BF 2142 stats

Postby nos » Tue Jan 22, 2008 11:38 am

not a problem mate i will make sure the credits are nice and clear.

it would be nice to see allot of other clans using the system that we have all
worked so hard on, but at the same time i would like a little time to show it
off.. lol, then the final release will be that more exciting for everybody.

Well its actually very easy to convert php to a phpnuke script,
u just have to add some headers and your almost good to go.

Code: Select all

if (!eregi("modules.php", $PHP_SELF)) {
  die ("You can't access this file directly...");
}
$index = 1;
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
include("footer.php");


this would include the nuke files into the php file
the u can access login info and all that nice stuff so u never have to recode your php or edit phpbb.

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4231
Joined: Thu Dec 01, 2005 10:40 pm

Re: phpnuke BF 2142 stats

Postby Mort » Tue Jan 22, 2008 12:31 pm

nos wrote:it would be nice to see allot of other clans using the system that we have all
worked so hard on, but at the same time i would like a little time to show it
off.. lol, then the final release will be that more exciting for everybody.

Which is why I set up this post a long time ago in the belief we would be swamped by people trying to set it up :)
Image

nos

Re: phpnuke BF 2142 stats

Postby nos » Fri Jan 25, 2008 5:30 am

Well you gonna have at least one other clan down in that thread.
I'd say allot more once the php and php nuke versions are released.

:mrgreen:


********Edit

The php version of the BF 2142 stats system is complete.

I just finished the Leader board conversion, this was the finial part
of the code conversion.Now I'm just working on setting up a phpnuke
version so i can run it on my own site.

I will be releasing the php version along with a nuke version in the
coming weeks.

Cheers guys
Nos

nos

Re: phpnuke BF 2142 stats

Postby nos » Sat Jan 26, 2008 10:49 am

Sorry for the double post but heres some images of the phpnuke version in action.
This verison of the stats system runs as a phpnuke module, this allows anyone
running a phpnuke site to add the system to there own site within minutes.
You do not have the required permissions to view the files attached to this post.

User avatar
Piers
Comfortable with my sexuality
Comfortable with my sexuality
Posts: 1408
Joined: Fri Dec 02, 2005 7:57 am
Location: Horse country

Re: phpnuke BF 2142 stats

Postby Piers » Sun Jan 27, 2008 7:42 am

Nice one, but you're not rechecking the checkboxes when you load the full stats - have a look at ours, I split the pid array and check all the boxes for the values I find in it.
User Interface is 80% of web design...
Image

nos

Re: phpnuke BF 2142 stats

Postby nos » Sun Jan 27, 2008 5:27 pm

thanks for pointing that out, I did realize that but I just for got to do it in that version.
soon as i completed that standard clone version of the original stats I started work on the
version I'm going to use on my website.

wwoystats.JPG


If u take a look at this picture u can see the new navigation method I'm using.
Basically the first list box u see is a listing of all clan members the second is
the compare list box(pids to show) and the third is the stats mode(Awards,weapons,maps).

This version does collect the pids in the query and add them to the list box. :-D

I now have 3 versions of the sytem.

1:php clone
2:phpnuke clone
3:phpnuke Wwoy

The Wwoy version Has been modified, now each stat has an individual section.
I have changed around a few other things through out the Wwoy version I will post
full details when its complete.

1:Both the phpnuke and php versions will be released with small upgrades like new popups.

2:Both versions will also come with small admin config page

3:the nuke version will have full admin module configuration.

4:nuke version will have an auto Member Detect, this will allow all members to add there
own BF 2142 Player to the clans stat system.

5:both versions PID editor(admin) come with auto find pid from player nick, by communicating with bf 2142 tracker.com.
(if anyone knows a better way please let me know)

Mort and Piers your both welcome to look at my source code for any of versions when ever u like
I would prefer to keep the Wwoy version away from the public but I have no problems giving it to you guys.

The php and phpnuke clone versions will be released soon :D

PS:
If anyones got any good tips or ideas for page layout or functionality I'd love to here them.
You do not have the required permissions to view the files attached to this post.

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4231
Joined: Thu Dec 01, 2005 10:40 pm

Re: phpnuke BF 2142 stats

Postby Mort » Wed Jan 30, 2008 5:10 pm

So when the first release gunna happen. I'm getting quite excited about spamming the other interested people to see how many of them really are keen to get it.
Image

nos

Re: phpnuke BF 2142 stats

Postby nos » Wed Jan 30, 2008 6:57 pm

very soon i have almost got a final version complete, just fixing/adding a few little things

nos

Re: phpnuke BF 2142 stats

Postby nos » Mon Feb 11, 2008 1:24 pm

Ok guys todays the day,

I'm just about to upload it to the wwoy website
and go live with the 1.0 version of the BF2142 stats system.

I will be releasing it to the public in a few days through these forums.

mort and piers,
I'm going to set u 2 up as temporary wwoy clan members
so u can take a look at the members register.[
You do not have the required permissions to view the files attached to this post.

User avatar
Piers
Comfortable with my sexuality
Comfortable with my sexuality
Posts: 1408
Joined: Fri Dec 02, 2005 7:57 am
Location: Horse country

Re: phpnuke BF 2142 stats

Postby Piers » Mon Feb 11, 2008 7:43 pm

Nice one, that's quite a good interface.
Does that mean I ( johnselmann ) won't be banned from the Come Die! server anymore? Damned if I know why I am, but I couldn't get on on the weekend.
Image

User avatar
Mort
Alpha-Forum Whore
Alpha-Forum Whore
Posts: 4231
Joined: Thu Dec 01, 2005 10:40 pm

Re: phpnuke BF 2142 stats

Postby Mort » Mon Feb 11, 2008 7:58 pm

You should still be banned anyway, but at least you can see your stats on the WWOY server :)

When we get the php version from Nos I'll put them up on the BB server as well, although they might need some tweaking if the MySQL/MSSQL code doesn't match exactly.

Maybe we should look at a SQL include file that has the relevant queries in the format for whatever DB you want to use. That's how these phpBB forums do it to support all the different DBMS options.
Image


Return to “The Buddabudda Stats system”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests