SimpleTwitter

Started by Suki, April 20, 2011, 01:43:22 PM

Previous topic - Next topic

Suki

#180
Like I said on previous post, check your permissions...  "regular user"  is a separate group with it's own set of permissions and everybody is included on that group, if that group doesn't have post access then the user will not be able to post to twitter.


You also need to check if the users are posting in a board you marked as a board where the mod will not work.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

medstorez

Thanks!

hope this mod will be useful

bigberty

Thanks for the response, but that doesn't really help much...

I haven't marked any board where the mod will not work or any member.

'Check to define the boards where this mod will not work' is left unchecked.
'Put the board's ID where you DO NOT want this mod to work.' is left empty.
'Put the user's ID that will not be able to Post new Topics to twitter.' is left empty.
'HelpUse the hxxp:bit.ly [nonactive] API to short the url?' is unchecked.

I have given permissions to Regular Members, Global Moderator and Moderator. There are no Moderators and 2 Global Moderators.

Do you think I should restrict permissions to only Regular Members?

There is obviously a problem here.

Suki

Do you use php 5 or greater? 
Do you have cURL enable?

90% of the issues with this mod are related to permissions...  that's why I always tell users to check and double check the permissions.

Do you have custom permissions by boards?

If you as an admin can post things to twitter then the problem is the permissions.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Dave123

nope even es admin it won't work yet

bigberty

php 5.2.17
curl 7.21.7

I have checked the permissions about 50 times now. SimpleTwitter is ticked for every group except Guests. No custom permissions by boards.

cURL is not mationed in the php.ini, should it be?

Suki

Yes, cURL  must be properly installed on your server.  Usually it must appear on your php.ini, something like:

extension=php_curl.dll

I've been thinking on adding a pre-check on install to make sure people's server have all the requirements this mod needs,  hopefully will do that today.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bigberty

That will probably save you a lot of trouble.

I have no idea where to put 'extension=php_curl.dll' in php.ini, but phpinfo says it is installed an running.

Suki

its suppose to appear on your php.ini file already, if you don't have that, then probably you don't have curl or have a weird server configuration.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bigberty

Probably just a weired server configuration then, I'm with BlueHost. cURL is definately installed and running. If it wasn't I guess it wouldn't work for Admin? So it must be something else.

Suki

I've been searching, it is not clear if your users must have a twitter account (a regular one, not a dev account) to be able to post things on the twitter account you specified, I've been searching and couldn't find anything.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Dave123

Quote from: Suki on February 15, 2012, 07:32:35 PM
Looks fine, pm all your tokens and keys and I will make some test on local and on my server.

did you have the oppertunity allready to take a look?

Suki

I haven't, sorry.

Last time I enter the dev account at twitter I saw some changes to their API and how it connects and stuff, I need to see how exactly is working now.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

crashmore

I am having this exact same issue. I made sure php and curl met the requirements and I've checked and rechecked permissions. Admins can post fine, no one else can.. I'm stumped.

Quote from: bigberty on February 20, 2012, 09:26:39 AM
php 5.2.17
curl 7.21.7

I have checked the permissions about 50 times now. SimpleTwitter is ticked for every group except Guests. No custom permissions by boards.

cURL is not mationed in the php.ini, should it be?

Suki

I need to check this mod again, twitter changes the way it's API works and I have the feeling the user must have a twitter account on it's own to create the post to twitter.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

crashmore

My other users in the admin group seem to be able to post just fine to the twitter account. If a user isn't in the admin group they can't.

Suki

To me it's a permission issue, usually the "Registered Members"  doesn't have the permission to post and since all the users are in this group, this means that no one would be able to post to twitter.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

crashmore

I thought that's what it was too, but I have spent a great deal of time checking and rechecking. The registered members group as permission checked off to allow tweets...

Suki

Quote from: crashmore on March 13, 2012, 03:46:16 PM
I thought that's what it was too, but I have spent a great deal of time checking and rechecking. The registered members group as permission checked off to allow tweets...

You should give the permission  not setting it off.

Also, if you have several permission profiles then you need to asign the permission to each of your permissions profiles
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

crashmore

I mistyped I mean I had permission selected... Here is what the group looks like as well as all the others:


Advertisement: