Search Results for 'code'
-
AuthorSearch Results
-
October 11, 2011 at 4:46 pm #107093
In reply to: bbPress 2.0 & BBCode
antonchanz
MemberI think I read somewhere that the way to do this would be to extend a WordPress plugin that adds bbcode to wordpress posts, such as the bOingball BBCode plugin to also apply to bbpress posts and replies.
I also need this feature and would be willing to do the work coding it. At the moment though I’m not sure how to begin unless someone can quickly teach me the basics for making a wordpress shortcode active in bbpress forum posts… ^-^
October 11, 2011 at 2:51 pm #40261happycappy
MemberHello! Have been looking things over here and I’m wondering if this is the solution to my problems.
I’m working on a web site with the following requirements:1. Admins, and only admins, start new topics.
2. One topic, and one topic only, needs to be embedded in a web page. Each of the similar web pages will have a different topic.
3. Users can add their comments to a given topic (once they register.)
Can / how can this be done with bbPress? If not, do you have any suggestions about other software that can do this?
Thanks so much.
October 11, 2011 at 1:51 pm #109819In reply to: Notices on private forum
David Decker
ParticipantI see you’re using Genesis – so you could hook in via functions.php or Simple Hooks Plugin and just add some content/message after that notice.
bbPress already has a shortcode for registering: [bbp-register]
So you might add that via Simple Hooks which supports placing of shortcodes.
-Dave
October 11, 2011 at 1:46 pm #109777In reply to: "Page not found" error
David Decker
ParticipantBack in summer I had similiar issues with the betas and RC’s… When I had templates in theme/child theme and combined bbPress functions.php with my theme/child theme’s functions.php I had problems with still enqueueing the scripts from the included bbPress-twentyten, so I just removed these lines of code from my combined functions.php and got it working. After that my template files/css etc. were called and used correctly.
It’s only a suggestion to just check the source code of your forum index what stylesheets and what scripte are loaded from what source. Then compare it with the calls from the functions.php files. Maybe you can find some issue…
I didn’t liked all these combining and integrating so I just added some css rules to my theme stylesheet (most with “!important” but I don’t care that much about this…) and left all other on default bbPress which worked best for me

Hope this helps a bit, Dave
October 11, 2011 at 11:49 am #40259Topic: Help finding and installing theme
in forum ThemesChrisEnd
MemberHey!
I
ve for ages trying to find a solution to my problem. I need a forum for my website and the Ive chosen BBpress. The thing is that I don’t want the bbpress theme to affect my wordpress theme. I´ve downloaded several themes, but have no idea where to install and how to activate. I also wonder if there are any place out there where I can download free or premium bbpress 2.0 themes?I feel quiet stupid, since I look at my self as a person that usually figure things out
Thanks,
Christoffer
October 11, 2011 at 8:45 am #109776In reply to: "Page not found" error
nuobodu
Member@grafics: It really seams that you have to chmod you .htaccess file to 777
@travishill: The most strange thing has happened.
i once again unchecked “Prefix your forum area with the Forum Base slug”
and the links started working
but at the same time the forums stopped using my custom templates and reverted to the templates from the child bbpress theme
I checked the checkbox back, and the links still work. But the templates did not revert to my custom templates

I see that many people in this forum, who have this problem, eventually get it solved, but they cannot explain how

Going fishing my template now…
October 11, 2011 at 8:11 am #40210Topic: bbPress Search Widget – My New Plugin for bbPress 2.0
in forum PluginsDavid Decker
ParticipantHi there!
Like some other users I noticed a missing search feature for the new and awesome bbPress 2.0+ plugin. So I just released a small and leightweight plugin for that:
bbPress Search Widget
Info & download at WP.org:
http://wordpress.org/extend/plugins/bbpress-search-widget/
-> it’s limited to the custom post types of bbPress: forums, topics, replies
-> there’s a drop-down to select one of these (a must) – so it also helps fine tune the search for the visitor…
-> it’s fully localized so you might translate the few strings into your language – I will attach any translations which are submitted to me!
I hope it’s useful for you.
Have fun

Any feedback is very welcomed of course!
-Thanx, Dave from Germany
October 11, 2011 at 8:07 am #109717In reply to: Search (I guess) not working
David Decker
ParticipantI noticed the same thing as you and just released a small and leightweight plugin for that:
bbPress Search Widget
Info & download at WP.org:
https://wordpress.org/extend/plugins/bbpress-search-widget/
I hope it’s useful for you.
Have fun

Any feedback is very welcomed of course!
-Thanx, Dave from Germany
October 11, 2011 at 8:05 am #109762In reply to: user profiles in bbpress & buddypress
David Decker
ParticipantYou’re welcome

