profile

Manually re-creating an install profile

I've been reading about drupal install profiles, and I'm wondering if there's much of a difference between using a packaged install profile vs. installing core + manually installing the modules listed in the install profiles? I'd like to do the latter (manually installing each) to control the versions of each module installed, which I ...

Drupal: getting user information

How can I get information about the loged in user when I load a random website page ? I need to grab a profile field to customize the page look thanks ...

How Do We Let Users Add Our Application As A Tab On Their Profile?

We currently have an iframe-based Facebook canvas application in the works. The canvas portion is working fine and doesn't really touch the Facebook API at all, since we don't really need any permissions from users in terms of accessing their social graph; the data we're using comes entirely from outside of Facebook. What we would like...

Porting Old XCode Projects to New Versions of XCode: Provisioning Profile Troubles

I have a project that I created in XCode around nine months ago. The last few times my provisioning profile has expired it has been a nightmare trying to get the new one running. This time around the new provisioning profile isn't listed in the build tab for me to select. I tried manually making the entry in the project.pbxproj file ac...

Distinguishing User Profile Pages from Content Pages

I'm managing the implementation of Single Sign-On functionality into a suite of websites and want to create the best possible solution for our users. I would prefer that each user get a Profile Page that has the URL format: http://website/<username> But I also need to deliver content from that location, for example: http://web...

Team provisioning profile alternatives?

I've got an iPhone app that uses push notifications, which means that I can't use a wildcard in the bundle identifier of my provisioning profile. This means that I can't use a team provisioning profile, which makes things difficult when several developers are committing code to Subversion. When I commit my code, I also commit my individ...

profiles in structuremap

Hi, I have common setup and setup specific to request context(example for specific locality). I was suggested to use profiles and on runtime work through a factory which would fetch the specific details from the context of the request and by convention load a profile to a nested container. I can set profiles with names by convention bu...

Maven: Customize web.xml of web-app project

Hi all, I have a web application Maven project, and I want to customize the web.xml file depending on the Profile that is running. I am using the Maven-War-plugin, which allows me to define a "resources" directory, where the files may be filtered. However, filtering alone is not sufficient for me. In more detail, I want to include (or ...

Django-profiles custom create/edit modelForm not saving properly

Summary: u = self.instance.user in def save(self, *args, **kwargs): u = self.instance.user u.first_name = self.cleaned_data['first_name'] u.last_name = self.cleaned_data['last_name'] u.save() return super(ProfileForm, self).save(*args, **kwargs) is causing a problem because self.instance doesn't exist. But yet this is how...

Store user profile pictures on disk or in the database?

I'm building an asp.net mvc application where users can attach a picture to their profile. This picture will obviously be displayed in the profile, but other parts of the system too, like a messaging gadget on the dashboard that displays recent messages displays a little profile iconnext to the users message(s). When the user uploads th...

Java heap bottleneck - how to identify the cause?

I have a J2EE project running on JBoss, with a maximum heap size of 2048m, which is giving strange results under load testing. I've benchmarked the heap and cpu usage and received the following results (series 1 is heap usage, series 2 is cpu usage): It seems as if the heap is being used properly and getting garbage collected properly...

Custom Profile Provider with class library

I have a class library (lets call it a) which i've created a custom profile provider in. I reference this library in another class library (lets call this b) which is part of a solution along with a web application. Now how do i reference the custom profile provider in class library b. I've been following this article http://leedumond.c...

Getting the "real" Facebook profile picture URL from graph API

Facebook graph API tells me I can get a profile picture of a user using http://graph.facebook.com/517267866/picture?type=large which works fine. However, when you type above URL into a browser, the actual address of the image is http://profile.ak.fbcdn.net/profile-ak-snc1/v227/560/83/n517267866_1928.jpg How can I get the second URL u...

Create Process As User after loading user profile

Hi All, I have service that runs as system, i want to spawn new process in some user TS session with the user privileges. I'm calling LogonUser, LoadUserProfile, CreateEnvironmentBlock, CreateProcessAsUser and spwan the process in the user TS session. The process (cmd.exe) run in the user TS session, but when i'm trying to run GUI app...

Profile Memory Allocation in Python (with support for Numpy arrays)

I have a program that contains a large number of objects, many of them Numpy arrays. My program is swapping miserably, and I'm trying to reduce the memory usage, because it actually can't finis on my system with the current memory requirements. I am looking for a nice profiler that would allow me to check the amount of memory consumed b...

Is there a way to output users name as a link to profile in Drupal?

Im using pathauto so user profiles have a clean URL in the format /user/name-name How can I output the users name as a link to the profile? Ive seen the theme() function used to do stuff similar to this? ...

Windows API for Creating User Profile

Hi, I'm trying to find the Window API for creating user profile. I'm creating local user in windows, and i'm trying to run process with this user using CreateProcessWithLogonW with LOGON_WITH_PROFILE flag set. Since the profile does not exist (the user was not interactively logged on yet) the CreateProcessWithLogonW fails. When perf...

How to send Facebook users back to their respective Profile pages?

I have Facebook users logged into my site. After they are on my site, I want to return each user back to their own individual Profiles. Specifically, I want to return them to the Profile page that shows their Tabs. e.g. http://www.facebook.com/home.php?#!/username Rather than sending them back to their default (home) page. What link...

Insert Description Text to Drupal User Registration Form

I am using the profile module and have several categories for different fields. I want to add a small bit of text to the top of one of the categories saying what the category is for. The information would be displayed when a new user registered. Basically I want to tell users to only fill out a category on certain conditions. Can anyone ...

Problem with Iphone distribution provision profile

Hi dear all Comrades! I have a problem There is one iphone software product of our company and this product can recieve push_notification messages from our push_notification server this product is going to be on live(namely it is going to be in the APPSTORE) so recently we are doing some testing work,(the product use developer provisio...