Welcome, Guest. Please login or register.
March 21, 2010, 01:55:30 AM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
110564 Posts in 15967 Topics by 9310 Members
Latest Member: stevenris10
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  New Admin-Tool "User Search"
Pages: [1] 2 Go Down Print
Author Topic: New Admin-Tool "User Search"  (Read 5020 times)
BerndJM
Moderator
******
Offline Offline

Posts: 1677



WWW
« on: March 03, 2009, 02:37:52 AM »

Hi,

Initiated by a client who have about 3000 users on his WB-installation and very often falls in trouble to find a specific user via the WB-own usermanagement I made this little admin-tool to search for users in an easy way.

Download removed - use the link in my latest post.

Any comments are welcome.

Also it would be very nice to get additional language-files and if somebody could have a look at the english language file.

Regards Bernd
« Last Edit: March 24, 2009, 01:24:31 AM by BerndJM » Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
Bramus
Forum Team
*****
Offline Offline

Posts: 485



WWW
« Reply #1 on: March 04, 2009, 03:22:56 PM »

Nice module! Very usefull for sites with alot of users. I translated the English language file to a Dutch (NL) one. See attached version.
Logged

BRAMUS.NL Internet Services
Webhosting - VPS - Domeinregistratie - Webdesign
WebsiteBaker Supported on Linux with DirectAdmin!
BerndJM
Moderator
******
Offline Offline

Posts: 1677



WWW
« Reply #2 on: March 06, 2009, 03:38:23 AM »

Thanks, Bramus for the NL-language file,
and also thanks to Aldus for refinig the source-code.

Put it online and corrected the download link above.
And ... other languages files are very welcome - keep the community alive wink

Regards Bernd
Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
BerndJM
Moderator
******
Offline Offline

Posts: 1677



WWW
« Reply #3 on: March 24, 2009, 01:23:31 AM »

Update:
just released v0.30 :
Added functionality to easy search all users that are members of a given group.

Download here

Still looking for other language files!

Have fun
Bernd
« Last Edit: March 24, 2009, 01:25:16 AM by BerndJM » Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
quinto

Offline Offline

Posts: 31


WWW
« Reply #4 on: April 04, 2009, 03:08:04 PM »

Hello i've improved this module, i put the BETA version (0.31b), here is the changelog :

v0.31b (Quinto; 04.04.2009)
     + cosmetic changes to consistency with the Website Baker Admin UI
     + some source code refining and added some little thing to help in the future
       for example to allow to store the search.
     + added functionality to search users according the last login date
     + changed the way to work now you can mix all the search criteria (searchterm, date and group)
     + added FR language support (support the new functionalities)
     + EN language updated to support new functionalities
     ~ now we need to Update DE and NL language files.


Don't forget it's a Beta, i've tested it but it still need some improvement (DE and NL files), and BerndJM must approve my work too...

For the moment only the EN and FR languages are fully supported (other languages show some sentences in English).

Use it but be Warned it's a Beta and BerndJM must see it...

You can download this version on my post(outdated version), i've also put a screen shot...

I hope you'll like it  afro
« Last Edit: April 07, 2009, 03:54:20 PM by quinto » Logged
quinto

Offline Offline

Posts: 31


WWW
« Reply #5 on: April 07, 2009, 03:52:44 PM »

New improvements :

 v0.32b (Quinto; 07.04.2009)
     + fixed important bug in group selection now it works in ALL the cases even when with combined groups
     + source code refining now it use template files (stored in the htt directory), source code is easier to read now.
     + added 'days since last connection' and 'Ip address' in results
     ~ we still need to Update DE and Nl language files.

Download v0.32b in this post, old version 0.31b is outdated now !

I've downloaded and tested the "User Statistics" Modules from 'doc' and i'm trying to combine User Search and this module Smiley so User Search will provide stats Smiley

Don't forget it still a Beta !
« Last Edit: April 07, 2009, 04:04:06 PM by quinto » Logged
doc

Offline Offline

Posts: 3581


« Reply #6 on: April 07, 2009, 06:29:47 PM »

Hi quinto,

thanks for your effort to combine the two admin tools "User Statistics" and "User Search" to one single module. Especially I appreciate your updates on using the template engine (seems you had a look at the module primer stuff).

Some things which should be modified in a next version:
 - agree on a comment block format and use this (currently it is mixed see index.php and /htt/index.php)
 - modify your PHP comment blocks (add BerndJM and yourself as author, change User Statistics to User Search)
 - if template placeholder names and language array indizes are identical named, one can replace all language placeholders using:

Code:
<?php
foreach($LANG[0] as $key => $value) {
    
$tpl->set_var($key$value);
}
?>


Keep up your good work, highly appreciated.

Regards Christian
« Last Edit: April 07, 2009, 06:36:39 PM by doc » Logged
quinto

Offline Offline

Posts: 31


WWW
« Reply #7 on: April 07, 2009, 07:53:49 PM »

Hi quinto,

thanks for your effort to combine the two admin tools "User Statistics" and "User Search" to one single module. Especially I appreciate your updates on using the template engine (seems you had a look at the module primer stuff).

Some things which should be modified in a next version:
 - agree on a comment block format and use this (currently it is mixed see index.php and /htt/index.php)
 - modify your PHP comment blocks (add BerndJM and yourself as author, change User Statistics to User Search)
 - if template placeholder names and language array indizes are identical named, one can replace all language placeholders using:

Code:
<?php
foreach($LANG[0] as $key => $value) {
    
$tpl->set_var($key$value);
}
?>


Keep up your good work, highly appreciated.

Regards Christian

I will be more careful to the comments block format i agree it's a little bit messy Smiley

For the trick of the placeholders i will try it if i can...

At this moment i'm searching a Good way to make a "Whois"... perhaps i will use include phpwhois... And i want too to store and load the queries... (sorry for my bad english i'm french).

And after that i will try to implement a cache... because when i want something, i really want it, and i want a Website Baker with modrewrite and cache feature... Smiley
Logged
oeh
Documentation Team
******
Offline Offline

Posts: 130


German Pischer's, what's life without them?


« Reply #8 on: April 08, 2009, 03:01:02 AM »

And here's the Norwegian translation-

Regards
Odd Egil
Logged

Regards
oeh ;-}>
quinto

Offline Offline

Posts: 31


WWW
« Reply #9 on: April 08, 2009, 10:30:04 AM »

And here's the Norwegian translation-

Regards
Odd Egil

Thanks i'll include this into the next version Smiley you'll need to modify it again because it will include new features...
Logged
Luckyluke

Offline Offline

Posts: 552


Let's Rock


« Reply #10 on: April 08, 2009, 10:58:58 AM »

Hi,

Here the translation in Dutch (NL.php).

I found an error (?) on line $MOD_USER_SEARCH['HOWTO']. It seems like the text before the first <br /> is gone.
If the admin creates a new user, the module doesn’t find him. It seems like the user has to login before he’s displayed in de search results. Maybe this isn't an error. But maybe he should be displayed??

Quinto,
Malheureusement, il n'est pas possible pour traduire le texte dans le tooltip. Ce texte s'affiche en Français. Le texte devrait être "Calendrier" -> "kalender" et "Effacer date" -> "Wis datum".

Grtz,
Luc
« Last Edit: April 08, 2009, 11:03:49 AM by Luckyluke » Logged
oeh
Documentation Team
******
Offline Offline

Posts: 130


German Pischer's, what's life without them?


« Reply #11 on: April 08, 2009, 12:04:02 PM »

And here's the Norwegian translation-

Regards
Odd Egil
Thanks i'll include this into the next version Smiley you'll need to modify it again because it will include new features...
OK, I'll do that.
If you just put the EN.PHP in tis tread, I'll do the translation.

Regards
Odd Egil
Logged

Regards
oeh ;-}>
quinto

Offline Offline

Posts: 31


WWW
« Reply #12 on: April 09, 2009, 08:19:26 PM »

Improvements again...

Still no load and save, probably next time Smiley

Here is the changelog :
 v0.33b (BerndJM & Quinto; 09.04.2009)
    + added Optional Whois and GeoIP Functions (Require GeoIP Module)
      just install GeoIP and you'll see the difference Smiley
    + Whois window is using Yahoo ui Dialog (files includeds).
    + modified behavior of the search with searchterm (More easy to retrieve one user now)
    + Fixed some bugs and added more translatable items (thanks to Luckyluke)
    + NL language file is added (thanks to Luckyluke)
    + Added Norvegian language file (thanks to oeh)
    ~ DE, NL, NO language files needs Update

File included in my post
« Last Edit: April 09, 2009, 08:30:19 PM by quinto » Logged
oeh
Documentation Team
******
Offline Offline

Posts: 130


German Pischer's, what's life without them?


« Reply #13 on: April 09, 2009, 10:38:41 PM »

Here's the translation of the updated Norwegian language file.  cool

Regards
Odd Egil
Logged

Regards
oeh ;-}>
Luckyluke

Offline Offline

Posts: 552


Let's Rock


« Reply #14 on: April 10, 2009, 10:06:25 AM »

Here's the updated Dutch language file.

Grtz,
Luc
Logged
binkie

Offline Offline

Posts: 12


« Reply #15 on: May 15, 2009, 04:46:04 PM »

Hello all,

Does anybody have any idea why userSearch leaves me with a blank screen after instalation?
(see att. PDF file)

Thanks,
Nico
« Last Edit: May 15, 2009, 06:32:06 PM by binkie » Logged
quinto

Offline Offline

Posts: 31


WWW
« Reply #16 on: May 15, 2009, 08:29:20 PM »

Hello all,

Does anybody have any idea why userSearch leaves me with a blank screen after instalation?
(see att. PDF file)

Thanks,
Nico

no idea, i'm working on a new version...

What is your language ? And what version of Websitebaker are u using ?
Logged
binkie

Offline Offline

Posts: 12


« Reply #17 on: May 15, 2009, 09:40:35 PM »

Hi Quinto,

Thanks for the reply.

Version=2.7, language = NL
(should I try changing the language?)

Nico
Logged
BerndJM
Moderator
******
Offline Offline

Posts: 1677



WWW
« Reply #18 on: May 16, 2009, 01:14:44 AM »

Hi binkie,

if something is going wrong a blank screen indicates (in the most cases) that your error-level is set to NONE.
Please set it (in the advanced options) at least to E_ALL and let us know what error-messages appear.

Regards Bernd
Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
binkie

Offline Offline

Posts: 12


« Reply #19 on: May 16, 2009, 07:24:53 AM »

Hello Bernd,

I had no idea of this setting, but the next message appears at a normal homepage visit:

Notice: Use of undefined constant php - assumed 'php' in /home/vandijkh/domains/vandijkheating.nl/public_html/templates/Van Dijk Heating 2/index.php on line 1
I think this is a template-error and has nothing to do with my original problem.


Using 'User Search' brings up this error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/vandijkh/domains/vandijkheating.nl/public_html/modules/user_search/tool.php on line 370

Any idea what it means??

Thanks, Nico.
Logged
binkie

Offline Offline

Posts: 12


« Reply #20 on: June 06, 2009, 07:41:00 AM »

Any ideas anybody?
Logged
aldus
Addons Team
******
Offline Offline

Posts: 1018



« Reply #21 on: June 06, 2009, 10:35:32 AM »

Sorry - no, can't reproduce.
WB 2.7 (WB 2.8 beta #985) - UserSearch 0.3.2 Beta from AMASP
http://www.websitebakers.com/pages/admin/admin-tools/user-search.php

Works fine here ...

Maybe the template makes up the trouble?

Regards
Aldus
Logged



57 65 62 73 69 74 65 20 42 61 6B 65 72 20 72 6F 63 6B 73 21
binkie

Offline Offline

Posts: 12


« Reply #22 on: June 06, 2009, 01:17:49 PM »

Thanks for your reply Aldus!

I used version 0.3.3.b, you have 0.3.2.b.
( had mine from the forum thread )
I followed your link, downloaded from Bernd and this version works fine!

Thanks again, also to Bernd

Regards, Nico
Logged
Argos
Forum administrator
*****
Offline Offline

Posts: 1349


WWW
« Reply #23 on: June 06, 2009, 02:30:01 PM »

I would like to give my client access to the User Search and User Statistics (http://www.websitebakers.com/pages/admin/admin-tools/user-statistics.php), but only that. Right now they are admin tools settings, so I have to give my client full admin access. Ideally, these two user modules would be part of the regular Access section, instead of tucked away in the admin tools section. Is there a workaround for this?
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl/portfolio (mostly WB sites)
----------------------------------------------------------------
Please don't request personal support, use the forums!
aldus
Addons Team
******
Offline Offline

Posts: 1018



« Reply #24 on: June 06, 2009, 02:43:22 PM »

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

or an droplet on a page where the users have only the right to see (edit groups -> more options ??)

Regards
Aldus
Logged



57 65 62 73 69 74 65 20 42 61 6B 65 72 20 72 6F 63 6B 73 21
Pages: [1] 2 Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!