Page 1 of 2

User Offline..

Posted: Sat Mar 15, 2014 1:57 pm
by vaghar123@gmail.com
Support Request Template
What version of phpBB are you using? phpBB 3.0.12
What is your board's URL? http://www.astronomertalk.com/
Who do you host your board with? Go Daddy
How did you install your board? I used a tool provided by my host
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? Yes
What MODs do you have installed? Twitter, Social buttons, Gallery
What styles do you currently have installed? Se Gamer
What language(s) is your board currently using? English, EN_US
Which database type/version are you using? I Don't Know
What is your level of experience? New to PHP and phpBB
When did your problem begin? Today
Please describe your problem. Hi Guys, Today I changed the user online image to a green dot, I was wondering if it were be possible to put a "user offline" image as well.

I already see a user offline image in the segamer/imageset, but it does not appear to show up anywhere,

So I am wondering if anyone has an idea how to do this.? I did see a few people asking the question but all of those posts are about 7 years old, so I figure phpbb must have changed a lot by then.

Thank You,
JB
Generated by SRT Generator

Re: User Offline..

Posted: Sat Mar 15, 2014 5:13 pm
by stevemaury
Make whatever you want for the offline icon, name it icon_offline.gif and place a copy in both http://www.astronomertalk.com/styles/SE ... ageset/en/ and http://www.astronomertalk.com/styles/SE ... eset/en_us

Re: User Offline..

Posted: Sat Mar 15, 2014 6:59 pm
by vaghar123@gmail.com
stevemaury wrote:Make whatever you want for the offline icon, name it icon_offline.gif and place a copy in both http://www.astronomertalk.com/styles/SE ... ageset/en/ and http://www.astronomertalk.com/styles/SE ... eset/en_us
I tired this and it did not work.. :?

I then tried naming it icon_user_offline.gif and it still did not work...

and I did refresh everything and purge the cache.

Any other ideas?

Re: User Offline..

Posted: Sat Mar 15, 2014 11:52 pm
by Oyabun1
You also need to add the details to the /styles/SE_Gamer/imageset/en/imageset/imageset.cfg file (and similarly for other languages) on the img_icon_user_offline = [i][color=#FF0000]image name*height*width[/color][/i] line.

Re: User Offline..

Posted: Sun Mar 16, 2014 2:16 pm
by vaghar123@gmail.com
Oyabun1 wrote:You also need to add the details to the /styles/SE_Gamer/imageset/en/imageset/imageset.cfg file (and similarly for other languages) on the img_icon_user_offline = [i][color=#FF0000]image name*height*width[/color][/i] line.
how do I do that... Like waht do I add?

Best,
JB

Re: User Offline..

Posted: Sun Mar 16, 2014 2:47 pm
by stevemaury
image name*height*width

Re: User Offline..

Posted: Sun Mar 16, 2014 4:13 pm
by vaghar123@gmail.com
stevemaury wrote:image name*height*width
icon_user_offline.gif*16*16

but where would I add it?

Sorry Im really new to phpbb and coding in general :D

Re: User Offline..

Posted: Sun Mar 16, 2014 5:55 pm
by stevemaury
Oyabun1 wrote:You also need to add the details to the /styles/SE_Gamer/imageset/en/imageset/imageset.cfg file (and similarly for other languages) on the img_icon_user_offline = [i][color=#FF0000]image name*height*width[/color][/i] line.
So, that would be on the image_icon_user_offline line

Re: User Offline..

Posted: Sun Mar 16, 2014 6:32 pm
by vaghar123@gmail.com
stevemaury wrote:
Oyabun1 wrote:You also need to add the details to the /styles/SE_Gamer/imageset/en/imageset/imageset.cfg file (and similarly for other languages) on the img_icon_user_offline = [i][color=#FF0000]image name*height*width[/color][/i] line.
So, that would be on the image_icon_user_offline line
Thanks!

So I just did it, but nothing is showing up :cry:

Best,
JB

Re: User Offline..

Posted: Sun Mar 16, 2014 9:12 pm
by stevemaury
Did you refresh the imageset in the ACP, Styles tab?

Re: User Offline..

Posted: Sun Mar 16, 2014 9:35 pm
by pit-PL
phpBB does not display an offline icon by default, you'll need an additional class for that.
<!-- IF S_ONLINE --> online<!-- ELSE --> offline<!-- ENDIF -->

Code: Select all

.offline {
	background-image: url("{IMG_ICON_USER_OFFLINE_SRC}");
	background-position: 100% 0;
	background-repeat: no-repeat;
}

Re: User Offline..

Posted: Sun Mar 16, 2014 9:35 pm
by vaghar123@gmail.com
stevemaury wrote:Did you refresh the imageset in the ACP, Styles tab?
Yes, just did it again to be sure.. :cry:

Any ideas?

Re: User Offline..

Posted: Sun Mar 16, 2014 9:47 pm
by vaghar123@gmail.com
pit-PL wrote:phpBB does not display an offline icon by default, you'll need an additional class for that.
<!-- IF S_ONLINE --> online<!-- ELSE --> offline<!-- ENDIF -->

Code: Select all

.offline {
	background-image: url("{IMG_ICON_USER_OFFLINE_SRC}");
	background-position: 100% 0;
	background-repeat: no-repeat;
}
ahh smart! Where do I add this?

Re: User Offline..

Posted: Mon Mar 17, 2014 1:57 pm
by Oyabun1
vaghar123@gmail.com wrote:Where do I add this?
In

Code: Select all

/styles/SE_Gamer/template/ 
	memberlist_view.html
	posting_review.html
	ucp_pm_viewmessage.html
	viewtopic_body.html
Find

Code: Select all

online<!-- ENDIF -->
Replace with

Code: Select all

online<!-- ELSE --> offline<!-- ENDIF -->
(if the files aren't present in SE Gamer then edit the ones in prosilver)

In styles/SE_Gamer/theme/colours.css
Add
pit-PL wrote:

Code: Select all

.offline {
	background-image: url("{IMG_ICON_USER_OFFLINE_SRC}");
	background-position: 100% 0;
	background-repeat: no-repeat;
}

Re: User Offline..

Posted: Mon Mar 17, 2014 7:01 pm
by vaghar123@gmail.com
Oyabun1 wrote:
vaghar123@gmail.com wrote:Where do I add this?
In

Code: Select all

/styles/SE_Gamer/template/ 
	memberlist_view.html
	posting_review.html
	ucp_pm_viewmessage.html
	viewtopic_body.html
Find

Code: Select all

online<!-- ENDIF -->
Replace with

Code: Select all

online<!-- ELSE --> offline<!-- ENDIF -->
(if the files aren't present in SE Gamer then edit the ones in prosilver)

In styles/SE_Gamer/theme/colours.css
Add
pit-PL wrote:

Code: Select all

.offline {
	background-image: url("{IMG_ICON_USER_OFFLINE_SRC}");
	background-position: 100% 0;
	background-repeat: no-repeat;
}
thanks for the info!

I just did this, but still nothing is showing :(

possibly my image url is different?