PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
carl0527
New Member
New Member


Joined: Jan 06, 2006
Posts: 18

PostPosted: Wed Feb 13, 2008 9:26 pm Reply with quote Back to top

Raven and team have done a fantastic job as always. But the drop down option in Your Account was the greatest unexpected addition! For me, it will save frequent trips to phpmyadmin to find user accounts to fix things for my users. Thanks again for the fantastic product and support.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Wed Feb 13, 2008 9:43 pm Reply with quote Back to top

Thanks! Two quick tips which you may have discovered. Use the tab key after you input part of a item, otherwise it will act like a submit and take you to the modify user screen. And if you filter out all the users just use the "users" button from "up above" on the ACP to refresh the list.
View user's profile Send private message Visit poster's website
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Feb 14, 2008 7:57 am Reply with quote Back to top

Really the drop down option is a cool thing and very helpful. Wink
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Feb 15, 2008 6:32 am Reply with quote Back to top

And who knows, if we should decide to standardize on an AJAX library, the world will be our oyster... lol. Imagine starting to type away and have a list automatically be pared down as you type... Wink
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Fri Feb 15, 2008 8:08 am Reply with quote Back to top

montego wrote:
And who knows, if we should decide to standardize on an AJAX library, the world will be our oyster... lol. Imagine starting to type away and have a list automatically be pared down as you type... Wink

You just love giving yourself more work lol Wink
View user's profile Send private message Send e-mail Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Fri Feb 15, 2008 10:26 am Reply with quote Back to top

Actually, not to be contradictory but we sometimes get carried away with this Ajax thing. There is no need to interact with the server to have the list automatically pared down. All the data (say users and email addresses) is stored in a Javascript array when the page is loaded. Even the current application could be set to search the array after each keystroke, it just would be inefficient and not particularly useful.

One of the things I've been thinking is that we need to better formalize where and when and how Javascript should be used in RN. I'd include Ajax in this. We really should have a "standard" library of Javascript routines (email check, phone number format check, zip code check, date validation and date picker) that any developer within a module could call on and not have to write their own.

Most user interface guidelines say to put the error checking as close to the entry as possible. So, if you move off an email field on a form and your format is not valid you'll get an alert right away. That has to be done by Javascript. The problem we face is that we can't trust the origin of our forms so any validation we do in Javascript , we still have to redo in PHP when the whole form is validated. This creates a lot of code redundancy and we probably need to think about when we want it and when we don't.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Sat Feb 16, 2008 6:48 am Reply with quote Back to top

fkelly, I keep going back to what if my site has 20K users??? The way I have seen this done is that nothing is brought back to the browser in the drop down until a user starts to type in the text field at least the first character, then using AJAX techniques, it can return back a much smaller list of users/emails...
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Sat Feb 16, 2008 11:29 am Reply with quote Back to top

M. I tested this on 15,000 users. Granted it bogs a bit but it still worked. That said I am definitely not opposed to using better techniques. Ya_dropdown was just put in as a stopgap until we could do something more fundamental with YA as a whole. I know that on my site with 1100 users it saves me incalculable time. Like Carlo I used to use PHPmyadmin to find a user or I even created an Excel spreadsheet of users and emails and I'd search that in a separate window. No more.

The next incremental step, in my view, would be to create a separate search function in YA/admin that could be responsive to a number of criteria: users created since date xxx, users on yyy email domain, string searches on username and or email and the like, users who have posted in the last nn days.

Beyond that maybe we could use Javascript with Ajax techniques to create something that integrates both user and group management. I'd love to see something where we could switch "views" from "users -- groups" to "groups -- users". Get a scrolling list of users for instance and be able to see what groups they are in and what groups are available and be able to create a "pending" update for the whole system by dragging or clicking users to the groups you want them in, review the update and accept or modify it. Or have a scrolling list of groups that shows what privileges the group has and what users belong to it and then add users from a separate list.

Definitely we are going to want to use Javascript and Ajax for that.
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Feb 16, 2008 12:10 pm Reply with quote Back to top

I'm struggling with this right now with my Google Members Map. Right now I just dump all users down to the browser in javascript datastructures. That may not scale well, so I may need to do some smarter fetching on demand later. But your 15,000 test makes me feel a little better.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Sat Feb 16, 2008 7:42 pm Reply with quote Back to top

Gremmie, I think that both M. and yourself are absolutely right to be concerned about the scalability of an approach that dumps large amounts of data to Javascript data structures. As in so many of these things there is probably no one size fits all answer. If you have users fill out a search box and submit it to the server then you get a full page load of Nuke. Depending on the number of blocks active and other factors you are getting probably over 100 SQL calls to reload the page when you really are just after data from one or two tables. If you are using Ajax, then you may have a constant back and forth with the server that has its own resource implications.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum