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
Problem with buttons
Avatar
Usman
Guest
Guests
Mar 2, 2012 - 6:19 pm

Hi there. I have just upgraded to SP V5 successfully. Everything went smoothly except that now I am unable to create a new thread or reply to a post because the buttons "New topic" or reply are not working. I have tried to disable W3 Total Cache but the problem remains the same. I have excluded the forum page from W3 Cache. You can find the forum here:

http://www.technize.net/forum/

Kindly let me know what could be the problem.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2012 - 8:31 pm

well. the button works. you get redirected to the forum page, but js does not work on the site...

its because everything is still being cached... from your site:

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpre.....s-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (Requested URI contains query)
Database Caching 59/81 queries in 0.027 seconds using disk: basic

Served from: http://www.technize.net @ 2012-03-02 18:30:05 -->

if you use w3 total cache you must ignore the forum page for ALL caching types you use...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Mar 17, 2012 - 5:23 pm

Hi,

I run v5. Recently, my "Add Reply" button disappeared. Any ideas why and how to get it back?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 17, 2012 - 7:43 pm

so what has changed?

is the template tag for the button function call still in your template file? In this case, the spTopicView.php of the sp theme you are using...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Mar 17, 2012 - 9:02 pm

For what should I be looking in the spTopicView.php file?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 17, 2012 - 9:06 pm

something like this:

sp_PostNewButton('tagId=spPostNewButtonTop&tagClass=spButton spRight', __sp('Add Reply'), __sp('Add a new post in this topic'), __sp('This topic is locked'));

its the call to sp_sp_PostNewButton() with your options that dictate the button coming out...

if its there, then you need to make sure the user in question has permission to add reply to topics...

so if it was working, what changed?

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Mar 17, 2012 - 9:20 pm

The code is there so that means that my permissions somewhere got mixed up. I haven't changed a thing. Everything worked well up until two days ago. Where do I reset permissions for my users? It looks like everyone lost post permission. Any ideas why this happened so randomly?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 17, 2012 - 9:25 pm

almost nothing happens randomly.... didnt you have an upgrade issue? did the permissions ever end up right after that?

go to forum - permissions- manage permissions and you can see what the various permission sets are...

if you want to reset the permissions to default AND you are running 5.0.2, you can go to forum - permissions - reset permissions and reset them to the install state....

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Mar 17, 2012 - 9:39 pm

I have done this and still, when I view permissions for my members, their permissions don't add up to the permissions that I have set for my members. I give my members standard access and when I view their permissions, they can only view topics, posts, and links. Any ideas what's going on here? Thank you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 17, 2012 - 9:42 pm

have you read our controlling access section of the codex? http://codex.simple-press.com/.....ng-access/

explains how you combine usergroups (collection of users) with a permission set (collection of permissions) and apply them to a forum to control access and permissions?

once you update the permissions in manage permissions, you have to pair that set with a usergroup and apply it to a forum... then users in that usergroup get those permissions...

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626