Everything groups, user interaction, moderation, rating, profile management, etc.

User Pictures In Buddy List

I am using the code below in my user_profile.tpl.php template but I can not get the pictures to show up with the name. Is there anyway to do this and have the picture and name show up in a table format? Where you can adjust amount of colums and rows and table width? The current code does actually work but I don't want it in bulleted list format, I want it in a table. No one has seemed to figure this one out. Using 4.7.3 Example: CLICK HERE
<?php
if ( user_access('view buddy lists') || user_access('administer users') ) {
// if thisuser has friends, show friends
$output = '';
$i = 0;
$cnt = variable_get('buddylist_prof_buddies', 5);
if ($buddies = buddylist_get_buddies($user->uid)) {
foreach(array_keys($buddies) as $buddy) {
$account = user_load(array('uid' => $buddy));
$listbuddies[] = $account;
$i++;
if ($i > $cnt) {
break;
}
}
$output .= t('Buddies');
$output .= theme('user_list', $listbuddies);
$output .= '
';
if (count($buddies) > variable_get('buddylist_prof_buddies', 5)) {
$output .= '

';
}
$sql = 'SELECT b.uid, u.name FROM {buddylist} b INNER JOIN {users} u ON b.uid = u.uid WHERE b.buddy = %d ORDER BY u.access DESC';

Civic CRM Install Issues - getting different Errors than othe posts

I am trying to install Civicrm on my Drupal 4.7 install. I have created a separate database than druple, followed the instructions, and changed the civicrm.settings.php file as directed. However, I am getting two error messages. They are:

* warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in E:\prod\wamp\www\drupal\modules\civicrm\drupal\civicrm.module on line 34.

* warning: include_once() [function.include]: Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.;C:\php5\pear') in E:\prod\wamp\www\drupal\modules\civicrm\drupal\civicrm.module on line 34.

My drupal install is on E:\prod\wamp\www\drupal.

Also, I noticed that regardless of what I do in the Civicrm.settings.php file, I always get the same error. The Civicrm install guide gives suggestions on files that I need to change. Here is what I have added.

*define( 'CIVICRM_UF_DSN' , 'mysql://drupal:drupal@localhost/drupal?new_link=true' ); - My drupal db info

*global $civicrm_root;
$civicrm_root = '/wamp/www/drupal/modules/civicrm';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/wamp/www/drupal/modules/civicrm/templates' );
define( 'CIVICRM_UPLOADDIR' , '/wamp/www/drupal/modules/civicrm/upload' );

Drupal and Fantasy Football

We recently started up a Fantasy Football informational website using Drupal 4.6. We had someone help us set it up and it is very generic. We are looking for someone who is interested in a share of the company (no cost but time involved) to help with the site design going forward. If you have interest in Fantasy Football and want to submit stories with insight on various topics, that is a bonus. FF is a large industry with a big market share. If interested, email champ@sonic.net.

Thanks

Create link to a users own usernode (using custom module usernode and nodeprofile)?

Hi,

I'm using Usernode and Nodeprofile such that as people register to my site a usernode is automatically created. I'm wondering how to have a link to their Usernode from a menu?

When I use "?=usernode" it takes them to "My usernode" which is great, except they can't edit this page. They have to click on their "UserId" link on this page to get to "?q=node/6" (or whatever their usernode is) and from their they can edit it.

User categorization

Hi,

I want to build a website with a few categories of users :
- 1st category : artists which will display there work
- 2nd category : anonymous, or resistered users. These users will be able to tell what they think about the work of the users of first category
- 3rd category : some website administrator which will be able to do anything they want

I don't know of to define this category of users and how to assign users to one category.

Problem with Menu Tree - how to prevent page nodes to appear on tree menus

Hello Ppl

I have a problem with category menu tree structure.. I created a menu block on the left hand side for containers and categories... it is perfect...

the problem is.. when I add a new page under a category.. that page node also gets added into that menu tree... my concern is that I imagine 100's of pages to be added under a category.. then the left hand menu would look horrible.....

Is there a way to prevent pages nodes.. other than category and container from having appearing on the tree menu.....

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Social software and communities