acousins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: default ‘new user’ settings adviceWhat I did was download the role manager plugin and copied” the default “editor” role for wordpress. I then modified the permissions using the role manager plugin to restrict editing/publishing rights to just their own post/comments. I also limited some things in the back end.
Forum: Themes and Templates
In reply to: Limit Posts to 140 Charactersits unfortunate there’s not a “notification” option for responses on threads.. =)
@jmunn I personally haven’t a way to limit “inline edits”. Logically, I would think that applying the same JavaScript to the inline edit form field would work. Of course you’ll need to change the id names.
<textarea name="posttext" id="posttext" rows="4" style="padding:3px; width:438px;" onKeyDown="limitText(this.form.posttext,this.form.countdown,256);" onKeyUp="limitText(this.form.posttext,this.form.countdown,256);" /></textarea>
Forum: Fixing WordPress
In reply to: Category control in P2P2 attempts to post to your default category (uncategorized) unless you’ve changed it. So simply renaming that to your desired category name should fix the issue I imagine. Personly, I’ve implemented a solution I found here in the forums that allows users to select what category they want to post to.
Forum: Themes and Templates
In reply to: Limit Posts to 140 Charactersdlopeman..we prob are as I googled this solution myself (no sense reinventing the wheel)
Forum: Plugins
In reply to: [p2 theme] making posts outside of frontpageIs it necessary to have the new post load in the ajax way that it does on the front page? If not, then you can still have authors post from the author page by just including the post form. Unless I’m missing something.
<?php if( current_user_can( 'publish_posts' ) || (get_option( 'p2_allow_users_publish' ) && $user_ID ) ) require_once dirname( __FILE__ ) . '/post-form.php'; ?>
Forum: Themes and Templates
In reply to: Limit Posts to 140 CharactersI use this simple bit of javascript to handle the character count
function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } }
I add this bet to the text area (change the 250 to desired number
name="limitedtextarea" onKeyDown= "limitText(this.form.limitedtextarea,this.form.countdown,250);" onKeyUp="limitText(this.form.limitedtextarea,this.form.countdown,250);"
Then add this part for the character count number
<input readonly type="text" name="countdown" size="3" value="250" id="numbCount">