Search Results for 'code'
-
AuthorSearch Results
-
May 26, 2010 at 9:42 pm #88839
In reply to: Bbpress page/post titles on WordPress integration
Paulo Faustino
MemberI tested, but it’s not working friend: http://www.escoladinheiro.com/forums/
I really need to remove that blog title on the forums so i can lauch it
May 26, 2010 at 9:06 pm #88838In reply to: Bbpress page/post titles on WordPress integration
Paulo Faustino
MemberKevin, can you adjust that code for mine?
i’m using this one:
<title>
<?php wp_title(‘«’, true, ‘right’); ?> <?php bloginfo(‘name’); ?>
<?php if( function_exists(‘bb_title’)) { bb_title(); } ?>
</title>
May 26, 2010 at 8:59 pm #88850In reply to: 400 new spammers signed up in one day
kevinjohngallagher
MemberAkismet is not great on forums, it catches alot of legitamite posts and marks them as spam. That said, it also catches a good percentage of the spam too.
On one of my forums, 100+ spammer registrations a day is about the norm. One of WordPress and bbPress’s plus sides is it’s easy to register, so there’s alot of automated bots out there.
Not having Akismet activated with the amount of registrations / traffic you’re recieving is probably a bad idea.
Phpbb has a feature where you have to approve a member’s registration before they become members
Thats not built into the core, infact very few moderation abilities are; but I’m sure there’s plugins to enact such functionality. Zaerl had something like that I belive.
I am using WordPress MU, the Buddypress Magazine theme
bbpress is not built to, and does not play well with WPMU.
If you’re using WPMU, I strongly strongly advice BuddyPress instead of bbPress.
They are somewhat integrated
We probably need somewhat more information
May 26, 2010 at 8:50 pm #88837In reply to: Bbpress page/post titles on WordPress integration
kevinjohngallagher
MemberAs long as you’re ok with me writing this without testing:
<title>
<?php bloginfo('name'); ?>
<?php
if( function_exists('bb_title'))
{
bb_title();
} else {
wp_title();
}
?>
</title>
May 26, 2010 at 7:47 pm #88835In reply to: Bbpress page/post titles on WordPress integration
kevinjohngallagher
MemberHi Paulo,
This is one of the main issues with bbPress and WordPress. Here is a quick and dirty fix which should solve your specific issue:
<?php if( function_exists('bb_title')) { bb_title(); } ?>
Put this in your WordPress header theme next to the closing title tag like this:
<title>
// WordPress code
<?php bloginfo('name'); ?>
<?php wp_title(); ?
// but this line after the existing WordPress code
<?php if( function_exists('bb_title')) { bb_title(); } ?>
</title>
Realistically though, in the long term, duplicating the themes in bbpress and WordPress is the best way forward.
=============
Additionally,
On your WordPress pages there’s a popup delivered from “MaxBlogPress”, that is running an annoying little script that messes with browsers. It keeps moving further down the page, so that when you hit the bottom of the page it keeps making it longer and longer and longer etc. Apart from being annoying, it made it look like your site had been hacked. I hope thats not the case Bro, but if it is, you can go looking for it in your code.
It doesn’t appear on the bbPress pages, only WordPress pages.
May 26, 2010 at 7:18 pm #88834In reply to: Bbpress page/post titles on WordPress integration
Paulo Faustino
MemberHi Kevin, the problem is my header and footer are running a lot of custom codes for grabbing my subscribers and twitter counters for example. This information is grabbed from WordPress plugins that connect on Feedburner and Twitter API’s. I have also the problem that the blog uses a 960 grid system for the layout. I’m really unsure how to move the header and footer to my bbpress folder without crashing everything
May 26, 2010 at 3:54 pm #88848In reply to: Can I get rid of Latest Discussions?
chrishajer
ParticipantYou mean on the front page of the forums (public) or somewhere in the admin?
If the front page of the forum, just open the front-page.php file in your template folder, and remove from line 11:
<?php if ( $topics || $super_stickies ) : ?>to line 45:
<?php endif; // $topics or $super_stickies ?>That will just leave a list of forums on the front page. Is that what you mean?
If you do that, and you have a long list of tags and short list of forums, the footer won’t be pushed all the way to the bottom. But first let’s see if this is what you want to do.
May 26, 2010 at 1:34 pm #88581In reply to: Preferred development tools?
Taeo
MemberDreamweaver has a bad reputation among the developers I know/work with as an elaborate, bloated, WYSIWIG editor responsible for a large number of do-it-yourself abominations on the net.
Reading back through that I realize it’s kind of harsh! But that is the attitude I get from people towards it. Personally I don’t use it because its auto complete likes to do wonky things with my code. Also when many times you just want to text edit a few lines who wants to wait for the program to load?
May 26, 2010 at 1:12 pm #88790In reply to: Plugins for 1.0.2
chrishajer
ParticipantI looked at this post:
http://www.homedesignsense.com/forum/topic/video-test-2-3
1. you don’t need the [video] bbcode/shortcode to use bbvideo.
2. you don’t need to post the complete embed code, just paste in the link to the video and the plugin does the rest.
I just made a post in that same topic the way you’re supposed to do it with bbvideo, and it did not work. Not sure if you have the plugin activated or not right now, but if you do, it’s not working the way it’s supposed to.
May 26, 2010 at 1:07 pm #80730In reply to: When bbpress 1.0.3?
chrishajer
ParticipantIf you have access to subversion, it is easiest. If you don’t, you can download all the bbPress files, but you end up not getting the BackPress files.
svn co http://svn.automattic.com/bbpress/trunk/ ./bbpresswill get you the latest trunk version, which is basically 1.0.2 with bug fixes, plus login-less posting and subscribe to topic.
Otherwise, you have to get it here:
https://trac.bbpress.org/changeset/2432/trunk?old_path=%2F&format=zip
from the bottom of this page:
https://trac.bbpress.org/browser/trunk
Then you have to get BackPress.
http://backpress.automattic.com/browser/trunk
I’ve never done it this way; I use subversion normally, so I’m not sure how well this works.
May 26, 2010 at 11:47 am #88832In reply to: Bbpress page/post titles on WordPress integration
Paulo Faustino
MemberExactly chris
There isn’t any title for those pages at this moment
May 26, 2010 at 6:30 am #80944Ricard Torres
MemberThanks all, got it working with this:
if ( $posts ) {
$out = $posts[0]->post_text;
$out = strip_tags( $out );
$out = str_replace( array( "n", "r" ), ' ', $out );
$out = preg_replace( '|/!]*?[^[*?]|si', '', $out );
$out = substr($out, 0, 200); // only display the first 200 characters of the first post
}
echo "n".'<meta name="description" content="'.$out.'" />';May 26, 2010 at 4:21 am #87357In reply to: BuddyPress Default theme for bbPress
r-a-y
ParticipantFor those not using deep integration and want to use BuddyPress avatars, check out this forum post I just made on BuddyPress.org:
If you’re using WPMU, replace the $avatar_folder_url with:
$avatar_folder_url = '/files/avatars/'. $author_id;May 26, 2010 at 1:31 am #88830In reply to: Bbpress page/post titles on WordPress integration
Paulo Faustino
MemberHi chris, thanks for the reply. I only that the titles appear just like on my normal WordPress entries. On the forum, if i click on a post or topic, there isn’t any title for that
I’m not trying to automate content. I only want that my forum has it’s own pages/posts titles, not only to appear on the top browser, but also to help them rank in search engines.I think this problem appears because i’m defining the title of this bbpress posts/pages in my wordpress header, but not the friendly way
May 26, 2010 at 1:19 am #34356Topic: Bbpress page/post titles on WordPress integration
in forum TroubleshootingPaulo Faustino
MemberHello People,
I’ve made a deep integration of Bbpress into my WordPress blog as you can see at http://www.escoladinheiro.com/forums but i’m getting a very big problem. I can’t make page/post title to appear as my bbpress topic/posts titles. I’ve searched for about 8h on google and i didn’t found any solution for this. There’s anyone that can help me define this titles?
I’m using the header and footer of my main WordPress blog. There’s any way i can define that if the page/post is from bbpress, it’ll call the page title from bbpress? With this mess, i can’t even make a sitemap for the forum

If anyone can share some sort of code to implement on my wordpress for fixing this, i really appreciate. If needed, i can pay for the work.
Thanks in advance.
Paulo
May 25, 2010 at 10:23 pm #88785In reply to: Plugins for 1.0.2
chrishajer
ParticipantOn this page:
http://www.homedesignsense.com/forum/topic/video-test
There is no embedded video, just the code you pasted in there. The plugin is not working. It did not parse your post for the video bbcode and replace it with embed code, which is what the plugin is SUPPOSED to be doing.
May 25, 2010 at 5:39 pm #88577In reply to: Preferred development tools?
KentonMr
MemberAs I have not see it listed yet
Bluefish http://bluefish.openoffice.nl/
on both Linux and Win platforms
for just about everything coded.
but sill use Notepad++ for txt files (don’t know why – force of habit I guess
May 25, 2010 at 4:53 pm #81684In reply to: Forums as Comment engine?
KentonMr
MemberSorry I’m late to this topic but what you are asking sounds very similar to what I was asking here
https://bbpress.org/forums/topic/feeding-topics-from-external-source
It seems as if I differ with @kevinjohngallagher’s interpretation of what users and communities want from their forum/blog/wiki/crm solution

However what you seem to be looking for is very similar to what we have decided on PmWiki+bbPress
We voted firmly against wordpress as a product mainly because
1. It has become dreadfully bloated
2. It is difficult to customise (partly as a result of 1)
3. It is a blog (a time driven format) conversation centered around one individual and un-managed comments from visitors. Typically “this is my opinion” followed by “I agree” comments.
I would also steer fairly clear of IP.Board and IP.Blog it is very much under development and considering it is a commercial product is very expensive for what it does.
I feel that someone with a basic knowledge of worpress should be able to add a similar button form to wp code to allow a “Forum This” from wordpress.
May 25, 2010 at 4:50 pm #88777In reply to: Plugins for 1.0.2
chrishajer
ParticipantIt does not appear that the plugin is processing the short code. I would say the plugin is not working in your installation. Did you activate the plugin? Can you post a screenshot of your plugin admin screen?
May 25, 2010 at 3:44 pm #88755In reply to: Feeding topics from external source
KentonMr
MemberI’ll ignore all the personal rhetoric and slight aimed in my direction and try to respond to the points raised.
I am new to bbPress (you may have noticed that this is my first topic/post on the forum) so know nothing bbPress, its history, development and evidently tight allegiance to wordpress.
bbPress was selected because “out of the box” it works, and from what I have seen of the plug-ins they also work well.
I think my original topic title has been mis-understood by you, and maybe others as well.
“Feeding topics from external source”
In the external source users will not have the option to set a topic title it will be predetermined by the PmWiki page that is being edited.
In fact it is the reverse of the “Blog this” that has been suggested elsewhere though restricted to the same site’s forum rather than the user’s own personal blog.
Any member has full access to the forums and so is able to start a new topic with a slightly varied topic title. That is not a major issue as the moderators will attend to them. However when posting externally a new topic there is the chance that any editor of the Wiki could initiate the “Forum this” button to start a discussion of that page in the related forum. Therefore without the check the potential of having 100’s of topics created with the same title is great.
In the end it has been very easy to code – It works well and I will even look at the possibility of including it to generate a warning to users in the forum so that we can cut back on duplicate topics in general.
Every forum/blog/wiki open to members has to have a set of accepted policies to govern usability. The site is very specialised with nearly 2000 wiki page-topic combinations. The topics are specifically for a parallel discussion about each wiki page. Elsewhere just about any reasonable discussion is possible.
May 25, 2010 at 1:05 pm #88754In reply to: Feeding topics from external source
kevinjohngallagher
MemberRespecftully, you’re very wrong.
SEO in no way shape or form is affected by having the same Post title on a forum (note it’s not the title of the page).
Search Engines are smart enough to differentiate between pages on a website if they have different URLS.
You’ve made the same very wrong assumption the original poster had, that by having a post with the same title, that the post title is not checked and given a unique URL. Don’t get me wrong, it’s only been that way for 3 years here on bbPress…
But. I am astonished that there is no checking in bbPress to see if a topic already exists in a forum before allowing a topic with exactly the same title to be created.
Um, there is.
Surely this is an important feature and should be handled by bb_new_topic() if only through an optional arg.
I generally find that people who use the word “surely” have decided something, and think everyone should agree
And the function you reffer to is pluggable, so you can overwrite it to do what you want.Given that you’re the first person on this forum in the 3 years I’ve been here to request this feature, or worse, assume it’s already there (even though WordPress/BackPress/every-other-automattic-product handles it the same way as bbPress does); maybe just maybe you should not make so many assumptions.
Thats not me having a go, its just that you’re opnly going to be disappointed

However, in some forums (especially one of the forums on the site I am building I do not want users repeating the same topic and would want them to add to the topic that has already been started.
And here we hit 2 issues:
1) Waaaaaaah. I’ve decided that bbPress should work in the same way as other forums, even though it clearly doesn’t, say it doesn’t, and is far from bloated or as feature rich as these other un-named forums.
Btw Can i ask what other forums have this feature? (i’m not doubting you, i’ve just never come across it before)
2) I need X custom feature for MY forums, and bbPress doesn’t have it. Why not? grrrrrr
$bbdb->get_var($bbdb->prepare(“SELECT topic_id FROM $bbdb->topics WHERE topic_title = %s”, $topic_title))
If users can create topics, then users will eventually duplicate topics. All you’re doing is assuming that every user will use the exact same title for the exact same subject and all spell the title the exact same way. My friend, thats a very large group of assumptions.
You’re also assuming that no users will decide that their opinion is v important and deliberately start their own post with a slightly different title – just to get round your warning.
Or what happens when a subject gets bogged down in a flame war?
Or when people start taking it off topic?
Or what happens when people don’t want to wade through 15 pages of “+1” or “lol”?
That will get harder and harder as your forum grows, especially if it’s got a rather specific subject matter. I can understand where this idea comes from, from a website owner point of view, but the usability and long term goal of the this feature is seriously flawed.
Users on a forum, by their very nature, want to create new threads. Creating 1 stream of replies for 1 single topic… thats a blog. Forums are “many to many” or “n to n”. To restrict that in any way is to deviate from what the userbase expects, and inherantly, their desire to use the system.
You come across as very intelligent, and you’ve clearly thought this through from your point of view. Have you thought it through from your users?
.
May 25, 2010 at 12:56 pm #78345In reply to: snowski theme released
kevinjohngallagher
MemberIf you’ve any issues with this theme, you should probably take it up with the original creator on his forum/website. Not that we can’t help, but just that you’ll get better/quicker support there
May 25, 2010 at 12:55 pm #88814In reply to: New bbPress Theme: TerraFirma Two
kevinjohngallagher
MemberI’m not a huge fan of these themes, as for the most part its just the wrapper of the forum that’s themed differently (which will mostly be removed if made to look like a wordpress website); but I’m very grateful to Refuelled for working on them and releasing them.
Thank You, It’s very much appreciated!
And Xevo, don’t worry about. Everyone’s entitled to their opinion, even… people who’ve been on the site for 6 hours, who use 3 different themes on their own website and can’t get their email to work
May 25, 2010 at 12:33 pm #88775In reply to: Plugins for 1.0.2
kevinjohngallagher
MemberI think I see the confusion.
Pete, you’ve assumed the plugin does something it doesn’t do. It doesn’t allow you to upload videos or images, and doesn’t give you a separate post field in which to type the URL of the video.
All it does, like every other forum software, is allow you the automatic convertion of some code into HTML.
i.e.
What your user types:
[video] www.youtube.com/abcdefghijk [/video]
What bbPress outputs:
The video

Sorry, but hope this helps clear things up
May 25, 2010 at 12:30 pm #88774In reply to: Plugins for 1.0.2
chrishajer
ParticipantPaste this into the post area:
[video]http://www.youtube.com/watch?v=bxDlC7YV5is[/video]After you submit the content, does the video show up embedded? That’s how it’s supposed to work. No more to it than that.
-
AuthorSearch Results