Is it possible to block the profile of an admin or a user in bbPress?
Thank you.
I currently am running bbpress 1.0.2. I am trying to insert a google adsense code on my right column/sidebar. My right column/sidebar is currently blank. However, no matter where I put the code, it always displays on my main/left column.
I read somewhere about putting an “includes” function to fetch the sidebar for wordpress. I’m not sure if it will work here?
Does anybody have any ideas they can share?
Thank you!
I currently am running bbpress 1.0.2. I am trying to insert a google adsense code on my right column/sidebar. My right column/sidebar is currently blank. However, no matter where I put the code, it always displays on my main/left column.
I read somewhere about putting an “includes” function to fetch the sidebar for wordpress. I’m not sure if it will work here?
Does anybody have any ideas they can share?
Thank you!
That is how Akismet works in bbPress – can you post a screenshot of your admin? The Posts tab, then there is a drop down with the following choices: All, Normal, Deleted, Spam (if you’re using the Akismet plugin.) Is that not your experience?
That’s browser functionality for textareas, in Chrome and Safari, not something bbPress can fix. Unless I’m completely missing the point.
I can’t think of any reason not to just repeat the same process for all 24.
Holy F, i just tried it on my forum, and it’s working, WOW
I didn’t know this was even possible. I don’t think its working in Chrome though, is it?
Dear BBCoders…
I think it is small mistake but it is mistake. Your post editor lose it’s shape when we expand it with mouse click from bottom right corner. you should try to solve this small mistake and you should try to fix it’s width and height?
Hope all moderators will smile and take notice 
here are it’s screen shots
http://img337.imageshack.us/img337/9396/lol1k.jpg
http://img11.imageshack.us/img11/1031/lol2js.jpg
Also you should try to solve this mistake in your post plugin
Is there a bbpress plugin that when someone leaves a comment, the original commenter gets get an emailed notification that someone has left a comment reply? For example, if you reply to this post, I would like to get an email that you have replied. The issue comes out is I forget to check to see if there is any updates. I hate having to check daily to see if there are any new replies.
Captain Jack
TA for Hotforwords.com
I created the “my-templates” directory and I unzipped my theme into a folder in that directory. But when I go to my bbPress dashboard, the screenshot for my new theme shows a blank space with a red X in the upper left corner. When I click to “Activate” the theme it shows a featureless version of bbPress with no theme at all.
What am I doing wrong?
So after trying many plug-ins for meta data i found out that most don’t work at all with the newest version of bbpress and others do a poor job so i decided to write my own little php code no plug-in needed.
I wrote some php code to include a meta description based on the first 200 characters of the post and a default description if there is no post ( i.e the front-page ). Also meta keyword’s that displays any tags associated with that post as keywords.
So just add this to your header
<?php<br />
if ($posts) {<br />
foreach ($posts as $bb_post) : $del_class = post_del_class();<br />
$old=ob_get_contents(); ob_clean(); ob_start(); // you may leave ob_start();<br />
post_text();<br />
$out.=ob_get_contents(); ob_clean();<br />
endforeach;<br />
$out = preg_replace('#<p[^>]*>(s| ?)*</p>#', '', $out); // takes out <p><br />
$out = substr($out,0,200); // only displays the first 200 lines of the first post.<br />
echo '<META NAME="Description" CONTENT="';<br />
echo $out;<br />
echo '">';<br />
}<br />
else {<br />
echo '<META NAME="Description" CONTENT="This is your defalt description edit this to what ever you want ">'; // This displays when where is no post<br />
}<br />
global $tags;<br />
if (!empty($tags)) {<br />
$keywords=""; foreach ($tags as $t) {$keywords.=$t->raw_tag.', ';}<br />
echo "n".'<meta NAME="keywords" CONTENT="'.trim($keywords,", ").'">'."n"; // This displays any tags associated with that post as a keyword<br />
} ?>
Or you can just call get_user_profile_link(); function to get the simple link.
If the user is logged in, it will automatically get the user id.
Function can be found here –
https://trac.bbpress.org/browser/trunk/bb-includes/functions.bb-template.php#L2195
Use this:
bb_get_profile_link(‘id=’.strval(bb_get_current_user_info( ‘id’ )).’&text=YOUR_TEXT_HERE&before=BEFORE_THE_LINK&after=AFTER_THE_LINK’);
You can view the function here:
https://trac.bbpress.org/browser/trunk/bb-includes/functions.bb-template.php#L2768
Jleuze,
It’s great news for me what you explain here.
Now my idea is just to stop at the first step. I’ll try migrating to vBulletin and stay there. I think it will be the best…
Thank you for sharing your experience.
Hi,
I’m setting up a bbpress instance and noticed that the log files have to exist otherwise no logging takes place. This makes my beloved log file rotating impossible.
But if i edit class.bp-log.php and insert the following after lines in set_filename at about line 143
if (! file_exists($_filename)) {
@touch ($_filename);
}
This allowes me to do nice things like configure log files to
define( 'BB_LOG_FILENAME', $global_log_dir . 'bbpress-' . date("Y-m-d") . ".log");
There is code in BuddyPress that allows bbPress to install, configure and run all within the WordPress environment.
But does it work out-of-the-box already? It doesn´t for me.
WordPress themes can’t be used for bbPress without modification, but if it’s a bbPress theme, then yep, just put it in its own directory under my-templates
I like this theme a lot. I have it for WordPress. I have never installed a new theme on my bbpress. How do you do it? I have figured out that I have to create a new directory at the bbpress root called “my-templates” and I guess I am supposed to put the unzipped file there.
That is about as far as I can tell so far. Any advice?
Thanks for stopping by Andy.
For bbPress to continue moving forward it has to start seamlessly integrating with WordPress.
There are only two ways of doing that. Move WordPress so that it uses BackPress, or extract BackPress from bbPress and point it to the code existing in WordPress (if it is integrated). Moving WordPress to use BackPress is a considerable job and would likely need the attention of a completely new version number. In the short term the time it would take isn’t feasible for bbPress (or BuddyPress for that matter) to continue moving forward at a reasonable pace.
The second option is quite possible and has already been done. Despite it not being the truly “ideal” method for the long term it could be used without problems until WordPress moves to BackPress. There is code in BuddyPress that allows bbPress to install, configure and run all within the WordPress environment. If someone was willing to put some time in and extract this code into a plugin (or perhaps a core extension) then the job would almost be done.
The integration / abstraction code is here: https://trac.buddypress.org/browser/trunk/bp-forums/bp-forums-bbpress.php
The configuration / setup code is here: https://trac.buddypress.org/browser/trunk/bp-forums/bp-forums-admin.php
I’m happy to help someone along with this.
A cross between my “Ficional” WP theme and _ck_’s Hybrid theme though in many ways mixed up a bit. I al always making a few tweaks and it doesn’t look exactly the way I like. Would love to clean up some of the smaller things up but hitting some snags. Either way it is finished enough beyond the little things that I am proud to show it off a bit:
Fictional Hybrid BBpress:
http://forums.atfics.com/
Fictional WP Theme:
http://www.atfics.com/
I was going to hide it behind tags:
<?php if ( bb_is_user_logged_in() ) : ?>
What I wanted to do was to replace the standard:
<?php if ( is_bb_profile() ) profile_menu(); ?>
With other things including links for the “Your Profile”, “Edit (your) Profile”, PM Inbox, Memberslist, “Logout” etc.
Basically I am trying tp bypass the profile_menu() non-global status along the lines of this thread that I wasn’t able to work:
https://bbpress.org/forums/topic/profile_menu-doesnt-work-on-all-pages
I was trying to force the URL and trying to force such a global profile menu using:
<?php echo bb_option('uri'); ?>/profile/<?php echo bb_get_current_user_info( ' name ' ); ?>
But that is pretty ghetto and as you can see it outputs the display name not the username so thus can’t be used for getting a link to the user’s profile…
TinyMCE can work in just about any forum so there should be no reason it wouldn’t work.
As for videoquicktags do you mean like bbcode? It can be done fairly simply I believe but I am not good enough at PHP to deconstruct the bbcode-lite script to make it for you since that script is so heavily optomized.
Edit:
http://urbangiraffe.com/plugins/html-purified/
Take a look at HTML purifier. It allows your user to use HTML but strips anything bad. That way you can use the regular YouTube embeds or whatever you like w/o need of a bbcode plugin.