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
Unable to delete posts
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2012 - 12:43 pm

You're a genius Yellow swordfish. All the problems are resolved and the plugins and other options(especially to delete a post which was a real pain) are working properly. I just don't have words for going the extra mile and resolving the problems! 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2012 - 2:03 pm

You're welcome. But what about the rest of the site?

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2012 - 2:10 pm

Yeah, there seems to be some issue with the other half of the multisite.Have mailed you regarding that.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2012 - 2:33 pm

Well at least this time they have switched to doing it half properly!

This time you need the themes functions.php file.

Right at the bottom find the function:

function roll_your_own_js() {
if(!is_admin()){
        wp_deregister_script('jquery');
        // now we've taken out the default version - we'll load our own
        wp_register_script('jquery', get_template_directory_uri() . '/assets/js/jquery.min.js', 'jquery');
        //  now add it to the queue
        wp_enqueue_script('jquery');
    }
}
add_action('init', 'roll_your_own_js');

He even says it right there in the code - 'now we've taken out the default version - we'll load our own'! As if it ios something to be proud of!!

Remove the wp_deregister_script() line and the wp_register_script() and just leave the wp_enqueue_script() call in place.

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2012 - 11:37 pm

Thank you . That resolved the conflict and I am able to use the Simple press plugins. But did I have to make only the change mentioned in the post above? I also made the other changes which you mentioned in the steps in your earlier post  because now on the forums page, above the forums, the "select forum" button doesn't appear in the form of a dropdown rather the names of all the recent topics in all the forums appear. Have a look

http://www.aristotleprep.com/forums/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 27, 2012 - 2:42 am

The script loading looks good but there are a couple of problems withj the html being generate which might be playing a part and which are a must to fix up.

Firstly, your site has no DOCTYPE header of any kind. In fact if you look at the source code being generated you will see that the very first line is a 'div' with an id of 'ninja_annc_1749_wrapper'. This should not be in the header section at all really and is even before the head tag. So something is amiss with your theme header file.

The second issue is something to do with facebook - 'likebox' perhaps? It is created a malformed iFrame and I think it might be this stopping other things from working.

I wasn't seeing either of these issues when I loaded the theme locally of course because they are both being generated by plugins. The forum components seem to be working fine without them.

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 27, 2012 - 1:07 pm

Okay, since I am unable to figure out what is causing the problem, I thought that one solution could be that I could just remove that option for the users to see the dropdowns for the new/recently added topics and select forums. Because once they get removed all that data which is appearing at the top of the forum will also disappear. How do I remove those fields ? Do I need to edit sphead.php ? And what exactly should I comment out ? And any other file which I should modify ?

Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
Mar 27, 2012 - 2:13 pm

Voila! Resolved the problem myself . Just commented out the info in spHead.php which was displayed all the details at the top of the forum and finally I can take a break after been continuously working on the forums for the last 2 days. Thank you very much Yellow Swordfish for all the help and support! You're an awesome person! 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 27, 2012 - 2:26 pm

Thanks, 🙂 and you're welcome.

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