Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 29
Seite [1] 2 >
DeNylph


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Thema - 19.10.2007 um 14:00 Uhr
Hi ^^

I have a litte problem

I have a match of one squad CSS but the squad CSS Girls can't participe at this match.
How can i allow a squad to participate for a match of another squad ?

The code i want to change /mods/wars/join.php line 25 :
 
1.
1. / 2. / ... 
<?php $condition 'users_id = ''.$account['users_id'].'' AND squads_id = ''.$warselect['squads_id'].'''?>


in something like that :
 
1.
1. / 2. / ... 
<?php  $condition 'users_id = ''.$account['users_id'].'' AND game_id = ''.$warselect['game_id'].'''?>


I want to affiliate the member to a game or something like that ^^

Thanks

Edit : Title because of my 2nd post


------------------


Zuletzt editiert von DeNylph am 20.10.2007 um 15:51 Uhr (3x Editiert)
Inaktiv
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 1 - 20.10.2007 um 15:54 Uhr
Hi guys, i complete my first post to give you more informations but i have 2 others questions not link to the first.

How can i have only 1 signature per member per page?

How can i active
 
1.
1. / 2. / ... 
<?php [url][/url?>
in shoutbox?

If you have anyidea you're welcome

Thanks


------------------


Zuletzt editiert von DeNylph am 23.10.2007 um 15:44 Uhr (1x Editiert)
Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 2 - 22.10.2007 um 21:14 Uhr
hi!
the easiest thing at first: for displaying the shoutbox, just put {shoutbox:navlist} to somewhere in your template which is usually templates/apple/index.htm.
what do you mean about the signature?
what you wanted in the first post i didnt get at all, im sorry.

greetings,
duRiel


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 3 - 23.10.2007 um 15:51 Uhr
For shoutbox sorry (i edit my 2nd post), I want use URL code like in forum (abcode)
For signature for each post the signature appear but if a user post 2 or more times the signature appear again. I want limit the signature by 1 for each membe for each page. (sorry , i don't speak english very well ^^)

For the 1st post, i want allow a team to participate a match of another team.
In my clan we have a team of Girls but they are not always to do match so they wan't participate at Boys match ^^ (i don't know if i'm really understanding ^^). The team are in the same game but i have to differentiate the team, so they can't join match of another team.

Thank you for your attention Duriel.


------------------


Zuletzt editiert von DeNylph am 23.10.2007 um 15:53 Uhr (2x Editiert)
Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 4 - 23.10.2007 um 17:29 Uhr
hi!
ok,

1) the thing about the shoutbox: mods/shoutbox/navlist.php line 37

change this:
 
1.
1. / 2. / ... 
<?php $data['shoutbox'][$i]['shoutbox_name'] = cs_secure($data['shoutbox'][$i]['shoutbox_name'],0,0,0); ?>
to this:
 
1.
1. / 2. / ... 
<?php $data['shoutbox'][$i]['shoutbox_name'] = cs_secure($data['shoutbox'][$i]['shoutbox_name'],1,0,0); ?>


but then most of the abcodes are allowed.

2) signature only once per page

mods/board/thread.php

about line 408, add:
 
1.
2.
3.
4.
1. / 2. / ... 
<?php
$sigs 
= array;
$sigs[] = $cs_thread['users_id'];
 
?>


then, line 605 write instead of this:
 
1.
1. / 2. / ... 
<?php echo getUserSignature($cs_com[$run]['users_signature']); ?>
this:
 
1.
2.
3.
4.
5.
6.
1. / 2. / ... 
<?php
if (!in_array($cs_com[$run]['users_id'],$sigs)) {
  echo 
getUserSignature($cs_com[$run]['users_signature']);
  
$sigs[] = $cs_com[$run]['users_id'];
}
?>


the third thing i still didnt get, what squad is actually playing?

greetings
duRiel


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 5 - 23.10.2007 um 21:15 Uhr
Thanks to your answer i'll try this after my post ^^

In my clan we have multiple squad :
- Counter Strike Source Alpha
- Counter Strike Source Girls
- Counter Strike Source Fun
- Enemy Territory:Quake Wars
...
We had some match to the squad Counter Strike Source Fun but Counter Strike Source Girls can't join/participate at this match. I can't move members in One team.


------------------


Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 6 - 23.10.2007 um 21:51 Uhr
so actually the fun squad played, but some players of the girls squad played aswell and you want to list the members of the girl squad who played in the clanwar?


Zuletzt editiert von duRiel ClanSphere Team am 23.10.2007 um 21:51 Uhr (1x Editiert)
Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 7 - 23.10.2007 um 22:06 Uhr
I join some file to help you to understand ^^
Dateianhänge:
jpg FUN.jpg (183.99 KiB - 45 mal heruntergeladen )
jpg GIRLS.jpg (184.64 KiB - 46 mal heruntergeladen )


------------------


Zuletzt editiert von DeNylph am 23.10.2007 um 22:07 Uhr (1x Editiert)
Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 8 - 23.10.2007 um 22:10 Uhr
ok, so you want every member to have the possibility to join a war, not only the squad?
if so, open mods/wars/view.php and edit line 165 from this
 
