111
Xtracted
Re: List members?
  • 2004/1/16 19:55

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Eh.. what am I supposed to do with it? =P All I want is that it should say "Rank" on the top of the members search result page... =P



112
Xtracted
Re: List members?
  • 2004/1/16 19:04

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Ok, done.. Now what?



113
Xtracted
Re: List members?
  • 2004/1/16 17:24

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Ah, great, now I get the rank text, thanks!

Hm.. I dont get a header to that row.. It should say "rank".. is the <th align="center"><{$lang_rank}></th> line wrong? Or do I have to add a line in the language file (I guess thats where it tries to get the title from?)



114
Xtracted
Re: List members?
  • 2004/1/16 17:14

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I get a new field in the listing saying "Array".. nothing else... screenshot can be seen at:

http://www.bujinkan.cc/screenshot.jpg



115
Xtracted
Re: List members?
  • 2004/1/16 17:03

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Ok, I added the line and edited the template so it looks like this:


<{if $total_found != 0}>

<table class="outer" cellspacing="1" cellpadding="4">
<tr>
<th align="center"><{$lang_avatar}></th>
<th align="center"><{$lang_username}></th>
<th align="center"><{$lang_realname}></th>
<th align="center"><{$lang_rank}></th>
<th align="center"><{$lang_email}></th>
<th align="center"><{$lang_privmsg}></th>
<th align="center"><{$lang_url}></th>
<th align="center"><{$lang_regdate}></th>
<th align="center"><{$lang_lastlogin}></th>
<th align="center"><{$lang_posts}></th>
<{if $is_admin == true}>
<th align="center">&nbsp;</th>
<{/if}>
</tr>

<{section name=i loop=$users}>
<tr valign="middle">
<td class="even"><{$users[i].avatar}></td>
<td class="odd"><a href="<{$xoops_url}>/userinfo.php?uid=<{$users[i].id}>"><{$users[i].name}></a></td>
<td class="even"><{$users[i].realname}></td>
<td align="center" class="odd"><{$users[i].rank}></td>
<td align="center" class="even"><{$users[i].email}></td>
<td class="odd" align="center"><{$users[i].pmlink}></td>
<td class="even" align="center"><{$users[i].website}></td>
<td class="odd" align="center"><{$users[i].registerdate}></td>
<td align="center"><{$users[i].lastlogin}></td>
<td class="even" align="center"><{$users[i].posts}></td>
<{if $is_admin == true}><td class="even" align="center"><{$users[i].adminlink}></a></td><{/if}>
</tr>
<{/section}>

</table>

<div style="text-align:center">
<{$pagenav}>
<{$lang_numfound}>
</div>

<{else}>

<{$lang_nonefound}>

<{/if}>



And something is wrong.. =P



116
Xtracted
Re: List members?
  • 2004/1/16 15:55

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Ah, I used the simple change that chapi posted in another thread:

"I also don't like this searchform, but there is a simple fix for this problem:

Edit xoopsmembers/index.php in line 29 and change

$op = "form";

to

$op = "submit";

Now the list will come up firstly without the form!"



117
Xtracted
Re: List members?
  • 2004/1/16 15:43

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Cant I just edit the "xoopsmembers_searchresults.html" template and add "rank" there? Problem is that I dont know what to add...



118
Xtracted
Re: List members?
  • 2004/1/16 15:35

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Ehm..where? how? =) I dont know php very well.. hardly at all really.. =)



119
Xtracted
Re: List members?
  • 2004/1/16 15:31

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Since I have got so much help here, Ill try again with a new issue.. =)


I have done the modifications to the "members" module on my page and it works fine.. now when I click "members" in the menu, I immediately get a list of all registered members.. But there is one more thing I would like to add to that list..

I would like that peoples "rank" was shown on that page.. any suggestions.. ? =)



120
Xtracted
Re: Adding fields in registration form
  • 2004/1/14 23:20

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Works just fine... thanks a lot.. =)




TopTop
« 1 ... 9 10 11 (12) 13 14 »



Login

Who's Online

234 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits