How can I build a web page that allows a logged on user of a Windows 2003 domain change details of his account (probably just First Name, Surname, and Phone number)?
Very basic SQL question (DB is MySQL):
I want a table of number of transactions by users.
User ID Transaction count
1 43
2 213
3 0
4 23
5 0
In a table I have the two relevant records (user_id and buy_count).
How could I get the table I want?
Thanks,
Roberto
The standard Joomla registration forms has a limited set of fields available. What's the "correct" method for adding the user's first name, last name, and phone number to the registration project? I can certainly modify the Joomla core, but that's less than ideal.
A nickel for your thoughts.
How would I go about dynamically adding commas as a user is entering numbers? Is there a good number formatter that would help? I have to add these numbers later so I eventually have to remove the commas down the line. But the screen needs to show the commas for better readability.
I know the user needs to give the application "extended permission" for access to the email address. I went through the Facebooker documentation (I am using it for an iFrame app for whatever it's worth) but can't find any related stuff in the documentation or any sample code.
Hi,
What is the better solution to manage Exit or Quit events when user exit to other pages with no action?. This event need to be raised only one time and be usefull to delete all temporary files or datas not stored after the abandon of this page. Is a perfect to use as cleaning method server side. Thanks.
I want to set the LastPasswordSet attribute of a user in Microsoft Active Directory.
The .NET UserPrincipal API exposes the LastPasswordSet property as readonly.
Is there a way around this, to set the value (perhaps using ADSI)?
How do you override the admin model for Users? I thought this would work but it doesn't?
class UserAdmin(admin.ModelAdmin):
list_display = ('email', 'first_name', 'last_name')
list_filter = ('is_staff', 'is_superuser')
admin.site.register(User, UserAdmin)
I'm not looking to override the template, just change the displayed fields & ordering.
Solutions please?
I would like to implement one of the fanciest features I every now and then. I would like to allow a user to click on a JList and if words are typed, do a query and advance the caret to the next match (prefix). Is there and example of such an implementation in Java somewhere? I'm thinking a combination of key listeners, getNextMatch() and setSelectValue().
I've got a gtk file chooser button on my application I am writing in c# using Mono Develop. I would like to set the file chooser's default location to the users' home directory regardless of what user is running it.
I've tried the ~/ short cut - fchFolder1.SetCurrentFolder("~/"); - but this did not work. I was just wondering if there was a value that the gtk file chooser used to refer to the users home directory? Thanks
I'm asking this because i'm a n00b when it comes to Powershell.
How do i use Powershell to add a particular domain user or group to a specific reporting role in SSRS2005 (say the Content Manager or Browser role)? Is there a simple one or two line script to achieve it?
Thanks!
Note: this is definately programming related (not server admin), but i am also going to ask this on SF.
we are developing a web application which allows a user to draw diagrams(flow/ER diagrams) and we need the representation of that diagram in some XML or other formats. How should we acheive this ?? is there any open source software or jQuery plugin or anyother server side software??
For Eg...if the User needs to retrieve the 10th highest mark in a "mark" column.
The column may be in any order. I need Query for to get stud_name of 10th highest mark.
Say for eg..table name is student
columns are id, name, mark.
Hello Tech Jargons,
I have developing messenger in php. In my application in need to reload the content of div in a page while any user post their comments on database of server.
Please kindly help me...
Thanks in Advance
Mayan Alagar.
I've just changed jobs. My previous employer uses Subversion, my new employer uses Perforce.
Are there any resources out there that'll help me, as a user change my mental model from a Subversion one to a Perforce one? What are the analogs to common SVN command, which concepts are implemented differently?
I want to send my Array class using boost Mpi
template
class Array
{
private:
int size;
T* data;
public:
// constructors + other stuff
};
Here T can be any built in type or user defined type. Suppose I have a class complex
struct complex
{
std::vector real_imag; // contain two elements
};
So the question is how can I send Array using Boost::Mpi + serialization.
Thanks in anticipation
Regards
Noman
Is it OK to stop current thread until user click some buttons in Silverlight? E.g.
var clicked = false;
ShowDialog(EventOnClosed => clicked = true);
while (!clicked) {};
return;
Hello,
I am looking to port my very basic DBMS software from classic ASP to ASP.net - however the user would need to input the connection details in order to connect to their specific DBMS server.
Is this at all possible with ASP.NET MVC (very similar to DSN-less connections in ASP).
Cheers,
Joel
I am giving a link to user to activate his account. Link is http://xyz.in/JSF_WEB_WFE/faces/index.jsp?confirmuser=jona&emailid=valid. I read the parameters in a Beans constructor and then making some decision like, activated / already activated. It works fine in local but while we deploy in web some times it works fine and some time not. what may be the problem. What can we do for better solution?
In one of the ASP.NET MVC apps we would like to logoff the user automatically if he closes the browser tab in which the app is opened.
We are using the following code when he authenticates.
FormsAuthentication.SetAuthCookie(userName, false)
As of now, if we closes the browser window and relaunch it, users are asked to authenticate again. But we want to ask users to authenticate again if they close the tab and try to access any of the website urls.
in mako template, i use this
${request.environ['repoze.who.identity']['user']}
and the render in controller:
render('file.html')
can i write this better without passing in parameter everytime?
I am planning to start a site in which the content is generated by the users. What is the best method to save the data submitted by user?
Is the method of saving the data in phpmyadmin database a good idea considering that the data submitted by users is large similar to a blog post. Btw I'm good in working with php and mysql but I'm not sure whether it is a good method.
Hi all,
I looked through the Wordpress Hook DB and couldn't find any way to change the page that wordpress redirects to after editing a user... Does anyone know of a hook that will do this, or of another way I could accomplish the same thing?
Alright, I'm trying to work on a function for active user counting in an AJAX based application. I want to express the below SQL Query in correct syntax but I'm not sure how to write it. The desired SQL Query is below:
SELECT count(*)
FROM active WHERE timestamp > time() - 1800
AND nick=(a string that doesn't contain [AFK])
Now, I do understand that time() - 1800 can be assigned to a variable, but how is timestamp > variable and nick that doesn't contain a string written in SQL?