-

[2.0.22] Online/Offline Status Images

General phpBB2 Discussion and Support
Forum rules
To receive support you must become a donor unless otherwise specified in the release topic.

Please read these topics for more information:
Web Services/Support/Private Mod Access

[2.0.22] Online/Offline Status Images

Postby EXreaction » Mon Jan 08, 2007 12:14 am

Code: Select all
##############################################################
## MOD Title: Online/Offline Status Images
## MOD Author: EXreaction < exreaction@lithiumstudios.org > (Nathan Guse) http://www.lithiumstudios.org
##
## MOD Description: Shows an image by the user if he/she is online
##
## MOD Version: 1.0.0
##
## Installation Level:   Easy
## Installation Time:   ~10 min (less than 1 min with EasyMOD)
##
## Files To Edit:   includes/usercp_viewprofile.php
##               includes/page_header.php
##               languagle/lang_english/lang_main.php
##               templates/subSilver/groupcp_info_body.tpl
##               templates/subSilver/profile_view_body.tpl
##               templates/subSilver/memberlist_body.tpl
##               templates/subSilver/viewtopic_body.tpl
##               groupcp.php
##               memberlist.php
##               viewtopic.php
##
## Included Files:   includes/online_offline.php
##               templates/subSilver/images/lang_english/icon_online.gif
##               templates/subSilver/images/lang_english/icon_offline.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## Author Notes:
##   + My official thread for this mod is here: http://www.lithiumstudios.org/phpBB3/viewtopic.php?f=10&t=110
##      - More online/offline images and sets are available for download in that topic as well.
##   + If you would like to support my work, you can do so by donating.  It can take a lot of time to code and support your modifications.
##      - You can donate with PayPal here: http://tinyurl.com/ymtctj
##   + I HIGHLY reccomend you use EasyMod to install this mod(make sure you are using the latest version of EasyMod when you do)
##      - The biggest reason for errors after installing this mod is user installation error.  If EasyMod detects an error
##         + it will let you know before it does any changes.
##############################################################
## MOD History:
##   (yyyy-mm-dd)
##   2007-01-07
##      + 0.8.0 BETA
##   2007-01-08
##      + 0.9.0 RC1
##         - Minor typos in the Copy part fixed, and a part in groupcp.php fixed, and groupcp_info_body.tpl was missing some increment instructions.
##         - New Online/Offline images used.
##   2007-01-14
##      + 1.0.0
##         - Initial Release
##         - No changes since 0.9.0(RC1)
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################



Online_Offline_1.0.0.zip
(13.89 KiB) Downloaded 2490 times



More Images Available:
Attachments
Red Icons.zip
Red icons
(45.76 KiB) Downloaded 2498 times
Green Icons.zip
Green icons
(46.52 KiB) Downloaded 2201 times
Grayscale Icons.zip
Grayscale icons
(37.01 KiB) Downloaded 2152 times
Brown Icons.zip
Brown icons
(47.74 KiB) Downloaded 1958 times
Classic Icons.zip
More subSilver style icons
(45.46 KiB) Downloaded 2198 times
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] {RC1} Online/Offline Status Images

Postby beggers » Mon Jan 08, 2007 6:01 pm

Excellent work on this mod! I have to tell you that this is the first online/offline mod that has worked properly on my board. I only ran into one minor problem. When I'm viewing a Profile I should get the status above the Email line, but all I get is a ":" (no text or image). Any thoughts on that?

I also noticed while viewing this post the image is a separate cell next to the other icons. Mine appears in the same cell as the icons. I'll have to look at that, too.

Thanks again.
beggers
Member
Member
 
Posts: 3
Joined: Mon Jan 08, 2007 5:38 pm
Blog: View Blog (0)

Re: [2.0.22] {RC1} Online/Offline Status Images

Postby EXreaction » Mon Jan 08, 2007 8:01 pm

Give me a link to your forums and I will take a look. Smile
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] {RC1} Online/Offline Status Images

Postby beggers » Mon Jan 08, 2007 8:27 pm

beggers
Member
Member
 
Posts: 3
Joined: Mon Jan 08, 2007 5:38 pm
Blog: View Blog (0)

Re: [2.0.22] {RC1} Online/Offline Status Images

Postby EXreaction » Mon Jan 08, 2007 11:03 pm

Ok, for your first one, check if you did all the edits in includes/usercp_viewprofile.php(I am guessing they are missing).

As for the second one, I just set mine up to work as the rest are for subSilver, other templates do sometimes change it, so you may have to edit it(like you did) for some templates. Smile
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] {RC1} Online/Offline Status Images

Postby beggers » Tue Jan 09, 2007 12:12 am

EXreaction wrote:Ok, for your first one, check if you did all the edits in includes/usercp_viewprofile.php(I am guessing they are missing).

As for the second one, I just set mine up to work as the rest are for subSilver, other templates do sometimes change it, so you may have to edit it(like you did) for some templates. Smile


I fixed the issue with usercp_viewprofile.php. It turns out that I had 3 instances of

Code: Select all
$template->assign_vars(array(


...in the file. It needed to go after the 3rd one. The second issue isn't a problem. It's fine where it is. Thanks again!
beggers
Member
Member
 
Posts: 3
Joined: Mon Jan 08, 2007 5:38 pm
Blog: View Blog (0)

Re: [2.0.22] {RC1} Online/Offline Status Images

Postby EXreaction » Tue Jan 09, 2007 6:22 pm

beggers wrote:I fixed the issue with usercp_viewprofile.php. It turns out that I had 3 instances of

Code: Select all
$template->assign_vars(array(


...in the file. It needed to go after the 3rd one.


Yep, I noticed that as well before. Razz

I missed that for the Beta version but it was fixed for the RC(the RC was released a day after the Beta). Smile
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] Online/Offline Status Images

Postby stieper » Wed Feb 14, 2007 8:07 am

Very nice mod!! (Thumbs up!)


Though I have one Question...

How come the image in the memberlist is located a little above the middle of the cell?

Example: http://www.brugtstyling.dk/forum/memberlist.php

the valign="middle" is set, and I have tried to make the image a link to see if there were any differences.. (there was not).

When viewing the image alone it has the same height as the email-image, so i cannot see why it should position to the top like it does?

Regards,

Simon
stieper
Member
Member
 
Posts: 2
Joined: Wed Feb 14, 2007 8:03 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby stieper » Wed Feb 14, 2007 8:16 am

Ok - I resolved the issue - it was because of the &nbsp;'s in front of, and after the image...
stieper
Member
Member
 
Posts: 2
Joined: Wed Feb 14, 2007 8:03 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby beebo » Thu Feb 15, 2007 9:12 am

hey great work can you please tell me how i can fix the location of the online icon on the view topic page i want to be under the user location or under the user avatar
beebo
Member
Member
 
Posts: 1
Joined: Thu Feb 15, 2007 9:09 am
Blog: View Blog (0)

Next

Return to phpBB2



Who is online

Users browsing this forum: No registered users and 0 guests