Forum Replies Created

Viewing 15 replies - 16 through 30 (of 31 total)
  • Thread Starter jeegrobot

    (@jeegrobot)

    Actually I would like to place a button in the landing page, inviting users to take the following test. But without the use of ‘ or ” I cannot place the link.

    My website uses S2Member and the users need to be logged in to take the tests. I would like them to be able to see the results of their previous tests in their dashboard.

    Hello Frank,

    first of all let me thank you for this amazing plugin. I have a smlar question. I would love to make available to my users a dashboard with only their own results. Is it possible in any way?

    Thanks for any help.

    Regards
    Antonio

    I don’t know. I’m not the plugin’s author, I’m just another user 😉

    Yes it’s possible. In the post-tiles.php file, change the code in the line 506

    // the loop
    if (have_posts()) : while (have_posts()) : the_post();

    into this

    // the loop
    query_posts( 'orderby=rand' );
    if (have_posts()) : while (have_posts()) : the_post();

    Hi Duncan,

    sorry for having done a little mess. Yesterday I was a little tired and I copied the code in a wrong way. I noticed it only now by reviewing your post.

    In line 539 (more or less) change this

    $category = get_the_category();
    	      $category_name = $category[0]->cat_name;
    	      $category_slug = $category[0]->slug;
    
    	      // Recovering Saved Color Values
    	      // Define the Settings for recording
    	      $cat_var = "cat_".$category_slug;

    to this

    $category = get_the_category();
                  $category_name = $category[0]->name;
    	      $category_slug = $category[0]->slug;
    	      $category_name1 = $category[1]->name;
    	      $category_slug1 = $category[1]->slug;
    	      $category_name2 = $category[2]->name;
    	      $category_slug2 = $category[2]->slug;
    
    	      // Recovering Saved Color Values
    	      // Define the Settings for recording
    	      $cat_var = "cat_".$category_slug;
    	      $cat_var1 = "cat_".$category_slug1;
    	      $cat_var2 = "cat_".$category_slug2;

    In my previous post the first line was missing.

    Then, on line 575

    $featured_style = "style='background-image: url(".$url."); background-size: contain;' class='featured-image ".$animation_style." ".$cat_var."'";

    into this

    $featured_style = "style='background-image: url(".$url."); background-size: contain;' class='featured-image ".$animation_style." ".$cat_var." ".$cat_var1." ".$cat_var2." '";

    Sorry for the mistakes. This should work.

    Ops sorry, I made a mistake. Leave the whole part after } else { like it is originally and it works.

    You can see it working here http://www.mambotango.eu/demo/mesh/meshers-list where people have three different custom taxonomies: Industry (IT, etc.) Company (AdProfit, Mesh, etc.) and the last one that is empty for the moment.

    I’ve found the solution. In the file post-tiles.php you have to change this code (more or less line 539)

    $category = get_the_category();
    	      $category_name = $category[0]->cat_name;
    	      $category_slug = $category[0]->slug;
    
    	      // Recovering Saved Color Values
    	      // Define the Settings for recording
    	      $cat_var = "cat_".$category_slug;

    into this

    $category_name = $category[0]->name;
    	      $category_slug = $category[0]->slug;
    	      $category_name1 = $category[1]->name;
    	      $category_slug1 = $category[1]->slug;
    	      $category_name2 = $category[2]->name;
    	      $category_slug2 = $category[2]->slug;
    
    	      // Recovering Saved Color Values
    	      // Define the Settings for recording
    	      $cat_var = "cat_".$category_slug;
    	      $cat_var1 = "cat_".$category_slug1;
    	      $cat_var2 = "cat_".$category_slug2;

    Then you have to change this (more or less line 575)

    $featured_style = "style='background-image: url(".$url."); background-size: contain;' class='featured-image ".$animation_style." ".$cat_var."'";
    		      } else {
    				  $featured_style = "class='".$cat_var."'";
    			  }

    into this

    $featured_style = "style='background-image: url(".$url."); background-size: contain;' class='featured-image ".$animation_style." ".$cat_var." ".$cat_var1." ".$cat_var2." '";
    		      } else {
    				  $featured_style = "class='"".$cat_var." ".$cat_var1." ".$cat_var2."'";
    			  }

    The line numbers could be different because I’ve made a lot of changes. In this way you could add up to three categories.

    Hi Ethan, I’ve created a version that works with custom post types and custom taxonomies. I could paste the code I’ve changed or send the modified file. The code meets my personal requirements and it could be easily modified with different post types and custom taxonomies or it could be completed with the relevant backend settings.

    Please let me know which is the best way to make it available for the community and thank you for this great plugin.

    Thread Starter jeegrobot

    (@jeegrobot)

    it has not been fixed. the author said that it’s a wpml problem, while wpml says it’s a cf7 problem. i’ve solved my problems by using gravity forms.

    The problem is not in the plugin but in the theme. I made some tests, the problem happens with the theme twentythirteen but not with twentytwelve or twentyfourtheen.

    Same here. The plugin is fantastic, but I don’t understand how to fix this problem.

    Hi Taylor, same request here. I love this plugin that have used on my own website and on many of my clients’ websites but for one of them I would need to pass names and emails to a Mailchimp list. Please let us know if it’s in your plans. Thanks for this awesome plugin.

    Thread Starter jeegrobot

    (@jeegrobot)

    Thanks for replying. Yes I know that CF7 can create forms in many languages, but I need the WPML to translate all the posts and pages of a website written in four languages. The problem is that if the WPML plugin is activated the CF7 doesn’t work properly.

    It’s a fantastic plugin but in this situation I’m not able to go on with it.

    Nobody has my same problem with Chrome?

Viewing 15 replies - 16 through 30 (of 31 total)