Forum Replies Created
-
In reply to: change styling if freshness less than 24 hours
The same place where you added the picture today.)))
bbpress.org/forums/topic/create-a-link-image-for-last-post-in-forum/Namely # bbpress-forums .bbp-topic-freshness a
In reply to: change styling if freshness less than 24 hoursOK, put it in. But I did not find the new class anywhere on the page (.22fresh). The cache was cleared.
Maybe the theme will not start up?In reply to: change styling if freshness less than 24 hoursOK thanks
In reply to: Media upload from Topic/ReplyCongratulations! 🙂
In reply to: Media upload from Topic/ReplyIt looks like you have a confusion with user rights.
Disable globally plugins and permissions and then enable check sequentially.In reply to: Topic titles issue with shortened wordsHi Diana! This question is discussed on the Google console support forums.
For two years, so much new writing was even corrected there
In reply to: Shortcodes not working (wp-poll)Without going into the reasons, I recommend plugins / democracy-poll / for bbp.
More flexible settings, more options, stable performance for my taste.In reply to: Avatar issuesHave an idea – take the avatar settings this forum. Here are the settings
{ float: none; vertical-align: middle; border: 3px double #ddd; max-height: 20px; max-width: 20px; box-shadow: none; display: inline-block; margin-right: 4px; }
Get the same as here for begin
change, add as you want.In reply to: Avatar issuesI don’t know – are there any private msg here and is it prohibited by the rules? But if you want – then welcome
I ask the moderators to delete this offtopic further please
In reply to: Avatar issuesGive the site url – I’ll try to send you the css setting
In reply to: Avatar issuesIt depends the themes – either way, the theme is your choice.
In specialized bbpress-theme everything is fine usually.In reply to: Avatar issuesYou can use the same css key, but instead of
display: none! Important;
experiment with padding – move 4 parameters up and down sideways as you likeIn reply to: Avatar issuesDon t understand about. Let’s screen?
In reply to: Minor HTML Errorbest way – to write wordpress.org/support/plugin/gd-bbpress-attachments/
Although the author of the plugin (Milan) regularly visits here.
In reply to: Acess default WP user pageThis is more a question to the author of the theme you are using. Start with this.
If the theme is not intended for bbpress, you can make a separate page (item in the menu) – for example, using shortcodes – to create page user profile.
The bbpress shortcodes are in the bbpress codex.
If this is still difficult, there are special plugins
In reply to: Minor HTML ErrorWhere is this?
This is generated by bbpress or a plugin like wp-wrapper..Ok, if it’s not difficult for you. This is a fake sandbox, sorry for the mess.
dev.imhodom.ru/forums/topic/%d0%b0-%d0%b5%d1%81%d0%bb%d0%b8-%d0%bd%d0%b5-%d0%b7%d0%b0%d0%b3%d1%80%d1%83%d0%b6%d0%b0%d1%82%d1%8c-%d0%b0-%d0%b8%d0%b7-%d0%b1%d0%b8%d0%b1%d0%b8%d0%bb%d0%b8%d0%be%d1%82%d0%b5%d0%ba%d0%b8-%d0%b2/#post-256485see#post-256485. The top large picture is an old regular one. We are trying for.
The bottom picture is how it should work.
PS – The new pics class in functions is disabled now, but enable if needed, no problem.ok ok – fixed a lot of syntax errors. Now the code looks like this and it works
function add_image_responsive_class($content) { global $post; $pattern ="/<img(.*?)class=\"(.*?)\"(.*?)>/i"; $replacement = '<img $1class="$2 img-responsive"$3>'; $content = preg_replace($pattern, $replacement, $content); return $content; } add_filter ('bbp_get_reply_content', 'add_image_responsive_class'); add_filter ('bbp_get_topic_content', 'add_image_responsive_class');
Summary. I got a new picture class – img-responsive. But no new link appeared. How to make it open like a rel prettyPhoto … no ideas yet ..
A feature is at stake – to allow all BBPforum pictures the last few years to open in a lightbox in full size. worth looking for a solution)
oops .. fatal error ..
trying to beat the other side. next digging towards how to open an innocent picture with target = “_ self” through css trick..task narrowed! )
Thank you! But I’m looking for a way to apply link: data-rel=”prettyPhoto” target = “_ self” to all available bbpress images. It can be loaded in any way, it doesn’t matter.
Found the code
function add_image_responsive_class ($ content) { global $ post; $ pattern = "/ <img (. *?) class = \" (. *?) \ "(. *?)> / i"; $ replacement = '<img $ 1class = "$ 2 img-responsive" $ 3>'; $ content = preg_replace ($ pattern, $ replacement, $ content); return $ content; } add_filter ('the_content', 'add_image_responsive_class');
but for wordpress. Will it work for bbpress?
In reply to: Avatar issuestry to css:
#bbpress-forums .widget_display_replies img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar {display:none !important;}
In reply to: bbPress Topics for Posts commentThank you! Does this work with Gutenberg now?
In reply to: Thank you bbPress <3Good idea for Christmas! 2 years ago we switched to bbpress from Drupal – and we are still happy. It has become much easier to work – everything is easily scalable and customizable. The forum at the heart of our site – https://imhodom.ru/.
Now we have an editor-in-chief, not a tired programmer) There is no such service that would not be in WordPress, and some ideas were suggested to us by plugin authors.Special thanks to @johnjamesjacoby and @robin-w – success and good luck the New year!
In reply to: Additional Taxonomies for Posts and RepliesLike a different approach.
Do you have a confusing system of tags and categories? Look towards plugins make a hierarchy categories and tags, such as “Table of Contents Plus”.
…automatically creates a context specific index or table of contents (TOC) for long pages (and custom post types) … a sitemap listing pages and / or categories … a unique numbering scheme .. alphabetical sorting of tags and so onIn reply to: does not preview any links from instagram or Youtubeas I understand it, now it will be given to insert only own feeds after registering a token, and it will not be possible to insert, for example, Leonel Messi. Therefore, no updates to bbpress will help. Now everyone needs to solve this problem independently (((