On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Is this a bug hides in the permission settings

UserPost

6:31 pm
20 Mar 2008


RecNes

Member

posts 44

1

There is some thing wrong with permission settings. I don't know what it is. But I tried many ways to solve the problem. First I thought it's all about language file, may be still about it. I don't know how realy.

In my real blog, I tried something and problem has been solved. I have no idea how I did. On my test blog in the same situation. I tried the same way to correct that problem as what I did :

I select “Remove All Permission Sets” from “Manage Forums”. Then remove sforum_tr-TR.mo file from languages folder and started using forum in English. Setup all three permission packs from scratch:

“Read Only” named pack has only “Can view forum” permission.

“Standard Access” named pack has “Can view forum, Can start new topics, Can reply to topics,Can create linked topics, Can break linked topics, Can edit own posts until reply, Can report posts, Can upload images, Can use signatures, Can use images in signatures, Can upload avatars, Can use private messaging, Can subscribe” permissions.

Last one is, “Full Access” named pack has just two of permissions are “No” which “Can delete topics” and “Can edit own posts until reply”.

I set them up and save each one. Then went to “Manage Forums” section and clicked “Add Global Permission Set”. I selected seperate permission sets for guests, members and moderators. Checked all forum permissions one by one and that seems ok.

I opened another browser and went to forum as a guest but I can't see the forums. I logged in as a regular user, once again I got nothing. Went to “Manage Permission Sets” section and checked all permission sets. Still same as I did.

After all, I changed the language back to Turkish and went to “Manage Permission Sets” section for control. Now there is something strange. All Permission sets has been returned to first look. Every Permission Pack settings are “No”. But database says different as below:

Anamakine: localhost
Veritabanı: wp25
Üretim Zamanı: 20 Mart 2008 saat 18:03:57
Üreten:: phpMyAdmin 2.10.2 / MySQL 5.0.45-community-nt-log
SQL sorgusu: SELECT * FROM `wp_sfroles` WHERE 1 LIMIT 0, 30 ;

Satırlar: 3 role_id role_name role_desc role_actions

10 Misafir Hakları Kullanıcı, sadece forum içindeki yazıları okuma hakkına sahiptir. a:28:{s:17:”Panoyu
görebilir”;i:1;s:19:”Yeni konu açabilir”;i:0;s:24:”Konulara cevap yazabilir”;i:0;s:29:”Konulara bağlantı
koyabilir”;i:0;s:37:”Konu bağlantılarını kaldırabilir”;i:0;s:35:”Konu başlığını düzenleyebilir”;i:0;s:19:”Konu
sabitleyebilir”;i:0;s:18:”Konu taşıyabilir”;i:0;s:19:”Konu kilitleyebilir”;i:0;s:14:”Konu silebilir”;i:0;s:40:”Kendi mesajını
her zaman düzeltebilir”;i:0;s:52:”Kendi mesajını cevaplanıncaya kadar düzeltebilir”;i:0;s:21:”Mesaj
düzenleyebilir”;i:0;s:15:”Mesaj silebilir”;i:0;s:25:”Mesajını sabitleyebilir”;i:0;s:48:”Kullanıcıların e-posta adreslerini
görebilir”;i:0;s:20:”Mesaj raporlayabilir”;i:0;s:28:”Son konuları sıralayabilir”;i:0;s:33:”Spam korumasını
kullanmayabilir”;i:0;s:34:”Mesaj kontrolünü kullanmayabilir”;i:0;s:38:”Tek mesaj kontrolünü kullanmayabilir”;i:0;s:19:”Resim yükleyebilir”;i:0;s:18:”İmza kullanabilir”;i:0;s:30:”İmzasında resim kullanabilir”;i:0;s:31:”Kullanıcı resmi yükleyebilir”;i:0;s:21:”Özel Mesajlaşabilir”;i:0;s:14:”Abone olabilir”;i:0;s:39:”Beklemedeki mesajları kontrol edebilir”;i:0;}

