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
Add Topic - Reply no longer working
Avatar
Dan Gould
Member
sp_UserOfflineSmall Offline
Jan 10, 2015 - 8:12 pm

I’m having the same exact issue since the update. The Add Reply button does nothing and the Add Topic takes me to the homepage of the forums, but oddly enough the url still reads http://sledmass.com/forum/chit…..?new=topic

I don’t use caching tools.

Thanks,
Dan

 

You replied...

so far, all of these have been resolved to other issues on the sites, such as caching or out of date plugins/themes…  and none of them have been the same…  some were not running wp 4.1 which is required by SP 5.5.3…

we also cannot provide detailed support in the pre membership query forum…  for in depth troubleshooting, please open a topic in the proper support forum… 

reply button not working could be indicative of js issues… see:  https://simple-press.com/docume…..y-conflict

<script type=”text/javascript”>
    $(“ul.sub-menu li a”).click(function() {
       $(this).parent().addClass(“current_page_item”);
    });
</script>

the errors from it are causing other js on the page to fail and stop running…

Avatar
Dan Gould
Member
sp_UserOfflineSmall Offline
Jan 10, 2015 - 8:22 pm

So far, I have deactivated all plugins and tried the 2015 theme at sledmass.com

Neither solved the issue.

I looked at the jquery-conflict/ document and did find that the libraries are being sourced correctly. 

The issue started after updated to WP 4.1 and the latest version of SP. 

So, you are telling me that the code below is the issue? I'm a bit of an amateur in code but my son can help if you have specific advice.  

<script type=”text/javascript”>
    $(“ul.sub-menu li a”).click(function() {
       $(this).parent().addClass(“current_page_item”);
    });
</script>

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 10, 2015 - 10:59 pm

all I know is that code is throwing an error... something to do with your nav menu...  it would be better if was run on document ready then straight js, but dont know if it would matter...  its probably coming from wp theme or plugin... so if you did those tests, might make it not a concern...

but really do need to resolve the js error...

may another test you can try...  in your sp theme spFunctions.php template file, look for:

define('SP_USE_PRETTY_CBOX', true);

and try setting it to false and see if any diff...

Avatar
Dan Gould
Member
sp_UserOfflineSmall Offline
Jan 11, 2015 - 12:20 pm

Fixed!

That whole line of code was missing, I included the contents of that file below (spFunctions.php).

define('SP_USE_PRETTY_CBOX', false);

Also, my users were getting errors when they edited their profile, that's fixed now, too.  

Thanks,
Dan

<?php
# --------------------------------------------------------------------------------------
#
# Simple:Press Theme custom function file
# Theme : sledmass-theme
# File : custom functions
# Author : Simple:Press
#
# The 'functions' file can be used for custom functions & is loaded with each template
#
# --------------------------------------------------------------------------------------

add_action('init', 'spDefault_textdomain');
define('SP_USE_PRETTY_CBOX', false);

# load the theme textdomain for tranlations
function spDefault_textdomain() {
sp_theme_localisation('spsledmass-theme');
}

if (function_exists('sp_FontResizer')) {
add_action('sph_BeforeDisplayStart', 'spDefault_spShowFontResize');
}

function spDefault_spShowFontResize() {
$tipMinus = __sp('decrease forum font size');
$tipReset = __sp('reset forum font size');
$tipPlus = __sp('increase font size');
sp_FontResizer('tagClass=spFontSizeControl spRight', $tipMinus, $tipReset, $tipPlus);
sp_InsertBreak('direction-right');
}

?>

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 11, 2015 - 1:20 pm

Glad you got it resolved, thanks for the update!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 11, 2015 - 2:37 pm

if not there (possible if older custom theme), it would have just defaulted to true...

have had 3 or 4 of these since the last wp update...  plan for next release is to remove the pretty checkboxes and go with a css only solution (will still look 'pretty')...

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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620