Recent Status Update Widget like IPB Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    Recent Status Update Widget like IPB

    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Recent Status Update Widget like IPB

    Post by FrOsTyXi Tue 30 Dec 2014 - 0:39

    Hello! Well we have been pulling off some things that have been said can't be done, so i would like to see one more time can a status update widget be made with avatar and latest status updates from members like IPB forum sets have?

    @JScript What is your thoughts on this Or anyone?

    Using LG status updates
    punbb
    Forum link: TPSN

    Thank you yet again sir!

    Regards
    FrOsTyXi
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by Van-Helsing Tue 30 Dec 2014 - 0:49

    Hello @FrOsTyXi,
    Do you need the widget code for status update?
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Tue 30 Dec 2014 - 1:52

    Black-Shadow wrote:Hello @FrOsTyXi,
    Do you need the widget code for status update?

    @Black-Shadow What i'm looking for is a code or system to display members recent status updates in a widget, would kind of resemble recent topics widget just with member recent status. Minus the scrolling lol
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by Van-Helsing Tue 30 Dec 2014 - 2:07

    I have seen that in ipb forum as a module/hook/xml maybe @_Twisted_Mods_ can help you. This function requires a query to retrieve the data but I dont know how it can recognize the members latest status updates. Have you see it on a forumotion forum?
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Tue 30 Dec 2014 - 2:32

    Thank you for the reply, and no i havn't but as i said we have done quite a few things that have been said this can't be done so i'm on a limb here lol
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Tue 30 Dec 2014 - 3:52

    i would have to see this status thing .. can i get link to your page a test account and the code for the status system ... or is it some default thing on forumotion that iv never used
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Tue 30 Dec 2014 - 4:05

    Sure i can send you a account and no it's nothing forumoton has done it's a IP.Board feature if you nav to pshomebeta.net you can see a demo of the status widget but i'll send account details now
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Wed 31 Dec 2014 - 0:39

    looks like another one of those thing we r gonna have to use a topic for a database
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Wed 31 Dec 2014 - 1:03

    ah i see what you mean like staff chat
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Wed 31 Dec 2014 - 1:43

    well i have an idea .. iv been doing a lil studding and i think i can probably do it but it will take a couple days as im not to familiar with what im going to have to do...but as of now unfortunately im unable to help you because because someone keeps changing the password for the test account and i would probably need to be admin on your forum for a day or two while i code because i don't have a punbb forum to do testing on .. so its all up to you where you want to go from here
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by Van-Helsing Wed 31 Dec 2014 - 2:07

    Hello all,
    @_Twisted_Mods_ the pseudo-database module is necessary for more forum functions as I watched, I think we must find a way to develop it.
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Wed 31 Dec 2014 - 2:12

    _Twisted_Mods_ wrote:well i have an idea .. iv been doing a lil studding and i think i can probably do it but it will take a couple days as im not to familiar with what im going to have to do...but as of now unfortunately im unable to help you because because someone keeps changing the password for the test account and i would probably need to be admin on your forum for a day or two while i code because i don't have a punbb forum to do testing on .. so its all up to you where you want to go from here

    i will make sure the password is the same have no idea why it was changed take the time you need and there is no rush thank you for all your help hope you can pull this off!
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Wed 31 Dec 2014 - 3:08

    well i figured out the auto posting but i cant figure out how to delete the messages once topic gets so full
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Wed 31 Dec 2014 - 4:04

    hmm i don't know but is there a way to make a auto prune function?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Wed 31 Dec 2014 - 5:15

    are you wanting the comment feature to or just the msg and avatar?
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 0:14

    @_Twisted_Mods_ As close as we can get to this.

    Recent Status Update Widget like IPB Rsuw10

    Thank you kindly!
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Thu 1 Jan 2015 - 1:26

    im sorry man i tried.. this is just beyond the javascript i have learned maybe ange or js will hook you up i will keep trying to learn and perhaps one day i will be able to do this  but dont think it will be anytime soon
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 1:38

    np my friend thank you for your time hope they leave this open so others can see what can be done!
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Thu 1 Jan 2015 - 11:58

    @FrOsTyXi when you get a chance could you give me acp access again i think i might have figured something out... i jacked ur code for ur staff widget b4 i left your forum for testing and studding and it help me figure out how to do this im pretty sure
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 14:39

    _Twisted_Mods_ wrote:@FrOsTyXi when you get a chance could you give me acp access again i think i might have figured something out... i jacked ur code for ur staff widget b4 i left your forum for testing and studding and it help me figure out how to do this im pretty sure

    @_Twisted_Mods_ ok np i'll have it set for you.
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Thu 1 Jan 2015 - 16:25

    @FrOsTyXi ok your all setup and good 2 go ..everything already on your forum just posting the code for others


    Code:
    <style>
    /*-----ststusupdatewid--by-twisted------*/
    #ssupdbox {background: none repeat scroll 0% 0% grey !important;display: block;overflow: hidden;border-radius: 5px;margin: 3px;}
    #ssupdbox  .topictitle{color:lightskyblue}
    #ssupdbox #field_id2 {color: #FFF; font-weight: normal;text-align: left;width: 100%;margin-left: 3px;margin-bottom: 3px;float: left;vertical-align: middle;overflow: hidden;display: inline-flex;}
    /*-------------------------------------*/
    </style>
    <div id="supdate_widget">
                                                                               
    </div><script>
    jQuery(document).ready(function () {
    jQuery('#supdate_widget').empty()
            jQuery.get('/f17-status-updates .main-content', function (data) {
                var group = {
                    group1: jQuery('tr:eq(4) .tdtopics a[href*="/u"]', data),
                   group2: jQuery('tr:eq(5) .tdtopics a[href*="/u"]', data),
                   group3: jQuery('tr:eq(6) .tdtopics a[href*="/u"]', data),
                   group4: jQuery('tr:eq(7) .tdtopics a[href*="/u"]', data),
                   group5: jQuery('tr:eq(8) .tdtopics a[href*=/u"]', data),
                   groups1: jQuery('tr:eq(4) a.topictitle', data).parents('h2'),
                   groups2: jQuery('tr:eq(5) a.topictitle', data).parents('h2'),
                   groups3: jQuery('tr:eq(6) a.topictitle', data).parents('h2'),
                   groups4: jQuery('tr:eq(7) a.topictitle', data).parents('h2'),
                   groups5: jQuery('tr:eq(8) a.topictitle', data).parents('h2'),
                   post1: jQuery('tr:eq(4) .tc2', data),
                   post2: jQuery('tr:eq(5) .tc2', data),
                   post3: jQuery('tr:eq(6) .tc2', data),
                   post4: jQuery('tr:eq(7) .tc2', data),
                   post5: jQuery('tr:eq(8) .tc2', data),
                   };
            
                jQuery('#supdate_widget').append(group.group1).append(group.group2).append(group.group3).append(group.group4).append(group.group5);
               jQuery('#supdate_widget a[href^="/u"]').wrap(' <span id="ssupdbox"> </span> ');
                jQuery('#supdate_widget a[href^="/u"]').each(function () {
                
                    var prof = jQuery(this).attr('href');
                    
            
                    jQuery('<a href="' + prof + '" class="lastpost-avatar"></a>').insertBefore(this);
                   jQuery('<div class="userTitle"></div>').insertAfter(this);
                  
                    jQuery(this).prev().load(prof + ' #profile-advanced-right img:eq(0)');
                   jQuery(this).next().load(prof + ' #field_id2:eq(0)');
                     jQuery('#supdate_widget .userTitle').eq(0).after(group.groups1);
              jQuery('#supdate_widget .userTitle').eq(1).after(group.groups2);
                  jQuery('#supdate_widget .userTitle').eq(2).after(group.groups3);
                      jQuery('#supdate_widget .userTitle').eq(3).after(group.groups4);
                          jQuery('#supdate_widget .userTitle').eq(4).after(group.groups5);
                        
                          jQuery('#supdate_widget .topictitle').eq(0).text('('+group.post1.text().replace(/ Replies/,'')+')comments');
                         jQuery('#supdate_widget .topictitle').eq(1).text('('+group.post2.text().replace(/ Replies/,'')+')comments');
                        jQuery('#supdate_widget .topictitle').eq(2).text('('+group.post3.text().replace(/ Replies/,'')+')comments');
                         jQuery('#supdate_widget .topictitle').eq(3).text('('+group.post4.text().replace(/ Replies/,'')+')comments');
                         jQuery('#supdate_widget .topictitle').eq(4).text('('+group.post5.text().replace(/ Replies/,'')+')comments');
                })
          
            jQuery('#supdate_widget .topictitle').after(' <br /> ');
                jQuery('#supdate_widget strong').wrap(' <span id="ssupdbox"> <span> ');
      jQuery('#supdate_widget').after(' <a href="http://www.team-psn.net/f17-status-updates">View All Comments</a>');
            });
        
    });
    </script>
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 16:38

    Thank you sir! i will go run some tests!
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 17:22

    @_Twisted_mods_ I'm not sure this is possible with this system but i'm wondering is it possible when the status is updated not to make a new topic each time sort of how the staff chat works it edits the existing thread constantly with the new data pumped into the staff chat box, not create a new thread each time.

    Wondering if that can be implemented

    Thank you for all the work you have done with this and they said it couldn't be done!
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Thu 1 Jan 2015 - 22:29

    what issues r u having with it and are you wanting to take off the comment system?
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 22:37

    Just the making a new topic each time a status is update, i know we have to use the forum as a data holder. Just wondering if there is a way to make the new topic not happen and yes taking away the comment system maybe a good idea asell
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Thu 1 Jan 2015 - 23:13

    if we take off the comment system i can probably make 1 topic and just make it update the first post and just have a list of user id's that it parses ..
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Thu 1 Jan 2015 - 23:22

    _Twisted_Mods_ wrote:if we take off the comment system i can probably make 1 topic and just make it update the first post and just have a list of user id's that it parses ..

    @_Twisted_Mods_ That would be perfect so after the 1st post shows in recent topics that same post will keep getting updated without a re-add to recent topics. Correct?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Fri 2 Jan 2015 - 0:01

    yea i will have to add a new group and add everyone to it so i can make that group mods over that post so they can edit it
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by FrOsTyXi Fri 2 Jan 2015 - 0:03

    ok that sounds good Thank you @_Twisted_Mods_
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Recent Status Update Widget like IPB Empty Re: Recent Status Update Widget like IPB

    Post by _Twisted_Mods_ Fri 2 Jan 2015 - 14:18

    ok its all setup on your forum but i ran into one issue in order for people to edit the post they have to be mods so i created a auto subscibe group with 0 post requirment then i went to add them as mod for that section ... apparently you cant add auto subscribe groups as mods to a section so i turned off the auto subscribe because all the users was added already .. so the only option would be every once in a while take the mod permition of the topic and turn auto subscribe back on then turn it back off and turn the mod back on the topic so new members r added to the group... sounds like a pain i know but only takes two seconds ... and im out of any other ideas .. so if this dont work for you idk what to do... do some test and stuff let me know what u wanna do