Hello,
thanks for the tip, it’s working perfectly…now i have a picture before the Forum Title…excatly what i need…
Anyway i need to know how to edit it’s CSS style…
I’m using Firebug and i was able to edit the CSS style for the topic’s thumbnails to get identical as the buddypress one…with a circle box as border…
You should see here hxxp://www.thepanicroom.it/forum/forum/panics-room-forum/
Unfortunately when i analyze the picture your code added, i have no idea on how to find a CSS line to modify…i get only html div span body etc etc
I tried to change the class name to ‘Thumbnail’ and i got a perfect thumbnail…. i changed it to Avatar but no result…i also declred it exactly like the Buddypress do…but nothing to do, the picture come back to the default one…
Please sorry for my really wild and bad english π
Thank you so much…
I’ve run the repair tool with the recommended option, and resaved the permalinks. No change – both the edit and merge links go to a ‘page not found’ error. Both are going through the [topic slug]/edit/ path – [topic slug]/edit/?action=merge for the merge link.
Something else I’ve tries is to create a dummy account at the moderator level, and attempted editing and merging topics. Same issue, both at the moderator and keymaster levels. Same problem with the edit link on replies too.
If it would help any, I can provide a link to the forum in question.
thanks very much.
i’m not sure what i was doing wrong the last time i tried but the short codes did work perfectly for the individual thread this time.
How’d you go?
If you’ve had no luck see the following article section where it gives you details to add a plugin from a .zip file (the .zip file you can get from the above GitHub link to the plugin ‘Download Zip).
‘Install a Plugin using Upload Method in WordPress Admin Panel’
Surprisingly this method isn’t outlined in the WordPress Codex here (it should be) https://codex.wordpress.org/Managing_Plugins#Installing_Plugins
Regarding the current Forum subscriptions:
1. Do they apply only to the current forum, or to sub-forums as well? I am seeing behavior that a subscription to a forum does ”’not”’ subscribe you to all sub-forums as well. Will I and all my moderators have to go and subscribe to each sub-forum in the entire forum tree?
2. Do they apply only to new topics? Or to ask another way, do they also apply to all of a forum’s existing topic replies? Here again, I am seeing behavior that leads me to believe that I will only get a single new topic notification, but I will have to go and ”’manually subscribe”’ to each individual topic if I want to see replies to that topic. For administrators and moderators this would be nastily inconvenient behavior.
The wording at https://codex.bbpress.org/forum-settings/ for precisely what subscriptions do appears ambiguous to me in these areas.
Even though RSS for the entire forum is currently implemented, I still have a great interest in a simple email subscription that is equivalent. Simply put, the reason is simplicity for my users, moderators, etc., as well as for me as an administrator/implementer. While I can setup something using the RSS feed that would generate email notifications to all my moderators, I don’t want to for a variety of reasons including time to implement and potential security holes.
A thought: you may decide to implement both “forum local” and “forum with sub-forums” subscriptions. When unsubscribed, the links would display as:
”’Subscribe”’ – if there are no sub-forums
”’Subscribe with sub-forums”’ – if there are sub-forums (the default)
”’Subscribe without sub-forums”’ – if there are sub-forums (user selectable)
where the ”’without sub-forums”’ versus ”’with sub-forums”’ are 2 faces of a toggle link (similar to your Subscribe/Unsubscribe toggle link) controlling what the ”’Subscribe”’ link in fact subscribes the user to.
If you choose to implement only a single behavior for forum subscriptions, I am ”’strongly”’ in favor of including all sub-forum new topics and replies. I can see every bbPress site administrator and forum moderator wanting this functionality.
I also think it extremely counter intuitive to not include existing topic replies in a forum subscription. I hope you do already, but I have not experimented with it enough to know precisely how the forum subscriptions behave.
NB: The “unsubscribe” bug may have clouded my observations of real forum subscription behavior.
Have you tried using the single forum shortcodes for each forum you want on each page that you want a forum?
https://codex.bbpress.org/shortcodes/
It is already translatable, see https://codex.bbpress.org/bbpress-in-your-language/ to download or add translations for your language.
You need to make sure embeds are enabled for both bbPress & WordPress
Auto-embed Links
Enable forum participants to embed links from YouTube, Twitter, and others by simply pasting a link into their topic or reply. This is done using the WordPress oEmbed API. More information and a full list of supported sites can be found on the Embed Codex page.
https://codex.bbpress.org/forum-settings/ https://codex.wordpress.org/Embeds
You could enable Featured Images for your theme and bbPress and also display the actual image just as the site you link to does (at the left of the topic/post)
Find out if your theme supports ‘Featured Images’ and if so then enabling them in some customized bbPress templates would mirror that same look. π
https://codex.wordpress.org/Post_Thumbnails
What language are you looking for?
Maybe this will help https://codex.bbpress.org/bbpress-in-your-language/
Shortcodes should do the trick as most things are covered by them.
Eg. If you want to show a forum use the single forum shortcode, if you want to display a single topic with the replies use the single topic shortcode.
BuddyPress is basically doing the same as the shortcodes and I’m not entirely sure what you mean by ‘i tired with shortcodes but that only seemed to give the headings’ unless you are using the wrong shortcode where for example [bbp-forum-index] rather than [bbp-single-forum id=$forum_id].
https://codex.bbpress.org/shortcodes/
Forum Prefix β Used to enable forum prefixing with the Forums base slug in Archive Slugs
Eg. Using bbpress.org as an example, this forum ‘Troubleshooting’ uses the slug https://bbpress.org/forums/forum/troubleshooting/ if you disable the prefix it would use https://bbpress.org/forum/troubleshooting/ instead, it removes the forums part of the slug.
Make a copy of Twenty Thirteen’s page.php in the theme directory and rename it to bbpress.php.
Does that work?
I’d suggest you create a WordPress page and use the shortcode [bbp-forum-index] and then after that short code at your disclaimer text and style accordingly.
What happens when you copy the Twenty Fourteen page.php template as bbPress.php in the theme folder and visit http://example.com/forums ?
So let me restate what you found to work:
1. When creating a menu item for forums, do NOT use the automatically available permalink that ends in “/forums/”
2. Instead, create a page that has the shortcode [bbp-forum-index] in the body. There could also then be other content or links in the body.
3. Make sure the page you created does NOT have a permalink that ends in “/forums/”. In my case I had a page Title of “Forums”, but I changed the permalink to end with “/allforums/”.
I did this on my site and it now works on my Android smart phone.
This weirdness needs to be either fixed or on the bbPress FAQ.
Lynqoid,
the BB Press is running under a wordpress theme.
The above code to be added onto the plugin >bbPRess >Edit ?
Can I paste the code mentioned below
.forum-disclaimer { display:none; }
.bbpress .forum-Disclaimer
Please take note that this forum responses are for your reference only. Members are not related to any companies and they did it out of voluntarily based on their usage or experienced told by others. Therefore, MJ HUB Pte Ltd and members will not be held responsible on the accuracy of the information being provided in this forum. For affirmation, please contact main supplier on your doubts. { display:block; }
Hi
How can I translate the ‘Search’ string in the Search Box at content-archive-forum.php:
<div id="bbpress-forums">
<?php if ( bbp_allow_search() ) : ?>
<div class="bbp-search-form">
<?php bbp_get_template_part( 'form', 'search' ); ?>
</div>
I want to translate it to my website language but I can’t really find the file to modify…
Thanks for the support
You can add this into the footer of your website and then give it a class along the lines of .forum-disclaimer
Then inside your stylesheet do something like:
.forum-disclaimer { display:none; }
.bbpress .forum-disclaimer { display:block; }
Good luck!
Hi Lynqoid, nice pic by the way : )
I have added into the custom.css and doesnt seem to work. Any missing code I have missed out ?
Green horn in php. Thanks
.bbpress #primary .sidebar { display:none; }
.bbpress #content-page { width: 98%; }
Add this to your stylesheet.
.bbpress #primary .sidebar { display:none; }
.bbpress #content-page { width: 98%; }
Good luck!
The wpdb prepare uses a placeholder like %s and then replaces it with the first variable in the arguments after the query itself.
For example:
$user_login = $wpdb->get_var( $wpdb->prepare(
"SELECT u.user_login FROM $wpdb->users u JOIN $wpdb->usermeta um ON um.user_id = u.ID
WHERE u.ID = %s
AND um.meta_key = 'last_activity'
AND DATE_ADD( um.meta_value, INTERVAL %s MINUTE ) >= UTC_TIMESTAMP()
",
$user_id, $time
) );
Good luck!
I’m getting an error all of a sudden to my code
function is_member_online($user_id, $time=5){
global $wp, $wpdb;
$user_login = $wpdb->get_var( $wpdb->prepare( "
SELECT u.user_login FROM $wpdb->users u JOIN $wpdb->usermeta um ON um.user_id = u.ID
WHERE u.ID = $user_id
AND um.meta_key = 'last_activity'
AND DATE_ADD( um.meta_value, INTERVAL $time MINUTE ) >= UTC_TIMESTAMP()
"
));
if(isset($user_login) && $user_login !=""){
return true;
}
else {return false;}
}
This checks if bbpress members are online. This is the error that is being resulted
Warning: Missing argument 2 for wpdb::prepare(), called in /hermes/bosweb/web172/b1721/ipg.dnbrawlercom/lsheroes/wp-content/themes/SaveLSHoooo/custom-functions.php on line 15 and defined in /hermes/bosweb/web172/b1721/ipg.dnbrawlercom/lsheroes/wp-includes/wp-db.php on line 992
It has been happening working until recently.
My forums show up on the page if I add the shortcode [bbp-forum-index] but then none of my topics show up! There is a number under topics but when I click on the number I end up at a blank page.I’m just starting the forum and tried several test topics but they go to a blank page. I’m using Creativo as a theme, and wonder if there is something I should modify somewhere. Any ideas?
Thanks!
Help!
I can’t get the ‘lost password’ function to work because I don’t understand what I am supposed to put in the ‘Lost Password URI:’.
I’ve read several things such as that I should create a ‘Lost password’ page but I don’t know what content I need to add to this page.
Or that I use a shortcode [bbp-lost-pass]. However I don’t know what you do with a short code and everything I’ve tried has failed.
Can you help?