Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Archived] status update



Go to page : 1, 2  Next

View previous topic View next topic Go down Message [Page 1 of 2]

1
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
  • Description:
hi sir

how to add status update : [Archived] status update Stauts10


how to make it same in my forum sir >?

  • Information:
Forum:www.pixibotz.comVersion:PUNBB
Type:Errors in codeTags:status,update

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

2
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello,
First of all you must install LG's Status Update on the screen tutorial and then you must find the status field id in the profile.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

3
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
Dark-Avenger wrote:[link="/t1116-status-update#7423"]Hello,
First of all you must install LG's Status Update on the screen tutorial and then you must find the status field id in the profile.

i tried to go though with LG status OST but its not working i placed in js but the tutorial is not showing up

any help thanks ?

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

4
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
bump!!!

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

5
Offline

  Shadow

Shadow
Administrator
Administrator
Did you visit your Edit Profile Page on forum when you added javascript?

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

6
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
yes sir i visited Edit profile page on forum ( still i dont see option of OST ) tried many times

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

7
Offline

  Shadow

Shadow
Administrator
Administrator
It works for me as intended.

[Archived] status update 5ZnqxUE

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

8
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
Shadow wrote:[link="/t1116-status-update#7438"]It works for me as intended.

[Archived] status update 5ZnqxUE

[Archived] status update Sss10

no sir i dont see it i tried with other browser too same result

may have some bug pls help me out

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

9
Offline

  Shadow

Shadow
Administrator
Administrator
Placement of javascript needs to be in all pages.

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

10
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
Shadow wrote:[link="/t1116-status-update#7443"]Placement of javascript needs to be in all pages.

yes i tick into all pages but same Sad


Powered by PunBB
Currently 0 users have thanked yaanz for this post:

11
Offline

  Shadow

Shadow
Administrator
Administrator
Alright then force it with a browser.

Open Chrome, open Edit Profile page, right click -> Inspect -> Press Console -> On right side paste the code from tutorial and press run, the tutorial will start.

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

12
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
Shadow wrote:[link="/t1116p10-status-update#7445"]Alright then force it with a browser.

Open Chrome, open Edit Profile page, right click -> Inspect -> Press Console -> On right side paste the code from tutorial and press run, the tutorial will start.


Done sir added as per u said and the tutorial

the status update is working on profile page ....

but thing is not showing on main page my widgets are messd up

any help ?

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

13
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Hello,
Can you post your widget code which you are using and a screenshot?

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

14
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
Dark-Avenger wrote:[link="/t1116p10-status-update#7455"]Hello,
Can you post your widget code which you are using and a screenshot?

[Archived] status update Wid10

[Archived] status update Widg10

here are the screenshot ...

thanks waiting for response

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

15
Offline

  Shadow

Shadow
Administrator
Administrator
Post the code you putted on your forum after you finished tutorial.

Post the screenshot of widget how it looks like on your forum, not from admin panel.

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

16
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
i have not put any code ohh wait

i added a code in css which LG said to add this mini code ? *
Code:
<i class="fa fa-edge"></i>

you can log into my forum with test acct if needed ( i will pm YOU )

there no widget showing on main page only just the recent system showing up the rest is just category

www.pixibotz.com

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

17
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
Yes the widget column seems disabled. I can't check it.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

18
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
Dark-Avenger wrote:[link="/t1116p10-status-update#7463"]Yes the widget column seems disabled. I can't check it.

so what should i have to do ?

i only want the status widget and other widgets to show n main page but not while watching any topic same as this forum

widgets colum are enable u can see above admin panel screen shots

(i pm you with test account ) pls have a look

thanks

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

19
Offline

  Daemon

