User Offline..

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

User Offline..

Post 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
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51547
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: User Offline..

Post 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
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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?
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: User Offline..

Post 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.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51547
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: User Offline..

Post by stevemaury »

image name*height*width
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51547
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: User Offline..

Post 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
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51547
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: User Offline..

Post by stevemaury »

Did you refresh the imageset in the ACP, Styles tab?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
pit-PL
Registered User
Posts: 3096
Joined: Sat Nov 21, 2009 12:24 pm

Re: User Offline..

Post 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;
}
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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?
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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?
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: User Offline..

Post 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;
}
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
vaghar123@gmail.com
Registered User
Posts: 149
Joined: Sat Jan 04, 2014 6:39 pm

Re: User Offline..

Post 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?
Locked

Return to “[3.0.x] Support Forum”