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.
The forum of the forums
5 posters

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

    avatar
    Globe Administrator
    Forumember


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

    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
    brandon_g
    brandon_g
    Manager
    Manager


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

    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
    avatar
    Globe Administrator
    Forumember


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

    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
    brandon_g
    brandon_g
    Manager
    Manager


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

    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
    avatar
    Globe Administrator
    Forumember


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

    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.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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
    avatar
    Globe Administrator
    Forumember


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

    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)
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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}"
    avatar
    Globe Administrator
    Forumember


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

    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

    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
    Shadow
    Shadow
    Manager
    Manager


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

    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!
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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.
    avatar
    Globe Administrator
    Forumember


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

    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)
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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.
    avatar
    Globe Administrator
    Forumember


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

    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

    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

    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
    ROBLOXFave
    ROBLOXFave
    New Member


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

    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

      Current date/time is November 11th 2024, 7:05 pm