imjscn
Forum Replies Created
-
It was my misunderstanding on the task page. You just need to create project first. then you go to the single project and create task list. after that, you can create task.
The process is logic, but it’s just not convenient– few people have time and patience to follow this process.
I moved away from collabpress anyway.
Forum: Plugins
In reply to: [File Gallery] [Plugin: File Gallery] Attachment list loads wrongly@aesqe, I got the correct attachments list by modify the input of ID in main-form.php:
<?php echo file_gallery_list_attachments($count_attachments, $_POST['post_id'], $attachment_order, $checked_attachments, $attachment_orderby); ?>
Now the attachments of current post get loaded. I’m not sure if this is a bug or it’s just my theme’s problem.
by the way, the question #2 still not solved. If I set link to parent-post, I can see a shortcode is printed in editor. But, if not set to parent-post, I get nothing. What is supose to happen when click Insert a file or a gallery?
Forum: Everything else WordPress
In reply to: Can I create plugin name differently from plugin_basename?That’s scary, I’d better change the name ??
Amazing! I just saw official 3.0 release. Huge thanks!
Thanks, Cindy!
I’ll spend time studying the code this weekend. Hope I find a way to hack. I really need all 3 at once.@cindy , thanks for response!
Is it possible to hack the code to make all 3 type possible for 3 type of users without break the plugin into pieces? If yes, I’m going to hack it.By the way, I just installed Beta3, there’s no widgets. Maybe what you meant by “widgets” is to use [todoadmin] for front editing?
Forum: Fixing WordPress
In reply to: Can I insert term with alias_of for non-hierachical taxonomy?I saw otto replied to a topic about term_group long time ago. Acording to that topic, term_group has no particular usage. But WP has been updated to 3.x now, any news on this?
Forum: Everything else WordPress
In reply to: How to save an array with one metakey in postmeta?@tcbarrett , the “true” works! Thanks!
Previously it didn’t work because I added “true” on save, but I didn’t add “true” to the section where it populate the data for old posts.Forum: Everything else WordPress
In reply to: How to save an array with one metakey in postmeta?@tcbarrett , thanks for reply!
you are right, I can’t get the data.
if $single = false, var_dump shows “array(0)”
if $single = true, var_dump shows “string(0)”I want to retrive the whole array, how?
Forum: Everything else WordPress
In reply to: How to save an array with one metakey in postmeta?Nevermind, it’s solved.
update_post_meta( $this->id, ‘pod’, $poddata );
This works. I didn’t see it in Custom Field Table. Now I just found it in phpAdmin.Forum: Plugins
In reply to: How to upload?Thanks for the tip!
Forum: Plugins
In reply to: How to upload?Thanks, Frederick!
Now I understand how this works ??While you are here, I have a question not within the plugin’s scope, if you have a little time, would you help me checking if this object is cached or not?–
The object is created in a Class, data saved in post meta.
Then, use get_post_custom in the class to get the data.
In template tag, $obj = new my_class;
In other places, $stuffs = $obj->stuffsI heard that data saved in WP post meta are automatically cached. Do you think I can just leave it to WP to handle the cache, or do I need to create a cache function?
Thanks!
Forum: Everything else WordPress
In reply to: Pick elements in get_post_type_objectIt’s my home made plugin ??
It uses lightbox to make a play vedio. I don’t know js at all, just followed some examples to make it working. So, I need to make sure the url is clean.Forum: Everything else WordPress
In reply to: Pick elements in get_post_type_objectSorry for blaiming BP. I just checked my plugin code, it’s the plugin’s problem. see the structure:
$url = apply_filters( 'the_url', $bp->root_domain . '/' . $bp->current_component . '/' . $item->name );
$item is the object that users posted.
This special URL is not in the BP URL structure. It opens a lightbox to play vedio.
In cases when the lightbox javascript failed, the url opens a “Page Not Found”, that means when js failed, this will become a real URL.
Forum: Developing with WordPress
In reply to: How to run a left join query on postmeta table?