> Actually, I'm not sure this is the best place to do this, as it stores
> the user name URL encoded, and we should instead have it UTF. My guess
> is we need to put it... Hmmm, looking some more... Try replacing the
> BOLTingroup function (engine.php) with this:
>
> function BOLTingroup($group, $id='', $new=true) {
> global $BOLTid, $pagesPath, $BOLTmemberships, $BOLTadmin;
> if ($id == '') $id = $BOLTid;
> if ($id == '') return false;
> $id = strtolower(BOLTutf2url($id));
> if (strpos(" ,$BOLTadmin,", ",$id,") !== false && $BOLTadmin != '')
> return true;
> $group = strtolower($group);
> if ($id == $BOLTid && $new) return (strpos(",$BOLTmemberships,",
> ",$group,") !== false);
> $groupPage = BOLTconfig('BOLTgroupPages', 'group') . ".$group";
> $groupList = strtolower(BOLTutf2url(BOLTloadpage($groupPage)));
> if ($groupList == '') return false;
> return (strpos("\n$groupList\n", "\n$id\n") !== false);
> }
>
> Then go to the "join" command (in commands.php) and remove the two
> strtolower functions, and give it a test. Got to go run to town. Let
> me know how it works. Be sure to check manually adding a name, and
> also using the action.join page. Let's see what happens...
>
> Cheers,
> Dan
>
I tried this and no difference. It is interesting that I have mist to
look at the source of the group.editor page. In this view the Cyrillic
names are encoded, then I looked into the ftp filenames - they are
also encoded. So this is the reason in the Cyrillic case - if we
wright manually the name in the group.editor, the name is not encoded
and hence it is not recognized, while the action.join doesn't miss
doing it.
As to the [option value label] - works with no problem. Maybe if
BOLTescape is modified a little it could work with [option value]
label. The <br /> tag at the end is nicely shortened by join=' ' in
the search function (the option list is generated by search).
Regards, Bogdan
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.