avatar
Punbb Rookie
Punbb Rookie
Add this code in a widget:
Code:
/***
* Code: Widget Recent Status Update
* Date: 08/09/2014
* Last Update: 28/01/2016
* Author: Daemon
* Version: 1.2
* Visit: http://bestskins.net
* Do not remove the author's claims
***/
<div id="recent_status">Loading...</div>
<script type="text/javascript">
jQuery(function() {
    var el = jQuery('#recent_status');
    var session = _userdata.session_logged_in;
    var content = '';
    if(session > 0) {
      content = '<a href="javascript:void(0)" onclick="atualizarStatus()" class="atualiza_status">Update my status</a>';
    } else {
      content = '<a href="/login" class="atualiza_status">Login</a>';
    }
    jQuery.ajax({
          url: '/u1wall',
          type: 'GET',
          success: function(responseHtml)
          {
          var status = jQuery('li.clearfix:contains("status_update"):lt(5)', responseHtml).wrapAll('<div>').parent().html();
          if(status) {
              content = '<ul>' + status + '</ul>' + content;
              el.html(content).each(function() {
                jQuery(this).html(
                  jQuery(this).html()
                  .replace(/\ - status_update/g,'')
                ).find('ul.message-footer, .message-header img, .message-header em').remove();
              });return false;
          }
          content = 'No status has recently been updated' + content;
          el.html(content);
          },
          error: function(err)
          {
          console.log("AJAX error in request (Recent status update: Loading messages)");
          }
    });
});
function atualizarStatus() {
    var novoStatus = prompt("Enter your new status:");
    if(novoStatus === '') {
      alert("Empty");
    } else if(novoStatus === null) {
      return false;
    } else {
      var TID = jQuery('a[href*="tid="]').attr('href').split('tid=')[1].split('&')[0];
      jQuery.post("/ajax_profile.forum?jsoncallback=?", {
              id: -20,
              user: _userdata.user_id,
              active: "1",
              content: '[["profile_field_2_-20", "' + novoStatus + '"]]',
              tid: TID
      }, function(data){/*Only for calback reasons!*/},
      "json"
      ).done(function() {
      jQuery.ajax({
              url: '/u1wall',
              type: 'GET',
              success: function(responseHtml)
              {
              var matches = responseHtml.match(/\- (.*?)<\/title\>/);
              var user = matches[1];
              jQuery.post('/privmsg?mode=post_profile', {
                    message: novoStatus,
                    post: '1',
                    subject: 'status_update',
                    folder: 'profile',
                    username: user
              }).done(function() {
                alert("Status updated & saved successfully!");
                location.reload();
              });
              },
              error: function(err)
              {
              console.log("AJAX error in request (Recent status update: Save in profile)");
              }
        });
        }).fail(function() {
          console.log("AJAX error in request (ajax_profile)");
        });
        // To fast return!!!
        return false;
    }
}
</script>
<style type="text/css">
.atualiza_status {
  display: block;
  margin-top: 8px;
  text-align: center;
  background-color: #f0f0f0;
  padding: 6px;
  border: 1px solid #e0e0e0;
}
#recent_status > ul {padding-left: 0 !important;}
#recent_status ul li.clearfix {list-style-type: none;padding: 5px 0;}
#recent_status .avatar {
  float: left;
  -moz-border-radius: 0;
  -moz-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  -webkit-border-radius: 0;
  -webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 0;
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  padding: 1px;
}
#recent_status .avatar, #recent_status .avatar img {
  height: 30px;
  width: 30px;
}
#recent_status .message-date {float: right;}
#recent_status .message-block {margin-left: 40px;}
</style>

The status will be saved in the comments profile, and also the administrator's profile! Enjoy...

Powered by PunBB
Currently 0 users have thanked Daemon for this post:

20
Offline

  yaanz

yaanz
Punbb Junior
Punbb Junior
in which widget i have to add this code ?

i have many widgets there

Powered by PunBB
Currently 0 users have thanked yaanz for this post:

21
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 2]


Go to page : 1, 2  Next

Topic URL's

URL
BBcode
HTML

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