Search Results for 'bbpress'
-
AuthorSearch Results
-
July 2, 2014 at 4:10 pm #148625
In reply to: Resizing Avatars
Rescue Themes
ParticipantI was able to locate
bbp_single_user_details_avatar_sizein bbpress/templates/default/bbpress/user-details.php which eventually lead me to the following function that accomplishes what I needed (resizing the avatar):function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) { $author_avatar = ''; if ($size == 14) { $size = 24; } if ($size == 80) { $size = 110; } $topic_id = bbp_get_topic_id( $topic_id ); if ( !empty( $topic_id ) ) { if ( !bbp_is_topic_anonymous( $topic_id ) ) { $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size ); } else { $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size ); } } return $author_avatar; } /* Add priority (default=10) and number of arguments */ add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);July 2, 2014 at 3:27 pm #148624Topic: Resizing Avatars
in forum TroubleshootingRescue Themes
ParticipantI’m hoping someone can help with locating “post_author_avatar_link” for me as well. I suspect the bbpress structure has changed since this answer was provided because I’m unable to locate the folders mentioned.
Thanks in advance.
July 2, 2014 at 12:09 pm #148620In reply to: Forum landing page not showing
Zdev1
ParticipantJust to update: I no longer think it was the BBpress update causing my issue, so you can pass me up for now, I will investigate a bit further. thank you.
July 2, 2014 at 11:13 am #148616In reply to: BBpress, WPML, and BBpress multilingual
minutepapillon
ParticipantThanks for your answer Stephen.
Well, indeed, I got the plugin from WPML (I asked really nicely đ … their support is very good anyway).
I am in contact with them now.Strange thing is that they use the same combo on their site : WPML + BBpress + BBpress-Multilingual plugin. It works fine.
July 2, 2014 at 11:01 am #148615Topic: Forum landing page not showing
in forum TroubleshootingZdev1
ParticipantTwo days ago i had an update showing for BBpress, and after I updated my forum page stopped showing. I can get to some of the forums via the ‘recent replies and topics’ on the sidebar, but when clicking on the FORUM link from my main menu, this is all that is showing.
Warning: array_merge(): Argument #2 is not an array in /home/content/p3nexnas05_data01/83/2102083/html/wp-content/plugins/bbpress/includes/common/functions.php on line 1344WP Version – Version 3.9.1
BBpress Version – Version 2.5.4July 2, 2014 at 10:05 am #148613In reply to: I can't get my forum to functon at all.
Robin W
Moderatorok try
Deactivate bbpress tweaks
Dashboard>plugins>bbpress tweaks>deactivateGo into widgets
Dashboard>appearance>widgetsAnd look at the bottom of the left hand side. Youâll see an âinactive sidebarâ, with your entries on
Below this is an âinactive widgetsâ
Drag all the entries from the inactive sidebar to the inactive widgets area.
This then allows wordpress to delete the sidebar
I normally log out and in again at this stage â probably not needed, but Iâve never bothered to check
Then basically reverse the above
Re-enable bbpress tweaks
You see the bbpress sidebar returns
Drag the entries back from the inactive widgets area to the sidebarAs soon as you’ve got the site vaguely going again, you need to STOP !!!! YES STOP!!!!!!!!!!
Then take a breath, and create a test site – you cannot continue to develop your site in live, and you need a child theme. So you’ll need to read.
https://codex.bbpress.org/creating-a-test-site/Once you have a test site, you can change things there first and then when you are happy put it into live.
July 2, 2014 at 9:56 am #148611In reply to: Sidebar not appearing
Robin W
ModeratorThe problem is that there are so many themes out there, all of which do ‘clever’ things with layout that it is impossible to give a set of instructions.
However you are using a paid theme with support, so you need to refer to them.
You question should look like
I’ve just installed bbpress forum software, and I want to use this in a page with a sidebar. To do this I need to copy and rename a theme page template that has a sidebar – basically I need to rename it bbpress.php and put it in my themes folder.
Can you either let me know which template file in your theme has a sidebar, or where within an existing template (having copied and renamed it) I would put something like
<?php get_sidebar(); ?>July 2, 2014 at 9:42 am #148608Topic: Sidebar not appearing
in forum Troubleshootingdutchpuzzle
ParticipantWordPress 3.8.3 running Headway theme 2.0.15
bbPress Version 2.5.4Link: http://www.herefordequestrian.co.uk/forums/
I tried following your instructions: “In dashboard>pages, go to add new page. Call this âForumsâ or whatever you want your menu item to be. Then in the content section, you may want to have some introductory words âwelcome to the forumâ etc. then add the following bbpress short code [bbp-forum-index]
Save this page.”……. but it didn’t make any difference, so I deleted the page.I can’t work out what template my current pages with sidebar are called.
I therefore can’t work out how to add the sidebar to the page.
Can you advise?
ThanksJuly 2, 2014 at 9:31 am #148607In reply to: How to add a @username
Robin W
Moderatorok, put the css in your style.css.
then maybe try this code in your functions.php file
add_action( âbbp_theme_after_reply_author_detailsâ, âmentionname_to_bbpressâ ); function mentionname_to_bbpress () { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo '<ul><li><font class=bbp-user-nicename>' ; echo â@â.$user_nicename.â</font></li></ul>â ; } }July 2, 2014 at 9:16 am #148605Topic: Installing BBpress on a sub domain?
in forum Troubleshootingsebgates
ParticipantHi, I am building a multilingual website using WPML. I also need to attach a forum to the website and I have never used BBpress before. My question before I start is: Should I install BBPress on a sub domain or is there no performance or security gains to be had by doing this? Is it better to add BBpress into the main WP install?
July 2, 2014 at 8:42 am #148601In reply to: How to remove "Change Topic"?
Leonyipa
Participanti have participant (bbpress)
and subscriber (wordpress)July 2, 2014 at 8:41 am #148600In reply to: How to add a @username
Leonyipa
ParticipantThanks, where can I find custom css?
also, can I use;
add_action( ‘bbp_theme_after_reply_author_details’, ‘mentionname_to_bbpress’ );
function mentionname_to_bbpress () {
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
echo ‘<font class=bbp-user-nicename>’ ;
echo “@”.$user_nicename.'</font>’ ;
}
}use font instead of <p> ? because p will skip a line which makes the name and user role very far away
July 2, 2014 at 8:35 am #148599In reply to: Replying without reloading the page
Robkk
ModeratorbbPress â Ajax Replies
this plugin only seemed to work for me when threaded replies is activated
July 2, 2014 at 8:24 am #148598In reply to: Forum index
Robkk
Moderatorthere is a little bug on this
that i could fix in the futurewhenever i subscribe to a forum
it shows the menu on subscribed forums in the subscriptions area in your profile
(it showed up on the forums area in my buddypress extended profiles)easy fix is to turn off subscriptions to forums and topics in bbpress forum settings
ill try to find a css way to fix this , if not ILL look up another way
@netweb i might put this into the codex if i fix all the nooks and cranniesJuly 2, 2014 at 8:19 am #148596In reply to: How to remove "Change Topic"?
Stephen Edgar
KeymasterWhat WordPress role does the user have?
What bbPress role does the user have?July 2, 2014 at 8:16 am #148595In reply to: Registration page background messed up
Stephen Edgar
KeymasterThis is more of a theme issue, maybe create a support topic in your themes support forums?
Also this is the BuddyPress login and not the bbPress shortcode…
See what I did here? I had a quick look at your site and like you couldn’t see an easy fix so I came up with some alternatives places for you to look đ
July 2, 2014 at 8:08 am #148593In reply to: phpBB Import Error(s)
Stephen Edgar
KeymasterAside from what I wrote above I have spend most of today fixing a couple of niggling issues with the main converter.php that will cause some odd data import validation for users with a particular setup. This doesn’t affect your imports though because if it did you would not have had any stickies đ
I didn’t know these bugs were there until today as I am typically not affected by the issue either. I hope to get these patched tomorrow so I can continue working on what I had actually planned for the day.
I am adding support to phpBB and SMF imports to fully support users who have been a) deleted, b) anonymous or c) guests users from these forums. They will be imported as bbPress ‘Anonymous Users’ keeping any legacy username with posts correctly attributed to these users.
If you willing to check a couple of the integrity issues I mentioned above we can make sure that the phpBB importer is doing what it is supposed to and ‘data integrity’ is all good and you want to do the import with the above support included I’ll add some links back here on where to get the bits for this so you can add them to your setup and have another go at a ‘clean import’ with the above support.
July 2, 2014 at 8:03 am #148591Topic: Registration page background messed up
in forum TroubleshootingNicole
ParticipantHello to everybody! I’ve got an issue with my background, on the registration page. For some reason seems like the page “doesn’t see” the registration fields, so the background has a really low height as you can see here: http://www.fbimprese.it/registra/
Any idea bout how to solve this?? I’ve already checked the CSS but I cannot set the height to a fixed value (for example to 1000px) because this configuration will be valid for all the pages in the website… Any fix? Any ideas?
WP 3.9.1
bbPress 2.5.4
Buddypress 2.0.1Thanks a lot! đ
July 2, 2014 at 8:01 am #148590In reply to: phpBB Import Error(s)
Stephen Edgar
KeymasterStickies â the issue here seems to be that the phpBB stickies and announcements have all been imported as âsuper stickiesâ. There is actually a lot more than 20 posts (my estimate in the original post was waaay out â there was actually about 100 when I went in to un-stick them). These might have been fine had they imported as normal stickies â but having them as super-stickies had a hug impact on forum pages load times.
Hmmmm… I see where your coming from, not sure what to do about this though, I think we should continue to support ‘stickies’ as part of the import process, I’ll have a think about this some more.
User import â I thought at the time that it was probably a conflict with username and/or ID but having looked at the posts Iâve adopted, they are all from different users. I have 62 forum topics/replies under my name but looking at the live site, the original authors of these are all different users which makes no sense to me. Whatâs more is, I havenât adopted all of the users posts, just like one or two from each userâŚ
I think this will come down to ‘data integrity’ the queries are quite accurate so if the results are inconsistent I can only really think that.
Can you check via MySQL a couple of those if your happy playing with MySQL that is?
âŚFollowing on, I now wonder if these are posts that should have been assigned to the âAnonymousâ user because I think I may have deleted that user at some point not realising it was a result of the import⌠Iâll add it back in and see if it fixes my problem.
That is one possibility though if as you say they are inconsistent a bit more debugging will be needed. Adding the user ‘back in’ so to speak most likely won’t help as the existing topics/replies are already assigned to the admin user.
I didnât realise that adding a moderators only forum was that easy⌠Iâve been working with RobinW to integrate the bbp-private-groups plugin, maybe I donât need that after all.
I didn’t realise from those posts this is what your intentions were đ
Repair Tools â our forum has imported 72 Forums, 71,007 Topics, and 564,453 Replies. Itâs a fairly large one, but I think Iâve heard of larger forums being imported into bbPressâŚ
Yes, there have been a handful (I can count them on one hand ) larger that this that I know of, but again theoretically it should not be an issue.
That said because phpBB does not support ‘threaded replies’ there is nothing to be gained by running the repair tool ‘Recalculate the position of each reply’, so for now just avoid that tool.
User login â I havenât used a plugin for this, Iâve written it myself. It just does a simple ajax call using the admin-ajax and then calls wp_signon() to attempt to log you in. Itâs a fairly simple one, I just need to know which hooks bbPress is using to run the conversions on and hopefully I can just call that action before/after trying to log them in.
I’ll put this on my ‘todo’ list, which is open up bbPress source and read the inline docs, bbPress is extremely well documented source code, so feel free to beat me to that. đ
July 2, 2014 at 7:51 am #148588In reply to: Widget Questions
Type Historian
ParticipantI *need* a plug-in for my bbPress-driven forums site that lists/links topics with the most recent replies [Hottest Topics]. For this purpose, I have tried both the “Recent Replies” widget and the “Recent Topics” widget configured to display/link “Topics with Recent Replies” selected from the drop-down menu.
First I tried the Recent Replies widget. It worked perfectly for several months, successfully weathering upgrades of both WordPress and bbPress to the latest versions. Suddenly [outta Nowhere!], it broke the visitor experience: Content of the main navigation sidebar following the first “hot topic” disappeared, and a second [variable] sidebar disappeared completely.
Even worse, admin access to replies went nuts [more below]. When I disabled the “Recent Replies” plug-in, the problem disappeared instantly.
Next I tried some “third-party” plug-ins that either didn’t work or required coding beyond my experience.
Then I tried the Recent Topics widget configured to list only “topics with recent replies.” This solution worked [with reservations, more below] for several weeks until July 1. Just as suddenly, this choice created some of the same problems experienced with the “Recent Replies” widget.
So I’m trying the Recent Replies widget again.
When I use it now, the visitor front-end works as it should.
However, admin access to replies has the same problems as before:The dashboard link to this function is
http://forums.typeheritage.com/wp-admin/edit.php?post_type=replyWhen I click it, this is what I see:
https://dl.dropboxusercontent.com/u/78278455/bbPress/Replies-01.pngNote that the “Filter” button has disappeared. By selecting June 2014 and clicking the “Apply” button instead, I can view all replies PUBLISHED last month.
What I CANNOT view:
ALL replies regardless of publication date or status
Complete lists of replies published in months before June 2014
Private replies including my own input in progress
Drafts
____In terms prioritizing visitor experience vs admin control, it seems safer to use the Recent Topics widget configured to list “Topics With Recent Replies” selected from the drop-down menu. My complaint with this option is that it lists/links to brand-new topics with NO responses.
Is there a way to tweak either the Recent Replies or Recent Topics With Replies plug-ins to do the job?
Many thanks for your help, Anna
July 2, 2014 at 7:15 am #148582In reply to: I can't get my forum to functon at all.
thecatholicwoman
ParticipantRobin I have a new issue which is not traditionally for this forum so I understand if you say that i I have move it.
Last night I deleted two plugins. A logo plugin and a log in/log out plugin because it was causing a pop up that people who tested the site did not like. Well for some reason after deleting them when I returned to the site to test it my admin bar was missing. I did some research on that issue and it said to check the footer.php file to make sure that <?php wp_footer(); ?> is right above the body and it is there so I am not sure. I deactivated most of my plugins until I can figure it out but even with everything but bbpress deactivated the admin bar did not come back. Not sure what to do.
July 2, 2014 at 7:03 am #148581In reply to: phpBB Import Error(s)
Tom Dyer
ParticipantHi @netweb, thanks for the response. I’ve gathered some more information to elaborate on the issues…
Stickies – the issue here seems to be that the phpBB stickies and announcements have all been imported as ‘super stickies’. There is actually a lot more than 20 posts (my estimate in the original post was waaay out – there was actually about 100 when I went in to un-stick them). These might have been fine had they imported as normal stickies – but having them as super-stickies had a hug impact on forum pages load times.
User import – I thought at the time that it was probably a conflict with username and/or ID but having looked at the posts I’ve adopted, they are all from different users. I have 62 forum topics/replies under my name but looking at the live site, the original authors of these are all different users which makes no sense to me. What’s more is, I haven’t adopted all of the users posts, just like one or two from each user…
…Following on, I now wonder if these are posts that should have been assigned to the ‘Anonymous’ user because I think I may have deleted that user at some point not realising it was a result of the import… I’ll add it back in and see if it fixes my problem.
I didn’t realise that adding a moderators only forum was that easy… I’ve been working with RobinW to integrate the bbp-private-groups plugin, maybe I don’t need that after all.
Repair Tools – our forum has imported 72 Forums, 71,007 Topics, and 564,453 Replies. It’s a fairly large one, but I think I’ve heard of larger forums being imported into bbPress…
User login – I haven’t used a plugin for this, I’ve written it myself. It just does a simple ajax call using the admin-ajax and then calls wp_signon() to attempt to log you in. It’s a fairly simple one, I just need to know which hooks bbPress is using to run the conversions on and hopefully I can just call that action before/after trying to log them in.
July 2, 2014 at 6:53 am #148580In reply to: bbpress topic content not showing
pazis
ParticipantThanks. It was Paid Memberships Pro 1.7.11 causing this.
https://wordpress.org/support/topic/buddypress-bbpress-conflict-with-paidmembershipspro
July 2, 2014 at 5:49 am #148576In reply to: BBpress, WPML, and BBpress multilingual
Stephen Edgar
KeymasterWPML make their own ‘bbPress WPM’ plugin, though it is not publicly available.
You need to ask them really nicely to get a copy đ
If you are using the official ‘bbPress WPML’ plugin is it the latest version?
With all that said though any issues with the ‘bbPress WPML’ plugin need to raised with the WPML support team.
July 2, 2014 at 5:22 am #148573In reply to: BBPress conflicts with WP Canvas Gallery plugin
chrissss
ParticipantI narrowed it down to a conflict in /wp-content/plugins/bbpress/templates/default/js/editor.js. When i move this file or deactivate the editor toolbar in the bbpress settings, the gallerys work again.
-
AuthorSearch Results