Search Results for 'code'
-
AuthorSearch Results
-
September 24, 2011 at 3:10 am #109027
In reply to: Any ways to show single forum's latest topics?
common8308
Participant@anointed Thank you for the suggestions! I searched for the codes and it seems it’s very nicely written about almost all the functions, I just added a couple of lines in the the widget core (since I don’t know much about tweaking the codes without fixing the core..) and it works great! Thanks for making the forum plugin again. It’s really a seamless and powerful integration of forum and WP!
September 24, 2011 at 1:58 am #109070In reply to: Can't get bbPress to play nice with my WP theme
lckitchen
MemberSounds great. Is using shortcodes hard to control if the forum grows or is there a list of how many “main” pages and different shortcodes I would need? I guess this is a much more tedious way of doing it and changing the theme code would be best?
I will look for that thread…
You think I shouldn’t download that “bbPress attachments” plugin though?
Thanks again! You are most helpful
September 24, 2011 at 1:51 am #109069In reply to: Can't get bbPress to play nice with my WP theme
Anointed
ParticipantYes, changing that will make it full width. It should function just fine.
Using shortcodes with full width template pages works as well.
I believe that there is a thread here somewhere with a link to attachments that works with 2.0. Seem to remember reading it somewhere.
September 24, 2011 at 1:21 am #109068In reply to: Can't get bbPress to play nice with my WP theme
lckitchen
MemberThank you for your rapid reply anointed, I contacted Orman’s support, we’ll see what they say.
Since I am new to bbPress, at your first glance of my above forum link… does it look like I got the installation and functions working, just having a problem with the width template (code)?
I tested how it would look by adding this short code [bbp-forum-index] into a regular “page” (not forum) and setting it to use full width template and I got that page to look like it should; http://limecitykitchen.com/forum-bbpress (just not functioning) Look better though, hope they can help me fix the code.
Also, will the “bbPress attachments” plugin work well with the bbPress 2.0 plugin?
https://bbpress.org/plugins/topic/bb-attachments/
Thanks again!
September 24, 2011 at 12:23 am #109067In reply to: Can't get bbPress to play nice with my WP theme
Anointed
ParticipantIf it were me, I’d ask Ormon to write a quick function for your theme to switch the body class to
page-template-template-full-width-phpfor post_type forums/topics/replies/users/.
*Basically run that last in the chain as to override the default setting only for the forums.
That would probably be the quickest and best approach to take for this particular theme.
That will give you full width forums. There are lots of ways to approach this and he may even have better ideas.
September 24, 2011 at 12:10 am #109160In reply to: 'bbPress Topics list' widget, outside loop
Anointed
ParticipantNO, not bothered at all, was just saying that I didn’t understand what you were asking is all.
If I understand you basically want to take the code from the topics widget and use it as a standalone loop instead of a widget?
Keep in mind I’m not a great coder: If it were me, I would simply copy the code from the bbp-core-widget.php file that I needed for the topics widget. I would then strip out the widget portion of the code and hard code in the default arguments.
This basically would give me the same loop used by the widget.
// Query defaults
$topics_query = array(
'author' => 0,
'post_parent' => any,
'posts_per_page' => 10,
'show_stickies' => false,
'order' => 'DESC',
);Probably better ways out there, but that’s how I would try it
September 23, 2011 at 11:29 pm #109159In reply to: 'bbPress Topics list' widget, outside loop
venividi
Participant//anointed, I must say sorry if I bothered you.
You might see the ‘bbPress Topics list’ widget, in wordpress widgets. I meant I want to use the widget ‘outside the loop’.
That must be done the code like below:
<?php
if ( bbp_has_topics( array( ‘author’ => 0, ‘show_stickies’ => false, ‘order’ => ‘DESC’, ‘post_parent’ => ‘any’, ‘posts_per_page’ => 5 ) ) )
bbp_get_template_part( ‘bbpress/loop’, ‘title’ );
?>
September 23, 2011 at 9:58 pm #109215lmburford
MemberI registered here just to help you, because i was having this same issue.
I was frustrated as well… BUT the solution is so simple. Too bad theres no documention to tell everyone.
Whatever u changed the BBPress “Forums base” name to, make a wordpress page with that permalink. And then put in the short code [bbp-forum-index] (or any BBPress shortcode u like).
If you changed the BBPress Forums base name to “theboards”, then make a new wordpress page with the same permalink “theboards”. So your forum will be located at mywebsite.com/theboards, regardless of if you create new forums or topics, theres nothing there. Create a page, pop in that shortcode or any of the ones at the link below and ZAP BOOM POW, go to mywebsite.com/theboards and its there! lol
BBPress Shortcodes- https://bbpress.org/forums/topic/bbpress-20-shortcodes.
Hope that helps.
September 23, 2011 at 9:03 pm #109012In reply to: Full Width forum
amirsaam
MemberYou must use everywhere %
example:
#content {width: 80%} #sidebar {width; 20%}September 23, 2011 at 8:51 pm #109212nvisioncurtis
MemberThis was useful! thanks.
I simple used the insert code (which I was looking for but didn’t see and assumed not available) within my main template instead of using teh bbPress subtempate.
[bbp-forum-index]
September 23, 2011 at 8:30 pm #109154Anointed
Participant
Yeah I have been finding tons of hidden gems in the plugin.
I suck at documentation. I’m hoping that someone will come along and help out with that part someday. JJ is crazy busy and I find it hard to spend more than an hr a day here. There are some great support people here, and I believe that now the plugin is released that more people will jump in and help out.
September 23, 2011 at 6:19 pm #400823sixty
MemberHas anyone done this successfully? I feel like an idiot. I have 1) installed WP, 2) added and activated BP, and then 3) installed bbPress via BP “Sitewide Forums” option. Then I get a whole series of conflicts – first the forums won’t display in the BP theme, then I adjust the slug names and the Forums tab disappears, then I get the Forums page but there doesn’t appear to be anything there. I can’t crack the secret code. I feel like I’m playing Myst.
September 23, 2011 at 6:10 pm #107710In reply to: "bbPress Attachments" plugin for bbpress 2.0
Andrew Tegenkamp
ParticipantA wonderful plugin that works great so far in my testing
Thanks Milan!
September 23, 2011 at 5:18 pm #40044Topic: bbPress redirect problem at WP MultiSite installs
in forum TroubleshootingJaja..
MemberI think i have found a Glitch,
When i log-in and log-out the redirecting script isn’t working correctly at WP MultiSite installs.
It copy-/paste the root directory like this.
(this is after i logged in from the home-page)
http://localhost.sites/example.nl/members/example.nl/members/
(this is my home-page)
http://localhost.sites/example.nl/members/
I think it has something to do with this code:
bbp_logged_in_redirect();Nobody else got this problem on WP Multisite installs?
September 23, 2011 at 3:52 pm #109119In reply to: Remove Headers?
Jaja..
MemberYou have to follow the loop and delete them from multiple files.
Delete this code:
<?php bbp_breadcrumb(); ?>(from all files)If you don’t understand how it works you can also hide this menu by CSS.
Add the following code at the bottom of the /css/bbpress.css stylesheet.
.bbp-breadcrumb { display: none!important; }It will hide this menu on every page.
September 23, 2011 at 1:39 pm #109197In reply to: importing data from other forums?
Ed
Participantthanks for the reply. I’ve been messing with the one i’ve found here:
but I’ve not been able to get it working yet. it imports most of the data, but some fields are broken.
I hope either the owner of that, or someone else will come out with a full release soon. BBv2 looks great – but without data to import, I can’t play
September 23, 2011 at 11:59 am #108915In reply to: jDate and Jalali dates
amirsaam
Member
No One?
September 23, 2011 at 9:00 am #99217In reply to: WPMimic V.1
smiga
ParticipantWe need to make some beer donation to Vietson and ask upgrade to 2.0
September 23, 2011 at 9:00 am #104317In reply to: WPMimic V.1
smiga
ParticipantWe need to make some beer donation to Vietson and ask upgrade to 2.0
September 23, 2011 at 7:57 am #109078In reply to: Can't make the author-reply avatar bigger
Jaja..
MemberMaybe because I’m at a WP MultiSite ?
My homepage (first website) is a slimmed version of this theme.
http://store.informationarchitects.jp/product/ia³-template
I only use the Media Queries (menu) from that template but but it has its own functions.php its not Twenty Ten or something.
Maybe some Avatar calling code is missing that Twenty Ten has in the functions.php?
And my forum (second website) + Multi site, is used as a Child Theme to the first website.
If i create a page in my second website i can still use the template files from the first website like a contact page (template) so that would make me think that the Child Theme setup is down correctly.
===
strange thing is that everything works with this code.
<?php bbp_topic_author_link( array( 'sep' => '
', 'size' => '120' ) ); ?>But not with this one.
<?php bbp_reply_author_avatar(array('size' => '80')); ?>I don’t want the author link i only want the Avatar and create my author link at some other position.
September 23, 2011 at 7:08 am #109153Jaja..
MemberWOW!
This is a stunning feature!
I like all those little sexy features, it can make your forum stand out and become a little eye-catcher.
Thank you so much for this.
Btw: someone should make a blog (category) about all those kinda features, i think lots of people would love to do this.
—
Yeah i see it now you said so, <?php bbp_reply_postion(); ?>does the numberingSeptember 22, 2011 at 11:37 pm #109152John James Jacoby
KeymasterI am pretty sure there is a function for getting the reply position. If not, one can be created using code from the bbp_get_reply_url() function as an example.
September 22, 2011 at 9:45 pm #109114In reply to: Remove Headers?
Anointed
ParticipantThose functions are spread throughout a lot of the bbpress files. There is no single place that you remove them.
to help out a little, the breadcrumbs are output on the theme via the function.
<?php bbp_breadcrumb(); ?>If you remove that function from all the template files then the breadcrumbs are gone. You can do that for admin notices as well as forum notices.
September 22, 2011 at 9:40 pm #109128In reply to: Seperate Forums
danlee
ParticipantI would like to get my theme to look like this:
http://imageshack.us/photo/my-images/836/unledir.jpg/
Instead of looking like this:
http://imageshack.us/photo/my-images/822/unledwc.jpg/
Hard to explain, but hope the picture does justice
September 22, 2011 at 9:24 pm #108727In reply to: Feature Request: Change Post Author
Anointed
ParticipantWell I gave it a shot using the following code, but for some reason the only user that shows up is my admin account. I’m guessing this has nothing to do with bbpress, but more wp. I think I am missing something somewhere, and will try to find a solution sometime.
*code I was using to add author box to topics
add_action( 'init', 'my_add_author_to_topics' );
function my_add_author_to_topics() {
add_post_type_support( 'topic', 'author' );
} -
AuthorSearch Results