@JScript What is your thoughts on this Or anyone?
Using LG status updates
punbb
Forum link: TPSN
Thank you yet again sir!
Regards
FrOsTyXi
_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
_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
<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>
_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 ..