Support Forum

Add Topic / Reply no longer work since last update?

UN
Unknown
Member

Hey,

I’ve been using Simple Press for a while and normally I tweet bug reports to the twitter account, however I’m not sure if this is a bug or not…

The buttons (Add Topic / Reply) were working fine in the last version of Simple:Press but after I updated, I thought everything was working fine but the Add Topic / Reply aren’t working.

The theme that I’m using is Thematic with a child theme, it would be nice if anyone could help.

I also have a question about a modification that I am looking to get, I use WishlistMember and I need something made for me to add/move members around based on their subscriptions in WishlistMember. Would I be able to buy that here?

25 Answers

New Answer

MP Mr Papa
Mr Papa
Member

assuming you are on wp 4.1 and sp 5.5.3 with all sp plugins updated, no known issues like this…

have you cleared you browser cache?  if using the sp combined js cache, might be worth clearing it too on the housekeeping admin panel…

and of course, no wp caching of the forum page…

for more detailed help, please open a topic in the support forum as the pre membership forum is not for support…

as to wishlist, please try reading:  https://simple-press.com/documentation/codex/faq/problem-with-post-edit-buttonow-to/problem-with-post-edit-buttonow-to-configure-simple-press-with-membership-plugin/

we use simple press with wishlist member here…

UN
Unknown
Member

Hey Mr Papa,

I checked all of those and it seems something was changed in the API or skinning the last two versions of SP, I didn’t make our theme for our forum but I managed to make a good enough workaround and just re-coloured one of the default skins and replaced the images.

As for the Wishlist part, you might be interested in the way we’re doing it as the feature that I am wanting others may want…

Anyone who signs up to our site is a “subscriber” and they have a “Free Account” to access content separate from our paying members and vice versa, so we’re unable to map users based on their role because all of our free and paying members have the “subscriber” role.

We’re essentially looking for a feature to move users of specific membership levels to certain groups, in my case I want it so all of our paying members (15 different membership levels) to all be moved to Members Pro, obviously If a member cancels or their subscribtion runs out then I’d want them moved back to Members…

Does that make sense?

MP Mr Papa
Mr Papa
Member

If any updates to custom themes are required, we always document it here:  https://simple-press.com/documentation/codex/installation/changes/

we try to minimize, but sometimes wp changes (like jquery ui update this time) and we have to react…

no automatic way since you handcuffed yourself by making all users, regardless wishlist member level, have the same wp role…  wistlist is designed to have levels per wp role…  as are other wp membership plugins…  and it makes it very easy to automatically move sp usergroup based on when wp role changes when membership plugin level changes…

otherwise, we have no way to know anything about membership levels or if they change…  remember, we are a plugin for wp…  so we only know when things happen when wp or plugins fire standard actions and hooks…  there is a role change hook so it alerts plugins to user changes in role/level…

UN
Unknown
Member

Could something not fairly easily be done using the following bit of code, obviously a change would need to be made to the “get user id” part so that it cycles through every user in the user database and then setup the if, else part at the start to do certain actions…

Surely it could then be added as a cron job?

// Array of paying levels.
$paid_levels= array(1323183238,1323183239,1323183240);

// Main call..
if (is_paid_member($paid_levels)){
// user is paid continue running your php script
}else{
// User is not paid, redirect to not paid URL
}

// Main function
function is_paid_member($paid_levels){
if(function_exists(‘WishListMemberAPIRequest’)){

// Get user ID
global $current_user;
get_currentuserinfo();
$rm_curr_usr = $current_user->ID;

// Set default
$is_paid_member=FALSE;

// Setup api request to retreive user’s levels
$request=’/members/’.$rm_curr_usr;
$method=’GET’;
$data=””;
$rm_mem_details = WishListMemberAPIRequest( $request, $method , $data );
//$rm_mem_details = unserialize($rm_mem_details);
$WLM_levels = $rm_mem_details[‘member’][0][‘Levels’];

// Compare users levels to the array of paying levels.
foreach($WLM_levels AS $i => $rm_array_obj) {
$rm_level_array = (array)$rm_array_obj;
if(in_array($rm_level_array[‘Level_ID’],$paid_levels) ) {
$is_paid_member = TRUE;
break;
}
}

return $is_paid_member;

}else{
// WLM is not active
return FALSE;
}
}

YS Yellow Swordfish
Yellow Swordfish
Member

Why use CRON? Although I am unsure what you intended to do with the result above!

Personally, I am unfamiliar with the WishList API but assuming they fire standard WordPress action hooks – which surely they must do – then your code could certainly and di,ply manipulate Simple:Press memberships when a users WL level changes. Just use the API. isn’t that easier?

MP Mr Papa
Mr Papa
Member

well certainly you could probably use the wishlist api and/or hooks to accomplish what you want…  but its has not been needed in the past because using a role per level makes everything just happen automatically in the background…

for reference, here is wishlist  api and hooks:

http://codex.wishlistproducts.com/category/api/

http://wishlistproducts.com/api/problem-with-post-edit-buttonooks/

pretty sure you could get what you need…

BB Brad Besner
Brad Besner
Member

I’m having the same problem where the REPLY button is no longer working. I am going to look and see if I can find something that’s conflicting. 

What were some of the work arounds that other people had? I’m on WordPress 4.1 and have updated all of my plugins. 

MP Mr Papa
Mr Papa
Member

mostly been caching issues…  nothing introduced in wp 4.1 or sp 5.5.3 at this point…  occasional odd js conflict with theme or other plugin, but not new to wp 4.1 or sp 5.5.3…  if using our combined js cache, try clearing it on toolbox housekeeping…

check your browser console and see if any errors reported…

BB Brad Besner
Brad Besner
Member

That didn’t work. I also cleared out all of the browser cache. Both Chrome and Firefox. I’m going to see if there are other calls to jquery that may be conflicting. If there are any other suggestions you may have please let me know. 

MP Mr Papa
Mr Papa
Member

we can provide more detailed support in the support forum vice here in the pre membership forum…

BB Brad Besner
Brad Besner
Member

I’m seeing that a lot of other people are having the same issue. I’ve had gold membership on here before but it has expired. Do I really need to pay for it again in order to get the answer to a fix for something that an update messed up?

MP Mr Papa
Mr Papa
Member

so far, all different local issues – some from wp 4.1 and other plugins, but at least not yet simple press…

BB Brad Besner
Brad Besner
Member

I’ve tried disabling all of our plugins and it’s still doing the same thing. What is the issue with 4.1? Wouldn’t it make sense that the update is the one not playing nice with wordpress or other plugins? the older version before the update was just fine. Is there a way to revert back to the other version before this latest update?

MP Mr Papa
Mr Papa
Member

my point was that we have had many thousands of upgrades to 5.5.3 with wp 4.1…  its working fine…  doesnt mean you arent experiencing an issue…

you can revert back if you have a db backup to go to…  you cannot downgrade the db without it..

what is link?

did you try switching to default wp theme too?