Forum Replies Created

Viewing 15 replies - 526 through 540 (of 570 total)
  • I think I triggered this issue today by having a looped forwarding. Not 100% sure, awaiting hosting reply for webtechglobal.co.uk

    It rendered a page as 403 plus all children of that page! So its a nice big chunk of my blog that cannot be accessed now. If you feel you have done a loop in forward don’t mess about and let it happen again to avoid this.

    I’m trying to setup sub-domains and forwardings in order to shorten url’s for affiliates on my site. Somewhere along the line the plugins I’m using clashed with the server I think!

    Ryan

    Forum: Plugins
    In reply to: dbdelta doesn’t work

    Your doing a variable dump on dbDelta,did you find what I did and it returns a value that states the table was created even when it is not?

    I just wrote a script that uses standard query function to attempt to create the table and then I also run the same query using dbDelta in the event that table was already created then an update with any changes to the table should occur.

    Ryan
    WebTechGlobal

    I recommend using LastPass for Firefox for password management.

    I use the same password for everything that does not require maximum security such as forums, blogs, localhost etc. I recommend to everyone to make life easier on yourself this way.

    I don’t get why you guys have so much code but then my version doesnt work yet because content on submission is the original content put into the editor on loading.

    None of your methods work for me! You all talk like you just put that code in your page then use the function but it always creates a blank page.

    This is what displays the editor for me but as I said not perfect yet.

    <?php

    wp_tiny_mce(true);
    add_filter(‘teeny_mce_buttons’, ‘teeny_mce_buttons’);
    wp_enqueue_script(‘page’);
    wp_enqueue_script(‘editor’);
    do_action(‘admin_print_scripts’);

    wp_enqueue_script(‘thickbox’);
    add_action( ‘admin_head’, ‘wp_tiny_mce’ );
    wp_enqueue_script(‘editor’);
    add_thickbox();
    wp_enqueue_script(‘media-upload’);
    wp_enqueue_script(‘word-count’);

    the_editor($post_content, ‘content’);

    ?>

    I have 300 line script I’m working on and the editor is there but any sort of javascript does not seem to work.

    The java error is “u is undefined”.

    When I submit the editor post values for title is as expected but the content value displayed after submission is the original value put into the editor.

    Been trying to get past this for 2 days now! Looked at every use of the_editor() online to get this far but I can’t see the issue.

    I have this snippet for displaying my editor…

    <?php

    wp_tiny_mce(false);
    add_filter(‘teeny_mce_buttons’, ‘teeny_mce_buttons’);
    wp_enqueue_script(‘page’);
    if ( user_can_richedit() )
    {

    wp_enqueue_script(‘thickbox’);
    add_action( ‘admin_head’, ‘wp_tiny_mce’ );
    wp_enqueue_script(‘editor’);
    add_thickbox();
    wp_enqueue_script(‘media-upload’);
    wp_enqueue_script(‘word-count’);
    }

    the_editor($post_content, ‘content’);

    ?>

    Thread Starter WebTechGlobal

    (@webtechglobal)

    Dam I can’t believe I realised the fix after posting this..

    WP_CONTENT_DIR

    I only just begun using these defined values and didnt think about the fact it had “URL” on the end!

    Hopefully this helps someone else quickly lol

    Forum: Plugins
    In reply to: Restrict File Upload Size

    I’ve been doing PHP for years now and in WordPress I can never get ini_set or define() to work. Just has no effect at all.

    I wonder if its because of my server and I’ve only ever used the same one. It just baffles me how it should be a simple thing but is not.

    Could do with it right now again so thought would have a browse!

    Goodluck.

    Quick update because I think this post will get seen a lot.

    I started working on CSV 2 POST for an upgrade that will allow mass posting of csv file data to an external blog from the blog your using the plugin in.

    Already made great progress and the moment it is finished I’ll quickly release a plugin that allows the normal writing of posts BUT the publishing of them to multiple blogs.

    These plugins will grow to take into consideration ,SEO, duplicate content in the eyes of Google etc. So very exciting for those who have a lot of blogs and would like one HQ!

    Ryan

    You find the solution for this?

    Someone asked if I could consider creating a plugin for automatically creating Google maps from csv file data and I’m wondering what already exists for it or what people would want it to do exactly.

    I made CSV 2 POST and a plugin for your situation would be similiar and the more demand I find for it the quicker it will be put into development.

    Ryan

    Thread Starter WebTechGlobal

    (@webtechglobal)

    Best approach that suddently came to mind was to not even store user files in the plugni directory, put them in the uploads or somewhere else!

    That way they stay there even when the plugin is upgraded and technically deleted.

    Any other solution like code that specific ignores a file or something I’m open to hear about it.

    Just stumbled on this.

    In short the only question is “does anyone happen to know how i can import csv files more accurately into a post please.”

    If your table html is correct and in your content part of your data then there is no reason it won’t show up properly that I can think of.

    I developed CSV 2 POST which does what you ask however the idea of CSV 2 POST is that the plugin styles your content for you. You don’t create data in a csv file that contains massive amounts of html you are best to only have pure data in there and let CSV 2 POST do the hard work by not only importing the data but stlying your post to exactly how you need.

    I am right in saying your outputting your data so that it ends up with html in it?

    Anyhope you found a solution but I thought I would comment in the case that you might have giving up and moved on to something else and also CSV 2 POST is not long out so it may be the solution you need.

    Ryan

    Does CSV Import not allow you to connect to a csv file after uploading it via FTP like CSV 2 POST does?

    Sorry not at the moment tied up with CSV 2 POST importing functions won’t be coding the exporting tools for another 2-3 weeks possibly.

    Watch the development of CSV 2 POST because it will eventually do everything when it comes to data management for WP.

    Ryan

    You could use CSV 2 POST to do that depending on how many posts your talking.

    I’m looking for a way to do it from localhost to online blog but automated! Not easy but I’m going to do it lol

    One last thing.

    [solicitation removed]to anyone who knows of a page showing a solid fix to duplicates when working with wp_insert_post!

    It has to include that function in the example code but I don’t think such a thing exists or is that simple.

    I’ll probably have to make a final check at the end of my script on the post I just created to see if there is another like it then delete.

    http://www.webtechglobal.co.uk

Viewing 15 replies - 526 through 540 (of 570 total)