11 Kullanıcı Hakları Kullanıcı, herhangi bir kullanıcı gibi davranma haklarına sahiptir. a:28:{s:17:”Panoyu
görebilir”;i:1;s:19:”Yeni konu açabilir”;i:1;s:24:”Konulara cevap yazabilir”;i:1;s:29:”Konulara bağlantı
koyabilir”;i:1;s:37:”Konu bağlantılarını kaldırabilir”;i:0;s:35:”Konu başlığını düzenleyebilir”;i:0;s:19:”Konu
sabitleyebilir”;i:0;s:18:”Konu taşıyabilir”;i:0;s:19:”Konu kilitleyebilir”;i:0;s:14:”Konu silebilir”;i:0;s:40:”Kendi mesajını
her zaman düzeltebilir”;i:0;s:52:”Kendi mesajını cevaplanıncaya kadar düzeltebilir”;i:1;s:21:”Mesaj
düzenleyebilir”;i:0;s:15:”Mesaj silebilir”;i:0;s:25:”Mesajını sabitleyebilir”;i:0;s:48:”Kullanıcıların e-posta adreslerini
görebilir”;i:0;s:20:”Mesaj raporlayabilir”;i:1;s:28:”Son konuları sıralayabilir”;i:0;s:33:”Spam korumasını
kullanmayabilir”;i:0;s:34:”Mesaj kontrolünü kullanmayabilir”;i:0;s:38:”Tek mesaj kontrolünü kullanmayabilir”;i:0;s:19:”Resim yükleyebilir”;i:1;s:18:”İmza kullanabilir”;i:1;s:30:”İmzasında resim kullanabilir”;i:1;s:31:”Kullanıcı resmi yükleyebilir”;i:1;s:21:”Özel Mesajlaşabilir”;i:1;s:14:”Abone olabilir”;i:1;s:39:”Beklemedeki mesajları kontrol edebilir”;i:0;}

12 Kontrolör Hakları Kullanıcı, yöneticinin bir çok hakkına sahiptir. a:28:{s:17:”Panoyu görebilir”;i:1;s:19:”Yeni konu
açabilir”;i:1;s:24:”Konulara cevap yazabilir”;i:1;s:29:”Konulara bağlantı koyabilir”;i:1;s:37:”Konu bağlantılarını
kaldırabilir”;i:1;s:35:”Konu başlığını düzenleyebilir”;i:1;s:19:”Konu sabitleyebilir”;i:1;s:18:”Konu
taşıyabilir”;i:1;s:19:”Konu kilitleyebilir”;i:1;s:14:”Konu silebilir”;i:0;s:40:”Kendi mesajını her zaman
düzeltebilir”;i:1;s:52:”Kendi mesajını cevaplanıncaya kadar düzeltebilir”;i:0;s:21:”Mesaj düzenleyebilir”;i:1;s:15:”Mesaj
silebilir”;i:1;s:25:”Mesajını sabitleyebilir”;i:1;s:48:”Kullanıcıların e-posta adreslerini görebilir”;i:1;s:20:”Mesaj
raporlayabilir”;i:1;s:28:”Son konuları sıralayabilir”;i:1;s:33:”Spam korumasını kullanmayabilir”;i:1;s:34:”Mesaj kontrolünü kullanmayabilir”;i:1;s:38:”Tek mesaj kontrolünü kullanmayabilir”;i:1;s:19:”Resim yükleyebilir”;i:1;s:18:”İmza kullanabilir”;i:1;s:30:”İmzasında resim kullanabilir”;i:1;s:31:”Kullanıcı resmi yükleyebilir”;i:1;s:21:”Özel Mesajlaşabilir”;i:1;s:14:”Abone olabilir”;i:1;s:39:”Beklemedeki mesajları kontrol edebilir”;i:1;}


Those walues are right in the database but forum says I can't read that values. It rings the bell. I think problem is the variables. As you can see above options are saved in Turkis. My opinion is, if script write those values to the database with in english (or any static named) variables that may be solve the case.

Now I compare that test blog sql query with my real blog sql query using Turkish Language :

SQL sonucu

Sunucu: localhost:3306
Veritabanı: wpdb
Çıktı Tarihi: Mart 20, 2008 at 07:18 PM
üretildi:: phpMyAdmin 2.8.2.4 / MySQL 5.0.45
SQL sorgusu: SELECT * FROM `wp_sfroles` LIMIT 0, 30 ;

Satır: 3 role_id role_name role_desc role_actions

