Search Results for 'code'
-
Search Results
-
Hi everyone
I’m one of those novice newbies i’m afraid.
Trying to create a simple forum site.
Have selected great theme – Spun
Using bbPress as forum plugin.
When I redirect the permalink for post selected to contain the forum I get this view: but when I use the shortcode for the forum index it displays just as I’d like Though this isn’t navigable.It looks to me like it’s trying to fit the forum in one column. Could anyone tell me what code I’d need to create what I see using the shortcode on the /forums page so it’s usable? Or is there a way of running the forums using the shortcodes?
Many thanks
I don’t know if this is possible, but I was wondering if there was some way to automatically “close” or “hide” threads/posts after a certain period of time with no activity. I currently have about 8 pages of threads/topics on my site, sorted by freshness, and some of the older ones haven’t had a new comment/post in over a month.
Instead of manually closing or trashing all of the older posts, I would love it if there was a piece of code that would automatically do that.
*I found a way to do this by age of the topic, but not by freshness.
(All up-to-date)
Wordpress 3.5.1
bbPress 2.3.2
BuddyPress 1.7.1Topic: Activity Widget?
hello,
i want to remove a search bar from header can i delete this code from my website ( http://dramasonlinetv.com ).
<div id="top-search"> <?php get_search_form(); ?>Hi.
I am having the blank page issue. I tried adding a shortcode to it, but it stayed blank.
I am using Widezine theme with a BBpress Child theme.
website: westcoastnomads.com
Can someone help, please?
I’m a coding newbie, so please dumb it down. 🙂
Jill
I added a
bbpresssubdirectory to my theme and got a blank screen. I was using a “silence is golden”index.phpfile in the subdir and removing that fixed it. I guess the subdir acts as a subtheme or something (though it has no style.css file).Interesting thing is I could also fix it by dropping in the files from
plugins/bbpress/templates/default/extrasto my main theme directory, following the instructions here: `http://codex.bbpress.org/theme-compatibility/Posting this in case it helps anyone else.
I’m wondering how I can make the 14×14 avatar images that are in the loop of topics on a forum landing page. I know I could just go into
loop-single-topic.phpand change the'size' => 14. But I’m wondering if/how I could use anadd_filter? in my functions.php (so it’s not blown away with an update) to make this change.I have a pretty basic understanding of
add_filterbut I’m not able to figure out how to get this working. Any help is appreciatedI have added a new input line to the form-user-edit.php I plan to add more and have these either via functions.php or a plugin when I have got it working, but for the moment am changing the .php itself.
So for now I have put in new line, copying the syntax of another one :`<label for=”town”><?php _e( 'Town', 'bbpress' ); ?></label>
<input type=”text” name=”town” id=”town” value=”<?php echo esc_attr( bbp_get_displayed_user_field( 'town' ) ); ?>” class=”regular-text” tabindex=”<?php bbp_tab_index(); ?>” />`This works fine, except how do I get this to save the info? It lets me change it, but doesn’t let me save it.
However if I set a row in phpmyadmin, then this code displays it, but again doesn’t not save a change.
What bit of logic am I missing?