Page 12 of 15

Re: Profile friend list

Posted: Sun Jan 10, 2010 7:31 pm
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

Re: Profile friend list

Posted: Tue Jan 12, 2010 2:53 am
by sleevedbiker
anyone?

Re: Profile friend list

Posted: Sun Jan 31, 2010 10:13 am
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

Re: Profile friend list

Posted: Thu Feb 04, 2010 2:24 pm
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!

Re: Profile friend list

Posted: Fri Feb 05, 2010 2:12 pm
by PHNX
Works perfect on my forums. Thank you.

Grtz

Re: Profile friend list

Posted: Fri Feb 05, 2010 3:35 pm
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.

Re: Profile friend list

Posted: Sat Mar 06, 2010 5:24 pm
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?

Re: Profile friend list

Posted: Wed Mar 17, 2010 7:10 pm
by novanilla
Installation time ~1 minute...

:shock:

"Okay, that there's funny, I don't care who y'are." - Larry the Cable Guy

Re: Profile friend list

Posted: Wed Mar 17, 2010 9:12 pm
by Eragon
it is not working phpBB 3.0.7-PL1 , any update ?

Re: Profile friend list

Posted: Wed Mar 17, 2010 10:12 pm
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?

Re: Profile friend list

Posted: Wed Mar 17, 2010 10:32 pm
by Eragon
fresh install,vanilla phpbb 3.0.7-PL1

Re: Profile friend list

Posted: Wed Mar 17, 2010 11:29 pm
by novanilla
Okay, so it could be your installation. Are you getting any errors?

Re: Profile friend list

Posted: Thu Mar 18, 2010 1:22 am
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 ..

Re: Profile friend list

Posted: Thu Mar 18, 2010 4:02 am
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.

Re: Profile friend list

Posted: Mon Mar 29, 2010 10:32 pm
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'],
		));
	}
}