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 2 of 3 Previous  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

First topic message reminder :

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

Posts : 2032

http://liquidcode.forumotion.com

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 2nd 2015, 2:51 pm

ok great thank you for all the time and work! I'll go play with it thank you again!

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 January 2nd 2015, 4:31 pm

Hello,
Can I have the code please?

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 2nd 2015, 5:11 pm

@_Twisted_Mods_ Yes please post the code. This is your baby and you should be the one to post it!

Thank you and Kind Regards!

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, 9:06 pm

this is the script for when you click the update button .. it grabs a list of users # from the post and removes the last one adds the user# of the user who clicked the button .. this is only for punbb because the elements are different in other versions

/t3-status-users = the post page that it gets used id's from
/post?p=4 = the post # for it to edit the post.. u can highlight edit post to get the post #

Code:

jQuery(function(){
jQuery('.status-button').click(function(){
 jQuery.get('/t3-status-users', function (data) {
  var groupz = {
  group1z: jQuery('.entry-content', data).text(),
};
    ff = groupz.group1z;
    gg = ff.split(' ');
    mm="";
  for(var i = 0; i < 4; i++){
      
       var hh = gg[i];
       mm = mm + " "+ hh;

    }

         jQuery.post('/post?p=4&mode=editpost', {
 subject: 'Status Updates',
         message: _userdata.user_id+mm,
         post: 1
      });
   
 })
 
});
});




this is the code for the recent status update widget .. it grabs the list of user # from the post goes to each ones profile and gets their name,avatar, and status and attaches it to its holder

/t3-status-users = page it grabs the user ids from
#field_id2 = the profile field it grabs the status from

Code:

<style>
/*-----ststusupdatewid--by-twisted------*/
.statsbox #statavatar {

  display: inline-block;
  width: 100%;
}
.statsbox {

  padding: 5px;
  margin-bottom: 2px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1px solid #000;
 
}
.statsbox #statavatar img {
  width: 30px;
  float: left;
}
.statsbox .h3 {
 background-color:white;
  border-radius: 5px;
  padding: 2px;
  border: 1px solid #000;
  display: inherit;
 width:110px;
 text-align: center;
}
/*-------------------------------------*/
</style>
<div id="supdate_widget">
</div><script>

jQuery(function(){
 jQuery('#supdate_widget').empty();
 jQuery.get('/t3-status-users', function (data) {
    tpfieldid = '#field_id2:eq(0)';
  var group = {
  group1: jQuery('.entry-content', data).text(),
};
    gg = "";
    ff = group.group1;
    gg = ff.split(' ');


           nurl1 = '/u'+gg[0];
       nurl2 = '/u'+gg[1];
       nurl3 = '/u'+gg[2];
       nurl4 = '/u'+gg[3];
       nurl5 = '/u'+gg[4];
         jQuery('#supdate_widget').append(' <div id="statusbox1" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
         jQuery('#supdate_widget').append(' <div id="statusbox2" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
         jQuery('#supdate_widget').append(' <div id="statusbox3" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
          jQuery('#supdate_widget').append(' <div id="statusbox4" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
          jQuery('#supdate_widget').append(' <div id="statusbox5" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
         
         
 jQuery.get(nurl1, function (data) {
  var prof1 = {
        name1: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar1: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status1: jQuery(tpfieldid, data).text(),
};
jQuery('#supdate_widget #statusbox1 #statavatar').prepend('<img src="'+prof1.avatar1+'">');
jQuery('#supdate_widget #statusbox1 #statavatar').append(prof1.name1);
jQuery('#supdate_widget #statusbox1 #tstatus').append(prof1.status1) ;
});
   
   
 jQuery.get(nurl2, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
};
jQuery('#supdate_widget #statusbox2 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox2 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox2 #tstatus').append(prof.status) ;
});

   
    jQuery.get(nurl3, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
}
jQuery('#supdate_widget #statusbox3 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox3 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox3 #tstatus').append(prof.status) ;
});
   
    jQuery.get(nurl4, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
}
jQuery('#supdate_widget #statusbox4 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox4 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox4 #tstatus').append(prof.status) ;
});
   
    jQuery.get(nurl5, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
}
jQuery('#supdate_widget #statusbox5 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox5 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox5 #tstatus').append(prof.status) ;
});
   
 
 });
 });



</script>

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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, 9:56 pm

@_Twisted_Mods_ I will set you back to admin so you can look this over

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 January 2nd 2015, 11:44 pm

@_Twisted_Mods_ wrote:this is the script for when you click the update button .. it grabs a list of users # from the post and removes the last one adds the user# of the user who clicked the button .. this is only for punbb because the elements are different in other versions

/t3-status-users = the post page that it gets used id's from
/post?p=4 = the post # for it to edit the post.. u can highlight edit post to get the post #

Code:

jQuery(function(){
jQuery('.status-button').click(function(){
 jQuery.get('/t3-status-users', function (data) {
  var groupz = {
  group1z: jQuery('.entry-content', data).text(),
};
    ff = groupz.group1z;
    gg = ff.split(' ');
    mm="";
  for(var i = 0; i < 4; i++){
      
       var hh = gg[i];
       mm = mm + " "+ hh;

    }

         jQuery.post('/post?p=4&mode=editpost', {
 subject: 'Status Updates',
         message: _userdata.user_id+mm,
         post: 1
      });
   
 })
 
});
});




this is the code for the recent status update widget .. it grabs the list of user # from the post goes to each ones profile and gets their name,avatar, and status and attaches it to its holder

/t3-status-users = page it grabs the user ids from
#field_id2 = the profile field it grabs the status from

Code:

<style>
/*-----ststusupdatewid--by-twisted------*/
.statsbox #statavatar {

  display: inline-block;
  width: 100%;
}
.statsbox {

  padding: 5px;
  margin-bottom: 2px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1px solid #000;
 
}
.statsbox #statavatar img {
  width: 30px;
  float: left;
}
.statsbox .h3 {
 background-color:white;
  border-radius: 5px;
  padding: 2px;
  border: 1px solid #000;
  display: inherit;
 width:110px;
 text-align: center;
}
/*-------------------------------------*/
</style>
<div id="supdate_widget">
</div><script>

jQuery(function(){
 jQuery('#supdate_widget').empty();
 jQuery.get('/t3-status-users', function (data) {
    tpfieldid = '#field_id2:eq(0)';
  var group = {
  group1: jQuery('.entry-content', data).text(),
};
    gg = "";
    ff = group.group1;
    gg = ff.split(' ');


           nurl1 = '/u'+gg[0];
       nurl2 = '/u'+gg[1];
       nurl3 = '/u'+gg[2];
       nurl4 = '/u'+gg[3];
       nurl5 = '/u'+gg[4];
         jQuery('#supdate_widget').append(' <div id="statusbox1" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
         jQuery('#supdate_widget').append(' <div id="statusbox2" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
         jQuery('#supdate_widget').append(' <div id="statusbox3" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
          jQuery('#supdate_widget').append(' <div id="statusbox4" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
          jQuery('#supdate_widget').append(' <div id="statusbox5" class="statsbox"><div id="statavatar"></div><div id="tstatus"></div></div> ');
         
         
 jQuery.get(nurl1, function (data) {
  var prof1 = {
        name1: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar1: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status1: jQuery(tpfieldid, data).text(),
};
jQuery('#supdate_widget #statusbox1 #statavatar').prepend('<img src="'+prof1.avatar1+'">');
jQuery('#supdate_widget #statusbox1 #statavatar').append(prof1.name1);
jQuery('#supdate_widget #statusbox1 #tstatus').append(prof1.status1) ;
});
   
   
 jQuery.get(nurl2, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
};
jQuery('#supdate_widget #statusbox2 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox2 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox2 #tstatus').append(prof.status) ;
});

   
    jQuery.get(nurl3, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
}
jQuery('#supdate_widget #statusbox3 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox3 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox3 #tstatus').append(prof.status) ;
});
   
    jQuery.get(nurl4, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
}
jQuery('#supdate_widget #statusbox4 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox4 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox4 #tstatus').append(prof.status) ;
});
   
    jQuery.get(nurl5, function (data) {
  var prof = {
        name: jQuery('#profile-advanced-right .h3:eq(0)', data).parent().html().replace(/\(online\)/g,''),
                     avatar: jQuery('#profile-advanced-right img:eq(0)', data).attr('src'),
                     status: jQuery(tpfieldid, data).text(),
}
jQuery('#supdate_widget #statusbox5 #statavatar').prepend('<img src="'+prof.avatar+'">');
jQuery('#supdate_widget #statusbox5 #statavatar').append(prof.name);
jQuery('#supdate_widget #statusbox5 #tstatus').append(prof.status) ;
});
   
 
 });
 });



</script>
Hello all,
@_Twisted_Mods_ can we place all the codes into the widget code?

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 12:39 am

yup it goes right in a widget

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 12:48 am

No, I mean if the first javascript can be embeded in the widget code (second code).

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 12:53 am

the first code goes in the status update widget at the very bottom of the code inside <script></script> tags the second code goes in its own widget

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 1:00 am

Hmm there is a problem here, I have the status update in a dropdown menu not in a widget. Is there a way to place the javascript in the template?

Update:
I am adding the following code
Code:

<script> jQuery(function(){jQuery('.status-button').click(function(){jQuery.get('/t15831-topic', function (data) { var groupz = {group1z: jQuery('.entry-content', data).text(),}; ff = groupz.group1z; gg = ff.split(' '); mm="";for(var i = 0; i < 4; i++){ var hh = gg[i]; mm = mm + " "+ hh;} jQuery.post('/post?p=4&mode=editpost', { subject: 'Ενημερώσεις Καταστάσεων Μελών', message: _userdata.user_id+mm, post: 1});})});});</script>
in the template but its not working it colorizes some parts of code in the template.

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 1:49 am

you can just put it in a javascript instead of the template

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 1:58 am

I have place it but its not working the tag </script> at the end of the script it isn't green http://prntscr.com/5ntgon

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by FrOsTyXi on January 3rd 2015, 1:59 am

@Black-Shadow I like the status update in the template like ipb if at all possible can you send that to me?

@_Twisted_Mods_ all is working great thank you kindly sir!

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 3rd 2015, 2:46 am

it wont light up green because the i < 4 throws a false positive and it thinks its the opening of a tag .. the script will still run the right way its just how forumotion has there stuff setup to detect errors

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 2:50 am

Is there any way to substitute the javascript operator <?

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 2:59 am

not that i know of� ... as long as your close tags dont show up red ur pretty much good

try using

i==4 instead of i<4

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 3:05 am

Now I placed it in javascripts and set it In all the pages and still is not working. The topic must be contains something?

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 3:31 am

make the topic your using public and give me a link to it

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 3:34 am

Here is the topic

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 3:50 am

it runs fine... youu do know that script only does something when you click the update button on the status update widget correct?

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 3:57 am

I didnt install the widget yet because it isn't grab the status into the topic when I am pressing the button update. I have the status update in the profile dropdown menu http://prntscr.com/5numag

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 4:10 am

Code:
/post?p=4


did you change that to the post #

think its

Code:
/post?p=20047

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 12:31 pm

@_Twisted_Mods_ wrote:
Code:
/post?p=4


did you change that to the post #

think its

Code:
/post?p=20047
Hello @_Twisted_Mods_ I change it to 20047 but it is still not working. It writes to the post other text probably from forum rules.

Update1:
The widget of recent status updates seems working. The widget seems working on firefox but its not working on google chrome.

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 1:26 pm

i really cant help you to much i cant read anything on your forum because its not in English and i dont use chrome but ill try my best .... what do you mean by it doesn't work in chrome?... like nothing shows up or only some things?

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 1:37 pm

The google chrome doesn't update all the boxes of statuses in the widget and some boxes displayed blank or delayed to update. I am working on firefox too not on chrome but I tried to test it in more browsers. On mozilla the same problem some boxes displayed blank.

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 2:09 pm

edit the post that the updates r posted in and type "1 2 3 4 5" and see if all the boxes fill

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 2:29 pm

I do that and after I tried to update some statuses and now the post contains the characters "4 +-----5 +-----1 1 2" and the boxes are not filled correctly.

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 3:14 pm

post me the script for when you click the update button

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
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 January 3rd 2015, 3:21 pm

Here it is:
Code:
<script>status_box.init('profile_field_13_5')</script>
and this one:
Code:

<script src="http://avacweb.net/status">

Van-Helsing
Hyperactive

Male Posts : 2246
Reputation : 84
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Re: Recent Status Update Widget like IPB

Post by _Twisted_Mods_ on January 3rd 2015, 3:27 pm

no i mean the one that i wrote that u edit for your forum not the widget one just the small script

like this one

Code:
jQuery(function(){jQuery('.status-button').click(function(){jQuery.get('/t15831-topic', function (data) { var groupz = {group1z: jQuery('.entry-content', data).text(),}; ff = groupz.group1z; gg = ff.split(' '); mm="";for(var i = 0; i < 4; i++){ var hh = gg[i]; mm = mm  + " "+ hh;} jQuery.post('/post?p=4&mode=editpost', { subject: 'Ενημερώσεις Καταστάσεων Μελών', message: _userdata.user_id+mm, post: 1});})});});

so i can edit it and u can copy n paste

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Page 2 of 3 Previous  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