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.

Staff online widget

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

In progress Staff online widget

Post by Bokssha on Wed Oct 30, 2013 9:56 pm

Hello...  
 I accidentally came across some topics related to problems with "Staff online widget"...
 Can someone tell me what is Staff online widget,how can we make it,and for what version of forums is it?
 Thank you.

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Ikerepc on Wed Oct 30, 2013 10:42 pm

Hi,

Where are you see that topic?
I don't know what you think, so can you put link on that topic or something?

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Wed Oct 30, 2013 10:45 pm


Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Ikerepc on Wed Oct 30, 2013 10:58 pm

You just need create new widget and paste that html code in that. And then follow instructions Smile

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Wed Oct 30, 2013 11:09 pm

Ok... I dont know if I putt the right code in it,
but this is what I get:



Just names... Confused

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Ikerepc on Wed Oct 30, 2013 11:24 pm

I'm not try that codes, so are that codes show qight? If yes say what you want to add or what, and I will try to help you.

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Wed Oct 30, 2013 11:32 pm

Ohh... i just try this code on phpBB3 and it worked...
But I want it on bb2... Can we do some modifications for it?


Code:
<style>.staffname{display:block}</style><div id="onlineStaff">
<span class="staffname">Admin</span>
</div>

<script type="text/javascript">
 jQuery(function() {
          var x = jQuery('.module', document.getElementById('right'))[0].innerHTML;
          var y = jQuery('.staffname', document.getElementById('onlineStaff'));
          for (var i=0, l = y.length; i<l; i++) {
            if (x.indexOf(y[i].innerHTML) > 0) {
             
      y[i].innerHTML+=' <img src="http://hitskin.com/themes/13/76/80/i_folder_new.gif">';
    } else { y[i].innerHTML+='<img src="http://hitskin.com/themes/13/76/80/i_folder.gif">'; }
          }
        });
</script>

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Van-Helsing on Fri Nov 01, 2013 6:41 pm

Hi all,
Nice widget i need it too could you give me the codes for phpbb2?

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

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

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Staff online widget

Post by BL@DE on Fri Nov 01, 2013 8:33 pm

can i have it to for phpbb2as well? Smile

BL@DE
Forumember

Male Posts : 153
Reputation : 10
Language : English
Location : England

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Fri Nov 01, 2013 8:36 pm

I guess not... Smile

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by BL@DE on Fri Nov 01, 2013 8:38 pm

Sad not good i want this for my site. i have all ways wanted it Very Happy

BL@DE
Forumember

Male Posts : 153
Reputation : 10
Language : English
Location : England

Back to top Go down

In progress Re: Staff online widget

Post by Kaizer Lee on Sat Nov 02, 2013 9:44 am

Try changing the selectors and some javascript command. Cuz I'm pretty sure it's not possible for phpbb2 codes to be converted to phpbb3 codes and vice versa.

Can you give us a screen shot on how it should look like maybe I can provide some code for it but don't expect 100% results since I just got back to the whole coding lol

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 12:36 pm

Well, here,this is example how it should work



And this is how it is on my forum,phpbb2



As i say,on bb3 it is how it should be... but I m not sure is it working


Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Ikerepc on Sat Nov 02, 2013 1:13 pm

What code you using?

You need just change font size and add that image for online.
I'm I right?

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 1:16 pm

I added images... i posted code,some post before... this is the code I used on bb3

Code:
<style>.staffname{display:block}</style><div id="onlineStaff">
<span class="staffname">Admin</span>
</div>

<script type="text/javascript">
 jQuery(function() {
  var x = jQuery('.module', document.getElementById('right'))[0].innerHTML;
  var y = jQuery('.staffname', document.getElementById('onlineStaff'));
  for (var i=0, l = y.length; i<l; i++) {
  if (x.indexOf(y[i].innerHTML) > 0) {
 
  y[i].innerHTML+=' <img src="http://hitskin.com/themes/13/76/80/i_folder_new.gif">';
  } else { y[i].innerHTML+='<img src="http://hitskin.com/themes/13/76/80/i_folder.gif">'; }
  }
  });
</script>
But when I put it on bb2 , its not working... it just show names.

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Nera. on Sat Nov 02, 2013 4:03 pm

Bokssha just change the word module to forumline in the code and it should work fine for BB2 than.

http://i.imm.io/1jFkH.png

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 4:51 pm

Nope... still dont work... Confused


Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by Van-Helsing on Sat Nov 02, 2013 6:15 pm

Can someone develop staff online script for phpbb2?

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

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

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Staff online widget

Post by SLGray on Sat Nov 02, 2013 7:12 pm

Dark-Avenger wrote:Can someone develop staff online script for phpbb2?

Best Regards,
Dark-Avenger
Read what Nera posted - http://help.forumotion.com/t127988-staff-online-widget#856599 .


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 7:50 pm

@SLGray wrote:
Dark-Avenger wrote:Can someone develop staff online script for phpbb2?

Best Regards,
Dark-Avenger
Read what Nera posted - http://help.forumotion.com/t127988-staff-online-widget#856599 .
Its not working...
its ok for images now... but its not working... it shows that I m offline

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by SLGray on Sat Nov 02, 2013 7:53 pm

So you are using this code?
Code:
    <style>.staffname{display:block}</style><div id="onlineStaff">
    <span class="staffname">Admin</span>
    </div>

    <script type="text/javascript">
    jQuery(function() {
              var x = jQuery('.forumline', document.getElementById('right'))[0].innerHTML;
              var y = jQuery('.staffname', document.getElementById('onlineStaff'));
              for (var i=0, l = y.length; i<l; i++) {
                if (x.indexOf(y[i].innerHTML) > 0) {
                 
          y[i].innerHTML+=' <img src="http://hitskin.com/themes/13/76/80/i_folder_new.gif">';
        } else { y[i].innerHTML+='<img src="http://hitskin.com/themes/13/76/80/i_folder.gif">'; }
              }
            });
    </script>


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 7:55 pm

yeah... i think so... here it is...

Code:
<style>.staffname{display:block}</style><div id="onlineStaff">
<span class="staffname">Bokssha</span>
</div>

<script type="text/javascript">
 jQuery(function() {
          var x = jQuery('.forumline', document.getElementById('right'))[0].innerHTML;
          var y = jQuery('.staffname', document.getElementById('onlineStaff'));
          for (var i=0, l = y.length; i<l; i++) {
            if (x.indexOf(y[i].innerHTML) > 0) {
             
      y[i].innerHTML+=' <img src="http://hitskin.com/themes/13/76/80/i_folder_new.gif">';
    } else { y[i].innerHTML+='<img src="http://hitskin.com/themes/13/76/80/i_folder.gif">'; }
          }
        });
</script>

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by SLGray on Sat Nov 02, 2013 8:01 pm

Please add it to your forum and post your forum's link. Please tell us where it will appear.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 8:02 pm

Its on the portal... Right side...second widget

http://chillcaffee.serbianforum.info/portal

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by SLGray on Sat Nov 02, 2013 8:03 pm

I see it. What exactly is wrong with it?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 8:05 pm

Doesent change... it shows that I m offline... all the time...

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by SLGray on Sat Nov 02, 2013 8:06 pm

I would have to log in to see it. Could you send me a test account by pm?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 8:07 pm

Give me a sec to make it...


Here you go

TestAcc
1234test


Last edited by Bokssha on Sat Nov 02, 2013 8:09 pm; edited 1 time in total

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

In progress Re: Staff online widget

Post by SLGray on Sat Nov 02, 2013 8:08 pm

Ok. I will wait. What does the online image look like?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha on Sat Nov 02, 2013 8:10 pm

I edited last post with info

For online its a red dot... I put it like that just for test

Bokssha
Forumember

Female Posts : 157
Reputation : 0
Language : Serbian
Location : Srbia / Belgrade

http://drekavac.serbianforum.info/

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


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