Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 12:36:39 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149699 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: New Admin-Tool "User Search"  (Read 8396 times)
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #25 on: June 06, 2009, 02:02:03 PM »

Only a rought idea: code2-page ...
Code:
<?php
require_once (WB_PATH."/modules/user_search/tool.php");
?>



Doesn't work... Nothing happens (visually, that is).
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
aldus

Offline Offline

Posts: 1238


« Reply #26 on: June 06, 2009, 02:10:30 PM »

Hm, i've got it working here ...
but must modify line 92 inside "tool.php" of the modul, to avoid reloading-conflicts
Code:
<?php
if (!defined('WB_PATH')) require_once('../../config.php');
?>


Hm ... could it be the template that avoid the displaying? What happens if you set the PHP-Error-Level
up to "E_ALL&E_STRICT"?

Regards
Aldus
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #27 on: June 07, 2009, 12:34:23 AM »

Hm, i've got it working here ...
but must modify line 92 inside "tool.php" of the modul, to avoid reloading-conflicts
Code:
<?php
if (!defined('WB_PATH')) require_once('../../config.php');
?>


Hm ... could it be the template that avoid the displaying? What happens if you set the PHP-Error-Level
up to "E_ALL&E_STRICT"?

The require code mod did the trick (although it was at line 52 in my file...). Thanks!
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #28 on: June 07, 2009, 02:27:46 AM »

This is a VERY handy module, and the functions should be part of the regular Access section in my opinion. For now I am trying to integrate it in the users admin page with the workaround provided by aldus. It seems to work. Maybe I just make it part of my admin template if I can smooth some things out.

I have updated and revised the Dutch language file. I'll attach it.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
snark
Guest
« Reply #29 on: July 25, 2009, 10:48:43 AM »

would it be possible to add a field to the user specs so that the telephone numbers of the users can be added?

I know this has to be done not in this module but in the 'wb/admin/users'. I just posted it here because it will make this list a lot more usefull to contact people
Logged
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #30 on: September 27, 2009, 12:18:18 PM »

I installed the module, it works fine. Thank you!

Theres a small mistake, if the admin-directory has another name (= NOT "admin")
in usersearch_result.h tt
<form name="edituser{RESULT_USER_ID}" method="post" action="{WB_URL}/admin/users/users.php" target="_blank">
Logged

*weg*
avitaly

Offline Offline

Posts: 33


« Reply #31 on: March 10, 2010, 07:32:09 PM »

Here the Italian translation

thank you
Logged
-wizard-

Offline Offline

Posts: 149



WWW
« Reply #32 on: May 21, 2010, 11:13:39 AM »

Hi Guys,


nice Tool, but there is a small "bug" in the tool.php:

At Line 223:
Code:
$resultquery .= " (groups_id LIKE '%$g_id%'";

Example:
There is the admin-group with ID= 1, and any other group with ID=11(or other like "102").
If you search "all users in admin-group" then there are all users displayed where the group-id %1%!

I think the query should be something like this(Line 223):
Code:
$resultquery .= " (groups_id = '$g_id' OR group_id = '$g_id'";

Maybe, the " OR group_id = '$g_id'"  is not relevant for some pages.

Regards
Mike

UPDATE: I'm using the (newest) 0.33b-Version
« Last Edit: May 25, 2010, 03:38:25 PM by -wizard- » Logged

Leafing | my Blog: mike-haag.de | 796f752061726520612 06765656bda
quinto

Offline Offline

Posts: 67


WWW
« Reply #33 on: May 23, 2010, 04:49:21 PM »

hi Smiley when you have a problem or a fix for user_search please specify the version ( 0.32b or 0.33b ), it will be easier for me to apply the fix for the next version.

For the moment i don't have the time to update this tool and to fix bugs but in the future i want to make an even better and complete tool with the same goals than user_search.

When i will have more time i will try to make an usable version of User_search which include all bugfixes listed here, thanks for your support.

Thanks to us
Logged
mviens

Offline Offline

Posts: 55


« Reply #34 on: June 25, 2010, 08:47:26 PM »

Another great looking/working WB module - thanks for this.

I found 1 small glitch:

/modules/user_search/htt/usersearch_result.htt
Line 51:
<form name="edituser{RESULT_USER_ID}" method="post" action="{WB_URL/admin}/users/users.php" target="_blank">

Uses {WB_URL}/admin
but I often change the admin folder name (for security purposes as I've noted somewhere in WB documentation) and this breaks the function. I replaced {WB_URL} with {ADMIN_PATH} and {ADMIN_URL} but for some reason I couldn't get it to function properly. So I finally just updated the hard-coded path to my new admin folder name. Not the best solution but it works for now...

Michael
« Last Edit: June 25, 2010, 09:20:34 PM by mviens » Logged
Pages: 1 [2]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!