jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 14
Total Residents: 476
Online Now: 0
Hypergriders online: 0

Notices Tab Greyed out

12 years 10 months ago #896 by Samuel
I started a new topic on this one.

Its a old issue i had and posted it in the archived forum.

Whenever a group is made, we see that the notice tab is greyed out, in other words.. notices cant be created :)

After some playimng around.. we did the following
In the Functions_group.php is a entry that states.
/// <summary>Can send group notices</summary>
'SendNotices' => '4398046511104',

we opened the table grouproles and put in the number : 4398046511104 on the owner role of a newly created group. then we can send notices.

But this code does not come in the db upon creating the group.

We dont know why it happens, or what causes it.. or... how to make it so that this code is used when needed.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #897 by foto50
Important to know for me would be, what value was initially for you in the field "Powers" of the table "jos_opensim_grouprole" for the owner?

This value comes from OpenSim itself (349644697632766 here for me on 0.7.1). It seems this value differes from version to version and/or even between Wamp and Lamp.

A similar problem I had with the difference between 0.7.0.2 and 0.7.1 for the "everyonepower" where 0.7.1 sends another value than older ones and thatfor inviting to that group was not working at all ... :S ... that's fixed in jOpenSim since 0.1.9.x though.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

12 years 9 months ago #898 by Samuel
the following code comes default in our db
2147483647

This does not allow us to create notices, hence we cant even change that role for the group.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #899 by foto50
Hhmm, this value is EXACTLY the sum of the first 31 bits. Could be that you run on a 32bit architecture on Wamp and this makes a difference?

If you look into /com_opensim/includes/functions_groups.php, at line 232 (v0.1.9.3) you should see
$ownersPowers	= $params["OwnersPowers"];
if you change this first to
$ownersPowers	= intval($params["OwnersPowers"]) | 490382185988094;
and if it doesnt help, then to
$ownersPowers	= 490382185988094;
can this solve the problem?

If the first solution does not help, it's most likely that the 32bit problem is located at the webserver side. If yes, the wrong value comes either from OpenSim itself or the server, OpenSim is running on.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

12 years 9 months ago #900 by Samuel
we have tried both solutions but the both solutions give a 0 code in the database.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #901 by Samuel
i was forget to tell we have an 32bit version of wamp.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #902 by foto50
Ok, that was my mistake. Of course the second one should be:
$ownersPowers	= '490382185988094';
... between two ' or " ... otherwise it is still an integer value higher than 32 Bit.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

12 years 9 months ago - 12 years 9 months ago #903 by Samuel
Thank you for the help

after i filled in
$ownersPowers = "490382185988094"; or $ownersPowers = '490382185988094'
the notices are blanked out again and in mysql it gives the 2147483647 code again.

the strange this also is that when i trie to give the sent notice to the everyone role en push apply the sent notice got never selected

Please Log in or Create an account to join the conversation.

12 years 9 months ago #904 by foto50
Now that's really strange ... hmmm ... but you are able to enter the value '490382185988094' manually (e.g. with phpMyAdmin) into that field and then it remains there correct?

Please Log in or Create an account to join the conversation.

12 years 9 months ago #905 by Samuel
if we put the code 490382185988094 it stays the correct. So i guess the field can handle the code but i wont get there automatic.

the strange thing is also when i put the code the manually we still cant sent notices from the owner role

Please Log in or Create an account to join the conversation.

Time to create page: 0.103 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 14
Total Residents: 476
Online Now: 0
Hypergriders online: 0