Thanx for this awesome idea and making it a plugin! I will use it soon on an own project!
October 11, 2011 at 8:02 am #108213In reply to: New: Support Forums Plugin
David Decker
ParticipantI know this already, but that doesn’t help here yet because the plugin developers have to implement the gettext strings first, so it actually becomes translateable.
That’s a pity with a lot of great plugins: all hard-coded text strings so nearly unuseable for international users. Since we’re two thirds of all WordPress users worldwide – and growing – localization/internationalization is a really hot and important topic. EVERY WordPress developer should consider this.
In NO way I want to disregard the awesome work of the devs of this support plugin just encourage them to make this final step

-Thanx, Dave
October 11, 2011 at 7:13 am #109813In reply to: Full-Width Forum
travis.hill
ParticipantLooks like some styling needs done.
I don’t know how you’ve implemented bbPress, but a start would be something like this:
remove the left float from
div.bbp-breadcrumbin bbpress.css (line 39)create a css rule for the table class .bbp-forums and give it a width:
.bbp-forums {
width: 100%;
}That should get you going in the right direction.
October 11, 2011 at 6:49 am #40258Topic: Full-Width Forum
in forum ThemesPureRover
MemberI have installed bbPress plugin. The forum itself is wonderful. I am having a rough time displaying it properly on my site. Using the shortcode [bbp-forum-index], I have setup a page with a full-page attribute. The page is full-width but the forum is not.
I am assuming the forum’s widgets are taking up the space right of the forum. I don’t need them and rather the forum took up 100% of the available space.
I see there are additional templates for bbPress. Does this hold true for the plugin version? If so, how can additional templates be selected since this is not an option in the bbPress settings.
I am not a programmer but can following directions. Any help would be appreciated.
Thanks.
October 11, 2011 at 3:56 am #109775In reply to: "Page not found" error
grafics
ParticipantI’ve been developing WP for some time, but this is our first buddypress/bbpress project. Having the same problem described above.
WP 3.2.1
Buddypress 1.5
Created a “forums” page with shortcode which correctly shows the forum index. Clicking on a specific forum works as well, showing list of topics within that forum. The 404 comes when clicking on a specific topic. I’ve assigned the topic to the specific forum. The resulting url seems to be correct
mysite/forums/specificforum/topic title
I’ve also found that I have the “create new topic” form on the specific forum, when I submit the topic I get the page-not-found, but if I navigate back to the forum the new topic is indeed listed.
Any help is MUCH appreciated!
October 10, 2011 at 11:20 pm #109767John James Jacoby
KeymasterUse the WordPress one. It’s just posts and taxonomies.
October 10, 2011 at 10:38 pm #40252Topic: Adding "reply" and "new topic" buttons to my forum
in forum TroubleshootingOAEErra
MemberHi, i’m using BBPress 2.0 with BuddyPress 1.5 which were installed seperately and aren’t integrated through BP.
My BBPress forum is great, however after moving from SMF many members have asked for a “New Topic” button and a “Reply” button in the forums. They can reply or start new topics with the form at the bottom of the page, but for usability i’d like to make their transition a bit easier.
Is it possible to add a reply button to each post – one which quotes the post made?
Also, a reply button at the top/bottom of the thread which takes the user to a page with the posting form would be great.
Also is it possible to have a “New topic” button on the forum index?
Lastly, what files would I edit to make these changes?
Thanks in advance
October 10, 2011 at 10:17 pm #108322In reply to: bbPress Language Files
bardo
Member@Vayu: happy it worked

@Moddey: your first try should have worked (look at Vayu’s solution). It’s normal that nothing changes if you edit the pot file: pot files are like “translation sources”, po files are the translated version in a human readable form, mo files are their machine-readable form. So tou should need only bbpress-da_DK.mo in your /wp-content/languages/bbpress/ directory.
Are you sure the file permissions are ok and the web server can read them?
October 10, 2011 at 9:44 pm #109774In reply to: "Page not found" error
travis.hill
ParticipantWell at this point in the stack I’m calling a theme or plugin issue.
I’d start with plugins. Deactivate and see if anything changes.
If yes, find culprit plugin and remove/find replacement. If no, move to theme related issue.
So the contents of your child theme folder somewhat follows:
/bbpress/
/css/
/js/
archive-*.php
**functions.php
page-*.php
single-*.php
**style.cssAnd these files all represent files from /bbpress/bbp-themes/bbp-twentyten/{files}?
If so, you’ve created a PAGE, with either the bbpress shortcode or page template?
Have you tried the bbpress packaged theme?
I don’t personally know of any directly conflicting plugins with bbpress, but that doesn’t mean that they don’t exist. It still seem’s URLish to me. .htaccess maybe.
Either way, the last thing you’ll want to do, i’m guessing, is a fresh install. We’ll try to get you there before that’s the (possible) solution.
October 10, 2011 at 8:56 pm #108321In reply to: bbPress Language Files
Vayu Robins
MemberHi Bardo, thanks for helping.
This worked for me finally.

