slashCreations
Forum Replies Created
-
Forum: Plugins
In reply to: [CollabPress] Several bugs: group view layout, email notification & otherRe,
Sorry for spamming, but i have an other suggestion. I’m sometimes leading some projects which involve a lot of activities .. i don’t want my user to receive a mail each time something is happening to the site. This would be a crazy spamming session in some cases. Turning the plugin useless.
A good idea should be to always send notifications to all, except to users who didn’t get back to their dashboard since the last notification.
Just like the f*cebook system, it could be great to use cookies or meta data to store some datas to know if the user went back to the dashboard since the last notification was sent. And i mean, separated grouped notifications :
– if a user comment a task, send him a mail only if he saw the last comment (= if he clicked the link on the last mail, or if he opened the task single page)
– if a user create a task, send email notifications to all users in project, except if the user didn’t clicked his last mail concerning new task creation … ( once again, i don’t wan’t users to receive 10 mails, be cause i created 10 task. i think that only one mail is required to say : “hey! there are some new tasks on your dashboard”.. )
I mean, users don’t want 10 mails notifications because there are 10 new comments on a task … Just send only one mail notification for those 10 new comments in this task.
– etc, same for others notifications types (comments, files, new task, new projetc .. )I Work as professionnal, i sell some services, and like some a lot of users here, i should probably not wan’t to disturb my customers just because i totally spammed them by added some tasks and comments in their dashboard.
Bye ??
Ah … and sorry my english too ??
Forum: Plugins
In reply to: [CollabPress] shortcode id usageWell …. if you read the given function, you’ll see that the data ID is extracted, but not used in the function.
I can read this:
if ( cp_check_permissions( 'shortcode_user_role' ) ) { cp_admin_menu_page_load(); } else {
But it should be something like this :
if ( cp_check_permissions( 'shortcode_user_role' ) ) { cp_admin_menu_page_load($atts); } else {
It means that they created the shortcode, but they didnt activated yet.
If you look at the cp_admin_menu_page_load function, you’ll see that nothing is written to check the current item ID, and then use it the template view.
I think that this shortcode is in current developpement by the plugin team. You should wait before using it, or rewrite your own custom cp_admin_menu_page_load function ??Forum: Plugins
In reply to: [CollabPress] Can't check TasksNew issue in the 1.3.1.1 version.
Checkboxes are broken again, here is the fix:
in functions.php, line 1381, change this:
<input type="hidden" id="item_complete_status_change_nonce_<?php echo $task->ID; ?>" value="<?php echo wp_create_nonce( 'item-complete-status-change_' . $task->ID ) ?>" />
to this:
<input type="hidden" id="item-complete-status-change-nonce_<?php echo $task->ID; ?>" value="<?php echo wp_create_nonce( 'item-complete-status-change_' . $task->ID ) ?>" />
And it will work again.
Forum: Plugins
In reply to: [CollabPress] Several bugs: group view layout, email notification & otherYou also have to add this in the content-single-task.php:
priority: $('#cp-task-priority').val(), send_email_notification: $('#notify').is(':checked'),
Line 128.
———————-
Deleting the notification checkboxe is a TOTAL MISTAKE. You don’t want your customers to be totally SPAMMED by you automatics notifications.
I changed the notifications, but let me say that the actual ones are pretty useless. They only send a single line text, and don’t at least include the links.
Personnally, i changed this process, i reactivated the email notification checkbox, and i set unchecked by default.I tested the plugin with one of my customer which accepted to try it with me.
First thing that he said to me :”stop spamming”.Plugin authors should seriously consider to rewrite the mail templating, or to totally disable the notifications. For now, they are all except working, they are confusing customers, they are making customers angry to receive a mail each time that someone make a change.
If you need the mail working, try with the changes below.
Bye ??
Forum: Plugins
In reply to: [CollabPress] Several bugs: group view layout, email notification & otherEmail notification
10. Email notification checkbox ignored (email sent even if unchecked when email is enabled in settings, and not sent even if checked when email is disabled in settings)? (all)Huh, thanks for this request, now they have deleted email notifications checkbox from the panel. Here is how to re-add it, and i’ll also give you some help about mailing in wordpress.
If you want to fix it, try this.
If you have the latest collabpress version, copy the content-single-task.php into your-theme-folder/collabpress, edit the file and go the line 70, and after ‘</td>’, re-add this deleted code:<tr valign="top"> <th scope="row"><label for="cp-task-due"><?php _e('Notify via Email? ', 'collabpress') ?></label></th> <?php //check if email option is enabled $options = get_option('cp_options'); $checked = ( $options['email_notifications'] == 'enabled' ) ? 'checked="checked"' : null; ?> <td align="left"><p><input name="notify" id="notify" type="checkbox" <?php echo $checked; ?> /></p></td> </tr>
Now open the file plugins/collabpress/includes/functions.php
Search for the stringif( $send_email_notification
and change it toif( $args['send_email_notification']
You will also need to install the plugin named WP-Mail-SMTP … I guess that your wp_mail function on your server is broken … Try it with using your smtp server account.
Email notifications and checkboxes are working for me.
Forum: Plugins
In reply to: [CollabPress] delete files?For now, users can’t delete the file directly, but admins can delete them in the Medias Tab in the admin panel, or by clicking ‘send a file’ and then browsing to the ‘media library’ tab, and then clicking ‘delete definitively’.
It seems that collabpress use the defaut WordPress attachment system (good system, but attachments can be only attached to one project). It means that collabpress don’t use any others database entry, so, simply deleting it from the admin will completely delete it from collabpress.Eric, correct me if i’m wrong ^^
Cheers!
Forum: Plugins
In reply to: [CollabPress] shortcode id usageI’ve read your post, but i serisously does not understand why you would use an id inside shortcode.
This is a very bad way of thinking the developpement.
This amazing plugin (not mine, i’m just an user like you), let you insert in a page, with a really simple shortcode, all the Collabpress system.
So, why whould you have an id ? If you do this, you will need to create a new page for each new project .. There will be no more automatic process .. If you do this, you break the main functionnalities of this plugin.
Maybe that you have a really good reason, that make you want to use id inside shortcode, but i’m pretty sure that there is a very better solution, in copying templates files to your theme folder, and then edit them. You can recreate or rewrite all the functions beeing called from there .. THIS IS how you have to modifiy the plugin.
Else, you can also create a “sub-plugin”, which will ‘extends’ the collabpress plugin (work only if the plugin is written with classes (don’t remember this is the case here :p)
If you’re not familiar with plugin or shortcode creation, i strongly recommened to change the way.Maybe that you should consider explaining why you want to use IDs in shortcodes, instead of modifying templates files.
Cheers.
Forum: Plugins
In reply to: [CollabPress] Has anyone tried integration with Trello…iFrames …. Argh! Run away!! xD
This is the worst develeppement way :pI didn’t understand what Trello is doing exactly but it think that the best point to use the collabpress is because IT IS a plugin.
So, in fact, this plugin let you stop that shitty free services like Gmail, Online calendars, and others (they are some good services, but Self-Hosted WordPress users should normally don’t wan’t to use external hosted services ..)
iFrames are also no longer supported by a lot of browsers … Displaying your main content in an iframe, which is loading scripts from a slow server will be too long to be displayed for some users, or they will get this:Your browser was unable to load all of Trello’s resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.Well, i repeat that i went to the Trello’s site, and i really did not understand the objective of this service. Can you explain more about what it does ? I’m just curious ^^
Have a nice day
Forum: Plugins
In reply to: [CollabPress] Add Project link front end and back end error on page[…..]min.php, code:0 URI:ht[…..]
code:0 …
Hmmm, this make me remember that on some browsers, ajax calls without a die() at the end on the function will return 0, considered like an error.
https://wordpress.stackexchange.com/questions/45692/admin-ajax-request-return-0-with-dieProbably not the problem there, but an idea for the plugin developper ^^
For now, i will use something like that in each header content file:
<?php global $current_user; get_currentuserinfo(); if(!empty($_GET['user']) && $current_user->ID!=1){ die('oops'); } if(!empty($_GET['project']) && !cp_user_is_in_project( $_GET['project'], $current_user->ID )){ die('oops'); } ?>
And will replace the die() with an error message for users to let them now they don’t have permission to view this project content… Maybe should i test for tasks & files also..
I didn’t checked yet, but is there an easy way to restrict the use of the “user=X” in urls ?
I mean, to not allow users to see anything in projects if there are no assigned to the project?added this is in the adresse bar while logged as subscriber:
?user=1&cp=front&project=124882
Mouhahaha, MEGA FAIL ! Evryone can access everyone’s projects / files, etc … Ok .. thought i add finished but na ^^ … let’s get back to work to add a little restriction functionnality on this …
Is there some others things like that, that i should change, to prevent users to see others user’s projects if there are not assigned in ?
Do you have a log of the next features coming ? or something to see what will be happenning in the future ?
I tried a lot of plugins to create customers workspaces, and yours is really the best, even against premium ones.
Really planning to use it for me and my customers every day, and will try to make it evolve .. so i’m curious to know what is coming ^^
(my code is bad, i’m not developper, i’m a designer. I only show you this to make you understand what i tried to accomplish. As i said, since you allow us to assign users to projects, Unassigned users shouldn’t see any activities!!
You should think about rewriting this idea, and implement a new option in panel, like “show public or private site activity ?”)
Forum: Plugins
In reply to: [CollabPress] Can't check TasksThanks! You seriously rocks!
Built up a client workspace in 2 days with your plugin!
Absolutely loving it!