Search Results for 'code'
-
Search Results
-
Hi there
here an picture i want my forum:

how i dit it?
i get an new site and add shortcodes like [bbp-single-forum id=3234]
…now the breadcrumbs are linking on the “original” root “/forums” link… so i have think, ok, make an site with the perma link on /forums/ and add the shortcodes…
but when i dit this, my site looks like this:

so, can you please help me change “only” the one breadcrumbs to my custom site, or what can i do the “originally” “/forums/” works correctly with the shortcodes?
thank you very much
greetz
I would like to remove the LINK associated with the Admin username.
I placed the following into my child-theme’s functions.php file:
/* Remove link urls from forum author instances */ add_filter( 'bbp_get_author_link', 'remove_author_links', 10, 2); add_filter( 'bbp_get_reply_author_link', 'remove_author_links', 10, 2); add_filter( 'bbp_get_topic_author_link', 'remove_author_links', 10, 2); function remove_author_links($author_link, $args) { $user_id = bbp_get_reply_author_id( $reply_id ); $user_info = get_userdata($user_id); $bbpadmin = $user_info->user_login; if ($bbpadmin == "ADMINUSERNAME") { $author_link = preg_replace(array('{<a[^>]*>}','{}'), array(" "), $author_link); return $author_link; } else { return $author_link; } }This works fine but I noticed the link still appears when viewing “last responded.” Removing the link from just Admin helps with security since the username won’t be out in the public.
Topic: Edit Filter
When you go to edit a topic or reply what filter is used to render the content in the editor.
The issue I’m having is I have markdown support for the forum instead of the normal code button.
So I use three back ticks at the beginning and end for code blocks. It works fine until you go to edit. Something is stripping out 2 of the back ticks on the code block.
I figure its a filter, but I can’t figure out which one.
bbPres v2.5.9
WordPress v4.5.1I have the link but I need to add the username in the url and I don’t see how I can get that in the .PO file
/leden/USERNAME/forums/abonnement/Other topic is there maybe a way for really active people on the forum to unsubscribe from emails and just see the notification counter on the website,