| Author |
Message |
gatekeeper |
|
Post subject: Looking for block
Posted: Mar 08, 2008 - 12:32 AM
|
|
Joined: Feb 08, 2008
Posts: 23
Status: Offline
|
|
| Can anyone tell me where I can get a block that will list clan members only for phpnuke. I have a members list but that list contains all registered users on the web site. I need something like that one but will only list clan members. Can someone help? thanks. |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Looking for block
Posted: Mar 08, 2008 - 12:46 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3970
Status: Offline
|
|
Unless you are running something like VWar there isn't anything built in.
You could do a plain HTML block and list them that way. |
_________________
|
| |
|
|
|
 |
gatekeeper |
|
Post subject: RE: Looking for block
Posted: Mar 08, 2008 - 02:08 AM
|
|
Joined: Feb 08, 2008
Posts: 23
Status: Offline
|
|
| do you know were a noob can get step-by-step directions on how to do that? thanks |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Looking for block
Posted: Mar 08, 2008 - 01:23 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3970
Status: Offline
|
|
You could do something like this
Code:
<?php
if (eregi("block-guild-members.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$title = "Guild Members";
$content = "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
$content .= " <tr>";
$content .= "<td valign=\"top\"><a href=\"modules.php?name=Your_Account&op=userinfo&username=Mars\">Mars</a></td>";
$content .= "</tr>";
$content .= " <tr>";
$content .= "<td valign=\"top\"><a href=\"modules.php?name=Your_Account&op=userinfo&username=Bob\">Bob</a></td>";
$content .= "</tr>";
$content .= "</table>";
?>
Then to add more you just copy these 3 lines and change the name and link.
Code:
$content .= " <tr>";
$content .= "<td valign=\"top\"><a href=\"modules.php?name=Your_Account&op=userinfo&username=Bob\">Bob</a></td>";
$content .= "</tr>";
|
_________________
|
| |
|
|
|
 |
gatekeeper |
|
Post subject: RE: Looking for block
Posted: Mar 15, 2008 - 05:12 AM
|
|
Joined: Feb 08, 2008
Posts: 23
Status: Offline
|
|
| ive got the code part, thanks but im now trying to get it to scroll but for the life of me i can not get it to scroll up and down in php, it does however scroll side to side. i can get it to scroll up and down in html. |
Last edited by gatekeeper on Mar 15, 2008 - 03:06 PM; edited 1 time in total
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Looking for block
Posted: Mar 15, 2008 - 01:48 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 3970
Status: Offline
|
|
| No idea on how to make it scroll sorry. |
_________________
|
| |
|
|
|
 |
|
|