2 Read Only Kullanıcıya sadece okuma hakkı verilmiÅŸtir. a:28:{s:14:”Can view forum”;i:1;s:20:”Can start new
topics”;i:0;s:19:”Can reply to topics”;i:0;s:24:”Can create linked topics”;i:0;s:23:”Can break linked topics”;i:0;s:21:”Can edit topic titles”;i:0;s:14:”Can pin topics”;i:0;s:15:”Can move topics”;i:0;s:15:”Can lock topics”;i:0;s:17:”Can delete topics”;i:0;s:26:”Can edit own posts forever”;i:0;s:30:”Can edit own posts until reply”;i:0;s:18:”Can edit any posts”;i:0;s:20:”Can delete any posts”;i:0;s:13:”Can pin posts”;i:0;s:30:”Can view users email addresses”;i:0;s:16:”Can report posts”;i:0;s:26:”Can sort most recent posts”;i:0;s:23:”Can bypass spam control”;i:0;s:26:”Can bypass post moderation”;i:0;s:31:”Can bypass post moderation once”;i:0;s:17:”Can upload images”;i:0;s:18:”Can use signatures”;i:0;s:28:”Can use images in signatures”;i:0;s:18:”Can upload avatars”;i:0;s:25:”Can use private messaging”;i:0;s:13:”Can subscribe”;i:0;s:26:”Can moderate pending posts”;i:0;}

4 Standard Access Normal kullanıcı hakları a:28:{s:14:”Can view forum”;i:1;s:20:”Can start new
topics”;i:1;s:19:”Can reply to topics”;i:1;s:24:”Can create linked topics”;i:1;s:23:”Can break linked topics”;i:0;s:21:”Can edit topic titles”;i:0;s:14:”Can pin topics”;i:0;s:15:”Can move topics”;i:0;s:15:”Can lock topics”;i:0;s:17:”Can delete topics”;i:0;s:26:”Can edit own posts forever”;i:1;s:30:”Can edit own posts until reply”;i:1;s:18:”Can edit any posts”;i:0;s:20:”Can delete any posts”;i:0;s:13:”Can pin posts”;i:0;s:30:”Can view users email addresses”;i:0;s:16:”Can report posts”;i:1;s:26:”Can sort most recent posts”;i:0;s:23:”Can bypass spam control”;i:0;s:26:”Can bypass post moderation”;i:0;s:31:”Can bypass post moderation once”;i:0;s:17:”Can upload images”;i:1;s:18:”Can use signatures”;i:1;s:28:”Can use images in signatures”;i:1;s:18:”Can upload avatars”;i:1;s:25:”Can use private messaging”;i:1;s:13:”Can subscribe”;i:1;s:26:”Can moderate pending posts”;i:0;}

6 Kontrolör Yönetici yardımcıları için belirlenmiÅŸ haklar. a:28:{s:14:”Can view forum”;i:1;s:20:”Can
start new topics”;i:1;s:19:”Can reply to topics”;i:1;s:24:”Can create linked topics”;i:1;s:23:”Can break linked
topics”;i:1;s:21:”Can edit topic titles”;i:1;s:14:”Can pin topics”;i:1;s:15:”Can move topics”;i:1;s:15:”Can lock
topics”;i:1;s:17:”Can delete topics”;i:1;s:26:”Can edit own posts forever”;i:1;s:30:”Can edit own posts until
reply”;i:1;s:18:”Can edit any posts”;i:1;s:20:”Can delete any posts”;i:1;s:13:”Can pin posts”;i:1;s:30:”Can view users email addresses”;i:1;s:16:”Can report posts”;i:1;s:26:”Can sort most recent posts”;i:1;s:23:”Can bypass spam control”;i:1;s:26:”Can bypass post moderation”;i:1;s:31:”Can bypass post moderation once”;i:1;s:17:”Can upload images”;i:1;s:18:”Can use signatures”;i:1;s:28:”Can use images in signatures”;i:1;s:18:”Can upload avatars”;i:1;s:25:”Can use private messaging”;i:1;s:13:”Can subscribe”;i:1;s:26:”Can moderate pending posts”;i:1;}


This comparsation may be explains why my real blog works accidently but my test blog is not.

I hope I can helped.

7:56 pm
20 Mar 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

Please see this new thread.

10:58 pm
20 Mar 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

3

The upgrade to 3.0.2 is now available for download.

I am going to trim that long post of that's OK but it was exactly what I needed to diagnose the problem so thanks.

1:33 pm
21 Mar 2008


RecNes

Member

posts 44

4

You're welcome. I going to download and test new one.

2:30 pm
21 Mar 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

5

Hope it goes well.



Reply to Topic: Is this a bug hides in the permission settings

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 7        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

7 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)