Search Results for 'code'
-
Search Results
-
Topic: Minimum Topic & Reply Length
I know this has been asked before and have searched endlessly through the support threads but I cannot get any of the code supplied to work.
Is there any way to have a minimum topic and minimum reply length. I want to stop users posting short comments especially on replies and restrict them to a minimum of 50 characters.
Guys, I’ve searched goodness knows how many threads, read the two standard documentation posts and I cannot for the life of me fathom how to activate a simple bbpress theme. Every thread I read tells of others with the same problem or notes that the documentation is out of date.
Has anyone written a concise and easy to follow step my step instruction post on how to install and activate a theme using the current release of bbpress? Or a video? I just can’t figure how I can spend an entire day googling and searching the site for something which virtually every new user would look for within the first phase of bbpress installation and setup? Have a I missed it?
As far as I’m aware I’ve done everything asked for in these two posts:
http://codex.bbpress.org/theme-compatibility/
http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/
yet having followed them to letter as best I could I can’t quite see how the newly installed “blue static” is to be called into play as functions.php is calling for the default theme?
The two posts above seem to get you about 90% there and then fail to explain the last few steps required to actually make everything work. Or it could be I’m going senile very early in life, in which case please for give me but could someone help me anyway? 🙂
Many thanks in advance for any help you might offer.
Hi folks,
newcomer to bbpress, and I appreciate anyone’s time/effort to help resolve my question. I’m trying to write a php script that will display the most recent 3 topic titles/excerpts from the bbpress forum, onto the homepage of my website.Existing posts I’ve found so far are from several years ago, and so if there’s something that exists already, I would greatly appreciate getting pointed in the right direction.
Thanks again.
After moving my bilingual 200,000 posts forum from Woltlab to bbPress, I realized, that the completely English forum with English forum descriptions etc. is too difficult for some of the German members, so I would like to somehow filter the German topics.
Already before importing, I created a custom field bbp_language and when creating the topic, they can chose a language, so that in the topic overview, you can see either of the flags – see http://deppheads.com/forums/new-posts/
With qTranslate, I can add German Forum descriptions, but maybe there is an easier possibility with just adding such a field to the Forum descriptions, not the whole site. I will have to write a little custom fields plugin for that.
I have no idea yet, how to set the language…if to display one language only or all – if it is in the profile, Cookie, if it is a little extra-URL like /de/ or a drop down?!?
My bigger problem is, how can I make, in the sub forums, that only threads with German or only English threads will be shown? Is there some filter / hook that I can use?
Any file or function or short code?
Like in „normal WordPress“ it would be<?php query_posts('meta_key=bbp_language&meta_value=German‘); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>Hello,
I’m using this function in order to enqueue some custom CSS when a forum related page is loaded.
The problem is for example, the “New Topic” page – Part of bbPress – gives FALSE when I call is_bbpress()
Is there any place where I can check about this function besides going through the core code? I’ve searched over the Documentation and couldn’t find anything.
Thanks,
Juan.