who's online avatars

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

who's online avatars

PostAuthor: xporter » Fri Nov 30, 2007 10:12 am

Searched this forum well and have not seen this post yet. Does anyone know how to show the avatars of the users online in the who's online box.
Last edited by xporter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
xporter
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 19, 2007 2:33 pm
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: found it » Sat Dec 01, 2007 1:49 am

Hi

you would like to show all the avatars of all your members who are online at once....?
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: xporter » Sat Dec 01, 2007 6:48 am

Yes online users shows everyone on the board in consecutive lines. On each line before username I would like to show his or her avatar. Or even maybe get rid of all the other stuff and just show the avatars with the name underneath kinda like a forum post.
Last edited by xporter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
xporter
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 19, 2007 2:33 pm
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: CaNNon » Sat Dec 01, 2007 7:44 am

I kind of like the idea, but what if like 20 users were on line? it would eat up the whole page. Not to mention throw the all the forums out of wack.
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: found it » Sat Dec 01, 2007 9:01 am

Thats what I thought 2... if you had a hundred members online unless you shrunk the avatar image you will have a huge page to load each time...

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: CaNNon » Sat Dec 01, 2007 12:20 pm

Maybe you could put the avatars trough thumbs? but that would really slow the forum down?

** edit **
Sorry found it same idea i just said it different. <img>
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: found it » Sat Dec 01, 2007 1:04 pm

[quote=""CaNNon";p="29631""]Maybe you could put the avatars trough thumbs? but that would really slow the forum down?

** edit **
Sorry found it same idea i just said it different. :mrgreen: <img>
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: xporter » Sat Dec 01, 2007 9:00 pm

The link below is for the site where I got the idea. It's not integramod but works generally the same. It is fast and smooth and holds 50 avatars on a page and then adds a second page automatically if needed. Check it out and tell me what you think

Be sure to go to the users online section under the header community.
It is open to guests. By the way I am a UT fan but don't hold that against me.

http://www.longhornnation.com

Thanks
Last edited by xporter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
xporter
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 19, 2007 2:33 pm
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: CaNNon » Sun Dec 02, 2007 7:01 am

Ok, I see looks like they have it on a separate portal page.
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: Helter » Sun Dec 02, 2007 2:43 pm

to display avatars on viewonline.php, go to acp/P.C.P./PCP Wizard/Alter Page Display/
in "Select a Page:" choose "phpbb >> Who Is Online"
choose "Select"
choose "Add / Remove Page Fields

Under "Available Fields" choose "user_avatar"
Under "Action" choose "->"
Under "Selected Fields" choose "user_avatar" choose "Move Up" till it is at the top.
Choose "Submit"

on the next page you should see "user_avatar" at the top. In the "Options" section, select "Img"
In the "HTML Style" section, add this
Code: Select all
 <td>%s</td>  

In the "extra" section select "Display Always"
Choose "Submit"


Open your template/viewonline_body.tpl Overwrite it with this

Code: Select all
 <table><tr>     <td>{L_WHO_IS_ONLINE}</td></tr><tr><td><a>{L_INDEX}</a>{NAV_SEPARATOR}{L_WHO_IS_ONLINE}</td></tr></table><table><tr><td>{TOTAL_REGISTERED_USERS_ONLINE}</td></tr><tr><th>{L_AVATAR}</th> <th>{L_USERNAME}</th><th>{L_LAST_UPDATE}</th><th>{L_FORUM_LOCATION}</th><th>{L_CONTACT}</th></tr><BEGIN><tr>     {reg_user_row.PANEL}     <td>{reg_user_row.CONTACT}</td></tr><END><tr><td><img></td></tr><tr><td>{TOTAL_GUEST_USERS_ONLINE}</td></tr><tr><th>{L_USERNAME}</th><th>{L_LAST_UPDATE}</th><th>{L_FORUM_LOCATION}</th><th> </th></tr> <BEGIN><tr>    {guest_user_row.PANEL}   <td> </td></tr><END><tr><td><span>{L_ONLINE_EXPLAIN}</span></td></tr></table><table><tr><td><a>{L_INDEX}</a>{NAV_SEPARATOR}{L_WHO_IS_ONLINE}</td></tr></table>  


Now go to the index of your forum. Scroll down to the "Who Is Online" box and click the "Who Is Online" title.
Last edited by Helter on Sun Dec 02, 2007 5:51 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: who's online avatars

PostAuthor: CaNNon » Sun Dec 02, 2007 5:12 pm

The info is not showing up for me, but I see it has added the avatar row.
It also showing the row in board navigation > Online users and Who is on line in the portal when you use show all.

Could the show bots online mod I was playing with break the info link?

I did clear the extreme and IM cashe and removed the PcP edits I made for the mouse over I was trying. I replaced the viewonline.php with the backup copy.
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: Helter » Sun Dec 02, 2007 5:42 pm

no, i updated it. I forgot a few PCP steps
You need to redo viewtopic_body.tpl also because I forgot to disable html in the post and it omitted a few tags

I posted in red the steps I forgot
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: who's online avatars

PostAuthor: CaNNon » Sun Dec 02, 2007 6:23 pm

The Example user_avatar is showing in pcp now, but still a no go on the site. <img>
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: who's online avatars

PostAuthor: Helter » Sun Dec 02, 2007 10:11 pm

i dont know why. I just added it to this site exactly as the post says and it is working here
http://www.integramod.com/forum/viewonline.php
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: who's online avatars

PostAuthor: xporter » Mon Dec 03, 2007 2:50 pm

Great, worked like a charm. I do like the Idea of a blank page and it shows only the avatars with a name underneath. Maybe Ill work on that later. But for now I'm happy with it.

Thanks again, this program and site is the best.
Last edited by xporter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
xporter
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 19, 2007 2:33 pm
Cash on hand: 0.00

Next

Return to General Discussion

Who is online

Registered users: Bing [Bot], Helter, Majestic-12 [Bot]

cron