Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Thread Starter gojonami

    (@gojonami)

    Even if I do ONE item only..

    Thread Starter gojonami

    (@gojonami)

    I have created all the list of items and menu sections.
    Then I want to reorder the items in one of the sections. I drag them to order them and then hit save order.

    That is when it happens

    I am trying to reorder menu items and I am using the Auberge theme by WebMan. I asked them why this error happens but seems its to do with Jetpack. Every time I save the reorder i get this

    The requested URL was rejected. If you think this is an error, please contact the webmaster.

    Your support ID is: 12837629877874717592

    ALSO THE ADDRESS URL is as below when this happens:

    https://xyz.com/wp-admin/edit.php?s=&post_status=all&post_type=nova_menu_item&_wpnonce=2a9e5b970b&_wp_http_referer=%2Fpizza-brew-restaurant-calgary%2Fwp-admin%2Fedit.php%3Fpost_type%3Dnova_menu_item&action=-1&m=0&paged=1&mode=list&nova_order[308]=0&nova_menu_term[308]=32&nova_order[307]=1&nova_menu_term[307]=32&nova_order[306]=2&nova_menu_term[306]=32&nova_order[305]=3&nova_menu_term[305]=32&nova_order[304]=4&nova_menu_term[304]=32&nova_order[526]=0&nova_menu_term[526]=34&nova_order[527]=1&nova_menu_term[527]=34&nova_order[528]=2&nova_menu_term[528]=34&nova_order[525]=3&nova_menu_term[525]=34&nova_order[291]=4&nova_menu_term[291]=34&nova_order[292]=5&nova_menu_term[292]=34&nova_order[293]=6&nova_menu_term[293]=34&nova_order[294]=7&nova_menu_term[294]=34&nova_order[295]=8&nova_menu_term[295]=34&nova_order[290]=9&nova_menu_term[290]=34&nova_order[298]=0&nova_menu_term[298]=35&nova_order[299]=1&nova_menu_term[299]=35&nova_order[300]=2&nova_menu_term[300]=35&nova_order[301]=3&nova_menu_term[301]=35&nova_order[302]=4&nova_menu_term[302]=35&nova_order[552]=0&nova_menu_term[552]=37&nova_order[538]=0&nova_menu_term[538]=39&nova_order[540]=1&nova_menu_term[540]=39&nova_order[541]=2&nova_menu_term[541]=39&nova_order[542]=3&nova_menu_term[542]=39&nova_order[543]=4&nova_menu_term[543]=39&nova_order[544]=5&nova_menu_term[544]=39&nova_order[545]=6&nova_menu_term[545]=39&nova_order[303]=7&nova_menu_term[303]=39&nova_order[297]=8&nova_menu_term[297]=39&nova_order[296]=9&nova_menu_term[296]=39&nova_order[547]=0&nova_menu_term[547]=40&nova_order[548]=1&nova_menu_term[548]=40&nova_order[549]=2&nova_menu_term[549]=40&nova_order[550]=3&nova_menu_term[550]=40&nova_order[551]=4&nova_menu_term[551]=40&nova_order[577]=0&nova_menu_term[577]=46&nova_order[569]=0&nova_menu_term[569]=45&nova_order[570]=1&nova_menu_term[570]=45&nova_order[571]=2&nova_menu_term[571]=45&nova_order[572]=3&nova_menu_term[572]=45&nova_order[573]=4&nova_menu_term[573]=45&nova_order[574]=5&nova_menu_term[574]=45&nova_order[575]=6&nova_menu_term[575]=45&nova_order[576]=7&nova_menu_term[576]=45&nova_order[647]=0&nova_menu_term[647]=55&nova_order[614]=0&nova_menu_term[614]=47&nova_order[613]=0&nova_menu_term[613]=91&nova_order[611]=1&nova_menu_term[611]=91&nova_order[619]=0&nova_menu_term[619]=52&nova_order[621]=1&nova_menu_term[621]=52&nova_order[622]=2&nova_menu_term[622]=52&nova_order[623]=3&nova_menu_term[623]=52&nova_order[625]=4&nova_menu_term[625]=52&nova_order[626]=5&nova_menu_term[626]=52&nova_order[627]=0&nova_menu_term[627]=53&nova_order[628]=1&nova_menu_term[628]=53&nova_order[629]=2&nova_menu_term[629]=53&nova_order[630]=3&nova_menu_term[630]=53&nova_order[633]=4&nova_menu_term[633]=53&nova_order[635]=5&nova_menu_term[635]=53&nova_order[636]=6&nova_menu_term[636]=53&nova_order[615]=0&nova_menu_term[615]=51&nova_order[864]=1&nova_menu_term[864]=51&post[]=616&nova_order[616]=0&nova_menu_term[616]=93&post[]=617&nova_order[617]=1&nova_menu_term[617]=93&post[]=618&nova_order[618]=2&nova_menu_term[618]=93&nova_order[639]=0&nova_menu_term[639]=54&nova_order[641]=1&nova_menu_term[641]=54&nova_order[642]=2&nova_menu_term[642]=54&nova_order[643]=3&nova_menu_term[643]=54&nova_order[644]=4&nova_menu_term[644]=54&nova_order[645]=0&nova_menu_term[645]=92&nova_order[646]=1&nova_menu_term[646]=92&nova_order[669]=0&nova_menu_term[669]=69&nova_order[670]=1&nova_menu_term[670]=69&nova_order[672]=2&nova_menu_term[672]=69&nova_order[674]=0&nova_menu_term[674]=81&nova_order[673]=1&nova_menu_term[673]=81&menu_reorder_submit=Save+New+Order&action2=-1&drag-drop-reorder=22f858ab43

    How do I solve this issue

    Thread Starter gojonami

    (@gojonami)

    Thanks it was fixed

    Thank you so much John for making it work. I have a question since I am still fairly new to wordpress’ developing. Will I loose changes that I made to the plugin based on my clients needs if I hit update on the plugin? And what can I do to avoid that?

    Hi John,
    is there some other alternative that can be set up for this ?
    Will you be making the shift ?
    please help me with this..
    I really need the client that I am using this for, to be able to receive email notifications about new campaigns

    So what should users to if they want the email feature for this plugin ??
    does that mean there is no way I can be emailed if a user adds a campaign??

    Thread Starter gojonami

    (@gojonami)

    Hi Marco,
    thanks for looking into it,
    i started of by deactivating all the plugins, it still didnt work.
    It goes straight to profile page for me.
    Could it be some hooks or functions that were added by me ??

    <?php
    //Add support for WordPress 3.0's custom menus
    add_action( 'init', 'register_my_menu' );
    //Register area for custom menu
    function register_my_menu() {
        register_nav_menu( 'primary-menu', __( 'Primary Menu' ) );
    	register_nav_menu( 'secondary-menu', __( 'Secondary Menu' ) );
    	 register_nav_menu( 'sidebar-menu', __( 'Sidebar Menu' ) );
    }
    
    //Code for custom background support
    add_custom_background();
    
    	// Enable post thumbnails
    add_theme_support('post-thumbnails');
    set_post_thumbnail_size(700, 300, true);
    
    // Enable custom post types
    
    /*add_action( 'init', 'create_post_type' );
    function create_post_type() {
    	register_post_type( 'features',
    		array(
    			'labels' => array(
    				'name' => __( 'Features' ),
    				'singular_name' => __( 'Features' )
    			),
    			'public' => true,
    			'has_archive' => true,
    			'rewrite' => array('slug' => 'Feedback'),
    			'supports'      => array( 'title', 'editor', 'thumbnail', 'excerpt', 'comments' ),
    		)
    	);
    	}*/
    
    //change the howdy to anything we want
    
    function replace_howdy( $wp_admin_bar ) {
    $my_account=$wp_admin_bar->get_node('my-account');
    $newtitle = str_replace( 'Howdy,', 'GoJo', $my_account->title );
    $wp_admin_bar->add_node( array(
    'id' => 'my-account',
    'title' => $newtitle,
    ) );
    }
    add_filter( 'admin_bar_menu', 'replace_howdy',25 );
    
    //sidebar-index
    
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Sidebar Index',
    'id' => 'sidebar_index',
    'description' => 'Appears as the sidebar on the custom index homepage',
    'before_widget' => '<div style="height: 0px"></div><li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }
    
    //sidebar-fund
    
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Sidebar Fund',
    'id' => 'sidebar_fund',
    'description' => 'Appears as the sidebar on the custom index homepage',
    'before_widget' => '<div style="height: 0px"></div><li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }
    
    //sidebar-pitches
    
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Sidebar Pitches',
    'id' => 'sidebar_pitches',
    'description' => 'Appears as the sidebar on the custom index homepage',
    'before_widget' => '<div style="height: 0px"></div><li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }				
    
    //sidebar-published
    
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Sidebar Published',
    'id' => 'sidebar_published',
    'description' => 'Appears as the sidebar on the custom index homepage',
    'before_widget' => '<div style="height: 0px"></div><li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }
    
    //sidebar-suggestions
    
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Sidebar Fund a Stroy',
    'id' => 'sidebar_fundastory',
    'description' => 'Appears as the sidebar on the custom index homepage',
    'before_widget' => '<div style="height: 0px"></div><li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }				
    
    //sidebars
    
    function gojo_widgets_init() {
    	// Area 1, located at the top of the sidebar.
    	register_sidebar( array(
    		'name' => __( 'Primary Widget Area', 'gojo' ),
    		'id' => 'primary-widget-area',
    		'description' => __( 'The primary widget area', 'gojo' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	// Area 2, located below the Primary Widget Area in the sidebar. Empty by default.
    	register_sidebar( array(
    		'name' => __( 'Secondary Widget Area', 'gojo' ),
    		'id' => 'secondary-widget-area',
    		'description' => __( 'The secondary widget area', 'gojo' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	// Area 3, located in the footer. Empty by default.
    	register_sidebar( array(
    		'name' => __( 'First Footer Widget Area', 'gojo' ),
    		'id' => 'first-footer-widget-area',
    		'description' => __( 'The first footer widget area', 'gojo' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	// Area 4, located in the footer. Empty by default.
    	register_sidebar( array(
    		'name' => __( 'Second Footer Widget Area', 'gojo' ),
    		'id' => 'second-footer-widget-area',
    		'description' => __( 'The second footer widget area', 'gojo' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	// Area 5, located in the footer. Empty by default.
    	register_sidebar( array(
    		'name' => __( 'Third Footer Widget Area', 'gojo' ),
    		'id' => 'third-footer-widget-area',
    		'description' => __( 'The third footer widget area', 'gojo' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	// Area 6, located in the footer. Empty by default.
    	register_sidebar( array(
    		'name' => __( 'Fourth Footer Widget Area', 'gojo' ),
    		'id' => 'fourth-footer-widget-area',
    		'description' => __( 'The fourth footer widget area', 'gojo' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    }
    /** Register sidebars by running gojo_widgets_init() on the widgets_init hook. */
    add_action( 'widgets_init', 'gojo_widgets_init' );
    
    /*WP Media Uploader for the logo*/
    
    require_once( 'wptuts-options/wptuts-options.php' );
    
    /*SUCCESSFULLY ADDS NEW TEMPLATES FOR CAUSES AND CAMPAIGNS*/
    add_filter( 'page_template', 'pfund_custom_page_template' );
    function pfund_custom_page_template($current_template) {
        global $post;
        if ( $post && $post->post_type == 'pfund_campaign' ) {
            return locate_template( 'campaign-template.php' );
        } elseif  ( $post && $post->post_type == 'pfund_cause' ) {
            return locate_template( 'cause-template.php' );
        } else{
            return $current_template;
        }
    }
    
    /*HIRE A WRITER PAGE*/
    function contributors() {
    global $wpdb;
    
    $authors = $wpdb->get_results("SELECT ID, user_nicename from $wpdb->users WHERE display_name <> 'admin' ORDER BY display_name");
    
    foreach ($authors as $author ) {
    
    echo "<li>";
    echo "<a href=\"".get_bloginfo('url')."/author/";
    the_author_meta('user_nicename', $author->ID);
    echo "/\">";
    echo get_avatar($author->ID);
    echo "</a>";
    echo '<div>';
    echo "<a href=\"".get_bloginfo('url')."/author/";
    the_author_meta('user_nicename', $author->ID);
    echo "/\">";
    the_author_meta('display_name', $author->ID);
    echo "</a>";
    echo "<br />";
    echo "Website: <a href=\"";
    the_author_meta('user_url', $author->ID);
    echo "/\" target='_blank'>";
    the_author_meta('user_url', $author->ID);
    echo "</a>";
    echo "<br />";
    echo "Twitter: <a href=\"https://twitter.com/";
    the_author_meta('twitter', $author->ID);
    echo "\" target='_blank'>";
    the_author_meta('twitter', $author->ID);
    echo "</a>";
    echo "<br />";
    echo "<a href=\"".get_bloginfo('url')."/author/";
    the_author_meta('user_nicename', $author->ID);
    echo "/\">Visit&nbsp;";
    the_author_meta('display_name', $author->ID);
    echo "'s Profile Page";
    echo "</a>";
    echo "</div>";
    echo "</li>";
    }
    }
    
    /*DISABLING THE TOP ADMIN BAR FOR USERS*/
    add_filter( 'show_admin_bar', '__return_false' );
    
    /*ADDING CATEGORY TO THE CAMPAIGNS & CAUSES ALONG WITH POSTS*/
    
    /*add_filter( 'pre_get_posts', 'my_get_posts' );
    
    function my_get_posts( $query ) {
        if ( is_home() && false == $query->query_vars['suppress_filters'] )
            $query->set( 'post_type', array( 'post', 'page', 'pfund_campaign', 'pfund_cause' ) );
    
        return $query;
    }
     >>>> OTHER METHOD */
    
    /*add_filter( 'pre_get_posts', 'my_get_posts' );
    
    function my_get_posts( $query ) {
    
    	if ( is_home() && $query->is_main_query() )
    		$query->set( 'post_type', array( 'post', 'page', 'campaigns' ) );
    
    	return $query;
    }
    
    /*ADD CATEGORIES TO CUSTOM POSTS*/
    /*add_action('init', 'campaigns_add_default_boxes');
    
    function campaigns_add_default_boxes() {
        register_taxonomy_for_object_type('category', 'campaigns');
        register_taxonomy_for_object_type('post_tag', 'campaigns');
    }*/
    
    /*BELOW METHOD WORKED*/
    function add_custom_types_to_tax( $query ) {
    if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
    
    // Get all your post types
    $post_types = array( 'post', 'pfund_campaign' );
    
    $query->set( 'post_type', $post_types );
    return $query;
    }
    }
    add_filter( 'pre_get_posts', 'add_custom_types_to_tax' );
    
    /*ADDING THE LOG IN AND LOG OUT BUTTON ON MENU*/
    add_filter( 'wp_nav_menu_items', 'add_loginout_link', 10, 2 );
    function add_loginout_link( $items, $args ) {
        if (is_user_logged_in() && $args->theme_location == 'primary-menu') {
            $items .= '<li><a href="'. wp_logout_url() .'">Log Out</a></li>';
        }
        elseif (!is_user_logged_in() && $args->theme_location == 'primary-menu') {
            $items .= '<li><a href="'. site_url('wp-login.php') .'">Log In</a></li>';
        }
        return $items;
    }
    
    ?>

    or is there any other way I could force it to redirect??

    Thread Starter gojonami

    (@gojonami)

    Is there anyone else who has witnessed the same issue?
    Very few ppl use Personal Fundraiser Plugin, so the likelihood for the issue resolved is unlikely.

    Thread Starter gojonami

    (@gojonami)

    hey I figured out renaming the image from your response and the other post

    https://www.ads-software.com/support/topic/plugin-cimy-user-extra-fields-advanced-options?replies=6

    thanks for all your help.

    still have the redirect issue, trying to find out what messes it.. ??

    Thread Starter gojonami

    (@gojonami)

    2nd issue: no I meant to give it the file name as username

    so i would want the images to be uploaded
    for eg:

    in the cimy uploads folder
    under the gojonami folder
    with gojonami.jpg for

    Thread Starter gojonami

    (@gojonami)

    honestly, I am extremely sorry. :'( Please try to understand, I am lost at this moment, I came across your plugin really late. its just bad luck on my part…

    as for 1. I am using “Personal Fundraiser Plugin” that does have a register form if user isnt logged in. and Login directs to wp-login and on signing in it directs back to the page we were at (its the Write A Story Page)

    https://gojournalism.ca/

    Thread Starter gojonami

    (@gojonami)

    Noooo you are seriously misreading the tone of my messages to you. If I really could express my need to be helped urgently and excused for lack of spending extra time in finding out how to do it, I would. In no way do I demand your help. Please forgive me if it sounded like that. I have utmost respect for d effort ou have put in to the plugin. Please do not cut of support for me on a misunderstanding.

    Thread Starter gojonami

    (@gojonami)

    Thank you so so so much for the help!!

    I finally found the part I was looking for in your documentation abt the different cases !!
    But I hope you can help wit the other issues too at the other topics

    Thread Starter gojonami

    (@gojonami)

    Also is there a way for me to make sure the image that a user uploads is given has a specific name

    username.extension I mean

    pleaseeeeeeeeee help me

    Marco I know I am really pissing you off now. But I really need your help at the soonest possible time!!

    I am working for free as this is a client project at my college. I have loads of other assignments too and im really running out of time..

Viewing 15 replies - 1 through 15 (of 33 total)