The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How can I make an online/offline text that will show in the topics, posts and profiles of users?

5 posters

Go down

In progress How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Globe Administrator June 23rd 2015, 5:25 pm

How can I make an online/offline text that will show in the topics, posts and profiles of users? For example, when a user is online, it shows online and when offline, it shows offline. (I want it in plain texts not images) ..my PunBB  forum is http://niceplug.niceboard.com
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by brandon_g June 23rd 2015, 5:46 pm

Hello,

Do you mean the pysichal image/icon(s) or how to add them?


-Brandon


How can I make an online/offline text that will show in the topics, posts and profiles of users? Brando10
Remember to mark your topic How can I make an online/offline text that will show in the topics, posts and profiles of users? Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

How can I make an online/offline text that will show in the topics, posts and profiles of users? Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

In progress re

Post by Globe Administrator June 23rd 2015, 8:04 pm

Okay, lemme be precise, if you goto http://fmdesign.forumotion.com, you'll notice that under each topic, you will see something like Online signifying when the person is online and  Offline show the user is offline. How can I do it like that? I want mine shown on topics, posts and profiles
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by brandon_g June 23rd 2015, 8:38 pm

Do you mean the red and green online and offline text that @Ange Tuteur has set up for posts, etc?

-Brandon


How can I make an online/offline text that will show in the topics, posts and profiles of users? Brando10
Remember to mark your topic How can I make an online/offline text that will show in the topics, posts and profiles of users? Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

How can I make an online/offline text that will show in the topics, posts and profiles of users? Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Globe Administrator June 23rd 2015, 8:47 pm

Oh yes, that's it.
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Ange Tuteur June 23rd 2015, 10:46 pm

Follow the steps indicated here, then proceed with the following steps.

Go to Administration Panel > Display > Templates > viewtopic_body

Find :
Code:
<div class="post post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">

Replace by :
Code:
<div class="post {postrow.displayed.ONLINE_IMG_NEW} post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">

Save and publish. Add
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re

Post by Globe Administrator June 23rd 2015, 10:59 pm

Ange Tuteur wrote:Follow the steps indicated here, then proceed with the following steps.

Go to Administration Panel > Display > Templates > viewtopic_body

Find :
Code:
<div class="post post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">

Replace by :
Code:
<div class="post {postrow.displayed.ONLINE_IMG_NEW} post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">

Save and publish. Add
I tried finding it to no avail. I went to Template > general > veiwtopic_body . ..and, my forum is PunBB,


Last edited by Globe Administrator on June 23rd 2015, 11:02 pm; edited 1 time in total (Reason for editing : NB)
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Ange Tuteur June 23rd 2015, 11:03 pm

Have you modified that template before ? If not, did you utilize the search feature ?

Try trimming down your search to look for this in particular : class="post post--{postrow.displayed.U_POST_ID}"
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re

Post by Globe Administrator June 23rd 2015, 11:05 pm

..yeah I have modified it before but deleted it.... so, I tried finding it but it didn't work.
Ouch! I tried the other tutorial you linked but the code just pops out on the profile


Last edited by Globe Administrator on June 23rd 2015, 11:24 pm; edited 2 times in total (Reason for editing : NB)
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Globe Administrator June 24th 2015, 7:48 am

Bump - My forum is Niceplug.niceboard.com
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Shadow June 24th 2015, 9:42 am

Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!
Shadow
Shadow
Manager
Manager

Male Posts : 16208
Reputation : 1832
Language : French, English

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Ange Tuteur June 24th 2015, 10:30 am

Globe Administrator wrote:..yeah I have modified it before but deleted it.... so, I tried finding it but it didn't work.
Ouch! I tried  the other tutorial you linked but the code just pops out on the profile
Provide your template using the code tags.
Code:
[code][/code]

Furthermore, if the code is showing that means you chose the incorrect profile field type. Make sure that you choose text zone. If that's not the case, please ensure that you added the CSS. For full functionality though, you need to make the modification I listed to the template.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Globe Administrator June 24th 2015, 2:40 pm

Here's the Viewtopic_body template of my site
Code:
<script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_
MULTIQUOTE_IMG_OFF}', multiquote_img_
on = '{JS_MULTIQUOTE_IMG_ON}', _atr =
'{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}
addthis/'{ADDTHIS_LANG}, addthis_localize
= { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_
EMAIL_CAPTION}", favorites: "{L_SHARE_
BOOKMARKS}", print: "{L_PRINT}", more:
"{L_MORE}" };
$(function(){ if(typeof(_atc) == "undefined") { _atc = { }; } _atc.cwait = 0;
$('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close();


Last edited by Globe Administrator on June 24th 2015, 2:45 pm; edited 1 time in total (Reason for editing : NB)
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Ange Tuteur June 24th 2015, 4:42 pm

That doesn't look like the whole template to me.. blackeye

Please provide the whole template, otherwise I wont be able to make the modifications for you.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Globe Administrator June 24th 2015, 8:14 pm

Pls, how can I provide it, where and where can I go?
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re

Post by Globe Administrator June 24th 2015, 8:15 pm

Code:
var multiquote_img_off = '{JS_
MULTIQUOTE_IMG_OFF}', multiquote_img_
on = '{JS_MULTIQUOTE_IMG_ON}', _atr =
'{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}
addthis/'{ADDTHIS_LANG}, addthis_localize
= { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_
EMAIL_CAPTION}", favorites: "{L_SHARE_
BOOKMARKS}", print: "{L_PRINT}", more:
"{L_MORE}" }; 1
2
3
4
5
6 7
8
9 10
11
12 <script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_
MULTIQUOTE_IMG_OFF}', multiquote_img_
on = '{JS_MULTIQUOTE_IMG_ON}', _atr =
'{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}
addthis/'{ADDTHIS_LANG}, addthis_localize
= { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_
EMAIL_CAPTION}", favorites: "{L_SHARE_
BOOKMARKS}", print: "{L_PRINT}", more:
"{L_MORE}" };
$(function(){ if(typeof(_atc) == "undefined") { _atc = { }; } _atc.cwait = 0;
$('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close();
this?


Last edited by Globe Administrator on June 24th 2015, 8:38 pm; edited 1 time in total (Reason for editing : NB)
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by Globe Administrator June 28th 2015, 11:05 am

Bump
avatar
Globe Administrator
Forumember

Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba

http://niceplug.niceboard.com

Back to top Go down

In progress Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?

Post by ROBLOXFave July 3rd 2015, 10:48 pm

all these codes work for no [Language]. #dipshit
ROBLOXFave
ROBLOXFave
New Member

Male Posts : 22
Reputation : 0
Language : English
Location : Orange

https://help.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum