ink9
Forum Replies Created
-
Forum: Plugins
In reply to: [Short Comment Filter] Specified comment lengthForum: Plugins
In reply to: [Short Comment Filter] Specified comment lengthForum: Plugins
In reply to: [Short Comment Filter] Specified comment lengthI found this code to limit the character length, it works , but I dont know how to add the modal box, that appear automatically when comment is more that 300 characters. I mean the modal box effect your short comment filter have.
add_filter( 'preprocess_comment', 'maximum_comment_length' ); function maximum_comment_length( $commentdata ) { $maximumCommentLength = 300; if ( strlen( trim( $commentdata['comment_content'] ) ) > $maximumCommentLength ) { wp_die( 'Sorry your comment is more than ' . $maximumCommentLength . ' characters long on this Site.' ); } return $commentdata; }
Please I do really need help.
Forum: Plugins
In reply to: [Short Comment Filter] Specified comment lengthThank You for considering this…
I think it makes more sense to be able to limit comment character length.
Forum: Plugins
In reply to: [SB Login] Change LInksThank You once again… it’s working but now, its linking to my home page….
I want it to link to my profile page like this
example:
https://mysite.com/myprofilepage.not my home page
example:
https://mysite.comI really don’t know php, pls bear with me.
-Ink.
Forum: Plugins
In reply to: [SB Login] Change LInksHello Andrea,
Thank You for taking your time out to help me….
All I really want is to make this link
<li><a href="<?php echo site_url('/wp-admin/profile.php'); ?>"><?php _e('Edit Profile','ninety'); ?></a></li>
to link to a front page on my site like this:
https://mysite.com/mypage
That’s all…
Thank You.
-Ink.Forum: Plugins
In reply to: [SB Login] plugin brokenHello,
Thank You for your plugin, it works perfectly with my site…
but i do have a little bit link problem. when users logged in, How can i remove the link that links to “dashboard” and also replace the “edit profile” link to link to regular page instead wp back-end.
Thank You.
-Ink.