Search Results for 'test'
-
Search Results
-
I don’t want to hijack the thread where JJJ and I were talking about the template locations filling up my theme root, so here is a new post.
I was playing around with an idea, and before I go to far with it, I was curious what you think.
You had mentioned that this type of system was expressly forbidden by wp, due to having to search all folders for files before proceeding. That would be a nightmare, but here I am defining the folders up front, so it ‘should’ be just as fast, though I am unsure of how to bench test it.
If we could get a system in place like this, then it would clean up the theme area considerably.
I am using the same logic on a number of client sites and it works perfectly, though they are not using bbpress or buddypress. I simply use it for my own custom post-types.
example:
public function template_include( $template ) {
if ( get_query_var('post_type') == $this->post_type ) {
if ( is_single() ) {
if ( $single = locate_template( array( $this->post_type.'/single.php') ) )
return $single;
}
if ( is_paged() ) {
if ($paged = locate_template( array( $this->post_type.'/archive.php') ) )
return $paged;
}
else { // loop
return locate_template( array(
$this->post_type . '/index.php',
$this->post_type . '.php',
'index.php'
));
}
}
return $template;
}This would completely change the structure of bbpress template names, but could potentially allow me to store everything inside 3 folders ‘forums/topics/replies’.
I’m sure there would be much more to it than that….
What do you think of this type of approach?
*right now it is quite generic and would effect all custom post_types, which would not be good. Changing to be bbpress specific would prob just be a matter of defining types in the array vs. all
I’m really asking because even though I know I could get this to work, I am quite curious how this would end up effecting buddypress when combined with bbpress.
Would a system like this be a deal breaker?
Good idea or bad?
Is there a way to apply the Human Test plugin to the bbpress plugin?
Thanks.
Topic: Deleted my registered users
I am not tech savvy by any means, we had a programmer develop a WP based site about a year ago, we want to incorporate a bbpress blog into this, so I created a new test site so I didn’t botch it (thank god because I DID botch it).
The test site is http://www.hersheyicecream.com/forum
I installed bbpress (www.hersheyicecream.com/forum/bbpress) and went through the integration process because I want it to pull from my WP user listing, unfortunately right after I did this all hell broke loose.
At this point I am not only showing up on the forum I created as Anonymous Unregistered, it also will not allow me to retrieve my password saying no user exists, and I have NO other users. It also will not allow me to log in to my site http://www.hersheyicecream.com/forum, instead it redirects me (not sure how) to my actual site http://www.hersheyicecream.com/dealers…
I have no way to access my “.com/forum” WP site and no way to log in to my “.com/forum/bbpress” forum.
HELP!
Hi there !
I already installed the latest version of BB and WP and the forum works.
But my questions is, how do include this forum as “page” or “article” in WordPress and the mainmenu ?
Sorry if im just blind, i searched the whole site and can`t find a step by step solution for it.
I tried to include it with WP plugin “include me” wich don`t seem to work.
Can someone tell me please where i can find it or give me a hint ?!
Thank you in advance, BBpress seems to be the forum for wich im searching for a long time. And sorry for english, i now it`s not that good.
i added the wordpress -bb plugin too and enabled it.
Seems everything fine, but still my question is:
how to include the forum into a page or a articel of WP like its here at your site. I don`t check it.
Greetings
I’ve just found an old 1.03 bbpress install with a ton of spam posts and spam tags. I don’t want to start over completely. I suppose going thru phpMyAdmin directly would be fastest, unless the 2.0 beta has new admin options in the backend.
To remove unwanted posts, I can just run a query for all posts created after a certain date in the bb_posts table.
How do I remove tags? I’m not sure what the relationship between bb_terms, bb_term_relationships, and bb_term_taxonomy are.
Are there other tables I need to look at where SPAM might have gotten in?
After I get rid of all the SPAM I’ll be looking to move to 2.0 asap
Just installed the latest version of the bbPress plugin.
Activated the default twentyten child theme.
I can see Settings -> Forums, but I can’t find the admin screen to create and manage forums.
I’m using WordPress 3.2-beta with no other plugins installed.
Halp?
I am wondering what the file name for a single-posttype.php is for the bbpress plugin. I am testing it and would like to have add it’s own template. And is there a template that already exists I could add to them file?
Thanks!