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 Tools not working, cannot moderate
Avatar
Melissa Van Dam
Member
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 7:20 pm

Hi,

 

My community launch is in a week and I am testing the forums. I have had a couple of people post topics and am requiring moderation for first posts. I have installed the admin bar, but even before that the "mouse over" tools button was showing, but not bringing anything up when I click on it. I have checked that the header and footer .php flies contain this http://wiki.simple-press.com/i.....-is-empty/ however the page and index pages don't seem to. I have tried adding them but it does not seem to make a difference.

 

This is the site http://www.belliestobambinos.ca/forum the forum content is still back door so there is no direct link to it. Any help would be apprieciated. I thought that getting the admin tool bar would fix it but the tool bar isn't even showing that there are any posts to be moderated.

 

Thank you

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 7:29 pm

first, the wiki deals with SP 4.x... you want the codex (http://codex.simple-press.com) for 5.0.  and the one that likely comes in to play here is: http://codex.simple-press.com/.....-conflict/

and its because your theme (I believe) is misbehaving...  it is loading a very old version of jquery ui directly instead of using the version of jquery ui that comes with wp:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>

so when wp loads its current version of jquery ui, it conflicts with the out of date version your theme is loading...

see if you can find in your theme where that old version is improperly (see http://codex.wordpress.org/Fun.....eue_script for right way to load js/jquery) loaded, we can see if we can help correct it... 

at least that is my hunch not being able to see the issue myself...

Avatar
Melissa Van Dam
Member
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 8:00 pm

I sent a message to the developer to ask him to look into it for me. I searched through the source and it looks like it uses google in one place

 

The bottom of the screen says javascript:void(null) whenever I try to click on the tools button. 

 

I did find this:  

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>

in the header file, do you know what I should change it to?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 8:11 pm

try changing it to:

wp_enqueue_script('jquery-ui-core');   

wp_enqueue_script('jquery-ui-widget');

Avatar
Melissa Van Dam
Member
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 8:12 pm

Sorry, I pretty novice and learning as I go with coding, which part should I replace with that?

Thank you 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 8:21 pm

this line:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>

Avatar
Melissa Van Dam
Member
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 8:23 pm

Sorry, I guess what I mean is, do I replace that whole line with what you posted? Or just part of it? and if just part of it, what part ? 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2012 - 8:37 pm

replace the whole line in post #6 with the two lines in post #4

Avatar
Melissa Van Dam
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2012 - 10:18 am

Ok, I tried that, but it just came up as text on the top of the page. Here is the context it was found in:

<!-- JAVASCRIPT -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>
<?php if(get_option('dtbaker_font_type','cufon')=='cufon'){ ?>
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/cufon-yui.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/Sunshine_Poppy_400.font.js"></script>
<?php } ?>
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/jquery.DOMWindow.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/jquery.lightbox-0.5.pack.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/jquery.nivo.slider.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/jquery.cycle.min.js"></script>

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2012 - 10:53 am

sorry, should have been more specific on the html vs php...  replace

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>

with

<?php
wp_enqueue_script('jquery-ui-core');   
wp_enqueue_script('jquery-ui-widget');
?>
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