I am looking into a mod for NukeLadder. It comes with Ladder, League, Knockout, and you can also get Division, ELO, and Elimination as "addons".
I am interestred in created a mod called Campaign based on a gamesite I am running at
Only registered users can see links on this board! Get registered or login to the forums!
We use Call of Duty and base a "campaign" style of wargaming on a strategic map.
What I need to do is find a way to create another admin page for administration of a "campaign" mod since this would use a whole different style of scoreing system than regular NukeLadder.
Below is a function taken from one of the core files of NukeLadder admin.
Code:
function ladderlistmanager() {
global $admin, $dbi, $prefix, $bgcolor1, $bgcolor2, $bgcolor3;
I need to change this and put in an if statement that if $type = 'campaign'
then I need to pass a different value like
<option value=\"EditCampaignLadder
to the case statement
case "EditCampaignLadder":
editCampaignLadder($sid);
break;
which would pull up
Code:
function editCampaignLadder($sid) {
global $user, $bgcolor1, $bgcolor2, $aid, $prefix, $dbi, $multilingual;
$result = sql_query("select radminency, radminsuper from ".$prefix."_authors where aid='$aid'", $dbi);
(This would all have to be rewriten to do what I want)
I don't want to mess up the core NukeLadder files any more than I have to but would rather just be able to add what I need done to the existing code.
If anybody has any experience with NukeLadder and can see what I am trying to accomplish then please give me some help to get started.
I know the 12- 14 game clans currently participating would much apprieciate it. We get new units every day wanting to join who are tired of TWL and CAL but we have closed due to the overwhelming response.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum