Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2012, 10:47:55 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149602 Posts in 21098 Topics by 7538 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: [1] 2   Go Down
Print
Author Topic: New Admin-Tool "User Search"  (Read 8381 times)
BerndJM

Offline Offline

Posts: 1764



« 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

In theory, there is no difference between theory and practice. But, in practice, there is.
Bramus
Forum Team
*****
Offline Offline

Posts: 600


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 Internet Services
BerndJM

Offline Offline

Posts: 1764



« 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

In theory, there is no difference between theory and practice. But, in practice, there is.
BerndJM

Offline Offline

Posts: 1764



« 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

In theory, there is no difference between theory and practice. But, in practice, there is.
quinto

Offline Offline

Posts: 67


WWW
« Reply #4 on: April 04, 2009, 02: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 WebsiteBaker 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, 02:54:20 PM by quinto » Logged
quinto

Offline Offline

Posts: 67


WWW
« Reply #5 on: April 07, 2009, 02: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, 03:04:06 PM by quinto » Logged
doc
Guest
« Reply #6 on: April 07, 2009, 05: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, 05:36:39 PM by doc » Logged
quinto

Offline Offline

Posts: 67


WWW
« Reply #7 on: April 07, 2009, 06: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 WebsiteBaker with modrewrite and cache feature... Smiley
Logged
oeh

Offline Offline

Posts: 190



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

And here's the Norwegian translation-

Regards
Odd Egil
Logged

Good bye ;-{(
oeh ;-}>
quinto

Offline Offline

Posts: 67


WWW
« Reply #9 on: April 08, 2009, 09: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: 555



« Reply #10 on: April 08, 2009, 09: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, 10:03:49 AM by Luckyluke » Logged
oeh

Offline Offline

Posts: 190



« Reply #11 on: April 08, 2009, 11:04:02 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...
OK, I'll do that.
If you just put the EN.PHP in tis tread, I'll do the translation.

Regards
Odd Egil
Logged

Good bye ;-{(
oeh ;-}>
quinto

Offline Offline

Posts: 67


WWW
« Reply #12 on: April 09, 2009, 07: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, 07:30:19 PM by quinto » Logged
oeh

Offline Offline

Posts: 190



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

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

Regards
Odd Egil
Logged

Good bye ;-{(
oeh ;-}>
Luckyluke

Offline Offline

Posts: 555



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

Here's the updated Dutch language file.

Grtz,
Luc
Logged
binkie

Offline Offline

Posts: 12


« Reply #15 on: May 15, 2009, 03: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, 05:32:06 PM by binkie » Logged
quinto

Offline Offline

Posts: 67


WWW
« Reply #16 on: May 15, 2009, 07: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, 08:40:35 PM »

Hi Quinto,

Thanks for the reply.

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

Nico
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #18 on: May 16, 2009, 12: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

In theory, there is no difference between theory and practice. But, in practice, there is.
binkie

Offline Offline

Posts: 12


« Reply #19 on: May 16, 2009, 06: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, 06:41:00 AM »

Any ideas anybody?
Logged
aldus

Offline Offline

Posts: 1238


« Reply #21 on: June 06, 2009, 09: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
binkie

Offline Offline

Posts: 12


« Reply #22 on: June 06, 2009, 12: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
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #23 on: June 06, 2009, 01: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
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 #24 on: June 06, 2009, 01: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
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!