View Full Version : Clanbase v1.1 Hack (upgrade)
Gohan
08-28-2002, 10:00 PM
Hi folks :bunny:,
I haven't stolen java code but I only modified to vbb!
Copyright (c) 2001 - Clanbase Javascript by David Hinchliffe !!!
Are your members too lazy to check the clanbase agenda? If this is the case, your members can still access clanbase site through this site and don't have to open new window.
Clanbase v1.1 Hack for all vbb version!! (don't need to test the old vbb version :))
Demo: Click here (http://saxxon.squadcenter.de/clanbase.php)
==================
Edit: Better English, Thanks to my friend [94th] Gen. Akira
==================
Upgrade to v1.1 (add ladder ID number)
Ninth Dimension
08-29-2002, 06:12 PM
Damn, this looks like such a cool script, but our clan have just decided to leave clanbase.
Maybe we should rejoin? :)
Gohan
08-29-2002, 06:20 PM
Originally posted by Ninth Dimension
Damn, this looks like such a cool script, but our clan have just decided to leave clanbase.
Maybe we should rejoin? :)
Thank you :nervous:
Well possible rejoin ;) If your clanleader don't like, ask to him "I want be clanleader?" :rambo:
Gohan
08-29-2002, 06:22 PM
open clanbase_home template from you AdminCP:
Find:
<td width="50%" align="right"><normalfont><b>Ranked: <script src='http://www.clanbase.com/cbrank.php?cid=160659&lid=560&type=js'></script></b></normalfont></td>
change to:
<td width="50%" align="right"><normalfont><b>Ranked: <script src='http://www.clanbase.com/cbrank.php?cid=$clanid&lid=560&type=js'></script></b></normalfont></td>
Sorry me!
Gohan
08-29-2002, 06:30 PM
how can i upload fix file to here?
* Keep current attachment ( clanbase_v1.0_hack.zip )
* Delete current attachment
* Upload new attachment
what must i choose to?
Ninth Dimension
08-29-2002, 06:36 PM
You need to choose "Upload new attachment" (and BTW, I am the clan leader :p) heh
Gohan
08-29-2002, 06:58 PM
Thank ya, mate.. i'll upload now
Mystic Gohan
08-29-2002, 09:22 PM
mkay what is this for??? I kinda confused
Originally posted by Mystic Gohan
mkay what is this for??? I kinda confused
yes, me also. What is a clanbase?
Gohan
08-29-2002, 09:56 PM
Originally posted by Mystic Gohan
mkay what is this for??? I kinda confused
Most 1st person shooter games have league between clans and one of most famous one is Clanbase.com
Clanbase has league for games like:
*) Quake 3
*) Medal of Honor: Allies Assualt
*) Knight Jedi 2
*) etc..
Not every member needs to check clanbase site for upcoming clanwars or the score but as clanleader and holder of admin right at clanbase you have to log in at clanbase and check the pending issues
Info more at http://www.clanbase.com/
================
Edit: Better English, thanks to my friend [94th] Gen. Akira
Mystic Gohan
08-29-2002, 10:43 PM
like online multiplayer games???
Gohan
08-29-2002, 10:45 PM
Originally posted by Mystic Gohan
like online multiplayer games??? Correct :bunny:
Mystic Gohan
08-29-2002, 10:55 PM
so games like Tribes and Warcraft and Age of Empires all have places like this??? I might have to check them out
Gohan
08-29-2002, 10:58 PM
Clanbase havent support it but well (see below list) only
Quake
Quake 2
Quake 3
HalfLife
Unreal
Tribes2
Wolfenstein
Starcraft
MedalOfHonor
WarCraft3
Ghost Recon
Jedi Knight2
SOF2
FIFA
Battlefield 1942 (Coming soon)
[D]Vincent
08-30-2002, 01:46 AM
Just wondering but can I customize this to clans on my forum instead of ones for games? Because I have clans in my Text Based RPG I'm starting up on the forum and this would be pretty great with it ^^
Gohan
08-30-2002, 07:37 AM
Originally posted by [D]Vincent
Just wondering but can I customize this to clans on my forum instead of ones for games? Because I have clans in my Text Based RPG I'm starting up on the forum and this would be pretty great with it ^^ Nope, sorry me.. clanbase.php check info from Clanbase Database
=======
Edit: Maybe i misunderstand.. should i check your forum? than i understand maybe better.
Intex
08-30-2002, 10:45 AM
Awesom work Gohan. On our site we've included all the links to CB, but this sure makes the whole thing a lot more integrated.
I'll install this later !!!
Good work man - keep it up :D.
Gohan
08-30-2002, 04:07 PM
Thank ya, If you have more than one multiplayer from CB, let me know. Maybe i'll be upgrade hack.. (if possible ;))
Ninth Dimension
08-30-2002, 04:12 PM
I think an upgrade to support more than one clan would be possable, are you looking to have all the clans listed on one page, or over multipul pages? if you want multipul pages then I might have the answer for you.
Gohan
08-30-2002, 04:19 PM
Originally posted by Ninth Dimension
I think an upgrade to support more than one clan would be possable, are you looking to have all the clans listed on one page, or over multipul pages? if you want multipul pages then I might have the answer for you.
yeah sure i want multipage cuz our clan have two division (1st and 2nd) from CB..
i create two files and still same one template
example: clanbase1st.php and clanbase2nd.php but i want mixed into one clanbase.php with button 1st division or 2nd division.
I don't know how make multipage with Clanbase ID number and Clanbase Group (mohaa, Q3 or other games) number
Ninth Dimension
08-30-2002, 04:29 PM
ok, i'm only going to be quick explaining this because I'm short on time (but can come back and help you more later).
all the clanbase.php files does is set the number of the clan, and displayes the template, it has power to do far far more.
what I'd suggest you do is remove the clan's id number from the file itself, but insted have it assigned via the URL:
eg, clanbase.php?clanid=12345
then all you do is some simple code like this:
if (!$clanid) {
// display welcome page listing clans available
} else {
// display clan page
}
then all you would need is another template that would list your clan's, and use the correct links.
With a hack this small there is no need to go in too deep with anything like database support, etc... so the welcome page can be customiused by the hack user to fit in with there clan (i.e. about us, members, how to join, etc...)
Like i said, I don't have time at the moment to do it myself, but maybe later if you want a hand or some help, let me know :D
Ninth Dimension
08-30-2002, 04:30 PM
PS, I used $clanid because I could not remember what your variable name was, just replace it with whatever it was :)
Crazy Mofo
08-30-2002, 05:07 PM
but what happens if you got a clan in clanbase but in multiple leagues like sof2,rtcw,cs how could u get it too only show it for only 1 game coz it would just add them all up then give u a total ranking for all the gaems and not for the indvidual game which is not what i wont
Ninth Dimension
08-30-2002, 05:15 PM
you need to ask the author of the javascript to find that out, i'm not even sure that it's possable. (sorry to the author, i just like getting involved)
Gohan
08-30-2002, 05:22 PM
Originally posted by Crazy Mofo
but what happens if you got a clan in clanbase but in multiple leagues like sof2,rtcw,cs how could u get it too only show it for only 1 game coz it would just add them all up then give u a total ranking for all the gaems and not for the indvidual game which is not what i wont
well possilbe.. i'll make upgrade later
Gohan
08-30-2002, 05:23 PM
@Ninth Dimension , thank ya.. if i need helped, i'll ask to you :)
Intex
08-30-2002, 05:28 PM
Gohan - forgot to ask actually, I assume that the data just gets pulled from the CB database?
Tips for Improvement: Wonder whether you could add a column to hold screenshots links of the relevant war and another one for recorded demo links of the war. Just an idea :),
Gohan
08-30-2002, 11:10 PM
Gohan - forgot to ask actually, I assume that the data just gets pulled from the CB database?
Yeah
Tips for Improvement: Wonder whether you could add a column to hold screenshots links of the relevant war and another one for recorded demo links of the war. Just an idea :),
You mean a column from CB?
Gohan
08-30-2002, 11:12 PM
Originally posted by Ninth Dimension
ok, i'm only going to be quick explaining this because I'm short on time (but can come back and help you more later).
all the clanbase.php files does is set the number of the clan, and displayes the template, it has power to do far far more.
what I'd suggest you do is remove the clan's id number from the file itself, but insted have it assigned via the URL:
eg, clanbase.php?clanid=12345
then all you do is some simple code like this:
if (!$clanid) {
// display welcome page listing clans available
} else {
// display clan page
}
then all you would need is another template that would list your clan's, and use the correct links.
With a hack this small there is no need to go in too deep with anything like database support, etc... so the welcome page can be customiused by the hack user to fit in with there clan (i.e. about us, members, how to join, etc...)
Like i said, I don't have time at the moment to do it myself, but maybe later if you want a hand or some help, let me know :D
You may modify it.. I want seen your better hack ;)
Ninth Dimension
08-31-2002, 12:16 AM
OK, i'm just headed off to sleep now, but i'll work on Clabase v2.0 when I wake up, it's not going to be anything special, infact most of your code is going to stay the same, but i'll do it anyway :)
Intex
08-31-2002, 07:23 AM
No, not from CB, just one that you may implement yourself so that people can add a link to their screenshots and demos that they may have for each war. It would be extremely useful in my opinion.
Originally posted by Gohan
Yeah
You mean a column from CB?
Gohan
08-31-2002, 08:45 AM
Originally posted by Ninth Dimension
OK, i'm just headed off to sleep now, but i'll work on Clabase v2.0 when I wake up, it's not going to be anything special, infact most of your code is going to stay the same, but i'll do it anyway :) Ok, good luck. I think i'll install your v2.0 :p
BTW Ask, should we create a clanreport hack?
If you like please contact me than i'll show clanresult to you.
Intex
08-31-2002, 08:48 AM
Gohan - Yep that sounds kewl too, I'd be interested in as much CB integration as possible. Do you think you might be able to include those two extra columns for screenies and demo's ?.
Gohan
08-31-2002, 08:56 AM
Demo:
1st Division
http://saxxon.squadcenter.de/clanbase_1st.php
2nd Division
http://saxxon.squadcenter.de/clanbase_2nd.php
But He create a clanbase for version 2.. i'll waiting ;)
=====================================
I'll create a Clanreport (don't know when will release)
I will need helped. If you are interssant it :)
Demo: http://4th.squadcenter.de/4hclanmatchlist.php
TheWulff
08-31-2002, 09:05 PM
Can this be modified for other ladders, IE OGL and TWL ? Nice work BTW
Intex
09-08-2002, 09:57 AM
Gohan - do you think you might be able to add a couple of columns to support a link to a demo (that you put in yourself) and also the Match Report which is on the Clanbase pages where all the results are seen.
Gohan
09-09-2002, 09:58 AM
Originally posted by TheWulff
Can this be modified for other ladders, IE OGL and TWL ? Nice work BTW
Yeah, need modify ladder group number:
clanbase.php and find:
//----- Config -----
add after:
$clanladder = 000; // Your Clan Ladder ID Number (e.g. Quake3,Medal of Honor,etc..)
Template "clanbase_home" and find:
<td width="50%" align="right"><normalfont><b>Ranked: <script src='http://www.clanbase.com/cbrank.php?cid=$clanid&lid=560&type=js'></script></b></normalfont></td>
change to:
<td width="50%" align="right"><normalfont><b>Ranked: <script src='http://www.clanbase.com/cbrank.php?cid=$clanid&lid=$clanladder&type=js'></script></b></normalfont></td>
You need find your clan ladder ID number:
Example: http://www.clanbase.com/rating.php?lid=219
rating.php?lid=219 that ladder ID number :)
Gohan
09-09-2002, 10:10 AM
Originally posted by Intex
Gohan - do you think you might be able to add a couple of columns to support a link to a demo (that you put in yourself) and also the Match Report which is on the Clanbase pages where all the results are seen.
Sorry me, i don't understand cuz my english is bad.
i create a Clan Match Report :) (still not complete yet, just beta version) If you want seen, let me know.
Intex
09-09-2002, 12:07 PM
Yeah would be cool to see. Let me know the link :).
Gohan
09-09-2002, 02:44 PM
Originally posted by Intex
Yeah would be cool to see. Let me know the link :). you found already ;)
==============================================
hi folks,
Clan Match Report is into Beta version forum..
Sc0rp
09-09-2002, 11:49 PM
demo seems to be updated:p
http://4th.squadcenter.de/clanbase.php
Gohan
09-10-2002, 12:14 AM
Originally posted by Sc0rp
demo seems to be updated:p
http://4th.squadcenter.de/clanbase.php
Thanks :)
Demo more on:
For 1st Division = http://4th.squadcenter.de/clanbase_1st.php
For 2nd Division = http://4th.squadcenter.de/clanbase_2nd.php
Mystic Gohan
09-12-2002, 01:53 AM
............. This sucks how come no Age of Empires 2: The Conquerors(sp) that is the only Online Multiplayer game I have.
Xyphen
01-15-2003, 07:50 PM
I don't get what this hack does? is it a Clan hack, anyone has a demo or screen shots?
hinch
10-04-2004, 10:31 AM
hate to bump an old post but damn this is based on something i wrote so so so long ago :)
never realised anyone converted it to vbb lol would have saved me a job when i did it myself about a year later down the line :)
oh well i'll go back in my hole
(im David Hinchliffe btw :) just incase you didnt work that out)
hinch
10-04-2004, 09:52 PM
i never did now
although i now run vb3 i no longer have need for such a script so stopped using it along time ago.
may well be working on a match result system though for future depends how much time i get
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.