xoops forums

Forum Index


Board index » All Posts




Mikki

Just popping in
Posted on: 2002/2/13 20:46
Mikki
Mikki (Show more)
Just popping in
Posts: 5
Since: 2002/1/21
#292251

Re: Admin for Members List Module

Lol... well, I'll just have to hack the next version as well then - I changed about 5 lines of code .

We could just start the XOOPS Texas affiliate site!

- Mikki


onokazu

XOOPS Founder
Posted on: 2002/2/13 19:32
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#292252

Re: Admin for Members List Module

The easiest way to get rank info for each user in the membesrlist is to do like this

$rank = $userinfo->getRank();

Now, $rank['title'] holds the title of user rank and $rank['image'] holds the name of image file for the rank. You can only do this after line 181 in index.php though, where each user object $userinfo is instantiated.


WebAngel

Just popping in
Posted on: 2002/2/13 18:50
WebAngel
WebAngel (Show more)
Just popping in
Posts: 16
Since: 2002/1/2 2
#292253

Re: Admin for Members List Module

I too have hacked this to show the fields I want to show. That's easy when the users table is already there. The RANKS table is not in this module yet, so you'd have to pull in the rank field for each user from the users table, than access the ranks table to get the associated description (and of course the image), then throw all that into a sortable array and.. pant pant..

Then first XOOPS dev team update to this memberslist module comes along and there you sit with your beautiful hacked version you can't bear to part with...

Hey Mikki, what do you say we join the Dev team instead?



Mikki

Just popping in
Posted on: 2002/2/13 18:33
Mikki
Mikki (Show more)
Just popping in
Posts: 5
Since: 2002/1/21
#292254

Re: Admin for Members List Module

If this is not implemented as part of the admin in the final version, the index.php in the memberslist module folder can be modified quite easily... For example, I got rid of the "most recent new user" part, deleted the "registered on" and "url" columns, and it's initially sorted by real name... It would also be pretty easy to add "Interests" as well... The code in the index.php file is nicely written and straightforward - it didn't take me long to find out where to make the changes, and I'm very much a PHP beginner...

- Mikki


WebAngel

Just popping in
Posted on: 2002/2/13 15:44
WebAngel
WebAngel (Show more)
Just popping in
Posts: 16
Since: 2002/1/2 2
#292255

Re: Admin for Members List Module

While you're in there... how about linking in the RANKS database so we can sort users by ranking. In my case I'm using ranking for Department (turning off the posting counters.)


onokazu

XOOPS Founder
Posted on: 2002/2/12 14:33
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#292256

Re: Admin for Members List Module

That sounds cool..


onokazu

XOOPS Founder
Posted on: 2002/2/12 14:31
onokazu
onokazu (Show more)
XOOPS Founder
Posts: 617
Since: 2001/12/13
#292257

Re: How to remove users from groups?

Quote:

finalfiler wrote:
I am assured this function is working, ie

ADMINISTRATION MENU > SYSTEM ADMIN > GROUPS > REGISTERED USERS MODIFY > EDIT MEMBERS OF THIS GROUP >

and

SELECT Member(s) from "Members" list box
Click "Delete"

But this does NOT work for me. It can only be because I am too stupid and uneducated to complete the process.

Given the my lack of commonsense and education can someone explain to me how members can be removed from a specific group.


Many thanks




Ok, i've found what was causing this problem.
Open modules/system/groups/group.php
on line 152 find the following codes:

echo "<form action='admin.php' method='post' />";

change the above line to

echo "<form action='admin.php' method='post'>";

This should work in mozilla.


WebAngel

Just popping in
Posted on: 2002/2/12 14:26
WebAngel
WebAngel (Show more)
Just popping in
Posts: 16
Since: 2002/1/2 2
#292258

Admin for Members List Module

Wouldn't it be nice to select which of the user profile details to show in the Members list (and which to supress?) Perhaps INTERESTS is something worthwhile showing on one site, on another it's location and contact info. Let the Admin decide!


finalfiler

Documentation Writer
Posted on: 2002/2/12 6:46
finalfiler
finalfiler (Show more)
Documentation Writer
Posts: 111
Since: 2002/1/19
#292259

Re: How to remove users from groups?

That's it! Just tried it in IE5.5 and the delete worked.

My usual browser is Netscape 6.2 on Windows and Mozilla on Linux.

OK XOOPS team, can we get a fix know that Razgo worked it out and I have confirmed it?

TIA
(PS sooner than later would be a bonus )


Razgo

Just popping in
Posted on: 2002/2/12 6:26
Razgo
Razgo (Show more)
Just popping in
Posts: 85
Since: 2002/1/16
#292260

Re: How to remove users from groups?

I just found out I can remove a user from the user group if I am using IE6 web browser.

My problem was Mozilla web browser would not do it.