Is there a list of the mods that could be installed with EM?

Wondering why that MOD you have won't install correctly? Let's take a look
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with EM?

Post by flesh »

Nightrider wrote: I think there were problems with the Quotes bbcode tags too. I lost interest in it after I saw how problematic it was, so I haven't followed the discussions to see what else was wrong...

Yes, you would use the download from the link that you listed above. Just install it like any other MOD using EM...

Image

It did not included that function ...
aam can you take a look at one file of my friends mod, I told you about

I changed the place where are viewed the friends in the profile ...
here how it looks one user's profile with more friends http://forums.irontrees.com/profile.php ... ofile&u=92
if you have more than 6 users - it looks not good ...
I found the code because by default it was set to view 4 users avatars
I found this code:

Code: Select all

if($total_h_friends > 3)
{
	for($j = 3; $j < $total_h_friends; $j++)
	{
		$photo_img = '<img src="images/no_photo.jpg" height=60 width=50 border=0>';
		if ( $friendsdata[$j]['user_avatar_type'] && $friendsdata[$j]['user_allowavatar'] )
		{
			switch( $friendsdata[$j]['user_avatar_type'] )
			{
				case USER_AVATAR_UPLOAD:
					$photo_img = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $friendsdata[$j]['user_avatar'] . '" alt="" border="0" />' : '';
					break;
				case USER_AVATAR_REMOTE:
					$photo_img = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $friendsdata[$j]['user_avatar'] . '" alt="" border="0" />' : '';
					break;
				case USER_AVATAR_GALLERY:
					$photo_img = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $friendsdata[$j]['user_avatar'] . '" alt="" border="0" />' : '';
					break;
			}
		}
		$template->assign_block_vars('friendsrow2', array(
			'USERNAME' => $friendsdata[$j]['username'],
			'USERLINK' => "profile.php?mode=viewprofile&u=" . $friendsdata[$j]['user_id'],
			'DEFAULT_PIC' => $photo_img )
		);
	}
}
and I changed it to 3 ... as it is viewed in the code ...
do you see from where comes this that after the first line of friends the second line are not viewed 3 friends but much more and it breaks the look of the profile :(
do you know how it could be fixed ?
http://www.irontrees.com/images/usercp_ ... le.php.txt
Image
[/quote]
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with EM?

Post by Nightrider »

You've got a parse error in your lang_english/lang_main.php file and your forum is down. Until this error is corrected, I can't see what you're referring to...

Image
flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with EM?

Post by flesh »

Nightrider wrote: You've got a parse error in your lang_english/lang_main.php file and your forum is down. Until this error is corrected, I can't see what you're referring to...

Image

now there are no problems :roll:
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with EM?

Post by Nightrider »

This is what I see when I go to your site:
Parse error: syntax error, unexpected '*' in /users/irontree/public_html/forums/language/lang_english/lang_main.php on line 3

Image
flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with EM?

Post by flesh »

Nightrider wrote: This is what I see when I go to your site:
Parse error: syntax error, unexpected '*' in /users/irontree/public_html/forums/language/lang_english/lang_main.php on line 3

Image

oh, yes. Sorry I messed up the main lang file only of the English pack ... now it is fixed and is working nice. Can you now try to help me, please :roll:
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with EM?

Post by Nightrider »

I've been looking at the code and found that it is badly written at the point where it is setting up and displaying your friends in your profile. It is currently set so that there are only two Friends rows. On the first row, it will display 3 friends. Then on the second, it will display all the rest. So if you have 6 friends or less, then it would look fine. But as you found, if you have more than 6 friends, then the Profile will get increasingly worse as you add each new friend. In other words, you can have 3 friends on the first row. But if you have 100 friends, there would be 97 friends displayed on the second row, which would badly break your page layout as you are seeing...

This is going to take a fairly significant adjustment to the code to fix it. Is the MOD author still supporting this MOD? The MOD author should be the one fixing it...

Image
flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with EM?

Post by flesh »

Nightrider wrote: I've been looking at the code and found that it is badly written at the point where it is setting up and displaying your friends in your profile. It is currently set so that there are only two Friends rows. On the first row, it will display 3 friends. Then on the second, it will display all the rest. So if you have 6 friends or less, then it would look fine. But as you found, if you have more than 6 friends, then the Profile will get increasingly worse as you add each new friend. In other words, you can have 3 friends on the first row. But if you have 100 friends, there would be 97 friends displayed on the second row, which would badly break your page layout as you are seeing...

This is going to take a fairly significant adjustment to the code to fix it. Is the MOD author still supporting this MOD? The MOD author should be the one fixing it...

Image

he is not answering me :(
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with EM?

Post by Nightrider »

Is he ignoring everyone or just you? Since it has been a year or more since this MOD was updated, it may be abandoned...

Image
flesh
Posts: 139
Joined: Tue Aug 01, 2006 3:28 pm

Re: Is there a list of the mods that could be installed with EM?

Post by flesh »

Nightrider wrote: Is he ignoring everyone or just you? Since it has been a year or more since this MOD was updated, it may be abandoned...

Image

I wrote him a pm but he didnt answered me :(
Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Is there a list of the mods that could be installed with EM?

Post by Nightrider »

It sounds like the MOD has been abandoned. I can try to take a look at it, but it may take a while and I can't guarantee success. I'm surprised that someone else hasn't dealt with this problem and posted a workaround since this is so old. Did you look through the topic to see if anyone else complained about this???

Image
Locked