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.

Recent Status Update Widget like IPB

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Go down

Recent Status Update Widget like IPB

Post by FrOsTyXi on December 30th 2014, 12:39 am

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by Van-Helsing on December 30th 2014, 12:49 am

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

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on December 30th 2014, 1:52 am

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by Van-Helsing on December 30th 2014, 2:07 am

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?

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on December 30th 2014, 2:32 am

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on December 30th 2014, 3:52 am

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on December 30th 2014, 4:05 am

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on December 31st 2014, 12:39 am

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on December 31st 2014, 1:03 am

ah i see what you mean like staff chat

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on December 31st 2014, 1:43 am

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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by Van-Helsing on December 31st 2014, 2:07 am

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.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on December 31st 2014, 2:12 am

@_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!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on December 31st 2014, 3:08 am

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on December 31st 2014, 4:04 am

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on December 31st 2014, 5:15 am

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 12:14 am

@_Twisted_Mods_ As close as we can get to this.



Thank you kindly!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 1st 2015, 1:26 am

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 1:38 am

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 1st 2015, 11:58 am

@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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 2:39 pm

@_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.

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 1st 2015, 4:25 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 4:38 pm

Thank you sir! i will go run some tests!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 5:22 pm

@_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!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 1st 2015, 10:29 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 10:37 pm

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

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 1st 2015, 11:13 pm

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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 1st 2015, 11:22 pm

@_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?

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 2nd 2015, 12:01 am

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 2nd 2015, 12:03 am

ok that sounds good Thank you @_Twisted_Mods_

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 2nd 2015, 2:18 pm

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Back to top


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