Search Results for '+.+default+.+'
-
AuthorSearch Results
-
March 29, 2010 at 9:10 am #85751
In reply to: BuddyPress Default Theme for bbPress?
Arturo
Participantafter the easter vacation i release the theme! now is working great and all the function are ok

~12-15 april.
sorry for the delay, a new post coming with the link to download the theme.
March 28, 2010 at 3:23 am #85749In reply to: BuddyPress Default Theme for bbPress?
gerikg
Memberand I don’t know what it means… I don’t code.
March 28, 2010 at 3:10 am #85748In reply to: BuddyPress Default Theme for bbPress?
gerikg
MemberI’m working on it but I can’t get the admin bar to show in bbpress.
I keep getting:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_add_js' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339March 26, 2010 at 3:53 pm #76029In reply to: Linking back to main website.
chrishajer
ParticipantIt is in the template folder. If you’re using the default theme, it’s located at bb-templates/kakumei/header.php. If you’re using a custom template, it should be located at my-templates/yourtemplatename/header.php
It’s a template file, not a core bbPress file.
March 26, 2010 at 3:25 pm #85747In reply to: BuddyPress Default Theme for bbPress?
wemaflo
Member@Arturo and etiviti:
Are there any news concerning the forum theme? I see it’s working fine on BuddyPress Italy…
March 26, 2010 at 12:46 am #33726Topic: Display name restriction
in forum Troubleshootingzaerl
ParticipantHi there, I wonder if there is a way to prevent users from choosing display names that are login names of existing users. I mean, for example, that I would like to forbid users to choose “admin” as display name in order to avoid confusion and/or potential annoying situations.
I can’t find the desired option on the admin screen as well as I can’t find a useful filter on defaults.bb-filters.php.
Thanks in advance.
March 24, 2010 at 2:03 am #33824Topic: https problem?
in forum Troubleshootingrdalton
MemberI have a fresh install of wordpress on a secured site. The default is https so cant use http when accessing. I’ve installed bb press on a subdirectory of the main site, hoping to integrate so members of the wordpress site could access the forum and vice versa, but after installing the bb press, I can’t log into admin to do anything in bb press. It doesnt give an error message, it just recycles to the login page. The server tech support guys havent a clue. I’ve seen that bb press works on https but what the heck? any clues? I would pay someone to get this up and integrated as needed.
March 23, 2010 at 7:38 pm #77528In reply to: All RSS Feeds Broken?
Dailytalker
MemberI solved the problem!
I removed all “
»” in the rss.phpReplace the code of your rss.php with the following code and it should work:
<?php<br />
require('./bb-load.php');</p>
<p>// Determine the type of feed and the id of the object<br />
if ( isset($_GET['view']) || bb_get_path() == 'view' ) {</p>
<p> // View<br />
$feed = 'view';<br />
$feed_id = isset($_GET['view']) ? $_GET['view'] : bb_get_path(2);</p>
<p>} elseif ( isset($_GET['topic']) || bb_get_path() == 'topic' ) {</p>
<p> // Topic<br />
$feed = 'topic';<br />
$topic = get_topic(isset($_GET['topic']) ? $_GET['topic'] : bb_get_path(2));<br />
$feed_id = $topic->topic_id;</p>
<p>} elseif ( isset($_GET['profile']) || bb_get_path() == 'profile' ) {</p>
<p> // Profile<br />
$feed = 'profile';<br />
$feed_id = isset($_GET['profile']) ? $_GET['profile'] : bb_get_path(2);</p>
<p>} elseif ( isset($_GET['tag']) || bb_get_path() == 'tags' ) {</p>
<p> if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {<br />
// Tag recent topics<br />
$feed = 'tag-topics';<br />
} else {<br />
// Tag recent posts<br />
$feed = 'tag-posts';<br />
}<br />
$feed_id = isset($_GET['tag']) ? $_GET['tag'] : bb_get_path(2);</p>
<p>} elseif ( isset($_GET['forum']) || bb_get_path() == 'forum' ) {</p>
<p> if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {<br />
// Forum recent topics<br />
$feed = 'forum-topics';<br />
} else {<br />
// Forum recent posts<br />
$feed = 'forum-posts';<br />
}<br />
$forum = bb_get_forum(isset($_GET['forum']) ? $_GET['forum'] : bb_get_path(2));<br />
$feed_id = $forum->forum_id;</p>
<p>} elseif ( isset($_GET['topics']) || bb_get_path() == 'topics' ) {</p>
<p> // Recent topics<br />
$feed = 'all-topics';</p>
<p>} else {</p>
<p> // Recent posts<br />
$feed = 'all-posts';</p>
<p>}</p>
<p>// Initialise the override variable<br />
$bb_db_override = false;<br />
do_action( 'bb_rss.php_pre_db' );</p>
<p>if ( !$bb_db_override ) {</p>
<p> // Get the posts and the title for the given feed<br />
switch ($feed) {<br />
case 'view':<br />
if ( !isset($bb_views[$feed_id]) )<br />
die();<br />
if ( !$bb_views[$feed_id]['feed'] )<br />
die();<br />
if ( !$topics_object = new BB_Query( 'topic', $bb_views[$feed_id]['query'], "bb_view_$feed_id" ) )<br />
die();</p>
<p> $topics = $topics_object->results;<br />
if ( !$topics || !is_array($topics) )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s View: %2$s' ), bb_get_option( 'name' ), $bb_views[$feed_id]['title'] ) );<br />
$link = get_view_link($feed_id);<br />
$link_self = bb_get_view_rss_link($feed_id);<br />
break;</p>
<p> case 'topic':<br />
if ( !$topic = get_topic ( $feed_id ) )<br />
die();<br />
if ( !$posts = get_thread( $feed_id, 0, 1 ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Topic: %2$s' ), bb_get_option( 'name' ), get_topic_title() ) );<br />
$link = get_topic_link($feed_id);<br />
$link_self = get_topic_rss_link($feed_id);<br />
break;</p>
<p> case 'profile':<br />
if ( bb_get_option( 'mod_rewrite' ) === 'slugs' ) {<br />
$user = bb_get_user_by_nicename( $feed_id );<br />
} else {<br />
$user = bb_get_user( $feed_id );<br />
}<br />
if ( !$user ) {<br />
die();<br />
}<br />
if ( !$posts = get_user_favorites( $user->ID ) ) {<br />
die();<br />
}<br />
$title = esc_html( sprintf( __( '%1$s User Favorites: %2$s' ), bb_get_option( 'name' ), $user->user_login ) );<br />
$link = bb_get_profile_link($feed_id);<br />
$link_self = get_favorites_rss_link($feed_id);<br />
break;</p>
<p> case 'tag-topics':<br />
if ( !$tag = bb_get_tag( $feed_id ) )<br />
die();<br />
if ( !$topics = get_tagged_topics( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s Tag: %2$s - Recent Topics' ), bb_get_option( 'name' ), bb_get_tag_name() ) );<br />
$link = bb_get_tag_link($feed_id);<br />
$link_self = bb_get_tag_topics_rss_link($feed_id);<br />
break;</p>
<p> case 'tag-posts':<br />
if ( !$tag = bb_get_tag( $feed_id ) )<br />
die();<br />
if ( !$posts = get_tagged_topic_posts( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Tag: %2$s - Recent Posts' ), bb_get_option( 'name' ), bb_get_tag_name() ) );<br />
$link = bb_get_tag_link($feed_id);<br />
$link_self = bb_get_tag_posts_rss_link($feed_id);<br />
break;</p>
<p> case 'forum-topics':<br />
if ( !$topics = get_latest_topics( $feed_id ) )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s Forum: %2$s - Recent Topics' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) ) );<br />
$link = get_forum_link($feed_id);<br />
$link_self = bb_get_forum_topics_rss_link($feed_id);<br />
break;</p>
<p> case 'forum-posts':<br />
if ( !$posts = bb_get_latest_forum_posts( $feed_id ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Forum: %2$s - Recent Posts' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) ) );<br />
$link = get_forum_link($feed_id);<br />
$link_self = bb_get_forum_posts_rss_link($feed_id);<br />
break;</p>
<p> // Get just the first post from the latest topics<br />
case 'all-topics':<br />
if ( !$topics = get_latest_topics() )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s Recent Topics' ), bb_get_option( 'name' ) ) );<br />
$link = bb_get_uri();<br />
$link_self = bb_get_topics_rss_link();<br />
break;</p>
<p> // Get latest posts by default<br />
case 'all-posts':<br />
default:<br />
if ( !$posts = bb_get_latest_posts( 35 ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Recent Posts' ), bb_get_option( 'name' ) ) );<br />
$link = bb_get_uri();<br />
$link_self = bb_get_posts_rss_link();<br />
break;<br />
}<br />
}</p>
<p>bb_send_304( $posts[0]->post_time );</p>
<p>if (!$description = esc_html( bb_get_option('description') )) {<br />
$description = $title;<br />
}<br />
$title = apply_filters( 'bb_title_rss', $title, $feed );<br />
$description = apply_filters( 'bb_description_rss', $description, $feed );<br />
$posts = apply_filters( 'bb_posts_rss', $posts, $feed );<br />
$link_self = apply_filters( 'bb_link_self_rss', $link_self, $feed );</p>
<p>bb_load_template( 'rss2.php', array('bb_db_override', 'title', 'description', 'link', 'link_self'), $feed );</p>
<p>?>March 23, 2010 at 10:54 am #33813Macmenddotcom
ParticipantSo a while ago now I moved my SMF site to bbpress and very successful it has been however I have only recently properly integrated my WP blog and bbpress. This now leaves me 15 WP members and the 3 or 400 forum members are gone. How do I import these BB press members and their meta data into WP. There is some talk o fthis on the forums but it is incoherent (for me). Is there a simple way to import them. Or to make the bbpress user table the default on instead of the WP user table.
March 19, 2010 at 4:25 pm #85866In reply to: Problem upgrading from 0.904 to 1.0
inerxia
MemberThanks, here is the php:
And one final question , there is a way to reinstall using the same database and directory ?
<?php
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for bbPress */
define( 'BBDB_NAME', 'organica_foro' );
/** MySQL database username */
define( 'BBDB_USER', 'organica_ineFORO' );
/** MySQL database password */
define( 'BBDB_PASSWORD', '********' );
/** MySQL hostname */
define( 'BBDB_HOST', '' );
/** Database Charset to use in creating database tables. */
define( 'BBDB_CHARSET', '' );
/** The Database Collate type. Don't change this if in doubt. */
define( 'BBDB_COLLATE', '' );
/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
*
* @since 1.0
*/
// edited keys chrishajer 19 March 2010
define('BB_AUTH_KEY', 'gUpvcuMfP+tDsXUus|(|9|/G4Owo@=;C697V[[ZPd+|W)BVK-[U,fi/H2r+VOj');
define('BB_SECURE_AUTH_KEY', 'sf8;HNH}7%N#_|=$d4(_(yV8Wt&R($kL+)JS@}Kno-Q2jfkOm|BUL-i**&f_Wg');
define('BB_LOGGED_IN_KEY', 'm}Xc?tvc 3;o)JUVdxDm%F[V96V<+zyka239SbV<^2)o[/tV>Q4&kW$B4ik(NA');
define('BB_NONCE_KEY', ';k,c^0G4nz9eZS#-cF7((.smjv.GtAz+.WZd<G544PzG.Mz*Cztr]|Gaw:-(!=');
/**#@-*/
/**
* bbPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$bb_table_prefix = 'bb_';
/**
* bbPress Localized Language, defaults to English.
*
* Change this to localize bbPress. A corresponding MO file for the chosen
* language must be installed to a directory called "my-languages" in the root
* directory of bbPress. For example, install de.mo to "my-languages" and set
* BB_LANG to 'de' to enable German language support.
*/
define( 'BB_LANG', 'es_ES' );
?>March 18, 2010 at 12:04 pm #33781kmxz
MemberHi,everyone,
The default tags page is like
example.com/tags.php?tag={tag_name}
but I want to make the url like
example.com/tags.php?id={tag_id},
is there any way to make it? could it be done by a plugin?
I have to do so because using the tag’s name in url may lead to being blocked by Chinese government’s Internet censorship.
thanks.
March 17, 2010 at 5:40 am #85746In reply to: BuddyPress Default Theme for bbPress?
wemaflo
Member@etiviti It’s awesome
I like it!
March 16, 2010 at 7:28 am #85834In reply to: username function
deadlyhifi
ParticipantHave a look at bb-includes/functions.bb-template.php you’ll see the functions
function get_post_author( $post_id = 0 )andfunction post_author_link( $post_id = 0 ).You’ll need to recreate those in a plugin or in your functions file to use
$user->user_logininstead of$user->display_name.Have a look at profile.php in your theme to see how it is generated there. But remember that on post.php you’ll have to pass in the ID of the post to get the username otherwise you’ll be fetching details on the logged in user rather post author.
I hope that helps, good luck.
An easier way would be to take away the ability to allow change of display name. Then it will default to username anyway. Have a look at topic/help-with-basic-command-to-add-new-profile-fields if that’s the avenue you want to take. If you do, don’t forget to set everyones ‘nicename’ back to what their username is.
March 15, 2010 at 1:23 pm #85744In reply to: BuddyPress Default Theme for bbPress?
rich! @ etiviti
Memberi started on something a few months ago… but the priority is low on the list
March 14, 2010 at 4:29 pm #85743In reply to: BuddyPress Default Theme for bbPress?
March 14, 2010 at 2:01 pm #85742In reply to: BuddyPress Default Theme for bbPress?
Ashish Kumar (Ashfame)
ParticipantYeah! I just pointed it to be one of those things which need to be fixed.
Just get in touch with me when you release it.
March 14, 2010 at 1:10 pm #85741In reply to: BuddyPress Default Theme for bbPress?
Arturo
Participantthis is the background image original with bbpress kakumei theme… i make some changes to pagination

1 week or so, atm i don’t have time to complete the theme, sorry
March 14, 2010 at 11:43 am #85740In reply to: BuddyPress Default Theme for bbPress?
Ashish Kumar (Ashfame)
ParticipantI meant a lil issue
the background image doesn’t blend correctly with background
http://img28.imageshack.us/img28/9716/26612833.png
and any time sooner? Ping me if its possible
March 14, 2010 at 11:32 am #85739In reply to: BuddyPress Default Theme for bbPress?
Arturo
Participantthank you!
what do you mean for “glitch”?
i think yes when it’s done, i’ve some thinks to resolve…
March 14, 2010 at 11:23 am #85738In reply to: BuddyPress Default Theme for bbPress?
Ashish Kumar (Ashfame)
ParticipantMarch 14, 2010 at 11:09 am #85737In reply to: BuddyPress Default Theme for bbPress?
Arturo
Participantthis is my bbpress installation with the new default theme http://forum.buddypress-it.it what do you think?
thanks for the feedback…
March 14, 2010 at 11:05 am #85736In reply to: BuddyPress Default Theme for bbPress?
wemaflo
MemberYes, you’re right

I was looking for an existing free option… Seems as if I were really out of luck
Thanks for the offer, but I will port the Theme by myself
March 14, 2010 at 9:57 am #85735In reply to: BuddyPress Default Theme for bbPress?
Ashish Kumar (Ashfame)
ParticipantI just hit the nail, you see

Well if you are looking for free option, then may be you are out of luck but if you are looking fo a paid option, then the sun is under your umbrella
March 14, 2010 at 9:43 am #85734In reply to: BuddyPress Default Theme for bbPress?
wemaflo
Member@Michael R:
Thanks, but this one is the BuddyPress 1.0 Theme, BuddyPress 1.2.x now oncludes a new default theme: http://testbp.org
Yes, of course, but I want to run an external forum installation with the same design. BuddyPress has group forums, but there should be an external forum that has nothing to do with group forums.
My site: http://musikinstrumentenbau.net
External forum: http://musikinstrumentenbau.net/forum/
March 14, 2010 at 9:43 am #85733In reply to: BuddyPress Default Theme for bbPress?
Ashish Kumar (Ashfame)
ParticipantThe link that @Michael R gave is for previous version of BuddyPress. (Good Resource!)
But I see you want for the latest version 1.2+
@Gautam is right about installing bbPress within BuddyPress or if you already have one, then you can link that too (I haven’t tried that yet but it should work easily).And if you want to run a standalone version with BuddyPress for some reason (may be because the limit that forums are within group only), then you are out of luck as nothing exists for now.
-
AuthorSearch Results