How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
4 posters
Page 1 of 1
How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
Hi All
I want to ask
How to add widget Status "Admin/Moderator Online" on forumotion?
more detail you can see this picture
Source:
http://dstars.forumid.net/login?logout=1
My Forum:
http://astajim.indonesianforum.net/
Please someone help me
Thanks before
I want to ask
How to add widget Status "Admin/Moderator Online" on forumotion?
more detail you can see this picture
Source:
http://dstars.forumid.net/login?logout=1
My Forum:
http://astajim.indonesianforum.net/
Please someone help me
Thanks before
Last edited by mostone on May 3rd 2013, 4:30 pm; edited 1 time in total
sasukekun- Forumember
- Posts : 253
Reputation : 6
Language : English
markonilo- Forumember
- Posts : 49
Reputation : 1
Language : serbian
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
Please someone help me
BUMP!
BUMP!
sasukekun- Forumember
- Posts : 253
Reputation : 6
Language : English
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
LG created same script with that.
http://www.avacweb.com/t114-online-list-widget
The script is sensitive, so you should read the whole topic first and follow carefully to make it work .
Or try this one
https://help.forumotion.com/t115845-view-online-staff-in-a-widget
http://www.avacweb.com/t114-online-list-widget
The script is sensitive, so you should read the whole topic first and follow carefully to make it work .
Or try this one
https://help.forumotion.com/t115845-view-online-staff-in-a-widget
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
omg, mr.mark
there's a lot of code, the code is wrong and correct it all into one. (one topic) :
I am confused about which one to try,
can you help me explain it here, where the correct code, and tutorials. :
thanks for help me again
thanks before
there's a lot of code, the code is wrong and correct it all into one. (one topic) :
I am confused about which one to try,
can you help me explain it here, where the correct code, and tutorials. :
thanks for help me again
thanks before
sasukekun- Forumember
- Posts : 253
Reputation : 6
Language : English
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
Use this link provided: https://help.forumotion.com/t115845-view-online-staff-in-a-widget
Create a new widget (Administration Panel -> Modules -> Forum Widgets Management, then look for a green plus sign), add within it the list of Staff in a separated list, like provided in link above.
Then put the online user widget directly beneath the newly created widget (you can drag and drop the widgets where you need them) and add the script given in the link to your JavaScript pages (Administration Panel -> Modules -> JavaScript Pages -> Create a new JavaScript), save and you should be done.
Create a new widget (Administration Panel -> Modules -> Forum Widgets Management, then look for a green plus sign), add within it the list of Staff in a separated list, like provided in link above.
Then put the online user widget directly beneath the newly created widget (you can drag and drop the widgets where you need them) and add the script given in the link to your JavaScript pages (Administration Panel -> Modules -> JavaScript Pages -> Create a new JavaScript), save and you should be done.
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
yeah, i see about that,
but what I say is about code.
there are many code.
there I do not understand it. I have to try that one??
what I want is:
first go to bla bla bla, place the code to
after, go to bla bla bla, place to JS management,
please help me,
thanks before
but what I say is about code.
there are many code.
there I do not understand it. I have to try that one??
what I want is:
first go to bla bla bla, place the code to
- Code:
example
after, go to bla bla bla, place to JS management,
- Code:
example
please help me,
thanks before
sasukekun- Forumember
- Posts : 253
Reputation : 6
Language : English
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
That's a bit tricky...
This is your example code.
Place this in your widgets, I explained how to create a widget in my last post:
Credits to above code go to LGforum, I just allowed myself to comment it for those who may not have the necessary knowledge.
After you have created that widget, place the "Who is Online" widget (provided to you by forumotion) directly underneath the newly created widget which you put on top of all widgets.
So far understandable or do you need more help?
This is your example code.
Place this in your widgets, I explained how to create a widget in my last post:
- Code:
<style>.staffname { display: block; }</style>
<div id="onlineStaff">
<span class="staffname">Admin</span>
<span class="staffname">gloryglorymanunited</span>
<!-- continue this until you have placed all Staff members in the fashion explaied above -->
</div>
<script type="text/javascript">
jQuery(function() { var x = document.getElementById('right').getElementsByTagName('table')[8]; // get the ninth table within the element with the id "right"
var y = document.getElementById('onlineStaff').getElementsByTagName('span'); // get all the staff names you defined above
for (i=0; i<y.length; i++) { // loop through all the staff names
if (x.innerHTML.indexOf(y[i].innerHTML) == 1) // if there is a true index in the ninth table within #right
y[i].innerHTML+=" - Online"; // add " - Online" at the end of the name
else // otherwise, display " - Offline"
y[i].innerHTML+=" - Offline"; } }); </script>
Credits to above code go to LGforum, I just allowed myself to comment it for those who may not have the necessary knowledge.
After you have created that widget, place the "Who is Online" widget (provided to you by forumotion) directly underneath the newly created widget which you put on top of all widgets.
So far understandable or do you need more help?
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
Ultron's Vision wrote:That's a bit tricky...
This is your example code.
Place this in your widgets, I explained how to create a widget in my last post:
- Code:
<style>.staffname { display: block; }</style>
<div id="onlineStaff">
<span class="staffname">Admin</span>
<span class="staffname">gloryglorymanunited</span>
<!-- continue this until you have placed all Staff members in the fashion explaied above -->
</div>
<script type="text/javascript">
jQuery(function() { var x = document.getElementById('right').getElementsByTagName('table')[8]; // get the ninth table within the element with the id "right"
var y = document.getElementById('onlineStaff').getElementsByTagName('span'); // get all the staff names you defined above
for (i=0; i<y.length; i++) { // loop through all the staff names
if (x.innerHTML.indexOf(y[i].innerHTML) == 1) // if there is a true index in the ninth table within #right
y[i].innerHTML+=" - Online"; // add " - Online" at the end of the name
else // otherwise, display " - Offline"
y[i].innerHTML+=" - Offline"; } }); </script>
Credits to above code go to LGforum, I just allowed myself to comment it for those who may not have the necessary knowledge.
After you have created that widget, place the "Who is Online" widget (provided to you by forumotion) directly underneath the newly created widget which you put on top of all widgets.
So far understandable or do you need more help?
I done try this code, but failed
more details you can see this picture
please help me
sasukekun- Forumember
- Posts : 253
Reputation : 6
Language : English
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
Did you add the default Who is online Widget directly underneath your new widget?
Re: How to add widget Status "Admin/Moderator Online" on forumotion? (phpBB2)
yes, I immediately added, is why? but fail
whether this widget can be used in phpBB2?
whether this widget can be used in phpBB2?
sasukekun- Forumember
- Posts : 253
Reputation : 6
Language : English
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum