Forum Replies Created
-
In reply to: Post toolbar plugin for bbpress 2
There should be an option in the settings for max file size… Good job though, the plugin look better and better.
In reply to: Here’s how to install Avatar Upload pluginCheck the other solutions on the wp forum… something like:
https://wordpress.org/support/topic/plugin-user-photo-front-end-upload?replies=17#post-2226189
The solution I posted worked and I don’t know what to tell you… Maybe you can put a pop-up link instead of using thickbox/prettyphoto/any other overlay plugin.
In reply to: avatarIn reply to: bavatars wont workIn reply to: Here’s how to install Avatar Upload pluginDownload User Avatar for WP here: https://wordpress.org/extend/plugins/user-avatar/
1. In single-user-edit.php, Before
<?php bbp_get_template_part( 'bbpress/content', 'single-user-edit' ); ?>
add: http://pastebin.com/rfLFaRvq
2. In style.css add:
.bbp-single-user-edit { position:relative; }
#user-avatar-display { position:absolute; top:160px; right:20px; text-align:center; width:155px; }
#user-avatar-display a { color:#000; text-decoration:none; text-align:center; };
3. In functions.php add: http://pastebin.com/YfbiN65x
That’s it.
Original solution: https://wordpress.org/support/topic/plugin-user-photo-front-end-upload?replies=17#post-2186636
It works great for me. Cheers.
In reply to: Here’s how to install Avatar Upload pluginI got avatars in my forums. If anyone needs guidance, just ask.
In reply to: bbPress 2.0 – UpdatesYou put that code in your comments template, and (only) if a registered user comments, there will be a link to their forum profile in the comment also.
Example: http://imm.io/7PE6
In reply to: bbPress 2.0 – UpdatesYou put that code in your comments template, and (only) if a registered user comments, there will be a link to their forum profile in the comment also.
Example: http://imm.io/7PE6
In reply to: [2.0/RC1] My ThemeTo hide the “Home” link, just put this in your styles.css
a.bbp-breadcrumb-home {
display: none;
}
Also, I am displaying the profile link of commenters in the blogs comments using:
<?php if ($comment->user_id) { $user=get_userdata($comment->user_id); echo '<span class="forumauthor"> <XXXXa href="link-to-profile-without-username/'.$user->user_nicename.'">Profil</span>'; } ?>
remove the XXXX from the code.
In reply to: bbPress 2.0 – UpdatesIf you want to show the comments author profile link, use this:
`<?php if ($comment->user_id ) {
$user=get_userdata($comment->user_id);
echo '<span class="forumauthor"> <a href="link-to-profile-without-username/'.$user->user_nicename.'">Profil</a></span>';
} ?>`In reply to: bbPress 2.0 – UpdatesIf you want to show the comments author profile link, use this:
`<?php if ($comment->user_id ) {
$user=get_userdata($comment->user_id);
echo '<span class="forumauthor"> <a href="link-to-profile-without-username/'.$user->user_nicename.'">Profil</a></span>';
} ?>`In reply to: [2.0/RC1] loop-author.phpI am always updating the files as soon as I see an update here:
https://bbpress.trac.wordpress.org/browser/branches/plugin/ so I am REALLY looking forward to see that update
Cheers JJJ
In reply to: [2.0/RC1] My ThemeRegarding the first issue, I haven’t looked into that and I don’t recommend changes right now, seeing that the last oficial release is still a beta.
Regarding the second thing, the same principles apply. You can remove the “tags” field from <your theme>/bbpress/loop-topics.php I think, form-topic.php, form-topic-tag.php, form-topic-split.php, etc. Just look into those.
But I repeat, you shouldn’t change thse files just yet, seeing that the twenty-ten theme of bbpress is not final. For example I have found this: https://bbpress.org/forums/topic/20rc1-loop-authorphp
Just stick with CSS right now, even if it’s not the ideal case. Who knows, maybe the final twenty-ten theme won’t use tables, just nice divs with css (one can wonder…). If not, I think I’m gonna convert the whole theme in divs with CSS when the final release will be available.
If you have any more questions, I will gladly respond.
In reply to: [2.0/RC1] My ThemeEvery forum has an ID. In my case:
<tr class="post-3730 forum type-forum status-publish hentry even" id="bbp-forum-3730">
<td class=”bbp-forum-info”>
<div class=”bbp-forum-description”><div class=”pce-enabled-section”><p>Forum despre lucruri generale, ca poneii şi cunilingusul</p>
</div><!– PHP 5.x –></div>
</td>
<td class=”bbp-forum-topic-count”>7</td>
<td class=”bbp-forum-reply-count”>46</td>
<td class=”bbp-forum-freshness”>
<p class=”bbp-topic-meta”>
<span class=”bbp-topic-freshness-author”><img width=”14″ height=”14″ class=”avatar avatar-14 photo” src=”https://secure.gravatar.com/avatar/f862425c1c224dd9830b5f0878dea405?s=14&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D14&r=G” alt=””> Mr. Edgar</span>
</p>
</td>
</tr>
So just add some css to each and single on of your forums (hopefuly you don’t have too many). My case:
tr#bbp-forum-3730 td.bbp-forum-info {
background: url("images/icon1.png") no-repeat scroll 10px center transparent;
padding-left: 75px;
}
The above code gives the first forum it’s icon. Replace “#bbp-forum-3730” with your #bbp-forum-NUMBER and the rest of the css I think it’self explinatory.
In reply to: [2.0/RC1] My ThemeI can’t share it… It’s deeply integrated with my current theme. Even if you had it, it would work properly. Tell me what you need and I could tell you the proper codes to use.