Search Results for 'bbpress'
-
AuthorSearch Results
-
July 14, 2014 at 2:11 pm #149117
In 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/July 12, 2014 at 5:09 am #149042In reply to: Migration from bbpress?
Stephen Edgar
KeymasterThat is up to the the forum software you choose to use, all our source code is open source and any forum software package is free to create an import tool to import from bbPress, we do the same, we import from many forum packages but it is up to each application to add support if they want new customers to be able to import from bbPress, I know a few of the common ones do.
July 12, 2014 at 5:06 am #149041Stephen Edgar
KeymasterYou would need to go to bbPress settings and uncheck ‘auto role’ as when a user logs in they are automatically given the role set in this setting.
July 12, 2014 at 4:55 am #149040In reply to: Crayon Syntax Highlighter not working / tags issue
Stephen Edgar
KeymasterI just had a play with this and you are correct, it works for administrators/keymasters but not standard ‘participants’ or ‘anonymous’ users.
Grab this custom KSES plugin I have here https://gist.github.com/ntwb/7797990
I just added
classto to thepresection as that is where the issue is,preis allowed but<pre class="whatever">is not.Double check any of the other allowed tags and/or remove ones you don’t want/need.
Edit: I just double checked against the default bbPress allowed tags and all are there, you may or may not want the table sections, up to you. I also made a note to add
classas an allowed tag ofprefor bbPress core, I can’t think of a reason for us not to add this by default.July 12, 2014 at 4:22 am #149039Stephen Edgar
KeymasterI cannot reproduce this issue with bbPress 2.5.4 and WooSidebars 1.3.1
For example replacing the ‘Primary Sidebar’ with a new WooSidebar for the bbPress ‘Topic Archive’ and ‘Each individual topic’.
Typically issues where people have had issue with ‘the_title’ usually revolves around a theme issue, try using the same configuration you were trying but test it with the Twenty Fourteen theme.
Anything else to help reproduce the issues you posted I’m more than happy to take a look but will need some detailed reproduction steps so I can see what your seing.
July 12, 2014 at 3:29 am #149037In reply to: Reduce size of embed Media
Stephen Edgar
Keymaster@leonyipa Don’t get you bb’s confused, what you wrote way up there and quoted here:
And I paste the code into: /public_html/wp-content/themes/bp-default/functions.php
That is the BuddyPress Theme ‘BP Default’, nothing to do with bbPress so make sure you are updating the correct files 😉
July 12, 2014 at 3:06 am #149033In reply to: Long Query Error
Stephen Edgar
KeymasterThis is just a warning notice, not so much a functional error, due to the amount of roles you have which is combined by WordPress, bbPress, Shop and S2 Member the query is over 1540 charatacters in length (1547 to be exact)
You should contact your webhost for the best advice guidance on what MySQL settings they have configured for your hosting setup, they may have an option to increase this number for you.
(Apologies, your topic was originally caught by Akismet as spam)
July 12, 2014 at 2:43 am #149031In reply to: How do I add a sidebar to all topics pages?
Robin W
Moderatorhave both of you been through
come back if you need further help.
-
AuthorSearch Results