Profile friend list

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: Profile friend list

Post by sleevedbiker »

i installed this mod and now the title bars are a baby blue. how do i get it back to normal? i am using 3.0.6 subsilver2

also i have double avatars of friends in the friends list
You ride with an outlaw, You die with an outlaw
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: Profile friend list

Post by sleevedbiker »

anyone?
You ride with an outlaw, You die with an outlaw
radali
Registered User
Posts: 20
Joined: Tue Nov 03, 2009 5:56 am

Re: Profile friend list

Post by radali »

hello there

Thanks for this great MOD just a few Questions
I have installed this MOD but problem with layout i have

look at the picture wat should i do ?
Image
vortexhlp
Registered User
Posts: 195
Joined: Fri Jan 09, 2009 7:51 pm

Re: Profile friend list

Post by vortexhlp »

This mod works really good! But, I am having issues with making it work outside of the UCP. In fact, it doesn't show friends at all. From what I gathered I would need to setup a global function. How can I change the current code so I can put it in any page that I want? I would preferably like to put it in friendlist.html (new file).

Thanks in advance!
PHNX
Registered User
Posts: 10
Joined: Wed Feb 03, 2010 4:57 pm

Re: Profile friend list

Post by PHNX »

Works perfect on my forums. Thank you.

Grtz
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: Profile friend list

Post by keith10456 »

radali wrote:hello there

Thanks for this great MOD just a few Questions
I have installed this MOD but problem with layout i have

look at the picture wat should i do ?
Image
The solution to this is posted in the old topic - prior to validation.

Try refreshing your style "Theme"... If that doesn't work, search the pre-validation topic.
Jhonne
Registered User
Posts: 21
Joined: Sat Feb 27, 2010 7:36 pm

Re: Profile friend list

Post by Jhonne »

I have some problems with the memberlist.php file. I cant find this code.

Code: Select all

	$group_options .= '<option value="' . $row['group_id'] . '"' . (($row['group_id'] == $member['group_id']) ? ' selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
		}
		$db->sql_freeresult($result);
However I can find parts of the code on different places in the memberlist.php file.

Code: Select all

		$group_options = '';
		foreach ($group_sort as $group_id => $null)
		{
			$row = $group_data[$group_id];

			$group_options .= '<option value="' . $row['group_id'] . '"' . (($row['group_id'] == $member['group_id']) ? ' selected="selected"' : '') . '>' . $row['group_name'] . '</option>';
		}
		unset($group_data);
		unset($group_sort);

Code: Select all

			while ($row = $db->sql_fetchrow($result))
			{
				$group_ids[] = $row['group_id'];
				$s_group_select .= '<option value="' . $row['group_id'] . '"' . (($group_selected == $row['group_id']) ? ' selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
			}
			$db->sql_freeresult($result);
I have tried to add alter the code in different ways to try to get it to work but havn't succeded yet. I managed to get my Admin profile to say its friends but any other user profile give me a an internal server error page. Any clues?
User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado

Re: Profile friend list

Post by novanilla »

Installation time ~1 minute...

:shock:

"Okay, that there's funny, I don't care who y'are." - Larry the Cable Guy
User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: Profile friend list

Post by Eragon »

it is not working phpBB 3.0.7-PL1 , any update ?
User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado

Re: Profile friend list

Post by novanilla »

Eragon wrote:it is not working phpBB 3.0.7-PL1 , any update ?
Hmm... Good to know Eragon. I was just about to install it on 3.0.6, but I'm planning on updating to 07 soon. Question for you: Did you just try to install this on 3.0.7, or did it break after you updated your board to 3.0.7?
User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: Profile friend list

Post by Eragon »

fresh install,vanilla phpbb 3.0.7-PL1
User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado

Re: Profile friend list

Post by novanilla »

Okay, so it could be your installation. Are you getting any errors?
Peter77sx
Registered User
Posts: 3260
Joined: Wed Nov 09, 2005 2:51 pm

Re: Profile friend list

Post by Peter77sx »

I had this working fine wtith 3.0.7 3.0.7-PL1 was just a quick one-line patch to feeds.php file... I don't see how it would not work ..
User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado

Re: Profile friend list

Post by novanilla »

Eragon wrote:fresh install,vanilla phpbb 3.0.7-PL1
I would guess it's common to either forget to do the SQL changes, or forget to preface the SQL tables correctly with this mod... Just off the top of my head with nothing else to go on.
_Al
Registered User
Posts: 203
Joined: Mon Oct 20, 2008 9:24 pm
Location: Sweetas - All your friends online

Re: Profile friend list

Post by _Al »

Status_mod_1.0.5 mod vis Profile friends list memberlist.php


placing user status's in a friends list array, can anyone help? (in view peofile)
Also trying to place status in member list array.(in members list)

Code: Select all

	/**
	*  STATUS friends list
	*/


if (isset($config['enable_status']))
{
			// status 
		$sql = 'SELECT status_text
				FROM '.STATUS_TABLE.'
					WHERE user_id ='.intval($fri_id).' ORDER BY status_time DESC';
				$result = $db->sql_query_limit($sql, 1);
		
				while($row = $db->sql_fetchrow( $result )) {
				$template->assign_block_vars('fri', array(	
												   
					'FRI_STATUS'			=> $row['status_text'],
		));
	}
}

Return to “[3.0.x] MOD Database Releases”