Search Results for 'bbpress'
-
AuthorSearch Results
-
July 15, 2014 at 6:22 am #149137
In reply to: bbPress redirects users when logged in?
Pavle123
ParticipantRobin that´s absolutely correct.
I was using BuddyPress login widget into my “Forum only” sidebar.
I removed that widget and added bbPress login ,and it works.My theme : Genesis Sample
Plugins used : BuddyPress, bbPress, BuddyPress Extender, BBpress Extender.Hope this will help someone.
Everything works now for me. Thanks for the help.
July 15, 2014 at 6:19 am #149136In reply to: bbPress redirects users when logged in?
Robin W
Moderatorok, thanks for that, so if I understand correctly, you were using the buddypress login widget in the sidebar and that wasn’t working and are now using the bbpress login widget in the sidebar, and it now works.
Is that correct and you are now fixed ?
July 15, 2014 at 5:54 am #149135In reply to: bbPress redirects users when logged in?
Pavle123
ParticipantOkay, so I figured out, but still do not understand why this works like this.
bbpress login widget does not redirect non admins and works normally.
BuddyPress login widget does not work and redirects to the home page, and then login session expires.July 15, 2014 at 5:08 am #149133Topic: WordPress and bbpress search
in forum Troubleshootingacornale
ParticipantAt the moment, I have a standard WordPress search box on the top of my page. It seems to return posts and pages but not bbpress forums or topics.
I can use the bbpress shortcodes to display a forum search but I don’t want two search boxes.
Is there a way to extend the native wordpress search so it returns posts, pages, topics and forums?
At the moment, it seems I can search bbpress OR search wordpress posts / pages. I want to search both?
July 15, 2014 at 4:26 am #149132In reply to: How to make similar bbpress forum to QuicSprout one?
Pavle123
ParticipantWow @Robkk
Amazing work man, thanks so much. I will need few days to set everything up.
I need to figure out where to post each code in my theme,etc.
Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?
July 15, 2014 at 4:25 am #149131In reply to: bbPress redirects users when logged in?
Pavle123
ParticipantSo this is the plugin I use https://wordpress.org/plugins/genesis-simple-sidebars/
But these sidebars are not being used for bbPress forum.
For bbPress I use this setup by Genesis Theme.

And not sure about conditionals (sorry) but here is the setup.
Not sure what is causing these “login expires” thing. Would really love to solve it, as its a bit annoying to non admins (Note for admins login does not expire).
July 15, 2014 at 3:27 am #149126In reply to: Deleting Log of edits
Robin W
ModeratorOk, the code works (just retested it on my site), but the link you supplied is not using it.
are you sure you put
/* =Revisions ————————————————————– */ #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { Display : none !important ; }in
wp-content/themes/divi/style.css
Do you have caching software running?
July 14, 2014 at 2:11 pm #149117In reply to: Deleting Log of edits
Robin W
Moderatortry this in your style.css
`/* =Revisions
————————————————————– */#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
Display : none !important ;
}July 14, 2014 at 1:57 pm #149116In reply to: customizing bbpress admin links
Robkk
Moderatorok i havent gone too much far into this as you may think though
but you can try it as it is now to test it out
these are both in my functions.php in my child theme
im just showing the reply link on both topics and replies, i have gd bbpress tools so there is also a quote link//change admin links displayed function change_admin_links ($r) { $r['links'] = apply_filters( 'rw_reply_admin_links', array( 'reply' => bbp_get_reply_to_link ( $r ) ), $r['id'] ); return $r['links'] ; } add_filter ('bbp_reply_admin_links', 'change_admin_links' ) ; //change admin links displayed function change_topic_admin_links ($r) { $r['links'] = apply_filters( 'rw_topic_admin_links', array( 'reply' => bbp_get_topic_reply_link ( $r ) ), $r['id'] ); return $r['links'] ; } add_filter ('bbp_topic_admin_links', 'change_topic_admin_links' ) ;I have this in my loop-single-reply.php at the bottom ,
i havent added all the admin links, plus this doesnt work on replies it only works on the topic , i need to use a jquery on click function instead of all css dropdown menu
<div class="dropdown" id="dropdown"> <input type="checkbox" id="drop1" /> <label for="drop1" class="dropdown_button">Topic Tools</label> <ul class="dropdown_content"> <li class="active"></li> <li> <?php echo bbp_get_reply_edit_link(); ?></li> <li><?php echo bbp_get_reply_spam_link(); ?></li> <li><?php echo bbp_get_reply_move_link(); ?></li> </ul> </div>here is all my custom css , i have this in my themes custom css plugin
.dropdown { display: inline-block; margin: 0px 10px; position: relative; float:right; } .dropdown .dropdown_button { cursor: pointer; width: auto; display: inline-block; padding: 2px 10px; border: 1px solid #AAA; border-radius: 0px; font-weight: bold; color: #222; line-height: 16px; text-decoration: none !important; background: none repeat scroll 0% 0% #FFF; } .dropdown input[type="checkbox"]:checked + .dropdown_button { border-width: 1px; border-style: solid; color: #222; background: #FFF; } .dropdown input[type="checkbox"] + .dropdown_button .arrow { display: inline-block; width: 0px; height: 0px; border-top: 5px solid #6B7FA7; border-right: 5px solid transparent; border-left: 5px solid transparent; } .dropdown input[type="checkbox"]:checked + .dropdown_button .arrow { border-color: white transparent transparent transparent } .dropdown .dropdown_content { position: absolute; border: 1px solid #777; padding: 0px; background: white; margin: 0; display: none; } .dropdown .dropdown_content li { list-style: none outside none; margin-left: 0px; line-height: 16px; border-top: 1px solid #FFF; border-bottom: 1px solid #FFF; margin-top: 2px; margin-bottom: 2px; width: 86px; } .dropdown .dropdown_content li:hover { background: #999; color:#222; } .dropdown .dropdown_content li a { display: block; padding: 2px 15px; color: #222; text-decoration: none !important; white-space: nowrap; background: #ffffff; border-bottom: 1px solid #999; } .dropdown .dropdown_content li:hover a { color: #222; text-decoration: none !important; background:#999; } .dropdown input[type="checkbox"]:checked ~ .dropdown_content { display: block } .dropdown input[type="checkbox"] { display: none }July 14, 2014 at 1:31 pm #149114In reply to: Deleting Log of edits
Robin W
Moderatoryes, you have a choice
1. You could put it in your style.css – that is a file called style.css that you will find in your theme
wp-content/themes/%yourthemename%/stle.css
where %yourthemename% is the name of your theme
Just drop it at the end.
This will then override the code in bbpress.css, and is the easiest way
2. Otherwise you can create a directory called css in your theme
/wp-content/themes/%yourthemename%/css
and copy the existing bbpress.css across to get
/wp-content/themes/%yourthemename%/css/bbpress.css
but here’s the thing, you then need to find and edit the existing display lines, just adding code will give two sets, and your maybe won’t take preference
the lines you are looking start at line 904 and say
/* =Revisions -------------------------------------------------------------- */ #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { border-top: 1px dotted #ddd; width: 100%; margin: 0; padding: 8px 0 0 0; font-size: 11px; color: #aaa; } #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li { list-style-type: none; }you just need to edit that to
`/* =Revisions
————————————————————– */#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
Display : none ;
}come back if we can help further
July 14, 2014 at 12:55 pm #149113Topic: Deleting Log of edits
in forum Troubleshootingkimberlyywp
ParticipantI found this from an old post
“And for those that just want to hide the code edit your theme css and use this:.bbp-reply-revision-log {
display: none !important;
}”
But I can’t figure out where to put that code, I have tried bbpress.css file but it didn’t work, can anyone point me in the right direction? Thanks in advance!
July 14, 2014 at 9:23 am #149112In reply to: How to make similar bbpress forum to QuicSprout one?
Robkk
ModeratorThanks so much. I am not an expert in this, so I will wait until Sunday.
haha im no expert , im just some guy helping out people on here the best i can
-Login/Register buttons above the forum
quicksprout has ajax login and its also in a popup window
so if you want that install wp-modal-login
after that copy your content-archive-forum.php to your child theme
and make sure that is has this code inside of it , heres a snippet
<?php do_action( 'bbp_template_before_forums_index' ); ?> <?php if ( bbp_has_forums() ) : ?> <?php if ( is_user_logged_in() ) { } else { ?> <div class="bbp-modal-login"> <?php add_modal_login_button( $login_text = 'Login', $logout_text = 'Logout', $logout_url = 'http://sitename', $show_admin = true ); ?> </div> <?php }; ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php else : ?> <?php bbp_get_template_part( 'feedback', 'no-forums' ); ?> <?php endif; ?>style the link to whatever you want with custom css
here is a template.bbp-modal-login a.login.wpml-btn.login-window { float: left; padding:5px; color:#fff; background:#333; text-decoration:none; text-transform:uppercase; }and like i said you could also do the shortcode version too
nice round images of members
i saw your site , and see you already have this
images for read/unread posts
if you want the images here
the whole functionality of the unread posts on their forums is like 2 unread posts plugins from the wordpress plugin respository mixed together
https://wordpress.org/plugins/bbpress-mark-as-read/
https://wordpress.org/plugins/bbpress-unread-posts/i cant really help on this
statistics at the bottom
this should be the bottom of your content-archive-forum.php
<?php do_action( 'bbp_template_after_forums_index' ); ?> </div> <?php echo do_shortcode("[bbp-stats]"); ?>to style the bbpress statistics shortcode put content-statistics.php into your child theme
this should be your entire content-statistics.php
<?php /** * Statistics Content Part * * @package bbPress * @subpackage Theme */ // Get the statistics $stats = bbp_get_statistics(); ?> <?php do_action( 'bbp_before_statistics' ); ?> <div class="bbp-stats"> <ul class="bbp_stats"> <li> <?php _e( 'Users', 'bbpress' ); ?></dt> <strong><?php echo esc_html( $stats['user_count'] ); ?></strong></li> <li> <?php _e( 'Topics', 'bbpress' ); ?></dt> <strong><?php echo esc_html( $stats['topic_count'] ); ?></strong></li> <li> <?php _e( 'Replies', 'bbpress' ); ?></dt> <strong><?php echo esc_html( $stats['reply_count'] ); ?></strong></li> </ul> </div> <?php do_action( 'bbp_after_statistics' ); ?> </dl> <?php unset( $stats );add this for custom css
.bbp-stats .bbp_stats { list-style-type: none; display: block; text-align: center; margin-left: 0px; float: none; } .bbp-stats .bbp_stats li { margin: 0; display: inline-block; padding: 5px; }“New Thread button”
this is just a drop link , example of a drop link would be to put #new-post at the end of the url of this topic and you will see that you will end up at the new topic/reply form
copy content-archive-topic.php into your child theme right now then
ILL tell you the rest when im done , because right now im having some trouble
July 14, 2014 at 8:46 am #149111Robkk
Moderatorjust checked it out and i see that what its showing is buddypress activity streams
what i thought it could have was just bbpress forum replies showing up in google , cause for that all you have to fix that was noindex bbpress replies post type in a seo plugin like yoast.
but since this involves buddypress , i suggest you make a topic at buddypress.org
https://buddypress.org/support/
tell them your theme
if you have any seo plugins tell them that tooJuly 13, 2014 at 4:47 am #149092Topic: bbPress redirects users when logged in?
in forum TroubleshootingPavle123
ParticipantHello,
I am having troubles with the BuddyPress/BBpress login on my forum.
Whenever a user that is not admin, tries to log in, he is being redirected to the homepage. When he returns to the forum, his login session expires.Please check it here to understand what I mean
http://cardzreview.com/forumsYou can use this login :
Name : test
Password : testI got few complaints from the users, and I think its annoying as well to be honest.
So its affecting all users except for the admin.Any idea how to fix this?
July 12, 2014 at 5:58 pm #149087In reply to: Crayon Syntax Highlighter not working / tags issue
Stephen Edgar
KeymasterI just added a patch for this, so unless someone comes with a reason to not include this it will be included in bbPress 2.6.
July 12, 2014 at 9:15 am #149074In reply to: Sumbit to email address
localmarketingus
ParticipantBecause on a ‘conatact form” you can’t enter html or code like in bbpress.. thats why i asked the question.
July 12, 2014 at 8:08 am #149068In reply to: How to make similar bbpress forum to QuicSprout one?
Robkk
ModeratorFor login and register you could create individual pages for login and registration , you could use the login and register form short codes by bbpress and put them in your pages or if you use theme my login or something similar that creates custom frontend membership pages use that. And put an HTML link to both pages above loop-forums.php or above the call of loop-forums.php in archive-forum.php
Round avatar images use border-radius:50%; or something like that , you could probably right click inspect element target the avatar image and get the CSS code right off of quick sprout and put that in your custom css
Unread posts you have to wait til its sunday (time I will be home to see my desktop)
Stats at bottom you could use the bbpress stats short code , if you want it in your templates use the php do shortcode function with the bbpress stats short code
I don’t know how the new thread button fuctions , but you could create a page let’s say “new topic” and link to it the same as the login/register buttons
July 12, 2014 at 6:45 am #149062In reply to: BBPress advise wanted
Stephen Edgar
KeymasterCool, most of things you mention can be done, some are ready to go, others need a few tweaks and custom PHP code to achieve the results.
1. create login in the wp home page for BBpress
Create a WordPress page, set that as your home page, add the bbPress login/register shortcodes
2. allow only offline registered members to be registered as BBpress users
Not quite sure what you mean here, you can set your forums to ‘private’ so only logged in registered members can see or use the forums.
3. enable/disable users, and hence their profiles
This is more of a WordPress question than bbPress, if the member has an active and valid WordPress account then they can login. If you want to remove the user and their associated profile then you’d delete the actual WordPress user which inherently flows down to bbPress.
4. allow users to create profiles with their filmography and perhaps a vimeo embed or two
With a few minor tweaks/customisations you could achieve this, you may also want to take a look at BuddyPress’ Extended profiles which will let you do this also.
5. can users have simple URLs for their profiles, like perhaps example.com/username?
Yep, this is built in, here’s yours here on bbpress.org https://bbpress.org/forums/profile/parambyte/
July 12, 2014 at 6:29 am #149060In reply to: Vbulletin to bbPress Import – Replies Missing
themefurnace
ParticipantBrilliant – thanks a lot 🙂
Im moving the forum designerstalk.com over to bbPress and plan to do a write-up on WPLift about it,
If you cant fix it, then I could possibly upgrade to VB4 and then do the import but Id prefer to do it from version 3 if at all possible.July 12, 2014 at 6:24 am #149056In reply to: Possible issue untrashing topics
Stephen Edgar
KeymasterI haven’t looked at what you have above closely, nor have I looked closely at the changes @jjj made recently but we just changed some of the logic behind trash, untrash, spam and unspam for topics and replies.
Details and links to changesets are in the following ticket if you want to take a look as it appears I have not really looked at anything 😉
https://bbpress.trac.wordpress.org/ticket/2494
If you don’t see anything in that ticket or related to what your looking for please create a new ticket and I promise I will look 😉
July 12, 2014 at 6:21 am #149055In reply to: Allow HTML tags in Post for All Users
Leonyipa
Participantthanks, where should I put the
ntwb_bbpress_custom_kses_allowed_tags.php
in?July 12, 2014 at 6:10 am #149053In reply to: Deep integration (old bbpress) and empty wp_head
Stephen Edgar
KeymasterI have hardly dug into bbPress 1.x and am not familiar with the code base at all.
How about grab the latest bbPress v1.2 and create a test/demo site on your local PC with a backup your database, things should theoretically work though you ‘d have to make sure the database upgrade routine was triggered of course.
That should then give you a working version with your database to then start comparing the base code of your test site vs your live site.
That said, what is stopping you from upgrading? I am presuming here that there is something stopping you from installing WordPress and upgrading bbPress 1.x to the v2.x plugin?
July 12, 2014 at 6:05 am #149052In reply to: Vbulletin to bbPress Import – Replies Missing
Stephen Edgar
KeymasterHmmmm, that’s no good, I’ll take a look in the next few days, I’m busy as making a load of importer improvements so I’ll test these with vBulletin 3 at the same time.
Also this reported in this topic also, so maybe subscribe to that topic also in case I write omething there and forget here 😉
July 12, 2014 at 5:58 am #149050Topic: How to make similar bbpress forum to QuicSprout one?
in forum TroubleshootingPavle123
ParticipantHi guys,
Anyone has a clue on how to make a forum similar to this one http://www.quicksprout.com/forum/
My current forum is http://www.cardzreview.com/forums/ and it sucks.
Any help is highly appreciated.
July 12, 2014 at 5:12 am #149043In reply to: Custom user administration page
Stephen Edgar
KeymasterCreate a page or two and use the bbPress shortcodes
https://codex.bbpress.org/shortcodes/
https://codex.bbpress.org/widgets/ -
AuthorSearch Results
