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 Problem
Avatar
Joanne Hayes
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2012 - 5:35 pm

Hello,

I was really nervous about switching the theme, but I backed everything up and switched to the WP default theme and it did the same thing.

 

Would it help if I gave you admin status to access the site? I could pm the info to you .

here is the forum page:

 

http://taxpreparerconnections.com/forum/

thanks for your help.

Avatar
Ludovic METZKER
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2012 - 6:05 pm

Hello Yellow Swordfish, i thank you very so much. You modification are very nice and all functions are OK. 

Thank you thank you 🙂 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2012 - 6:07 pm

Let me first explain the problem then we can make plans on how to deal with it.

Your site has the problem explained in this article: http://codex.simple-press.com/.....-conflict/

In your case there are 2 separate copies the main jQuery library and 2 of the jQuery UI Library being loaded. I believe one is coming from the WP theme and the other I suspect from the 'visual form builder' plugin. Although I cn not be sure about either of these suspicions.

It might be possible to solve these via the WP admin interface and we are certainly willing to give it a try but we may ned to have a copy of the theme ans the plugin so we can ascertain what needs to change. These changes are usually very small and very simple.

Let's start with an admin account if that is OK with you. Please PM credentials to both myself and to 'Mr Papa'. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look for you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2012 - 8:32 pm

following up on Andy's note...

it appears your wp theme socrates is loading a very, very old version of jquery with:

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

this will conflict with the version of jquery that wp loads...

additionally, the something else is loading a version of jquery from googleapis instead of using the version of jquery ui that comes with wp... 

<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js?ver=7496'></script>

it could be the form builder plugin Andy referred to our could be the theme...

Unfortunately, you made the temp account you created for us a wp admin account, but not an sp admin account... could you go to forum - admins - manage admins and add all the sp admin capabilities to this account...

btw, your version of the socrated theme is out of date...  newer version are available as displayed on the dashboard...  dont know if upgrading would help or not...

So, I went ahead and modified your wp theme to not improperly load js (ref: http://codex.simple-press.com/.....-conflict/ and http://codex.wordpress.org/Fun.....eue_script)...  things seem to be working now... 

so if you update the socrates theme, you will lose the changes... so briefly, the singular change was in the theme header.php file to change

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

to

<?php wp_enqueue_script( 'jquery' ); ?>

Please check it out and see if everything else is working since the jquery ui is still not right but may not be an issue...

Avatar
Joanne Hayes
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2012 - 9:45 pm

Okay,first, sorry about not making you admin on forum. I forgot about that, but I corrected it. You now have access.

I upgraded the socrates theme. I had held off because they have a big revision coming out, but that's okay, this was good practice. 🙂

Anyway I upgraded and made the jquery change in the header. Then I went to the forums page and still had the same problem.

I clicked one of the sub groups (which currently say "no topic") and then clicked "add topic". The topic box shows up, but I can only type in the subject line. The box where the comment goes is grayed and I cannot type in it.

I tried checking the visual form builder plug in but it has several sections of code. I'm not sure if there is a certain section I should look in.

In the form builder plug I found:

public function form_css() {
       
        echo apply_filters( 'vfb-date-picker-css', '<link media="all" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/base/jquery-ui.css" rel="stylesheet" />' );
    }
   

in the visual-form-builder/visual-form-builder.php (the first file).

But I wasn't sure how to fix that.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2012 - 11:11 pm

interesting as I have no problem posting on your site via add topic..

http://taxpreparerconnections......ions/test/

so try clearing your browser cache since the js changed... and see if any better... 

if not, are you using tinymce as the editor?  which browser?

Avatar
Joanne Hayes
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:01 am

I see your post! But now I'm really confused. I still can't seem to post a topic.

I deleted cache, changed from FireFox to Explorer, logged in using my husbands log in and still get the same thing.

I'm going to play with some other things here. Obviously there is a "communication" problem somewhere in these various plug ins.  Life's issues always seem to boil down to communication issues!   🙂

I'll check back in a bit and let you know. 

Thanks so much for the help so far and your patience. You guys are great!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:13 am

Could there be something being loaded that is only loaded when an admin is loading the pages? Maybe some theme or plugin option only applicable to admins?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Joanne Hayes
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:30 am

Hmmm....you could be on to something.  I just created a member named Patty Tester and posted a topic. It worked!

But I have you listed as an administrator not a regular member and you were able to post.

I can hear the Twilight music in the background...  🙂

Avatar
Joanne Hayes
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2012 - 9:49 am

Okay, now Patty Tester cannot add topics and I did not make any changes.

I went through the plug ins to see if anything would seem unusual. I discovered I had loaded two sitemap builders so I deactivated one. (so I guess I did make a change).

I think I am going to delete it all and reload. Maybe I made a critical error when I set it up.

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