• professor99

    (@professor99)


    Hi all,

    The code updates I have been mentioning in various packages are finally to a point where they can be released.

    The Readme follows.

    [ Moderator note: Backticks inserted, you really don’t need to post that here. A link would have sufficed. ]

    README 2RRR 1.0 For WP User Frontend Version: 1.1 fork: 2RRR 1.0 alpha
    ========================================================
    
    Introduction
    ------------
    
    This is a fork from WP User Frontend Version 1.1.
    It currently only applies to the Add Post and Edit Post functionality on WP User Frontend.
    Use of AjaxForm for Ajax style posts is the next step in this project.
    It focuses on both useability and ease of customerization.
    There are some bug fixes included as well.
    
    Some of these changes are outlined by the following items on the WP User Frontend support forum.
    
    https://www.ads-software.com/support/topic/custom-editors
    https://www.ads-software.com/support/topic/plugin-wp-user-frontend-redirecting-after-posting
    https://www.ads-software.com/support/topic/allow-to-choose-category-filter
    https://www.ads-software.com/support/topic/close-button-and-return-on-post
    https://www.ads-software.com/support/topic/security-problem-doesnt-observe-user-capabilities
    
    Changes from WP User Frontend Version 1.1
    -----------------------------------------
    
     * Main Changes from Version 1.1:
    
     * Custom editor option added.
     * Editors use max availiable width.
     * Close button added as shortcut option and redirects set to suit.
     * wpuf_allow_cats filter added.
     * Security checks updated.
     * Code updated to allow use of wpuf_can_post filter for non logged in users.
    
    Status
    -------
    
    This code is ALPHA! Use it at you own risk!
    
    It currently has only been tested in the following configuration.
    
    Wordpress 3.4.2
    Firefox 16.0.2
    IBM PC
    
    This code is a public development fork of WP User Frontend.
    It is not written by or supported by the author of WP User Frontend (Tareq Hasan) and is not an official release of WP User Frontend.
    So please be aware this code may not be included in the next official release of WP User Frontend.
    
    Bugs
    -------
    
    Please report bugs via this special topic on the WP User FrontEnd forum 
    
    https://www.ads-software.com/support/topic/frontend-updates-2rrr-fork
    
    Please report only bugs here. 
    
    All suggestions for updates to WP User Frontend need to go to the normal support forum.
    
    https://www.ads-software.com/support/plugin/wp-user-frontend
    
    Download
    --------
    
    https://2rrr.org.au/downloads/wp-user-frontend/wp-user-frontend_1_1_2RRR_1_0_alpha.zip
    
    Installation
    ------------
    
    This update requires the pre-installation of WP User FrontEnd version 1.1.
    If you have another version of WP User Front End installed this update will not work.
    Changed code is in /wp-user-frontend in the same directory structure as the original files.
    Before using make a copy of your original files for safe keeping just in case something breaks.
    Then copy the files across.
    
    Examples
    --------
    
    Examples of use are provided in the directory /examples.
    
    Add Post Shortcodes
    -------------------
    
    Shortcode examples::
    
    	[wpuf_addpost]
    	[wpuf_addpost close="false"]
    
    Shortcode options:
    
    	post_type: post | <otherPostType>
    		post: (default)
    		<otherPostType>: other post types
    	close: true | false
    		true: will display close button and redirect to last page on close (default)
    		false: 
    
    Edit Post Shortcodes
    -------------------
    
    Shortcode examples::
    
    	[wpuf_edit]
    	[wpuf_edit close="false"]
    
    Shortcode options:
    
    	close: true | false
    		true: will display close button and redirect to last page on close (default)
    		false: 
    
    Last word
    ----------
    
    Hope you find this useful. Please report bugs as mentioned above.
    
    Big thanks to Tareq Hasan for his work putting together WP User Frontend.

    Cheers
    TheProfessor

    https://www.ads-software.com/extend/plugins/wp-user-frontend/

Viewing 15 replies - 106 through 120 (of 134 total)
  • Thread Starter professor99

    (@professor99)

    Development Fork 4.4
    ====================

    The next release of this development fork 4.4 is now available.

    If you want a simplified or almost full frontend replacement of the WordPress Dashboard posting forms and user management this development version is what you have been looking for.

    If you want to customize these forms easily or have the option of using multiple forms then the PRO version is for you. It also includes many other features.

    This update contains many bug fixes and some minor upgrades.

    – For the add and edit shortcodes the ‘current’ option has been removed. A url redirect option has been added.

    – The category select code has been rewritten and now works for Ajaxified and Checkbox options.
    An additional option has been added to restrict the Ajaxfied category select to childless categories.

    – The ability to show attachment images in posts has been restored with an option to turn this on/off.
    File mime icons are also shown if this option is enabled.

    – If the Post Status field is not displayed then on edit the post status is reset to the default.

    – CSS has been hardened to reduce interference in styling from other themes and plugins.

    – Javascript and CSS is only loaded where needed. A new wpuf-global.css file has been created for global CSS.

    – EditUsers has been updated to redirect edits to the EditProfile page.
    An option to specify the EditProfile page for this has been added.

    There are other minor changes as well which are listed in the README at the following link

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/README_2RRR_4_4.txt

    Screenshots
    ============

    Screenshots for frontend pages can be found at the following links

    Add/Edit Post Default Options
    ——————————

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_new_post_default.jpg

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_edit_post_default.jpg

    Add/Edit Post Full Options
    ——————————

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_edit_post_full_part1.jpg


    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_edit_post_full_part2.jpg

    Other Frontend pages
    ———————

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_dashboard_default.jpg

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_dashboard_thumbnails.jpg

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_profile_part1.jpg

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_profile_part2.jpg

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_edit_users.jpg

    Posts
    —–

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_post_part1.jpg

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/screenshot_fork_post_part2.jpg

    Compatibility
    ===============

    It currently has only been tested in the following configurations.

    WordPress 3.4.2, 3.5, 3.5.1
    Apache Server
    PHP 5.2 & 5.3
    WordPress 2010 Theme
    WordPress 2011 Theme
    WordPress 2012 Theme
    Firefox 16.0.2
    Safari 5.0.533.16 (should work 4.1+)
    Chrome 23.0.1271.95m (should work 5.0+)
    Internet Explorer 7.0 & 8.0 (9 & 10 needs more testing)
    Windows XP

    Bugs
    ======

    Bug Reports would be greatly appreciated but please post them to this thread as it is the only one I monitor.

    Download
    =========

    The update can be downloaded at the following link

    https://2rrr.org.au/downloads/wp-user-frontend/2RRR_4_4/wp-user-frontend_1_1_2RRR_4_4_alpha.zip

    A Github repository is available at the following link

    https://github.com/professor99/WP-User-Frontend/tree/2RRR

    INSTALL INSTRUCTIONS
    ====================

    This development version is a complete version of WPUF. If you already have WPUF installed move it’s directory out of the WordPress plugin directory it case you want to reinstall it (Note the downgrade instructions in the ReadMe).

    Then install as a normal WordPress plugin. Simply unzip it and copy the wp-user-frontend directory to the WordPress plugin directory.

    Activate it and Presto!

    Cheers
    TheProfessor

    Plugin Author Tareq Hasan

    (@tareq1988)

    @reticent98, which theme are you using? As long as it maintains the WordPress standard, no problem should be happening. If any problem arises from the plugin itself, I’ll be providing the support.

    @aesthetic, for early adopters, I can offer discount coupons.

    Developer Version: 25% (coupon: wpufdev)
    Business Version: 20% (coupon: wpufbus)

    Both are limited numbers. So try before it runs out.

    I found one issue for people on hosts running the PHP 5.4 upgrade. The problem is explained here. Basically, the whole site was inaccessible until I modified wpuf-add-post.php and wpuf-edit-post.php to remove the & from in front of the $.

    From:

    //validate categories
    		$post_category = $wpuf_cat->validate( $_POST['category'], &$errors );

    To:

    //validate categories
    		$post_category = $wpuf_cat->validate( $_POST['category'], $errors );

    Well, perhaps making the change that I detailed in the previous post wasn’t such a good idea, although I would have had to disable the plugin if I hadn’t. Now, when I try to add a post, I get a pop-up box:

    Message from webpage
    Ajax Form Error
    Status: Timeout
    Error: Timeout
    Response: (empty)

    This happens in Chrome and IE. I haven’t tested in Firefox yet.

    Thread Starter professor99

    (@professor99)

    Hi reticent98,

    The change you made seems correct and I will include in the current development version.

    However strange that adding posts doesn’t work for you as it works for me both on Chrome and Firefox. Did it work before php 5.4?

    The timeout error response means that a response wasn’t received within 3 seconds.

    Does editing a post work?

    Thread Starter professor99

    (@professor99)

    Hi reticent98,

    Did the new development version fix the problem with attachments you reported here

    Yes, that problem does seem to be fixed. I will resolve that thread. My host does let me change my PHP version back to 5.2, so I will re-upload the latest development version without the changes and test it on 5.2

    Thread Starter professor99

    (@professor99)

    Hi Reticent98 the changes you recommended before were correct and now have been added to the development version.

    Your problem with post submit I think is caused by something else. It works fine for me on PHP 5.2 & PHP5.4 and Firefox/Chrome.

    I happy to help you out cause I want to make certain this works particularly for IE9 and IE10.

    One thing to try is seeing if it happens on PHP5.4 with all other plugins disabled and the theme set to the default WordPress 2011 or 2012 theme.

    I have a development area that I am refreshing right now with a vanilla install of 3.5.1 WP. From testing, the version of PHP doesn’t seem to be the problem, as you stated. I have used both your original 2RRR_4_4 and the removed ampersand version on PHP 5.2 with exactly the same results as I experienced on 5.4 after the modification.

    As I have time, I will test in my sandbox with the 2012 theme and add WPUF as the only plugin. Thanks for your help.

    Thread Starter professor99

    (@professor99)

    Thanks reticent. My latest development version is the best behaved version of standard Frontend released so far but there are always unknowns. I haven’t had the opportunity to put it thru the wringer to iron out the bugs on IE9 and IE10 so your work in this area is much appreciated

    Cheers
    TheProfessor

    My “add media” is white..
    so i can’t see it. How to change color? Here a screenshot:
    https://s20.postimg.org/uw4mdn1nh/image.jpg

    Thanks in advance

    Thread Starter professor99

    (@professor99)

    Hi Turismo,

    Sounds like one of your themes or plugins is changing the text style color of your Add Media button.

    Frontend sets this color using the following CSS

    #wpuf .wpuf-post-form a {
        color: #1982D1;
        text-decoration: none;
    }

    However the HTML which is set by TinyMCE is this

    <a class="button insert-media add_media" title="Add Media" data-editor="wpuf-post-content" href="#">
    <span class="wp-media-buttons-icon"></span>
    Add Media
    </a>

    You could try setting the CSS for one of the classes specified. I would try insert-media or add_media.

    Of course you could always use FireFox Firebug or Google Chrome Developer Tools to find the source of the problem and fix it there as it probably would cause this problem wherever the editor is used.

    Thank you very much.. i’ve founded the mistake in my style.css!

    But i’ve others “problems”:

    1- I add custom field, it appear in my [wpuf_addpost] page. I write onto text box but i don’t receive this text via email or via pending post.

    2- If i upload featured image and i click submit post appear: https://s20.postimg.org/ge7f5nacd/image.jpg
    Appear this error but i receive post via mail and the featured image appear onto pending post.

    Have you solution also for this problems? ??

    Thread Starter professor99

    (@professor99)

    1. This may be a bug. I haven’t look at custom fields in my development version so custom fields should behave the same as in Version 1.1. Could you provide screen shots for this?

    2. Somehow we didn’t get an Ajax Response within 3 seconds. Are you talking about the “Upload Image” button or the “Submit Post” button? Do other buttons and the “Add Attachment” button work (enable Attachemnt option)? Also could you tell me what WordPress version, PHP version, and browsers you have tested this with.

    1- Screenshot:
    I add it: https://s20.postimg.org/424is5mhp/image.jpg
    I write and send post https://s20.postimg.org/ffr23cx0d/image.jpg

    Admin doesn’t receive content of text box

    2-Changed featured image with attachement, i’ve ever same problem https://s20.postimg.org/ge7f5nacd/image.jpg
    This screen appear after i click “Submit Post” button. But appear only if i add image or attachements.

    Wp 3.5.1, php 5.3, chrome latest version.
    With i.e. 8 works.

Viewing 15 replies - 106 through 120 (of 134 total)
  • The topic ‘Frontend Updates 2RRR Fork’ is closed to new replies.