Hello Maxim,
than you for your idea. I will have a try.
A few minutes ago I try the fast way: Modify the css - thats easy and
look for the method.
But I cant find the method "RoomSidebar.update". I will have a look
which method it is.
Best regards,
Rene
Am 22.09.2017 um 11:32 schrieb Maxim Solodovnik:
Hmm
You goal is to hide room sidebar in case user is not moderator.
If I were you I would do it as follows:
add following definition to room.css
.room.sidebar.hidden {
display: none;
}
add following code to RoomSidebar.update method
handler.appendJavaScript(String.format("$('.room.sidebar').%sClass('hidden');",
room.getClient().hasRight(Right.moderator) ? "remove" : "add"));
I believe this should be enough
On Fri, Sep 22, 2017 at 4:16 PM, René Scholz
<rene.sch...@abakus-edv-systems.de
<mailto:rene.sch...@abakus-edv-systems.de>> wrote:
Hello Maxim,
thank you very much.
But my tries to call "hack" is much too great - I want to modify
your wonderful code a little bit.
Yesterday I had a look to the update-procedure
"private ListView<Client> updateUsers() {".
Is inside the RoomSidebar.java a global variable für the actual
rights?
Yesterday I try to modify the procedure "updateUsers".
At first I have a llok to the actually variables in my
Eclipse-Envirenment.
But there I have no luck.
Then I try variable "avInvited" and, for me clearly, in this I can
see if the actual user
is invited by a generated link or not. But this variable is ever
false.
What I can do to see in the procedure "updateUsers" if the user is
moderator or not?
Best regards,
Rene
Am 22.09.2017 um 11:04 schrieb Maxim Solodovnik:
Hello Rene,
your java code is OK.
BUT :)))
Every user has no right on page construction/initialization
Room rights are being calculated on first render and then all
components are being updated
So I guess you need to 'hack' update method
Please also NOTE moderator right to any regular can be granted
and revoked by moderator
On Fri, Sep 22, 2017 at 3:07 PM, René Scholz
<rene.sch...@abakus-edv-systems.de
<mailto:rene.sch...@abakus-edv-systems.de>> wrote:
Hello,
can sombody give me a hint with which command I have to use
to get if the actual user has the right "moderator"?
I want to modify in the RoomSidebar.java the procedure
"newTabModel".
There I want to check if the user is moderator, then the command
"l.add(userTab);"
should go.
If there is no right to moderate the command should not execute.
I try "room.getClient().hasRight(Right.moderator)" but there
is a fault in my thaughts. I ever get "false" (or whas it
ever true???).
With best regards,
Rene
Am 13.09.2017 um 05:08 schrieb Maxim Solodovnik:
Hello Rene,
Unfortunately 'debug on r-click' from Eclipse' will not work :(
BUT There is an easy solution :))
you need to
1) run 'unpacked' build (as described here [1])
2) cd to openmeetings-server/target/server
3) run red5-debug.sh (red5-debug.bat)
4) go to Eclipse
5) Select Debug->Debug Configurations
6) Create 'New launch configuration' under 'Remote Java
Application'
7) specify host: localhost, port: 8787
8) press Debug
these steps most probably should go to [1], maybe someone
can add it?
[1] http://openmeetings.apache.org/BuildInstructions.html
<http://openmeetings.apache.org/BuildInstructions.html>
On Wed, Sep 13, 2017 at 1:27 AM, Rene Scholz
<rene.sch...@abakus-edv-systems.de
<mailto:rene.sch...@abakus-edv-systems.de>> wrote:
Hello,
a few weeks ago you are so friendly to told me where I
can get the source-code.
After some tries I had imported it succesfully in
Eclipse, edited the code and make a new jar-file.
But my "edit-and-make-jar" is a little bit complicated.
So I try to make a right-click on the top-point
"openmeetimgs" in my Package-Explorer and choose "Debug
as..." - and have a great questionmark in my face.
I dont know what I have to choose.
So I think about it:
- I think that my debug-environment need an underground
who can interpret HTML + PHP. Maybe a XAMPP on my
Exclipse-PC?
- This XAMP must implement in Eclipse. And, I hope, when
I start "Debug as" I can give this to a new point in the
list.
I know its certainly to simple but I try little steps
who I understand.
Can somobody give me a hint what I have to do? Or where
I think in the wrong direction?
Is Eclipse a good choice or should I take Netbeans?
Puh! Headache.
With best regards,
Rene
Am 14.08.2017 um 05:39 schrieb Maxim Solodovnik:
Hello Rene,
We have moved to git:
Main repo is available here:
https://git-wip-us.apache.org/repos/asf/openmeetings.git
<https://git-wip-us.apache.org/repos/asf/openmeetings.git>
It is mirrored on github:
https://github.com/apache/openmeetings/
<https://github.com/apache/openmeetings/>
Current stable branch is 3.3.x
On Sun, Aug 13, 2017 at 2:46 AM, Coscend@OM
<om.insig...@coscend.com
<mailto:om.insig...@coscend.com>> wrote:
Hello Rene,
Perhaps this vector might be useful to you:
http://openmeetings.apache.org/BuildInstructions.html
<http://openmeetings.apache.org/BuildInstructions.html>
3.3.x:
https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.3.x/
<https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.3.x/>
4.0 Git clone:
https://git-wip-us.apache.org/repos/asf/openmeetings.git
<https://git-wip-us.apache.org/repos/asf/openmeetings.git>
Thank you.
Sincerely,
Hemant K. Sabat
Coscend Communications Solutions
www.Coscend.com <http://www.coscend.com/>
------------------------------------------------------------------
*Real-time, Interactive Video Collaboration,
Tele-healthcare, Tele-education, Telepresence
Services, on the fly…*
------------------------------------------------------------------
CONFIDENTIALITY NOTICE: See 'Confidentiality Notice
Regarding E-mail Messages from Coscend
Communications Solutions' posted
at:http://www.Coscend.com/Terms_and_Conditions.html
<http://www.coscend.com/Terms_and_Conditions.html>
*From:*Rene Scholz
[mailto:rene.sch...@abakus-edv-systems.de
<mailto:rene.sch...@abakus-edv-systems.de>] *Sent:*
Saturday, August 12, 2017 2:19 PM
*To:* user@openmeetings.apache.org
<mailto:user@openmeetings.apache.org> *Subject:*
Re: hide/disable user-List in room
Hello, thank you for the link. I try to checkout it
with SV in Eclipse - but I get an error. After that
I try to import the unpacked zip-file in Eclipse. I
see the openmeetings-structure but when I try to
make a jar I get errors that he miss a lot of
things (e.g. libaries). My idea is that I checkout
with SVN. I hope that I wil have then all needed
files. Best regards, Rene Am 12.08.2017 um 21:06
schrieb Coscend@OM:
Hello Rene,
You can get nightly builds from here:
https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.3.x/
<https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.3.x/>
Thank you.
Sincerely,
Hemant K. Sabat
Coscend Communications Solutions
www.Coscend.com <http://www.coscend.com/>
------------------------------------------------------------------
*Real-time, Interactive Video Collaboration,
Tele-healthcare, Tele-education, Telepresence
Services, on the fly…*
------------------------------------------------------------------
CONFIDENTIALITY NOTICE: See 'Confidentiality
Notice Regarding E-mail Messages from Coscend
Communications Solutions' posted
at:http://www.Coscend.com/Terms_and_Conditions.html
<http://www.coscend.com/Terms_and_Conditions.html>
*From:*Rene Scholz
[mailto:rene.sch...@abakus-edv-systems.de
<mailto:rene.sch...@abakus-edv-systems.de>]
*Sent:* Saturday, August 12, 2017 1:54 PM *To:*
user@openmeetings.apache.org
<mailto:user@openmeetings.apache.org>
*Subject:* Re: hide/disable user-List in room
Hello Maxim, I try to find the svn-trunk fpr
the actial version of openmeetings. But under
https://svn.apache.org/repos/asf/openmeetings/application/trunk/
<https://svn.apache.org/repos/asf/openmeetings/application/trunk/>
I only find the 3.2.1. I think I search at the
wrong place. Can you help me to find the 3.3.0
(to checkoput in Eclipse)? With best regards,
Rene Am 11.08.2017 um 14:50 schrieb Maxim
Solodovnik:
Hello Rene,
This is impossible without code modification
The easiest way would be
1) add css class in roomsidebar.java class
for non moderator
2) add css rule: display: none for this css
selector
WBR, Maxim (from mobile, sorry for the typos)
On Aug 11, 2017 16:39, "René Scholz"
<rene.sch...@abakus-edv-systems.de
<mailto:rene.sch...@abakus-edv-systems.de>>
wrote:
Hello, I am a beginner with
openmeetings and with great entusiasm I
do my first steps. I want to hide the
user-list for everyone (except the
moderator) in the room. Is it possible
(and I only can't see the setting)? Or
I have to modify the source? Then I
will deeply grateful for a hint in
which file I have to search the
function who create the tabs. With best
regards, Rene
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
Virus-free. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
--
WBR Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax