The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic 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 on 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

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 on June 23rd 2015, 5:46 pm

Hello,

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


-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5355
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress re

Post by Globe Administrator on 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

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 on 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


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5355
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.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 on June 23rd 2015, 8:47 pm

Ohyes,that'sit.

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 on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re

Post by Globe Administrator on 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)

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 on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re

Post by Globe Administrator on 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)

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 on June 24th 2015, 7:48 am

Bump-MyforumisNiceplug.niceboard.com

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 Leviosa on 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!


No help without your forum url
No support via private message



Leviosa
Administrator
Administrator

Female Posts : 15587
Reputation : 1589
Language : French, English

http://help.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 Ange Tuteur on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://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 on 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)

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 on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://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 on June 24th 2015, 8:14 pm

Pls, how can I provide it, where and where can I go?

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 on 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)

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 on June 28th 2015, 11:05 am

Bump

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 on July 3rd 2015, 10:48 pm

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

ROBLOXFave
New Member

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

http://help.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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