Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • I just noticed it and am curious about it. So, I just installed a fresh wp 3.5.1 and fm 1.6.40. The result is they are working fine. No problem.

    Edit recaptchalib.php at wp-content/plugins/wordpress-form-manager/types/recaptcha/ and change the height=”300″ and width=”500″ that suit your need.

    I am not sure with your question. If you mean what version of fm plugin that can be used for WP 3.5.1, the answer would be the latest version of fm (1.6.40).

    Did you install Custom Submission Behavior? [add on pluggin of FM, downloadble at http://www.campbellhoffman.com/files/fm-custom-submit.zip%5D
    If so, uninstall such a plugin. I experienced this and it was the solution of my case. I am not sure whether this is an incompatibility of the plugin with certain themes.

    Thread Starter mrengezh

    (@mrengezh)

    Sorry for late response. I use this plugin because I just want to show the list of sub-categories and number of posts. Look at the following menu of the plugin, meaning it doesn’t list out posts.

    Parent Category: ……..[choose a parent category]
    – Use Parent Cat as Title?
    – Show Post Count?
    – Hide Empty Sub-Categories?
    – Add Parent Cat Link to Title?

    Thread Starter mrengezh

    (@mrengezh)

    I got it. In archive.php I replace the following code:

    <?php while (have_posts()) : the_post(); ?>

    with this one:

    <?php $posts=query_posts($query_string . '&order=asc');
    while (have_posts()) : the_post(); ?>

    It works well, making sub-category widget plugin more powerful!

    Without tweaking the code, I can upload two files successfully without problems by creating two labels (fields) of files upload. Because the issue you raised, I just tried with 5 files upload, and it works great (all files are downloadable). Try to test with small size files first. If not, maybe you should reinstall a fresh form manager.

    Thread Starter mrengezh

    (@mrengezh)

    It works. Now I can hide or select certain label-value in Recent Post. But I have new problems: First: The label still appears although I don’t fill it with data/value (I already tick “Hide empty fields in summaries”). Second, link to the file doesn’t work.

    Let me summarize. I use this code:

    <ul id="fm-summary-multi">
    
    <li<?php if(fm_summary_the_nickname() != "") echo " id=\"fm-item-".fm_summary_the_nickname()."\"";?>><?php echo fm_summary_get_item_label('title');?>: <strong><?php echo fm_summary_get_item_value('title');?></strong>
    
    <li<?php if(fm_summary_the_nickname() != "") echo " id=\"fm-item-".fm_summary_the_nickname()."\"";?>><?php echo fm_summary_get_item_label('author');?>: <strong><?php echo fm_summary_get_item_value('author');?></strong>
    
    <li<?php if(fm_summary_the_nickname() != "") echo " id=\"fm-item-".fm_summary_the_nickname()."\"";?>><?php echo fm_summary_get_item_label('abstract');?>: <strong><?php echo fm_summary_get_item_value('abstract');?></strong>
    
    <li<?php if(fm_summary_the_nickname() != "") echo " id=\"fm-item-".fm_summary_the_nickname()."\"";?>><?php echo fm_summary_get_item_label('docfile');?>: <strong><?php echo fm_summary_get_item_value('docfile');?></strong>
    
    <li<?php if(fm_summary_the_nickname() != "") echo " id=\"fm-item-".fm_summary_the_nickname()."\"";?>><?php echo fm_summary_get_item_label('pdffile');?>: <strong><?php echo fm_summary_get_item_value('pdffile');?></strong>
    </ul>

    I want to hide label-value of .doc file (e.g. test.doc) in recent post but can still access it in the database. So, I remove the following code:

    <li<?php if(fm_summary_the_nickname() != "") echo " id=\"fm-item-".fm_summary_the_nickname()."\"";?>><?php echo fm_summary_get_item_label('docfile');?>: <strong><?php echo fm_summary_get_item_value('docfile');?></strong>

    The result is: The label-value of test.doc file disappear in recent post but I can still access it in Download data (.csv). This is what I want. Nevertheless, for PDF file, there is no link to the PDF file in the recent post. It appears as follows:

    a:5:{s:8:"filename";s:28:"test (12-12-12-10-12-15).pdf";s:8:"contents";s:0:"";s:10:"upload_dir";b:1;s:10:"upload_url";s:66:"http://mysite.com/wp-content/uploads/2012/12/";s:4:"size";i:17265;}

    So, how to solve those two remaining problems: hiding empty fields and link to the file?

    Thread Starter mrengezh

    (@mrengezh)

    Sorry for late reply. I would like to publish submissions as posts so that they will appear in Recent Posts [in fresh install of wp, we will find it]. But I want to hide certain label-value in such recent posts. Hope you could help. Thanks in advance.

    Thread Starter mrengezh

    (@mrengezh)

    I tried to search this forum and my question in substance is similar to many questions raised by other members whose questions are unanswered, i.e. what is the code of custom template to hide or to select certain labels-items? Using a slug is just for a manual posting by admin/moderstor. For automatic posting by web visitor or members who fill the form this slug trick cannot be applied.

    Since no one can resolve this issue by suggesting a workable code, we should try another alternative. I have an idea for concerned members to hunt any other pluggins on custom recent posts where we can insert slug or shortcode. Kindly please inform me/us if anyone has already find it. Thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)