Avatars in Who is Online

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.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29232
Joined: Sat Aug 16, 2003 7:36 am

Avatars in Who is Online

Post by Extensions Robot »

Modification name: Avatars in Who is Online
Author: lefty74
Modification description: Shows the Avatar of users in the Who is online page.
Modification version: 1.0.0
Tested on phpBB version: 3.0.0

Download file: Avatar_in_Who_is_online_1_0_0.zip
File size: 30834 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Tue Feb 08, 2011 4:37 am, edited 5 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28654
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Avatars in Who is Online

Post by Paul »

Modification validated/released

Notes:
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Avatars in Who is Online

Post by lefty74 »

Demo Board: Demoboard
Demo Username: test
Demo Password: testtest
Image
Last edited by lefty74 on Tue Mar 11, 2008 8:11 pm, edited 1 time in total.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Avatars in Who is Online

Post by lefty74 »

Thanks Paul :)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Avatars in Who is Online

Post by stokerpiller »

Nice job lefty74 8-)

Cant login with Your testuser.
I am done with phpBB
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Avatars in Who is Online

Post by lefty74 »

thanks, pse try again re. the test account.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Avatars in Who is Online

Post by stokerpiller »

Login on demoboard works fine now.

And Your mod works perfect.
Thanks :)
I am done with phpBB
omu_leo
Registered User
Posts: 2
Joined: Wed Mar 12, 2008 9:13 am

Re: Avatars in Who is Online

Post by omu_leo »

Hi,

It all looks simple, but....
the last change, i don't understand
where should i put the %:1 ? :?:

thnx

Leo
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Avatars in Who is Online

Post by lefty74 »

you increment whatever number with 1 so e.g. if it was colspan="5", it becomes colspan="6".
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
vert305
Registered User
Posts: 27
Joined: Mon Dec 10, 2007 1:58 am

Re: Avatars in Who is Online

Post by vert305 »

Does anyone else use this.. i would love to see your boards for an more examples
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Avatars in Who is Online

Post by stokerpiller »

Hello

Suddenly I got a debug error.

Code: Select all

[phpBB Debug] PHP Notice: in file /viewonline.php on line 277: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3476: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3478: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3479: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3480: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
Then it disappeared again.

Any idea?
I am done with phpBB
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Avatars in Who is Online

Post by lefty74 »

no, sorry, never had this error.
whats around line 277 in viewonline.php ?
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: Avatars in Who is Online

Post by stokerpiller »

I have only seen the error once.
Abd it appeared when viewing Whos Online.

Code: Select all

if ($forum_id && $auth->acl_get('f_list', $forum_id))
			{
				$location = '';
				$location_url = append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $forum_id);

				if ($forum_data[$forum_id]['forum_type'] == FORUM_LINK)
				{
					$location = sprintf($user->lang['READING_LINK'], $forum_data[$forum_id]['forum_name']);
					break;
				}

				switch ($on_page[1])
				{
					case 'posting':
						preg_match('#mode=([a-z]+)#', $row['session_page'], $on_page);

				LINE 277 ------->		switch ($on_page[1])
						{
							case 'reply':
							case 'quote':
								$location = sprintf($user->lang['REPLYING_MESSAGE'], $forum_data[$forum_id]['forum_name']);
							break;

							default:
								$location = sprintf($user->lang['POSTING_MESSAGE'], $forum_data[$forum_id]['forum_name']);
							break;
						}
					break;

					case 'viewtopic':
						$location = sprintf($user->lang['READING_TOPIC'], $forum_data[$forum_id]['forum_name']);
					break;

					case 'viewforum':
						$location = sprintf($user->lang['READING_FORUM'], $forum_data[$forum_id]['forum_name']);
					break;
				}
			}
			else
			{
				$location = $user->lang['INDEX'];
				$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
			}
I am done with phpBB
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: Avatars in Who is Online

Post by lefty74 »

i do not know what coudl have caused that to be honest. I am fairly certain though that this would not have been caused by my mod.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
billy.mc
Registered User
Posts: 55
Joined: Tue Mar 18, 2008 10:11 pm

Re: Avatars in Who is Online

Post by billy.mc »

i have finished installing this MOD & i get nothing, the only bit i could not get was increment 1%, what does that do & what would i need to change it to?
thanx billy
Locked

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