EN - GeneralMembers page without squad links


07.08.2012, 01:23 - Oo4SaKeNoO - webSPELL newbie - 15 Posts
Hi peeps,

Im struggling with finallizing my theme at the moment when going to the members page i get all squad infomation with a overview and back to members overview etc.

I would like to remove all of that and just be left with a basic page with a list of members with user pic etc bypassing the all other squads but leave just 1 squad i setup for this page only.
basically leaving a list of members like below.
http://i1165.photobucket.com/albums/q599/Oo4SaKeNoO/test2.png

Woudl it be possible to view the members without the other unwanted info?

As i still will be using the squads section for what it is intended for.

Its all local so no links Sorry!
 
09.08.2012, 09:43 - Aga2pro64bit - webSPELL user - 146 Posts
the original squads_content.html looks so:
[toggle=Mehr lesen]
Code:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
    <td width="40%" valign="top" bgcolor="$bg1">$country <span class="category">$firstname '$nickname' $lastname</span> $statuspic<br /><br /><br />
    <table border="0" width="100%" cellspacing="6" cellpadding="0">
      <tr>
        <td width="70"><b>%position%:</b></td>
        <td>$position</td>
      </tr>
      <tr>
        <td width="70"><b>%status%:</b></td>
        <td>$activity</td>
      </tr>
      <tr>
        <td width="70"><b>%contact%:</b></td>
        <td>$email $pm $buddy</td>
      </tr>
      <tr>
        <td width="70"><b>%town%:</b></td>
        <td>$town</td>
      </tr>
    </table>
    </td>
    <td width="10" bgcolor="$bg1">&nbsp;</td>
    <td width="100" valign="top" bgcolor="$bg1"><a href="index.php?site=profile&amp;id=$dm[userID]"><img src="images/userpics/$userpic" width="100" border="0" alt="Userpic" /></a></td>
    <td width="10" bgcolor="$bg1">&nbsp;</td>
    <td valign="top" bgcolor="$bg1"><b>%about% $nicknamee:</b><br />$userdescription</td>
  </tr>
</table>
[/toggle]


try to change it so
[toggle=Mehr lesen]
Code:
1.
2.
3.
4.
5.
<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
    <td width="40%" valign="top" bgcolor="$bg1"><a href="index.php?site=profile&amp;id=$dm[userID]"><img src="images/userpics/$userpic" width="100" border="0" alt="Userpic" /></a><br />$country <span class="category">$firstname '$nickname' $lastname</span> $statuspic</td>
  </tr>
</table>
[/toggle]

or change the rest by your self

mfg

[url]http://www.Designstudio-Martin.de[/url] Webspell 4.2.3 CV

 
09.08.2012, 22:24 - Oo4SaKeNoO - webSPELL newbie - 15 Posts
Thank you for the reply , but it was not quite what i was looking for , it would be better to explain it as a roster page style rather then a squad view.

I have changed my squad_content.html to suite my site nicely.

I thnkk im just going to create a seperate php file roster.php but the codeing is out of my reach so i might just have to stick to tables etc for the time been.

This is more what im after
http://www.clanthemes....m-117-clan-roster-20.html

With obviously being compatible with webspell .
Someone should make it imo as the squad and members sections are so similar and in my case kinda worthless.

Again thanks

 
10.08.2012, 13:33 - Aga2pro64bit - webSPELL user - 146 Posts
well, that you want to have is more just change some phps... u have to create some mysql tables some "abfragen" then an new php to show it like you want.

thats not an "helping" more an create a new addon

maybe someone will do this for if you ask friendly amüsiert

i cannot help u at this time sry

mfg

[url]http://www.Designstudio-Martin.de[/url] Webspell 4.2.3 CV

 
11.08.2012, 00:15 - Oo4SaKeNoO - webSPELL newbie - 15 Posts
Well i have managed to get the kind of look i would like with just all details from a NON gaming squad i setup.

Removing all unwanted bits in the members.html and other files relating to members.php
http://i1165.photobucket.com/albums/q599/Oo4SaKeNoO/squads_look.png

using this in members .php too direct to the non gaming squad.
http://www.webspell.or...rum_topic&topic=33404

Now though i have an unwanted squad in the squad section (NON MEMBERS)
what would be the code for viewing only squad 1,2,3 etc in squads.php ?

Any help would be great but im still trying to solve it myself amüsiert
 
11.08.2012, 21:16 - Oo4SaKeNoO - webSPELL newbie - 15 Posts
I have not found a solution could anyone point me in the right direction?

 
11.08.2012, 23:00 - Pascalmh - Administrator - 3068 Posts
Code:
1.
2.
3.
4.
5.
6.
     $getsquad = "";
     if(isset($_GET['squadID'])) {
          $getsquad = 'WHERE squadID="'.$_GET['squadID'].'"';
     }

     $ergebnis=safe_query("SELECT * FROM ".PREFIX."squads ".$getsquad." ORDER BY sort");