Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Christine
Can you confirm that WordPress is able to send email? You can use a plugin named Check Email to confirm.
Also, just checking, when you’re testing, you are not logged in right? If you’re logged in, you will not receive an email because Form knows you’re logged in so Form knows that that you added the entry so there would be no need for an email to be sent.
Steven Zahm
Keymaster@ dominic
The virtual page for form is like the
/edit/link except it’s/submit/If you have this link disabled under the List Actions then normal users can not get to it … now, if a users happened to know about the existence of the/submit/link they could manually type that in and be able to submit multiple entries. Really though, that’s not going to be an issue because that is simply something a typical user is going to figure out.Now, because you’re using the legacy
[connections_form]shortcode … as long as the link to that page is visible to users, they’ll be able to submit entries.As for the edit link code something like this may work (untested):
public function widget() { if ( get_query_var('cn-entry-slug') ) { // Grab an instance of the Connections object. $instance = Connections_Directory(); // Check to see if the entry has been linked to a user ID. $entryID = get_user_meta( get_current_user_id(), 'connections_entry_id', TRUE ); // var_dump( $entryID ); $results = $instance->retrieve->entries( $atts ); // var_dump( $results ); if ( is_user_logged_in() && ( current_user_can( 'connections_manage' ) || $entryID == $results[0]->id ) && ( current_user_can( 'connections_edit_entry' ) || current_user_can( ‘connections_edit_entry_moderated’ ) ) ) { cnURL::permalink( array( 'type' => 'edit', 'slug' => get_query_var('cn-entry-slug'), 'text' => __( 'Edit Entry', 'connections_form' ), 'return' => FALSE ) ); } } }The above would be the widget override method in your widget class.
Hope that helps you out.
Steven Zahm
Keymaster@ Royale
Changing the string is rather simple to do, check out this FAQ on the str_***** shortcode options that cMap enables. Here’s the link to the page that has all the str_***** shortcode options and much more for cMap.
Now, for the drop downs … yes, that is possible, but how really depends on the exact goals but in either case it would be rather complex and not simple to do if you’re new to PHP. Due to this complexity, it is not really something I can walk you thru either, sorry.
I hope this helps, even if a little.
Steven Zahm
Keymaster@ Fabrice
Can you give me a few category names as examples so I can test?
Steven Zahm
Keymaster@ jaime
If you’re starting with a new install … you can activate Connections on any of the subsites and it’ll work fine. Just do not network activate Connections because that will not work. I hope that make sense!
Steven Zahm
Keymaster@ dominic
No problem!
If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ steve793
Which template?
Steven Zahm
Keymaster@ steve793
Sorry, no, it is absolutely required as it is used to create the folder name for the images (logo and/or photo) uploaded for the entry.
Steven Zahm
Keymaster@
Change it to this instead:
$blocks['languages'] = __( 'Languages', 'connections_languages' );Then use the Say What? plugin with the
connections_languagestext domain.I just made the same change to the plugin, so your change will be update safe.
Hope that helps!
Steven Zahm
Keymaster@ David
Sorry, no, I can’t think of anything … maybe your categories can be hard coded into the template in the order you want them as an array variable and any categories that are not assigned to the entry can be unset from this hard coded list and then the list displayed. The net result would be the entries assigned to the entry in the order you hard coded in the template.
Hope that makes sense!
-
AuthorPosts
