weiz
Forum Replies Created
-
I added some codes to pods as below:
$params = array(
‘orderby’ => ‘t.re_number DESC’,
‘limit’ => 20,
);But there is a relationship field related with author in “wp-users” and it always says that “re_number” can’t be found in “wp-users”.
Hi,Josh,
I just want to change the default ordering in the admin. That may be a simple thing, but I am not a programmer and do not know what to do.
ThanksHi, Jim,
Sorry to answer you late.
Please check the two screenshots
What I want to achieve is such order from up to down in Screenshot2
WNIN01400034, WNIN01400033, WNIN01400032, WNIN01400031, WNIN01400030, but now it is just the opposite.
Can you help me on that?
Screenshot1 http://pan.baidu.com/s/1pJHUME3
Screenshot2 http://pan.baidu.com/s/1kT9V1iBJosh,
I only mean changing order of record at the back end instead of front, because I designed it as a CMS system without front
Hi, Josh, I would try your way. But could you tell me where I should put your codes?
As details as possible, for I know little about codes.
Appreciate your helpCould you check http://public.justcloud.com/dy1dir0pj1.79684675 which is my CSV file and this is one of the posts which I mass upload by WP Ultimate CSV Importer Plugin
http://ulcat.com/4-nitrophenyl-alpha-d-mannopyranoside-cas-10357-27-4-7/Hi,my question does not refer to new post but updates.
I want my updates can be resent to all networks again automatically.
Is it possible?$params = array(
‘orderby’ => ‘t.book_number DESC’,
‘limit’ => -1,
);
This works after trying, but how to add the other to avoid the conflict?Hello, Josh,
I tried capabilities mentioned by Scott but it still does not work.
First, I use Pods Advanced Content Types which I want to make it clear.
When I add pods_view_{pod} or pods_view_{pod}_others without pods_edit_others or pods_delete_others, nothing happens. The pod can still only be viewed by the author and other authors can’t find it in the overview.Then, when I add pods_edit_others or pods_delete_others, the pod can be found by other authors and certainly can be edited or deleted by others, too which is what I want to avoid. So I don’t think view is a useful capability? I also try read, it does not work either.
Hello, Josh and Scott,
I tried capabilities mentioned by Scott but it still does not work.
First, I use Pods Advanced Content Types which I want to make it clear.
When I add pods_view_{pod} or pods_view_{pod}_others without pods_edit_others or pods_delete_others, nothing happens. The pod can still only be viewed by the author and other authors can’t find it in the overview.Then, when I add pods_edit_others or pods_delete_others, the pod can be found by other authors and certainly can be edited or deleted by others, too which is what I want to avoid. So I don’t think view is a useful capability? I also try read, it does not work either.
It does not work and still can’t view others’ pods even in the overview screen
Please allow me to make it more clear.
I would like the author to view other users’ posts in the overview screen ,but they won’t be able to view the details anyway. I’m not sure whether I can achieve it by Members?I also found some codes which may work as below. But where should I add the code(I’m not a programmer)?
add_action( ‘load-edit.php’, ‘wpse14230_load_edit’ );
function wpse14230_load_edit()
{
add_action( ‘request’, ‘wpse14230_request’ );
}function wpse14230_request( $query_vars )
{
if ( ! current_user_can( $GLOBALS[‘post_type_object’]->cap->edit_others_posts ) ) {
$query_vars[‘author’] = get_current_user_id();
}
return $query_vars;
}Hello, Scott, thank you for your answer.
By this way, the author can’t edit or delete others’ pods which is what I want.
But I hope that the author can read others’ pods from the pod list but can’t edit or delete them. But by your way, the author can’t even read others’ pods. So what else can I do?But where should I add or modify “.posted-on{display:none}”?
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Pod not foundScott,thanks for your help.
I did a complete test on the website including restore the website to an earlier time and find the problem.It is because I used a CDN service. But I’m not sure whether it happen.
Do you have any idea?