Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Admin can add new topic or reply to topic but members cannot. Permission=standard
Avatar
EHRScier
Member
Free Members
sp_UserOfflineSmall Offline
Aug 27, 2013 - 9:08 pm

I am having a problem.   Members (registered users)  cannot reply to or add topics.   When I check the permissions, the standard permission set is active for members.   I tried registering as a regular user and when I log in as that test user, I cannot reply to or add topics.   

Any idea why this is?  

 

Thankscry

Avatar
EHRScier
Member
Free Members
sp_UserOfflineSmall Offline
Aug 27, 2013 - 10:31 pm

Again the problem was an .htaccess file in the wp-content folder.   The .htaccess file blocks access to the wp-content folder for php scripts.   However, I have 7 plugins on my site but none are affected other than Simple:Press. What is Simple:Press trying to access in the directory?   The Captcha plugin and the ability to Add Topic or Reply topic were affected, but not login or registration.

 

Thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 28, 2013 - 1:06 am

in wp-content?  thats a standard location where plugins store info...  if you look at forum - integration - storage locations,  you can see which data you are storing there... 

Avatar
EHRScier
Member
Free Members
sp_UserOfflineSmall Offline
Aug 28, 2013 - 11:35 am

Thanks, actually I don't need to know the data being accessed.  The .htaccess file blocks php script access to the wp-content directory. Therefore, I need to know which php scripts accesses the directory so that I can grant them access to the directory in the .htaccess file.  

The Add Topic and Add Reply scripts apparently access the directtory, but only for members  and not for admins.  With the Captcha  plug-in,  the script that manages the images must try to access the directory because it doesn't work with .htaccess file either.   So I need the names of these scripts to revise the htaccess file.

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 28, 2013 - 12:23 pm

Oh goodness - there are going to be lots of them!
I would search through the main plugin folder and the SP plugins folder under sp-resources and start by looking fr anything that uses the $SPPATH global (note that changes in 5.3.1 to $spPath). I will have to think on whether that will get them all - probably not but will need some thought.

andy-signature.png
YELLOW
SWORDFISH
Avatar
EHRScier
Member
Free Members
sp_UserOfflineSmall Offline
Aug 28, 2013 - 1:14 pm

Would the scripts share a common base name or prefix so that I could use regex to filter them for access?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 28, 2013 - 2:51 pm

All of our php scripts are, I believe, either prefixed with 'sp-' for the front end or 'spa-' for the admin.

Would this not be easier to just move the 'sp-resources' folder out of wp-content, put it where you want it, re-point the storage locations in the forum admin and allow access to it from all scripts?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625