Store and display contacts from Contact Form 7 WordpressCan I install/update WordPress plugins without providing FTP access?Wordpress - Hide posts in admin from user who did not write themWordpress ajax contact form doesn't return dataWordpress: integrate CRM (solve360) with Contact Form 7Saving wordpress contact form 7 submissions on the databaseWordPress contact form 7 redirectionContact form 7 ajax goal trackingSubmiting a web form in wordpressWordpress + Vue.js : Contact FormsContcatform7 or Ninja form data store in custom database table - Wordpress

How to indicate a cut out for a product window

Where does the bonus feat in the cleric starting package come from?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

What was the exact wording from Ivanhoe of this advice on how to free yourself from slavery?

Calculating Wattage for Resistor in High Frequency Application?

Lowest total scrabble score

It grows, but water kills it

Loading commands from file

How do I color the graph in datavisualization?

How can "mimic phobia" be cured or prevented?

Fear of getting stuck on one programming language / technology that is not used in my country

Energy measurement from position eigenstate

Why Shazam when there is already Superman?

What was this official D&D 3.5e Lovecraft-flavored rulebook?

Is there a name for this algorithm to calculate the concentration of a mixture of two solutions containing the same solute?

Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed

A social experiment. What is the worst that can happen?

How to bake one texture for one mesh with multiple textures blender 2.8

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Not using 's' for he/she/it

Which one is correct as adjective “protruding” or “protruded”?

Redundant comparison & "if" before assignment

Is it possible to put a rectangle as background in the author section?

What is Cash Advance APR?



Store and display contacts from Contact Form 7 Wordpress


Can I install/update WordPress plugins without providing FTP access?Wordpress - Hide posts in admin from user who did not write themWordpress ajax contact form doesn't return dataWordpress: integrate CRM (solve360) with Contact Form 7Saving wordpress contact form 7 submissions on the databaseWordPress contact form 7 redirectionContact form 7 ajax goal trackingSubmiting a web form in wordpressWordpress + Vue.js : Contact FormsContcatform7 or Ninja form data store in custom database table - Wordpress













0















I'm a user on some WordPress website and they have the following functionality i'd like to replicate on my own site.



1- They have various Author Role users (me included) and each of them can add and edit their own posts, but they can't edit or view other's posts. I solved this modifying the functions.php file of my theme adding this to the end:



 function mypo_parse_query_useronly( $wp_query ) 
if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false )
if ( !current_user_can( 'level_10' ) )
global $current_user;
$wp_query->set( 'author', $current_user->id );




add_filter('parse_query', 'mypo_parse_query_useronly' );


2- Every user has his own contact form (made with Contact Form 7) that they put at the end of their posts. I've already done this too.



3- Every contact submission is stored on the site and, just like the posts, they can be seen by the respective user's contact form.



Like this:



enter image description here



I installed Contact Form CFDB7 for storing the Contact Form 7 submissions but i only can see them as an administrator user and not the authors. What i need is that the Contact Form 7 submissions can be seen by their respective author users.



That's all, how can be done?










share|improve this question
























  • Welcome to Stack Overflow. General queries and questions asking for software are off topic for Stack Overflow. Please see What topics can I ask about? to find out more about what you can ask.

    – FluffyKitten
    Mar 7 at 8:02















0















I'm a user on some WordPress website and they have the following functionality i'd like to replicate on my own site.



1- They have various Author Role users (me included) and each of them can add and edit their own posts, but they can't edit or view other's posts. I solved this modifying the functions.php file of my theme adding this to the end:



 function mypo_parse_query_useronly( $wp_query ) 
if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false )
if ( !current_user_can( 'level_10' ) )
global $current_user;
$wp_query->set( 'author', $current_user->id );




add_filter('parse_query', 'mypo_parse_query_useronly' );


2- Every user has his own contact form (made with Contact Form 7) that they put at the end of their posts. I've already done this too.



3- Every contact submission is stored on the site and, just like the posts, they can be seen by the respective user's contact form.



Like this:



enter image description here



I installed Contact Form CFDB7 for storing the Contact Form 7 submissions but i only can see them as an administrator user and not the authors. What i need is that the Contact Form 7 submissions can be seen by their respective author users.



That's all, how can be done?










share|improve this question
























  • Welcome to Stack Overflow. General queries and questions asking for software are off topic for Stack Overflow. Please see What topics can I ask about? to find out more about what you can ask.

    – FluffyKitten
    Mar 7 at 8:02













0












0








0








I'm a user on some WordPress website and they have the following functionality i'd like to replicate on my own site.



1- They have various Author Role users (me included) and each of them can add and edit their own posts, but they can't edit or view other's posts. I solved this modifying the functions.php file of my theme adding this to the end:



 function mypo_parse_query_useronly( $wp_query ) 
if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false )
if ( !current_user_can( 'level_10' ) )
global $current_user;
$wp_query->set( 'author', $current_user->id );




add_filter('parse_query', 'mypo_parse_query_useronly' );


2- Every user has his own contact form (made with Contact Form 7) that they put at the end of their posts. I've already done this too.



3- Every contact submission is stored on the site and, just like the posts, they can be seen by the respective user's contact form.



Like this:



enter image description here



I installed Contact Form CFDB7 for storing the Contact Form 7 submissions but i only can see them as an administrator user and not the authors. What i need is that the Contact Form 7 submissions can be seen by their respective author users.



That's all, how can be done?










share|improve this question
















I'm a user on some WordPress website and they have the following functionality i'd like to replicate on my own site.



1- They have various Author Role users (me included) and each of them can add and edit their own posts, but they can't edit or view other's posts. I solved this modifying the functions.php file of my theme adding this to the end:



 function mypo_parse_query_useronly( $wp_query ) 
if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false )
if ( !current_user_can( 'level_10' ) )
global $current_user;
$wp_query->set( 'author', $current_user->id );




add_filter('parse_query', 'mypo_parse_query_useronly' );


2- Every user has his own contact form (made with Contact Form 7) that they put at the end of their posts. I've already done this too.



3- Every contact submission is stored on the site and, just like the posts, they can be seen by the respective user's contact form.



Like this:



enter image description here



I installed Contact Form CFDB7 for storing the Contact Form 7 submissions but i only can see them as an administrator user and not the authors. What i need is that the Contact Form 7 submissions can be seen by their respective author users.



That's all, how can be done?







wordpress






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 7:52









Roman Patutin

1,69621519




1,69621519










asked Mar 7 at 7:34









Draws Ren GundamDraws Ren Gundam

11




11












  • Welcome to Stack Overflow. General queries and questions asking for software are off topic for Stack Overflow. Please see What topics can I ask about? to find out more about what you can ask.

    – FluffyKitten
    Mar 7 at 8:02

















  • Welcome to Stack Overflow. General queries and questions asking for software are off topic for Stack Overflow. Please see What topics can I ask about? to find out more about what you can ask.

    – FluffyKitten
    Mar 7 at 8:02
















Welcome to Stack Overflow. General queries and questions asking for software are off topic for Stack Overflow. Please see What topics can I ask about? to find out more about what you can ask.

– FluffyKitten
Mar 7 at 8:02





Welcome to Stack Overflow. General queries and questions asking for software are off topic for Stack Overflow. Please see What topics can I ask about? to find out more about what you can ask.

– FluffyKitten
Mar 7 at 8:02












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55038349%2fstore-and-display-contacts-from-contact-form-7-wordpress%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55038349%2fstore-and-display-contacts-from-contact-form-7-wordpress%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved