Search Results for 'code'
-
AuthorSearch Results
-
June 17, 2009 at 5:59 pm #15022
Topic: BikingToronto.com/Forum
in forum Showcasebikingtoronto
Member*Just* started using bbpress for a forum… have been using blogger for my blog, but the ease of bbpress is making me seriously consider wordpress for the blog.

Looking forward to more bbpress developments.
Forum at http://www.bikingtoronto.com/forum
June 17, 2009 at 4:10 pm #15020Topic: On attachment file permalink
in forum Pluginsdreamfree
MemberI have installed the bbPress Attachments plugin, it works fine to add an attachment, but the problem is that, the corresponding file will has a link like :
http://www.dreamfreeblog.com/bbs/ topic/18?bb_attachments=30&bbat=19
or
http://www.dreamfreeblog.com/bbs/ ?bb_attachments=24&bbat=13
as Google indexed page, actually as “Sorry, download is restricted.”
Is there a method to avoid such permalinks except that to write a robots.txt rule for Google? Many thanks in advance!

Check this thread in my bbPress for an example:
June 17, 2009 at 2:53 pm #74379In reply to: Final release candidate 1.0-RC-2 is available.
Ipstenu (Mika Epstein)
ModeratorAsk a silly question

Page links for bbPress (1.0.4) should be removed, since it’s build in to bbPress 1 (per Sam). But yeah, the rest of your plugins look fine.
June 17, 2009 at 2:40 pm #74411In reply to: bbPress overwriting a DB value
Ipstenu (Mika Epstein)
ModeratorI’ve never lost admin access on any integration (6 and counting). Hence my confusion
June 17, 2009 at 10:51 am #74375In reply to: Final release candidate 1.0-RC-2 is available.
the_Wish
MemberThanks. I clean installed the “latest” build, still no dice unfortunately. Code keeps getting scrambled. I went back to RC1 which doesn’t have this problem for me.
If it’s working for you, maybe it’s related to one of my Plugins (though I doubt it)… will have to wait for the final beta I guess.
June 17, 2009 at 7:53 am #74410In reply to: bbPress overwriting a DB value
Ashish Kumar (Ashfame)
ParticipantLoss of admin access problem has happened to several people (almost all of them, if I am not wrong).
Have you tried my method of integration? You will end up with what I did. Moreover, I am new to bbPress and learning it slowly. So, I might be doing something that I am not supposed to but I guess I am right. Who knows? Atleast I don’t.
June 17, 2009 at 5:47 am #65895In reply to: Show (gr)avatar on frontpage
grassrootspa
MemberI’m a newbie, so please don’t beat me into a pulp
So the code above works with BBPress RC2, etc?
Anyone develop any sort of plugin to do this?
June 17, 2009 at 5:44 am #74625vikram_gripsack
MemberThanks Atsutane and CK , this is working perefectly fine.
June 17, 2009 at 5:44 am #73845In reply to: New minimalist theme available
michael3185
MemberDuh. Too tired to be let loose near a PC.
June 17, 2009 at 5:44 am #15019Topic: How do i edit the tags, in topic page
in forum Troubleshootingmassbase
Memberreference: http://www.massbase.com/topic/php-if-structer-how-does-it-wokr-im-an-idiot-i-dont-know
this is proving hard, especially with so much in such a little piece of code … e.g. <?php topic_tags(); ?>
all i want to do is, inline the lists, and remove that “Tag:” text before the tags… and possibly inline the input field and submit button… but i dont know where the code is that is pulled by the <?php topic_tags(); ?>
thanks
June 17, 2009 at 5:08 am #74301In reply to: Convert WP Super Cache plug-in for bbPress ?
frooyo
MemberSince you have some free time (and it sounds like you understand the inter workings of bbPress), would you mind taking a shot at converting the WP Super Cache plugin for use with bbPress

