isn't the ftp feature inside the admin options meant to be that what you're looking for?

wow, what a difference.. good hint!

Got it.. here's what to do to get the MemberGroup into the Userlist


first at all, we need to edit our language file(s) -> lang/<language>/userlist.php

add a new entry at the end of the list and don't forget to add a comma an the end of the line before

'All Users' => 'All',  <--
'Group' => 'Membergroup'

.
.
.
after that we need to edit userlist.php from the main board directory.
find around line 159

// Grab the users
$result = $db->query('SELECT u.id, u.username, u.title, u.num_posts, u.registered, u.last_visit, g.g_id, g.g_title, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').' ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());

replace it with this (the field g.g_title was added there)

// Grab the users
$result = $db->query('SELECT u.id, u.username, u.title, u.num_posts, u.registered, u.last_visit, g.g_id, g.g_title, g.g_title, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').' ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());

.
.
.
now we need to change the display when viewing the userlist. we still edit userlist.php.
around line 148 you'll find:

<th class="tc2" scope="col"><?php echo $lang_common['Title'] ?></th>

add below a new line with this:

<th class="tcu1" scope="col"><?php echo $lang_ul['Group'] ?></th>

.
.
.
then we go to line ~170 and find this:

<td class="tc2"><?php echo $user_title_field ?></td>

right after that we add this here:

<td class="tcu1"><?php echo $user_data['g_title'] ?></td>

.
.
.
A word about the classes. you prolly don't have tcu1 in your css files. i've added that to my own css-set. so you have to check out this for yourself what class you wanna use there. you even can put the added lines for the new stuff wherever you want in that section (maybe you want the membergroup displayed before the usertitle, so don't add it below but above the title line. it's up to you.

anyway, i hope this was a bit helpful and all was correct here wink

ya, member group would be nice.. i'm trying to figure out how to build it in there, but my sql knowledge is still not worth  to mention.

can see that only two times in "viewforum.php" (line 87 and line 246)

found the solution here. i have used search before i reg'd here, but have missed that thread coz i didn't follow the hints to admin_options.php, my fault.

greetz,
met

heya,

i've installed punbb 1.2.6 at first on my local webserver to test it, everything was working like it should. now i've installed it on my domain but i' having a problem now with the additional menu items.

everytime when i change something as admin inside the "options", it's correctly written into /cache/cache_config.php, except those additional menu items. on my local webserver there wasn't a problem with that.

i've checked the permissions and have changed the owner which didn't help. then i've downloaded the cache_config.php, have added the new menu item there with an editor, have reuploaded the file and the new menu item appeared correctly on it's position and was working fine. but as soon as i change something as admin in the options, (only) this entry is lost again. dunno why, no clue what's wrong.

any hints please what i can do or doing wrong?


greetz,
met