Forum Replies Created
-
In reply to: right to left directtion
Hi,
Make sure that in Settings>General you have the correct (right to left) language.
Then make sure that you have a theme that support right to left.Pascal.
Hi,
A trac ticket was already registered for that. The full fix should be included in the upcoming 2.6. If not the wordaround is also mentioned in the ticket.https://bbpress.trac.wordpress.org/ticket/2779
Pascal.
Well, if you have a good backup of your database, you can always launch this query:
DELETE FROM wp_posts WHERE post_type = "revision";
Pascal.In reply to: Plugin to show user IP and current dateFor the current time of where the user is (so NOT where the server is), you can only do it with javascript to my knowledge. Start from this:
<script language="javascript"> ourDate = new Date(); document.write("The time and date at your computer's location is: " + ourDate.toLocaleString() + ".<br/>"); document.write("The time zone offset between local time and GMT is " + ourDate.getTimezoneOffset() + " minutes.<br/>"); document.write("The time and date (GMT) is: " + ourDate.toGMTString() + ".<br/>"); </script>
Pascal.
In reply to: Plugin to show user IP and current dateFor the current ip, you can add this function to your child theme or have it in a plugin:
function get_the_user_ip() { if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) { //check ip from share internet $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) { //to check ip is pass from proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } return apply_filters( 'wpb_get_ip', $ip ); } add_shortcode('show_ip', 'get_the_user_ip');
Then use a shortcode [show_ip] where needed
Check for TinyMCE, that’s probably the best option.
Pascal.In reply to: Forum defaulted to Admin User on everythingHi Mark,
It’s always better to start a new thread then waking a 10 month old one 🙂Can you explain what you did and what the issue is ?
Thanks,
Pascal.My question: do you really want those revisions ?
I delete them regularly using https://wordpress.org/plugins/rvg-optimize-database/Pascal.
In reply to: Users profiles redirect on homepageIs this a public website ? If so, could you post the link where it works and where it’s not working ?
Thanks, Pascal.Ah, then you better ask on buddypress support as I have little knowledge of buddypress.
Pascal.
In reply to: Adding username to replyTo my knowledge, I suppose you should copy form-reply.php to your child theme and modify it accordingly. I’m not aware of filters that could help you, but I don’t know all of them…
Pascal.
In reply to: Changing role namesGreat, good to know it worked.
Pascal.
In reply to: Content Above ForumTo be honest, never seen this question before. Normally you want to explain there what it is without cutting the phrase 🙂
The only way I see right now would be a jQuery like this one (50 is limit):
<script type="text/javascript"> function bbppc_cut_forum_text { jQuery("div.bbp-forum-content").text(function(index, currentText) { return currentText.substr(0, 50) + '...'; }); } </script>
Then don’t forget to wp_enqueue_script to have this running.
But I have NO IDEA what the impact will be on other pages !!! And I didn’t test it either, just a quick thought.
Pascal.
In reply to: Content Above ForumStrange … Did you follow what Robin explained ?
ok, the simplest way would be Dashboard>forums>all forums and edit each forum put the banner in the description then download my plugin https://wordpress.org/plugins/bbp-style-pack/ and tick item 6 Add Forum Description on the forum display tab
In reply to: how to change the freshness timing type?We don’t accept responses here, we just accept thanks 🙂
You’re welcome,
Pascal.In reply to: Content Above ForumThen maybe bbP style pack can help ?
Check out this thread of some time ago: https://bbpress.org/forums/topic/cant-get-a-banner-to-show-up-on-top-of-my-forum-pages/Pascal.
In reply to: Recent topic widgetHi Jeroen,
If you indicate in the widget the ID of the subforum, you don’t get the recent topics of the childs of this subforum ?
If not, you will have to check the php code of the widget and play with the loop or ask for some help from a developer. But maybe somebody else has ideas here ?
Pascal.In reply to: Error with bbPress at the top of site and forumHi,
To remove it, add this filter in a child theme or create a plugin out of it:
add_filter( 'bbp_no_breadcrumb', '__return_true' );
If you don’t want to do it yourself, you can always install a plugin like ‘bbP Toolkit’ and set it in the options.
Pascal.
In reply to: Recent topic widgetIf you use (bbPress) Recent Topics, then you should be able to put ‘any’ as forum ID. That should include both parents and child forums.
Pascal.
In reply to: Changing role namesHi,
Did you check this post ? Check robkk reply on renaming in there.
EDIT: Or better this one: https://bbpress.org/forums/topic/changing-name-of-key-master/
Pascal.
In reply to: Content Above ForumThen probably the best thing is to create a standard wordpress page, add any text/images you want and below that use the correct shortcode like [bbp-forum-index] for all forums or [bbp-single-forum id=$forum_id] for a specific forum.
Check out https://codex.bbpress.org/features/shortcodes/ for the shortcodes.
If that is not what you are looking for, get back here.
Pascal.
In reply to: Content Above ForumHi,
Still had no time to look at this, sorry. And for sure it will not be this week as too busy with professional projects.For your case, do you want to have image and details of ‘Books’ and ‘Articles’ or you want it for the ‘SEE READERS’ just above the blue box ?
Pascal.
Did you check TinyMCE ?
In reply to: how to change the freshness timing type?Well, for your specific case, you would probably go with:
function bbptoolkitpc_shorten_freshness_time($return) { $return = str_replace( "hour", "hr", $return ); $return = str_replace( "minutes", "min", $return ); return $return; } add_filter( 'bbp_get_time_since', 'bbptoolkitpc_shorten_freshness_time' ); add_filter( 'bp_core_time_since', 'bbptoolkitpc_shorten_freshness_time');
Pascal.
In reply to: how to change the freshness timing type?You will first have to rework it.
As it is, it will only remove the last part, so ‘1 hour, 50 minutes ago’ will become ‘1 hour ago’ and ‘2 months, 5 days ago’ would become ‘2 months ago’ (so it just strips off the part after the comma, also only works in english as it looks for the word ‘ago’).The best place is always a function file in a CHILD theme to avoid that you loose this when your theme updates. Or create a small plugin that would hold this.
Pascal.