71
dheltzel
Re: More than 200 activated members causes problems with group admin
  • 2004/7/21 18:30

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I don't want to hack the core files too much, so I think I'll construct a custom page to do what needs to be done. I did want to point out the problem so that someone with more experience can make an elegant solution.

Dennis



72
dheltzel
Re: More than 200 activated members causes problems with group admin
  • 2004/7/21 17:20

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


It seems like this is the intended behavior. Clicking the "Find users for this group" link does allow you to search for users and add them into the group, but it doesn't filter out users that are already in the group, allowing you to add them multiple times. That can't be good.

The correct behavior, since we are intending to add users to the group, would be to only include users who are not currently in the group. The current situation makes the management of groups with many users to be very difficult.

Dennis




73
dheltzel
More than 200 activated members causes problems with group admin
  • 2004/7/21 3:38

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


There is a new way of handling the select boxes that list users at the bottom of the group admin page if the number of active users is > 200. The new method allows you to delete users from the group, but not add new ones to the group. The offending code starts at line 117 in the modules/system/admin/groups/groups.php file.

Making this value higher than 200 eventually causes a totally blank page (PHP script timeout?). The logic here needs some work, the way that users are added or deleted from groups should not change with the number of users in the system.

Dennis



74
dheltzel
Bulk loading site members
  • 2004/7/18 22:14

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I am planning to load a large number of members into an XOOPS instance from a database. I think that I only need to insert records into the users and groups_users_link tables for each user. Am I missing any other steps?

Also, I assume the password is just a MySQL MD5 hash. Is that correct also?

Is there an existing PHP function to add a user that is better than using SQL inserts?

Thanks!

Dennis



75
dheltzel
Re: WebGUI--what's the downside?
  • 2004/7/13 20:32

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Try to install it. There's a reason they can charge for help with the install. I never got any further than that. I built a site on their demo system and played a bit, but if it's too hard for me to install, it's not gonna get much traction in the FOSS world. They are targeting WebGUI for commercial sites that are willing (expecting even) to pay for support.

I'm a refugeee from several other CMS systems and I finally landed here. It's gonna take a lot to dislodge me again, I'm tired of learning new CMS programs.

Dennis



76
dheltzel
Re: Using form class
  • 2004/7/11 11:21

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Try something like this (uses Smarty):

<{section name=ix loop=$my_loop_array}>
<tr>
<td>
<input type="text" name="ingred[]" size="30">
</td>
</tr>
<{/section}>

This should generate a text box for each element in $my_loop_array (which you might wantto use for a label of some sort).

In the php file, use this:

if (isset($_REQUEST["ingred"])) {
foreach ($ingred as $ingred_key) {
echo $ingred_key;
}
}





77
dheltzel
Re: Registration/Membership Management Question
  • 2004/7/8 19:17

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Quote:

Fritz wrote:

That said, perhaps we should determine how we will communicate if we go forward and discuss the scope of the project in more detail. Since I've not worked on a virtual development team before, I'm taking suggestions as to how to begin. Email? Module Dev Forge? Chat?


Module Dev Forge would be ideal, as it's desigend for that, but getting an account there is problematic, so I suggest we do email. Here's mine: XOOPS at fishroom.net

I have my first XOOPS module nearly completed and so I have some PHP/MySQL experience. This doesn't seem to big to me, but I'm not sure if the scope we are envisioning is the same.

In any case, everyone who wants to help, send me an email and I'll setup a small mail list for the discussions.

Dennis



78
dheltzel
Changing the username of a registered user
  • 2004/7/3 3:27

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I am planning to add a feature to allow registered users to change their username (not real name, that can already be changed). Before I do that, will there be any problems resulting from a member's username changing ?
It looks like everything uses the system assigned UID, so the login username should be changable without any problem, right?

Dennis



79
dheltzel
Re: Registration/Membership Management Question
  • 2004/6/29 17:44

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Fritz,
I'd like to work on the membership module with you. Do you have an account on module dev forge yet? I've requested one, but haven't gotten a response yet. Perhaps we should just use PM/email to collaborate until we have the basics completed.

Waiting for 2.2 would probably be a bad idea. If we get a good enough module together, it might just become an official module. I don't think this sort of thing ought to be part of the XOOPS core, a module is better.

Is anyone else out there interested in working on this? PHP/Smarty experience is helpful, but if you just have good ideas, that could help also.

Dennis



80
dheltzel
Where is the code to update the database structure during a module update?
  • 2004/6/23 17:08

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I'm trying to update the phpBB to newBB conversion script to work with newBB 2 (beta), I can see the old and new SQL creation code in the sql directory, but the SQL to update from ver 1 to ver 2 would be the easiest to use to make the changes. Unfortunately, I can't figure out where the update SQL is kept, or even which php program runs the update.

Can anyone enlighten me?

Dennis




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 13 »



Login

Who's Online

163 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 163


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