Forum Replies Created
-
In reply to: Most popular and no reply topics functions??
ahhhhh… okkk, i have read a number versio 1.XX i think is number of bbpress, ok now i understand!! Very well is perfect for me to have all function list..
Many thanks…
In reply to: Most popular and no reply topics functions??Yes, is perfect, but is older version, do not have all functions in… Thanks stephen
In reply to: bbPress 2.4 Now AvailableAnother bug?? With version 2.4 reply count in topic with no replies says 1 and not 0 how in this forum for example…
All topic with no replies have 1 partecipant and 1 reply and not 0 reply…
It’s only a my problem? Other feedback?
In reply to: Chek user is online or offline with image on avatarThanks for your reply…
I have add in replies online and offline, is how wich all other forum.. Green bullet online, red bullet offline..
It is very beautifull!! I hope in future version to add this features!!
In reply to: Remove "Reply To:" in freshness block for forumGo in your css and find and add this display none!!
#bbpress-forums fieldset.bbp-form legend { display: none; }
In reply to: Adsense PluginProblem is because gdpress signature and adunit go in post with and the adunit plugin add the code before bbp-signature DIV…
We have two way, or add adunit code after bbp-signature DIV, or use another metod to add adunit after reply in the loop… for example, after 1 or 2 or 3 and etcc.. post, but not in one single reply.
For the moment i don’t have solutions, in plugin support page have another thread opened by another user… https://wordpress.org/support/topic/breaks-gd-bbpress-tools-signature-in-topic-between-posts?replies=2
With no reply… 🙁
In reply to: Adsense PluginHi, i have a little bug with bbp signature.. if you have signature, these, go after ad unit … i now find a solution for this little issue!!
this is a code:
<div class="bbp-signature">forum signature</div>
In reply to: Suggestion for install – small tweakYou are 6 years late Stephen…. 😀
In reply to: Adsense PluginHi jezza, i’ve add your great plugin, it works fine.. Thanks
Is possible in future version to have a css customization for the
<div>
, possibility to add text in adv in middle topic (where is present the date), and decide where put adv, for example, decide to add adv after, 1 or 2, or 3 etc.. users replies?Regards…
In reply to: How do I remove "Voices"?Hi, most simple way is to find this line in your bbpress css and add display:none like this:
li.bbp-topic-voice-count { display: none; float: left; text-align: center; width: 12%; }
Hi all, and thanks to @koebdb for tricks, but i have a little question, read this:
<?php echo '<br>Messages: '.bbp_get_user_post_count(bbp_get_reply_author_id()); ?>
This function exist in includes/users/options.php, is written to show all messages from one users, but if you use it return 0…. WHY?
This is the function:
/** * Output a users total post count * * @since bbPress (r3632) * * @param int $user_id * @param boolean $integer Optional. Whether or not to format the result * @uses bbp_get_user_post_count() * @return string */ function bbp_user_post_count( $user_id = 0, $integer = false ) { echo bbp_get_user_post_count( $user_id, $integer ); } /** * Return a users total post count * * @since bbPress (r3632) * * @param int $user_id * @param boolean $integer Optional. Whether or not to format the result * @uses bbp_get_user_id() * @uses get_user_option() * @uses apply_filters() * @return string */ function bbp_get_user_post_count( $user_id = 0, $integer = false ) { // Validate user id $user_id = bbp_get_user_id( $user_id ); if ( empty( $user_id ) ) return false; $topics = bbp_get_user_topic_count( $user_id, true ); $replies = bbp_get_user_reply_count( $user_id, true ); $count = (int) $topics + $replies; $filter = ( true === $integer ) ? 'bbp_get_user_post_count_int' : 'bbp_get_user_post_count'; return apply_filters( $filter, $count, $user_id ); }
Now i have used the second of koendb and it works fine…
In reply to: Duplicate Page TitlesNooo.. eheheheh you have forgot a linee…. I don’t have read your message ehehehe… no problem and no panic eheheh….
In reply to: Duplicate Page TitlesI have a solution… thi is a correct code.. it work fine…
function bbpress_title_duplicates($title, $sep, $seplocation){ $usrurl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; if (false !== strpos($usrurl,'users')) { if (false !== strpos($usrurl,'topics')) { $title = str_replace('Il profilo di', 'Argomenti aperti da', $title); } elseif (false !== strpos($usrurl,'replies')) { $title = str_replace('Il profilo di', 'Risposte create da', $title); } elseif (false !== strpos($usrurl,'subscriptions')) { $title = str_replace('Il profilo di', 'Discussioni sottoscritte da', $title); } elseif (false !== strpos($usrurl,'favorites')) { $title = str_replace('Il profilo di', 'Topic preferiti da', $title); } else { $title = str_replace('Il profilo di', 'Il Profilo di', $title); } } return $title; } add_filter('bbp_title', 'bbpress_title_duplicates');
In reply to: Duplicate Page TitlesThis is a print screen of my code:
<title> Il profilo di sole38</title>
I have written exactly this in function and not working!! Incredible!!
Is too sensitive.. eheheheh…..
In reply to: Duplicate Page TitlesIs possible to add only a little text after profile… without replace? For example:
Todd Profile’s | Topic started | SiteName.com
Only add the last part… | Topic started | SiteName.com
In reply to: Duplicate Page Titlesfunction bbpress_title_duplicates($title, $sep, $seplocation){ $usrurl = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if (false !== strpos($usrurl,'users')) { if (false !== strpos($usrurl,'topics')) { $title = str_replace('il profilo di', 'Argomenti aperti - test', $title); } elseif (false !== strpos($usrurl,'replies')) { $title = str_replace('il profilo di', 'Risposte create - test', $title); } elseif (false !== strpos($usrurl,'subscriptions')) { $title = str_replace('il profilo di', 'Discussioni sottoscritte - test', $title); } elseif (false !== strpos($usrurl,'favorites')) { $title = str_replace('il profilo di', 'Topic preferiti - test', $title); } else { $title = str_replace('il profilo di', 'Profilo - p', $title); } } return $title; }
Nothing changed… show only: “Il profilo di nickname” Do not replace nothing.. This is impossible! :/
In reply to: Duplicate Page TitlesOk i go to do this do you have written… just a moment!!
In reply to: Duplicate Page TitlesHi, i’m sorry, this is my configuration:
wp 3.6.1
bbp 2.4Nothing changed from my url structure
my url structure is:
http://www.sitename.com/forums/users/nickname/topics/
only language is different, is in italian and it show this italian title: Il profilo di nickname
in my template.php is used $title i can’t find $new_title
In reply to: Duplicate Page TitlesNothing to do… it non working for me.. Is possible because i use language translation?
I use all in one seo pack, and it do not add | blogsitename.com in user pages and tags pages…
Exist one solution with one filter to upgrade a original function located in template.php? Or another solution only for now?
In reply to: Duplicate Page TitlesYes i understand this problem, in effect, user title for, favorite, reply created and topic started is egual… Now i have put your code:
function bbpress_title_duplicates($title, $sep, $seplocation){ $usrurl = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if (false !== strpos($usrurl,'users')) { if (false !== strpos($usrurl,'topics')) { $title = str_replace('Profile', 'Topics Started - TSCADFX', $title); } elseif (false !== strpos($usrurl,'replies')) { $title = str_replace('Profile', 'Replies Created - TSCADFX', $title); } elseif (false !== strpos($usrurl,'subscriptions')) { $title = str_replace('Profile', 'Subscribed Threads - TSCADFX', $title); } elseif (false !== strpos($usrurl,'favorites')) { $title = str_replace('Profile', 'Favorite Threads - TSCADFX', $title); } else { $title = str_replace('Profile', 'Profile - TSCADFX', $title); } } return $title; }
But don’t change title page, it only sho profile of… and nothing.. 🙁
In reply to: Duplicate Page TitlesPlease give us an example, how bbpress duplicate titles for users?
In reply to: Customising bbp_list_forums – Last Poster Block@lynq
Hi, i have see in your forum after user avatar, the user post count, how to do for have this? I have tried more solutions but nothig works fine, have you solution?Thanks!!
Hi, what version of bbpress and wordpress you use? It is too generic your post, report details of your error…
How to show? @username like this forum? in bbpress 2.4 i can’t find anythings to do this!! Have some idea?
In reply to: BBPress – Post CountBbpress have this function: bbp_user_post_count();
But it not work in reply loop, i have used:
bbp_user_post_count($user_id);
bbp_get_user_post_count($user_id);
bbp_user_reply_count($user_id);
bbp_get_user_reply_count();Nothing work in reply loop…
Whyyyy??? What is the problem? Why do not showww??
I have also copy and paste this:
<p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>
But it don’t show anything, show only: ” Replies Created ” and empty after…
HEEEEELPPP………….