Again, the key here is that it really only needs to work for non-logged in users since they will generate the most traffic (most load on the server).
June 17, 2009 at 4:56 am #74300In reply to: Convert WP Super Cache plug-in for bbPress ?
massbase
Member@ashfame – i just graduated
…….. which is why im bugging the hell out of everyone here. got all the time in the world… until i find a job, bit like finding a needle in a haystack though.@frooyo…. CK doesnt even have the time to make BB-Attachments compatible with RC1+ (i asked earlier) which is far more important than caching one of the litest forums available. …
June 17, 2009 at 4:44 am #74650In reply to: Can you only use the LOOP once per page.
Ashish Kumar (Ashfame)
ParticipantIts just code that works. Real power is the pluggable nature of bbPress & WordPress which lets you add almost any functionality without bloating the code for mass consumption.
June 17, 2009 at 3:13 am #74668In reply to: Which WordPress and bbPress version combination?
chrishajer
Participant> Can I use the latest production/stable releases of WordPress (2.

> and bbPress (0.9.0.5) together?
You can if you use something to make the cookies compatible:
https://bbpress.org/plugins/topic/freshly-baked-cookies/
or
http://superann.com/2009/02/26/wordpress-26-27-bbpress-09-cookie-integration-plugin/
Those were using bbPress 0.9.0.4 and WordPress 2.7, and there has been some additional talk about adding a line to (or was it removing a line from??) your bb-config.php to make the 0.9.0.* cookies work with WordPress 2.8:
https://bbpress.org/forums/topic/bbpress-10-release-candidate-1#post-30330
> Is that the best combination?
Best is up to you to decide. I think you will find you can integrate logins and also have the greatest number of bbPress plugins available with 0.9.0.5.
> Will most of the plug-ins or extensions for bbPress be available with those versions?
The majority of the plugins were designed to work for 0.9 and below. There are significant changes to the 1.0 RC that some plugin authors are not updating their plugins until 1.0 becomes finalized.
https://bbpress.org/forums/topic/list-of-plugins-that-work-on-rc1#post-37033
June 17, 2009 at 2:44 am #74660In reply to: Testing Embeded Video
Sam Bauers
ParticipantbbPress 1.0 incorporates the shortcode API from WordPress, so most shortcode based video insertion plugins for WordPress will work with only minor modification.
June 17, 2009 at 2:43 am #15017Topic: Which WordPress and bbPress version combination?
in forum Installationwire42
MemberCan I use the latest production/stable releases of WordPress (2.
and bbPress (0.9.0.5) together? Is that the best combination? Will most of the plug-ins or extensions for bbPress be available with those versions?I like the look of a lot of the plugins and just wanted to make sure that they will work. Thanks!
June 17, 2009 at 2:05 am #74658In reply to: Testing Embeded Video
bzmillerboy
MemberI guess you can’t embed video objects huh

I am trying to setup a buddypress community but the client wants to be able to post videos. Since you can’t directly link a blog to a group (or have a link to your the groups blog on the groups page), I was thinking I’d use bbPress for posting videos and images. …guess not?
June 17, 2009 at 12:41 am #74648In reply to: Can you only use the LOOP once per page.
Sam Bauers
ParticipantBecause the loop relies on the
$topicsglobal being set by the base index.php file.$topics = get_latest_topics(false, $page);You can add this to your template if you like just above that loop, to make sure $topics is always available…
if ( !isset( $topics ) ) {
$topics = get_latest_topics( false, 1 ); // Only fetch the first page
}June 17, 2009 at 12:06 am #74296In reply to: Convert WP Super Cache plug-in for bbPress ?
_ck_
ParticipantYou can get a 25% speed boost or more by running 0.9 instead of 1.0 depending on how many simultaneous connections you are serving.
1.0 uses 50% more code and several more queries per page when generating the same content.
June 16, 2009 at 10:35 pm #73607In reply to: bbPress Integration plugin for WPMU
ITguy
MemberJohn, first please enjoy your vacation. As to your question, yes I do use ‘deep integration’. I have deleted the 3 groups I had that would not allow the recreation of the forums via the toggling of the ‘Enable discussion forum’ option. That was my only remaining problem. I was able to recreate the groups from scratch and transferred the topics and posting db entries from my backup. Everything is now working

I did a quick search through the BuddyPress forums about the issue you mention but have not found it. I will do it again over the weekend. Should I find it I will try any suggested fix by setting up another copy my setup (code and database) saved this morning before I deleted the problem group forums. I have a spare domain I can use just for that purpose. Should you find it please feel free to post the URL here.
Thanks again for all your help, hopefully I can help you with identifying the issue you referring to for your screen casts.
June 16, 2009 at 9:36 pm #15012Topic: Can you only use the LOOP once per page.
in forum Troubleshootingmassbase
Memberif you goto the frontpage.php at http://www.massbase.com… on the side bar to the right, (which is the footer.php) there is an extra loop that shows the instant classifed forums (in the black box)…
however if i click on any topic or any page on the site… that loop stops displaying the topics of that forum..
how come ?
this is the code im using for the loops in that black box (which is the same code for all the forums on the frontpage)
<h3 style="color: red;"><?php forum_name(4); ?></h3>
<?php
$count=0;
if ( $topics )
{
foreach ( $topics as $topic)
{
if ($topic->forum_id=="4")
{
if($count<5)
$count++;
else
break;
?>
<br />- <?php bb_topic_labels(); ?> <a style="font-weight:bold; color: white;line-height: 2.5em;" href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?>
<?php
}
}
}
?>
<br /><br /><a id="sub-link" href="<?php bb_uri(); ?>forum/instant-classified"> View all General Topics</a>June 16, 2009 at 9:22 pm #73606In reply to: bbPress Integration plugin for WPMU
John James Jacoby
KeymasterITguy, are you using deep integration? If so, I think there’s something else that needs to be done before the group forum creation will work.
I ran into the same issue as you a few months back. Burt’s XMLRPC check would work, but forums wouldn’t get made. If memory serves me right, the XMLRPC was reincluding something that was mucking up the forum creation, but I don’t recall exactly what that is at the moment, but I banged my head against it for a week, and there’s a topic somewhere in the BuddyPress forums to prove it.

I’m packing for a week long vacation tonight, and am flying all day tomorrow. I’ll have my laptop and access to all my code by Wednesday night, and will be back to help support this again. In the meantime I invite you to scour buddypress.org/forums and see if you can find any of my past replies or recent topics. Check from about April or so. Getting this figured out is important to me too, as I’ve got a series of Integration screen casts I’m going to put together and give to the *Press sites to help answer all of the questions everyone has about integration, since it is a very popular topic and many of us spend many hours developing and supporting it.
Talk soon, and good luck until then.
June 16, 2009 at 9:01 pm #74575In reply to: Customizing Profile Fields
John Blackbourn
ParticipantThe user profile fields are simply items in a PHP array. You can remove an item from the array to remove the profile field, or add a new item to the array to add a new profile field.
<?php
/*
Plugin Name: My Profile Fields
Description: My profile fields for my lovely forums
Version 1.0
*/
function my_profile_fields( $fields ) {
/* This removes the Occupation profile field: */
unset( $fields['occ'] );
/* This adds a new optional field called Favourite Band: */
$fields['faveband'] = array(0,'Favourite Band');
/* This adds a new *required* field called State: */
$fields['state'] = array(1,'State');
/* You must return the array at the end of the function: */
return $fields;
}
add_filter( 'get_profile_info_keys', 'my_profile_fields' );
?>Save the code above as a .php file and upload it to your
my-pluginsdirectory (you may need to create this directory in the root of your forums installation) and then activate it from the Plugins menu in the bbPress admin area.Edit: Code updated as a complete example of a plugin.
June 16, 2009 at 7:08 pm #74409In reply to: bbPress overwriting a DB value
Ipstenu (Mika Epstein)
ModeratorInching forward.
When I share tables, the default role of the admin of forums has a subscriber role in capabilities, thats why the admin access is lost.
Right, but WHY does that happen to you when it doesn’t to everyone else (that I’ve heard of) who sets up bbPress/WordPress the way you described
It’s weird and I wonder what happened. It’s not the different wp_/bb_ prefixes, I’ve tested that.
June 16, 2009 at 7:02 pm #74408In reply to: bbPress overwriting a DB value
Ashish Kumar (Ashfame)
ParticipantYes! It was pretty weird problem. It didn’t work when I copy pasted the string from my blog post but when I did from console (value from another integrated copy), it did the job.
They were not messed up. When I share tables, the default role of the admin of forums has a subscriber role in capabilities, thats why the admin access is lost. May be we are again going in circles now
-
AuthorSearch Results