• Resolved doctorb

    (@doctorb)


    When I enable FS, the HTML editor for posting/editing stops working. The section for selecting images for the FS for the image come up below the post box but the sections that should come after that (author list etc) disappear. The moment we disable FS, everything becomes normal.

    Plugin unique id is 1075

    Our site is on a development server and if you can give me your email, I will send you the username/pwd so that you can see and test the problem yourself.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter doctorb

    (@doctorb)

    Hi Jeff, can you help with this?

    This is in relation with your other thread : check the forum, the solution has already been given

    Thread Starter doctorb

    (@doctorb)

    I saw your answer to my other query about preventing the image gallery from loading and it worked. But this is a different problem.

    I activate the FS and the TinyMce html editor in posts–>add new stops working and some of the fields that were supposed to come after FS slideshow options also disappear. I disable FS and everything is back to normal.

    Thread Starter doctorb

    (@doctorb)

    We are still having problems with this plugin. We are now on a live site. Can you please check:

    plugin unique ID is: 2571

    Thread Starter doctorb

    (@doctorb)

    When we were on the beta site the problem we were facing was that the plugin was breaking the page load (in add/edit post window) at the point where it loads the field for ‘Slide Link’.

    This problem still persists. Plus.

    Since we have moved to the live site, it doesn’t seem to load the images. I have tried to disable other plugins but that doesn’t solve the problem.

    Jeff, your help would be much appreciated. Thanks for your time.

    Thread Starter doctorb

    (@doctorb)

    The plugin worked again on the front end once I implemnted your advice given here:

    http://wordpress.org/support/topic/329214?replies=1

    But the problem at the admin end in post add/edit pages still persist. The page does not load after the ‘Slide Link’ text. It looks as if something is breaking the code or an additional closing div.

    Edit the source-code of the buggy page and see : you will probably ssome php error.

    Anyway, look at this thread : http://wordpress.org/support/topic/342330

    Thread Starter doctorb

    (@doctorb)

    It is not the edit page. It is the output of this plugin in the edit window that is terminating the page from loading further. The html source of any page that I open to edit, ends here:

    <table class=”widefat” cellspacing=”0″ width=”100%” id=”inactive-plugins-table”>

    <tbody class=”plugins”>
    <tr>
    <td width=”100″ align=”center” style=”border-bottom: 1px solid #dfdfdf; overflow: auto;”>
    <input type=”hidden” name=”fs-title_noncename” id=”fs-title_noncename” value=”008efac26e” /><h2>Slide title</h2> </td>
    <td style=”border-bottom: 1px solid #dfdfdf;”>
    <input type=”text” name=”fs-title” id=”fs-title” value=”” style=”width: 100%” />
    <p><label for=”fs-title”>The title of the slide : if none is given, the post title is used</label></p> </td>
    </tr>

    <tr>
    <td width=”100″ align=”center” style=”border-bottom: 1px solid #dfdfdf; overflow: auto;”>
    <input type=”hidden” name=”fs-picture_noncename” id=”fs-picture_noncename” value=”008efac26e” /><h2>Slide picture</h2> </td>
    <td style=”border-bottom: 1px solid #dfdfdf;”>
    <p>Click on one of the following image (or add one) to choose the slide picture.</p><div style=”display: block; overflow:hidden; overflow-x: hidden; overflow-y: auto; height: 100px; width: 100%; border: 1px solid #dfdfdf;”><img width=”100″ src=”images/media-button-image.gif” alt=”Add an Image”></div><p>Preview the current picture</p><input type=”text” name=”fs-picture” id=”fs-picture” value=”” style=”width: 100%” />
    <p><label for=”fs-picture”>You can also use the Add an Image button, upload an image and paste the URL here, or use an external picture.
    If you leave this blank, the first image found into the post content will be used.</label></p> </td>

    </tr>
    <tr>
    <td width=”100″ align=”center” style=”border-bottom: 1px solid #dfdfdf; overflow: auto;”>
    <input type=”hidden” name=”fs-comment_noncename” id=”fs-comment_noncename” value=”008efac26e” /><h2>Slide comment</h2> </td>
    <td style=”border-bottom: 1px solid #dfdfdf;”>
    <input type=”text” name=”fs-comment” id=”fs-comment” value=”” style=”width: 100%” />
    <p><label for=”fs-comment”>This comment will be displayed onto the picture. Leave blank to dont display a comment.</label></p> </td>
    </tr>
    <tr>
    <td width=”100″ align=”center” style=”border-bottom: 1px solid #dfdfdf; overflow: auto;”>

    <input type=”hidden” name=”fs-button-comment_noncename” id=”fs-button-comment_noncename” value=”008efac26e” /><h2>Slide button-comment</h2> </td>
    <td style=”border-bottom: 1px solid #dfdfdf;”>
    <input type=”text” name=”fs-button-comment” id=”fs-button-comment” value=”” style=”width: 100%” />
    <p><label for=”fs-button-comment”>This comment will be displayed into the button, right under the title.</label></p> </td>
    </tr>
    <tr>
    <td width=”100″ align=”center” style=”border-bottom: 1px solid #dfdfdf; overflow: auto;”>
    <input type=”hidden” name=”fs-link_noncename” id=”fs-link_noncename” value=”008efac26e” /><h2>Slide link</h2> </td>
    <td style=”border-bottom: 1px solid #dfdfdf;”>
    ——————————

    NOTHING IS OUTPUTTED AFTER THIS.

    Nothing wrong in this… you could see it by yourself…

    try to modify the /wp-admin/edit.php script in order to activate the error reporting explicitely

    Thread Starter doctorb

    (@doctorb)

    Jeff nothing wrong in the code above BUT it should load beyond this also. It suddenly breaks. And it breaks at the html that is being outputted by FS. Have a look at this screen-shot:

    http://forums.hpathy.com/fs.jpg

    Doctorb, if there is nothing wrong, no error message or whatever else that could give any indication on what is f**king messing up, that is not useful : of course this behavior is not normal, but with those elements I just can’t say anything useful to troubleshoot… understand ? the snippet you have posted wasn’t useful because it contains no significant thing or error message thats all… I’ll try to find some time to reproduce this behavior….

    Thread Starter doctorb

    (@doctorb)

    Jeff, since no error was coming up, I tried to locate the part which was generating the html that breaks. I tried to remove some code after which the edit page now loads completely. Here is the code I removed during testing to identify the problem:

    if ($meta_box['name'] == 'fs-link') {
    						$attachments = array_merge(
    								get_children(array(
    									'post_type' 	=> 'page',
    									'post_parent'		=> null,
    								)),
    								get_children(array(
    									'post_type' 	=> 'post',
    									'post_parent'		=> null,
    								))
    								);
    						$posts = '';
    						foreach ($attachments as $attachment) {
    							$permalink = get_permalink($attachment->ID);
    							$posts .= '<option value="'.$permalink.'"';
    							if (get_post_meta($post->ID, $meta_box['name'], true) != '' && (get_post_meta($post->ID, $meta_box['name'], true) == $attachment->guid || get_post_meta($post->ID, $meta_box['name'], true) == $permalink)) $posts.= ' selected="selected"';
    							$posts .= '>'.$attachment->post_title.'</option>';
    						}
    						if (get_post_meta($post->ID, $meta_box['name'], true) == '')
    							$posts = '<option value="" disabled="disabled" selected="selected">'.__('Choose a page on this blog').'</option>'.$posts;
    						echo '<select onchange="document.getElementById(\''.$meta_box['name'].'\').value = this.options[this.selectedIndex].value">'.$posts.'</select>';
    					}

    ———————————

    I still do not know what’s wrong in this code but removing it allows the page to load fully. I hope this helps.

    Thread Starter doctorb

    (@doctorb)

    Dear Jeff,

    I know I have bugged you with many support requests but now since everything seems to be working fine, I wanted to show you my site and give you a BIG Thank You! for an excellent plugin in general.

    Have a look at: Homeopathy

    Thank you Doc’ for your own “Thanks” 🙂 I tried to reproduce the issue but I gived up… doing so I found some others very minor bugs… so, in a way, you have contributed to the project \o/

    dont forget to change the status of this thread as “resolved”

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Frontpage-Slideshow] Frontpage slideshow interfwering with the add/edit post’ is closed to new replies.