5 posters
How can I make an online/offline text that will show in the topics, posts and profiles of users?
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°1
How can I make an online/offline text that will show in the topics, posts and profiles of users?
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
brandon_g- Manager
- Posts : 10113
Reputation : 923
Language : English
Location : USA
- Post n°2
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Hello,
Do you mean the pysichal image/icon(s) or how to add them?
-Brandon
Do you mean the pysichal image/icon(s) or how to add them?
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°3
re
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
brandon_g- Manager
- Posts : 10113
Reputation : 923
Language : English
Location : USA
- Post n°4
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Do you mean the red and green online and offline text that @Ange Tuteur has set up for posts, etc?
-Brandon
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°5
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Oh yes, that's it.
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°6
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Follow the steps indicated here, then proceed with the following steps.
Go to Administration Panel > Display > Templates > viewtopic_body
Find :
Replace by :
Save and publish.
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.
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°7
Re
I tried finding it to no avail. I went to Template > general > veiwtopic_body . ..and, my forum is PunBB,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.
Last edited by Globe Administrator on June 23rd 2015, 11:02 pm; edited 1 time in total (Reason for editing : NB)
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°8
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
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}"
Try trimming down your search to look for this in particular : class="post post--{postrow.displayed.U_POST_ID}"
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°9
Re
..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
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)
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°10
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Bump - My forum is Niceplug.niceboard.com
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
- Post n°11
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°12
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Provide your template using the code tags.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
- 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.
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°13
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
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)
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°14
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
That doesn't look like the whole template to me..
Please provide the whole template, otherwise I wont be able to make the modifications for you.
Please provide the whole template, otherwise I wont be able to make the modifications for you.
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°15
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Pls, how can I provide it, where and where can I go?
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°16
Re
- 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();
Last edited by Globe Administrator on June 24th 2015, 8:38 pm; edited 1 time in total (Reason for editing : NB)
Globe Administrator- Forumember
- Posts : 92
Reputation : 1
Language : English, Igbo, Pidgin, Yoruba
- Post n°17
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
Bump
ROBLOXFave- New Member
- Posts : 22
Reputation : 0
Language : English
Location : Orange
- Post n°18
Re: How can I make an online/offline text that will show in the topics, posts and profiles of users?
all these codes work for no [Language]. #dipshit