So I have these 2 files here like this:
/wp-content/languages/bbpress/bbpress-da_DK.mo
/wp-content/languages/bbpress/bbpress-da_DK.po
Nothing else.
Vayu
October 10, 2011 at 8:48 pm #106309In reply to: bbpress plugin forum specific sidebars?
Anointed
ParticipantLet’s assume that you created a new sidebar called ‘bbpress’ via your functions file. This means that when you go to the sidebar manager, that you can see one called bbpress.
Next, take the sidebar.php file from your theme and make a copy. Name it bbpress-sidebar.php.
Here is an example of my bbpress-sidebar.php code.
<div id="sidebar" role="complementary">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('bbpress') ) : ?>
<?php endif; ?>
</div>Finally there are a number of bbpress templates that call the sidebar. Replace those calls with:
<?php get_sidebar( 'bbpress' ); ?>Wrapping up:
1. You registered a new sidebar called ‘bbpress’
2. You created a new template file called bbpress-sidebar.php
3. You edited the bbpress-sidebar.php file to ask for the bbPress sidebar.
4. You replaced all the calls to the sidebar with the new call to the bbpress sidebar.
That’s about it. If it is still causing you problems then I suggest reading a few resources.
https://codex.wordpress.org/Function_Reference/register_sidebar
http://justintadlock.com/archives/2010/11/08/sidebars-in-wordpress
*Author avatars.
JJ already thought about this and added in a filter where you can choose to display just the username and not the avatar.
<?php bbp_topic_author_link( array( 'type' => 'name' ) ); ?>You will see a lot of functions like the one above throughout the bbPress templates. Anywhere you find an avatar that you want to remove and just show the username, simply add the ‘type’ => ‘name’ and your good to go.
**There may be a global way of doing this, but I did not look as I didn’t need it myself.
October 10, 2011 at 5:19 pm #108320In reply to: bbPress Language Files
ModdeyDo
MemberThanks Bardo for the info, but still no joy here

I have in
/wp-content/languages/bbpress both bbpress-da_DK.mo and bbpress-da_DK.po.
I also put them in /wp-content/plugins/bbpress/bbp-languages and I removed the bbpress.pot file from that dir just to see what would happen.
I even edited some Danish into bbpress.pot just to see would that help. But alas still no local language

Do you mean that $mofile should be actually set to bbpress-dk_dk.mo ? or should it just be bbpress-%s.mo.
Moddey
October 10, 2011 at 2:54 pm #109771In reply to: "Page not found" error
nuobodu
MemberI’m using numeric permalink structure.
Well, i installed my test environment into that subdirectory. But the links see to be created nicely and logically:
to the forum
http://www.8ball.lu/wordpress/forums/forum/second-new-test-forum
to the topic
http://www.8ball.lu/wordpress/forums/topic/testing-topic-2
even if i add a trailing slash at the end of a link, it doesnt work anyway.
I am completely lost here. I have read every post in this forum about the similar problems, but never saw an insuring answer
October 10, 2011 at 2:53 pm #108210In reply to: New: Support Forums Plugin
David Decker
ParticipantAs I really liked the general approach of this plugin I have some errors/requests to report:
With the plugin installed I couldn’t save the the bbPress settings anymore – gave php errors…
Also, the plugin for me would only make sense if it’s localized properly – as of now all texts/strings are hardcoded. So for my sites in Germany the plugin is unuseable as of now but I would like to use it once it’s translateable.
So thanx for taking your time to develop this and hopefully it will be translateable one day

Thanx, Dave from Germany
October 10, 2011 at 2:48 pm #109759In reply to: user profiles in bbpress & buddypress
David Decker
ParticipantYou can use a new plugin for that to re-store the behavior with different user profile pages for BuddyPress and bbPress:
https://wordpress.org/extend/plugins/disable-bbpress-profile-override/
Hope this works for you, Dave
October 10, 2011 at 2:42 pm #109770In reply to: "Page not found" error
travis.hill
ParticipantThis is just a stab in the dark, but it looks like there is a URL problem.
The URL to your forums topics are missing a trailing slash
/.What permalink structure are you using? It may be because you’ve installed into a subdirectory also (
8ball.lu/wordpress/).Any further detail may help.
October 10, 2011 at 2:05 pm #109171In reply to: All Links Broken BBpress 2.0
nuobodu
MemberLucky

And for me it didnt fix itself. I am not using Buddypress, but i still get the same error 404, when trying to open any forum or topic.

-
AuthorSearch Results