vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Clanbase v1.1 Hack (upgrade) (https://vborg.vbsupport.ru/showthread.php?t=42905)

Gohan 08-28-2002 10:00 PM

Clanbase v1.1 Hack (upgrade)
 
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

==================
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

Quote:

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:
PHP Code:

<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:

PHP Code:

<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

E 08-29-2002 09:52 PM

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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:

PHP Code:

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

Quote:

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

Quote:

Gohan - forgot to ask actually, I assume that the data just gets pulled from the CB database?
Yeah

Quote:

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

Quote:

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:

PHP Code:

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.

Quote:

Originally posted by Gohan


Yeah



You mean a column from CB?


Gohan 08-31-2002 08:45 AM

Quote:

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

Quote:

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:
PHP Code:

//----- Config ----- 

add after:
PHP Code:

$clanladder 000;                // Your Clan Ladder ID Number (e.g. Quake3,Medal of Honor,etc..) 

Template "clanbase_home" and find:
PHP Code:

<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:

PHP Code:

<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

Quote:

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

Quote:

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..


All times are GMT. The time now is 01:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02163 seconds
  • Memory Usage 1,846KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete