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
TinyMCE "cannot type in text box" problem + a few other issues
Avatar
Carley A Morrow
Member
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2012 - 2:02 pm

Hello,

I'm looking for someone who can....

  1. get one of the "formatting" plugins to work on my simple-press forum
  2. fix the stats (forum/member stats dont seem to be changing)
  3. make my forum magic! (open to any suggestions you have!)

The site is Buddypress/Wordpress & I would need to get the work done on a test-site & if successful, make the changes.

Relevant posts:

https://simple-press.com/suppo.....ld/page-4/

https://simple-press.com/suppo.....ce-editor/

https://simple-press.com/suppo.....s-problem/

 

Would like to get issue 1 sorted asap; drop me a message!

Thanks 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 1, 2012 - 2:41 pm

What do you mean by 'formatting' plugins? Do you mean editors?

Why don't you zip up your WP theme and email it to me and I can try and find the problem area. support at simple-press dot com.

But I think we need to talk to you about the stats. Can you open a brand new topic on that as a separate issue?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Carley A Morrow
Member
Free Members
sp_UserOfflineSmall Offline
Apr 2, 2012 - 1:11 pm

Thanks! 

Have sent zip file of theme & will start a new post re stats

 

PS. yes; I meant "editors" embarassed😉

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 2, 2012 - 5:28 pm

Yes - got it. Afraid it will be tomorrow now before I can look.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 3, 2012 - 4:44 am

Well the first piece of bad news is that I can not try this theme out on my development system because it makes calls to other plugins that I do not have and they make no checks for the existence of those plugins which would be the right thing to do.

The next bad news is that there are badly written calls to javascript routines all over the place and very few of them where they actually should be. Having seen ClassiPress themes before I can only assume this is an old one or a very heavily customised one.

So - any edits I suggest here may still not be totally correct as it is really hard to analyse. But let's at least try.

There are 4 separate header php files. I do not know which one is actually used or if all of them are but as they all essentially have the same calls in them. There is a block of directly loaded script statements that includes these 4:

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/jquery.ui.core.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/jquery.ui.widget.js"></script>

These appear to be the ones that are causing the current problems. Please note that word 'appear'! I can not 100% confirm this. Now my suggestion for correcting this is not ideal but it should be safe and I see it is a method that the header php file uses already so I assume it should work. These 4 lines need replacing with:

<?php
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-widget');
wp_enqueue_script('jquery-ui-datepicker');
?>

However, the custom.min,.js file that is currently being loaded does contain some other libraries so we may need to add to this but we wont know what with until these lines are replaced. As I say - this is not the ideal way to do it but it is the best I can do without pulling the theme apart and re-writing most of it!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Carley A Morrow
Member
Free Members
sp_UserOfflineSmall Offline
Apr 3, 2012 - 8:18 am

thanks @YS - will get them to look at it asap; the theme was fairly recent (December/Jan) but it has been highly customised

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 3, 2012 - 8:22 am

let us know how it goes...

Avatar
Carley A Morrow
Member
Free Members
sp_UserOfflineSmall Offline
Apr 4, 2012 - 7:22 am

Yellow Swordfish

 

If I am putting the code you have suggested, that is

<?php
2 wp_enqueue_script('jquery-ui-core');
3 wp_enqueue_script('jquery-ui-widget');
4 wp_enqueue_script('jquery-ui-datepicker');
5 ?>

then it is not adding the js files and my functionality id getting break.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 4, 2012 - 8:22 am

Was it not loading the 'datepicker' js file? Or do you mean it was missing something else? If the latter I did say above that there may be something else missing but we wouldn't know what until the current scripts were cleaned up properly.

So the key to this is to determine whether the datepicker script is being loaded. If so then the next step if to find out what else is missing so we can add it back in.

If the datepicker script is NOT being loaded then, as I said, I was not totally comfortable with the method but accepted it because the theme was already doing things that way.

The best thing to do woud be for you to tell me when you make those changes - or better still pre-arrange a time - so that I can dive straight in and take a look at the outcome.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Carley A Morrow
Member
Free Members
sp_UserOfflineSmall Offline
Apr 5, 2012 - 4:14 am

Hello @Yellow Swordfish

 

Actually it is not loading the datepicker js file.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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