1.
1. / 2. / ... 
<?php if (!empty($squadmember)) {  ?>
to this
 
1.
1. / 2. / ... 
<?php if (!empty($squadmember) || $wars_access >= 3) { ?>


greetings

duRiel


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 9 - 23.10.2007 um 22:13 Uhr
Thanks again

if it's possible i want to limit the game the two squads play at CSS
i was thinking something like that
 
1.
1. / 2. / ... 
<?php if (!empty($squadmember) || $game_id >= id_CSS?>


------------------


Zuletzt editiert von DeNylph am 23.10.2007 um 22:14 Uhr (1x Editiert)
Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 10 - 23.10.2007 um 22:22 Uhr
 
1.
1. / 2. / ... 
<?php if (!empty($squadmember) || ($wars_access >= && $cs_game['games_name'] == 'CSS') ) { ?>


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 11 - 23.10.2007 um 22:44 Uhr
Big Thanks, i can't try right now but if i have any problem il will edit this post ^^


------------------


Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 12 - 23.10.2007 um 22:56 Uhr
but then i dont see that there is an update because i read the thread already
so this is my post to allow you one more post if it doesnt work


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 13 - 24.10.2007 um 19:05 Uhr
All you said work but not the soutbox :/
as you can see here : http://www.multigaming-grd.com/

I have another question, i want to force the user to fill GAME in join us module ^^

EDIT : you forgot something in signature
 
1.
2.
1. / 2. / ... 
<?php $sigs = array();
$sigs[] = $cs_thread['users_id']; ?>


array()


------------------


Zuletzt editiert von DeNylph am 24.10.2007 um 19:34 Uhr (2x Editiert)
Inaktiv
|
globalteam-dom


Try to beat me





Beiträge: 115
# Antwort: 14 - 24.10.2007 um 19:59 Uhr
Hi DeNylph

You have a good support here


------------------
ClanSphere - Makes your website a playmate, just dress her

Dom

Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 15 - 24.10.2007 um 22:55 Uhr
Hi Dom

Yes very good support, very helpful ^^


------------------


Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 16 - 25.10.2007 um 01:36 Uhr
ah lol the shoutbox thing was my mistake, a nooby one too. forgot what i said last time about the shoutbox. mods/shoutbox/navlist.php line 36 change this:
 
1.
1. / 2. / ... 
<?php $data['shoutbox'][$i]['shoutbox_text'] = cs_secure($temp,0,1,0); ?>
to this:
 
1.
1. / 2. / ... 
<?php $data['shoutbox'][$i]['shoutbox_text'] = cs_secure($temp,1,1,0); ?>


for the joinus, mods/joinus/new.php
line 153 this:
 
1.
1. / 2. / ... 
<?php echo cs_icon('package_games') . $cs_lang['game']; ?>
to this:
 
1.
1. / 2. / ... 
<?php echo cs_icon('package_games') . $cs_lang['game'] . ' *'?>

and add this in line 53:
 
1.
2.
3.
4.
5.
6.
1. / 2. / ... 
<?php
if (empty($cs_joinus['games_id'])) {
  
$error++;
  
$errormsg .= $cs_lang['no_game'] . cs_html_br(1);
}
?>

and then youll need a translation for every language you use. e.g. its lang/English/joinus.php
there youll need to add:
 
1.
1. / 2. / ... 
<?php $cs_lang['no_game'] = '- No game given'?>


greetings

duRiel


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 17 - 25.10.2007 um 18:54 Uhr
All work perfectly big thanks again
i found a "bug" in index.php?mod=maps&action=create
when you select the game that's not the good picture appear :/


------------------


Zuletzt editiert von DeNylph am 25.10.2007 um 18:54 Uhr (1x Editiert)
Inaktiv
|
duRiel ClanSphere Team


Weltmeister




Herkunft: Cambridge
Beiträge: 7300
# Antwort: 18 - 25.10.2007 um 22:04 Uhr
what? i dont understand "when you select the game that's not the good picture appear"


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 19 - 25.10.2007 um 22:17 Uhr
when i create a map, i select a game : ETQW and is the picture of Crysis who appear :/


------------------


Inaktiv
|
DeNylph
Thread-Ersteller


Wannabe poster




Herkunft: Les Sables d'Olonne
Beiträge: 27
# Antwort: 20 - 31.10.2007 um 15:00 Uhr
can you answer me duriel ? ^^

Since one week i have some questions (yes again again again xD)

When i create private message and send it to a squad (like Squad:Counter Strike Source) that doesn't work on http://team-grd.eliott-ness.com/ but work on my website of test : http://s215717751.onlinehome.fr/index.php (same version 2007.4.3 and same file in /mods/messages).

I want to hide the shoutbox for guest and some users how can i do that ?
(Access to 0 to this members or guest but they see it on index (/mods/shoutbox/navlist.php ?!))

I want statistiques for match index.php?mod=wars (win/lost/draw) and see it for a squad mod=wars&action=list (win/lost/draw for the squad) ?

Sorry for my bad english and thanks for all your answers.


------------------


Inaktiv
|
Antworten: 29
Seite [1] 2 >


Sie müssen sich registrieren, um zu antworten.