checkbox??

Makes it possible for admin to create users from admin panel
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

checkbox??

Postby r0pe on Sun 18. May, 2003 20:01

Code: Select all
#-----[ OPEN ]------------------------------------------
#
user_select_body.tpl

#
#-----[ FIND ]------------------------------------------
#
;return false;" />

#
#-----[ AFTER, ADD ]------------------------------------------
#
<input type="checkbox" class="post" name="new_user">{L_CREATE_USER}


sorry, but there is no "return false" in this file.
i just added the checkbox, but in admin-panel it returns the message: "user doesn't exist"
r0pe
Poster
Poster
 
Posts: 3
Joined: Sat 17. May, 2003 14:52

Postby MacGyver on Sun 18. May, 2003 20:31

I think it's there :wink:
Code: Select all
"window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>


~Mac
a.k.a Mac / ycl6

Image My MOD Project @ SourceForge.net
MacGyver
Poster
Poster
 
Posts: 27
Joined: Wed 12. Mar, 2003 10:02
Location: UK

Postby r0pe on Mon 19. May, 2003 11:55

oh sorry. i see i've changed the file with the "Enhanced Admin User Lookup"-Mod.

Code: Select all
## MOD Description: This will replace the lookup of users in the
##                  admin panel with a more enhanced and user-
##                  friendly version.
## MOD Version: 1.1.2


Does anybody know, how I can use both Mods?

the user_select_body.tpl of this mod looks like that:
Code: Select all
<h1>{L_USER_TITLE}</h1>

<p>{L_USER_EXPLAIN}</p>
<p>{L_USER_LOOKUP_EXPLAIN}</p>

<form method="post" name="post" action="{S_USER_ACTION}"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
   <tr>
      <th class="thHead" align="center" colspan="2">{L_LOOK_UP}</th>
   </tr>
   <tr>
      <td class="row1" align="left" width="150">{L_USERNAME}</td><td class="row2" align="left"><input type="text" class="post" name="username" maxlength="50" size="30" /></td>
   </tr>
   <tr>
      <td class="row1" align="left" width="150">{L_EMAIL_ADDRESS}</td><td class="row2" align="left"><input type="text" class="post" name="email" maxlength="50" size="30" /></td>
   </tr>
   <tr>
      <td class="row1" align="left" width="150">{L_POSTS}</td><td class="row2" align="left"><input type="text" class="post" name="posts" maxlength="12" size="12" /></td>
   </tr>
   <tr>
      <td class="row1" align="left" width="150">{L_JOINED}<br /><span class="gensmall">{L_JOINED_EXPLAIN}</span></td><td class="row2" align="left"><input type="text" class="post" name="joined" maxlength="50" size="30" /></td>
   </tr>
   <tr>
      <td class="catBottom" align="center" valign="middle" colspan="2" height="28"><input type="hidden" name="mode" value="lookup" />{S_HIDDEN_FIELDS}<input type="submit" value="{L_LOOK_UP}" class="liteoption" /></td>
   </tr>
</table></form>
r0pe
Poster
Poster
 
Posts: 3
Joined: Sat 17. May, 2003 14:52

Postby william91 on Wed 21. Jul, 2004 08:28

r0pe wrote:oh sorry. i see i've changed the file with the "Enhanced Admin User Lookup"-Mod.

Code: Select all
## MOD Description: This will replace the lookup of users in the
.
.
.
.
</table></form>

I have the same problem with you....can Enhanced Admin User Lookup Compatibale with Admin Add Users?
william91
Poster
Poster
 
Posts: 6
Joined: Thu 29. May, 2003 15:35

Postby rejj on Tue 27. Jul, 2004 12:26

I've got the same problem, please help!
rejj
Poster
Poster
 
Posts: 19
Joined: Tue 15. Apr, 2003 11:28


Return to Admin add users [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron