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.

Staff online widget

+5
Kaizer Lee
BL@DE
Van-Helsing
Ikerepc
Bokssha
9 posters

Page 1 of 2 1, 2  Next

Go down

In progress Staff online widget

Post by Bokssha Wed Oct 30, 2013 2: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
Bokssha
Forumember

Female Posts : 158
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 Wed Oct 30, 2013 3: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
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Wed Oct 30, 2013 3:45 pm

Bokssha
Bokssha
Forumember

Female Posts : 158
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 Wed Oct 30, 2013 3:58 pm

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

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Wed Oct 30, 2013 4:09 pm

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

      Staff online widget 616  

   Just names...   Confused
Bokssha
Bokssha
Forumember

Female Posts : 158
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 Wed Oct 30, 2013 4: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
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Wed Oct 30, 2013 4: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
Bokssha
Forumember

Female Posts : 158
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 Fri Nov 01, 2013 11:41 am

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

Best Regards,
Dark-Avenger
Van-Helsing
Van-Helsing
Hyperactive

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

http://itexperts.forumgreek.com/

Back to top Go down

In progress Re: Staff online widget

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

can i have it to for phpbb2 as well ? Smile
avatar
BL@DE
Forumember

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

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Fri Nov 01, 2013 1:36 pm

I guess not...  Smile
Bokssha
Bokssha
Forumember

Female Posts : 158
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 Fri Nov 01, 2013 1:38 pm

Sad not good i want this for my site. i have all ways wanted it Very Happy
avatar
BL@DE
Forumember

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

Back to top Go down

In progress Re: Staff online widget

Post by Kaizer Lee Sat Nov 02, 2013 2: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
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 Sat Nov 02, 2013 5:36 am

Well, here,this is example how it should work 

     Staff online widget 716

     And this is how it is on my forum,phpbb2 

   Staff online widget 616 

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

        Staff online widget 414
Bokssha
Bokssha
Forumember

Female Posts : 158
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 Sat Nov 02, 2013 6:13 am

What code you using?

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

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 6:16 am

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
Bokssha
Forumember

Female Posts : 158
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. Sat Nov 02, 2013 9:03 am

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.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 9:51 am

Nope...   still dont work...  Confused 

    Staff online widget 717
Bokssha
Bokssha
Forumember

Female Posts : 158
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 Sat Nov 02, 2013 11:15 am

Can someone develop staff online script for phpbb2?

Best Regards,
Dark-Avenger
Van-Helsing
Van-Helsing
Hyperactive

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

http://itexperts.forumgreek.com/

Back to top Go down

In progress Re: Staff online widget

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

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

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


Staff online widget Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 12:50 pm

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

Best Regards,
Dark-Avenger
Read what Nera posted - https://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
Bokssha
Forumember

Female Posts : 158
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 Sat Nov 02, 2013 12: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>


Staff online widget Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 12: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
Bokssha
Forumember

Female Posts : 158
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 Sat Nov 02, 2013 1:01 pm

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


Staff online widget Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Staff online widget

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

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

      http://chillcaffee.serbianforum.info/portal
Bokssha
Bokssha
Forumember

Female Posts : 158
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 Sat Nov 02, 2013 1:03 pm

I see it. What exactly is wrong with it?


Staff online widget Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 1:05 pm

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

Female Posts : 158
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 Sat Nov 02, 2013 1:06 pm

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


Staff online widget Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 1:07 pm

Give me a sec to make it...


   Here you go

      TestAcc
       1234test


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

Female Posts : 158
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 Sat Nov 02, 2013 1:08 pm

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


Staff online widget Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Staff online widget

Post by Bokssha Sat Nov 02, 2013 1:10 pm

I edited last post with info
 
  For online its a red dot...  I put it like that just for test
Bokssha
Bokssha
Forumember

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

http://drekavac.serbianforum.info/

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

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