Forum Replies Created
-
In reply to: Displaying User Location Below AvatarIn reply to: bbp_reply_admin_links
on 1. just rechecked, and the code works – make sure you are looking at a reply not a topic.
on 2. more seriously, there are no strict rules, as often you want to put in an #ID that related to say a topic number, so need to do this within the code.
In reply to: bbp_reply_admin_linksok, two things
1. what does not working mean ?
2. html is included because that’s what you put in your thread as what you wanted !Now I trying to change args of bbp_get_reply_admin_links (stored in bbpress/includes/replies/template.php)
Thats my hook
function hw_get_reply_admin_links ($args) {
$args = array (
‘before’ => ‘<div class=”list”>’,
‘after’ => ‘</div>’,
);
return $args;
}
add_filter (‘bbp_get_reply_admin_links’, ‘hw_get_reply_admin_links’ );
What’s wrong here?In reply to: Search bar not showing in forums & the random “by”hmm – can’t trace receiving – could you send again please
In reply to: Replies shifted and cut offIn reply to: Replies shifted and cut offok, I think your theme is doing this
this should fix
.reply { margin-left: 0 !important; }If your theme has a custom css area, then out this in there
In reply to: Replies shifted and cut offurl plaese
In reply to: bbp_reply_admin_linkstry
function hw_get_reply_admin_links($args) { $args['before'] = '<div class="list">' ; $args['after'] = '</div>' ; return $args ; } add_filter('bbp_before_get_reply_admin_links_parse_args','hw_get_reply_admin_links');In reply to: bbp_reply_admin_linksuntested, but this should work
function hw_get_reply_admin_links($args) { args['before'] = '<div class="list">' ; args['after'] = '</div>' ; return $args ; } add_filter('bbp_before_get_reply_admin_links_parse_args','hw_get_reply_admin_links');Great – glad my fix helped, though without a full read, not quite sure why 🙂
In reply to: Users Keep Getting Logged OutSo what browrser(s) are you using?
So on your PC, login as keymaster, the close browser and come back.
Does it remember you ?
then login as participant, and repeat
Does it remember you ?
Then try a different browser and repeat
The come back with the results
In reply to: bbp_reply_admin_linksjust looked,
The foreach loop produces
class="bbp-author-avatar" class="bbp-author-name" class="bbp-author-role"so
class="bbp-author-"is never matched as you have ” at the end
function hw_get_reply_author_link($link_class) { $link_class = preg_replace('/ class="bbp-author-/',' class="myclass-',$link_class); return $link_class; } add_filter('bbp_get_reply_author_link','hw_get_reply_author_link');will get you
class="myclass-avatar" class="myclass-name" class="myclass-role"if that’s what you are after
In reply to: bbp_reply_admin_linkssorry, was over the weekend.
I will respond when I get a moment
In reply to: Users Keep Getting Logged Outso this is after they close browser, and next time they need to log in again – yes?
In reply to: How to show WP Postratings in bbpress@guybrushpixelwood – thanks for posting this, that is really useful.
Howevber it will get overridden by bbpress updates, so either have that file in a bbpress folder in your child theme
or put this function in your child theme’s functions file
add-action ('bbp_theme_after_reply_admin_links' , 'gbpw_add_ratings' ) ; function gbpw_add_ratings () { if(function_exists('the_ratings')) { echo '<span class="bbp-admin-links">' ; the_ratings(); echo '</span>' ; } }In reply to: How to embed in one-page theme?hmmm….you can add lots of css to lots of stuff. suspect you’d need to invest some time in sau adding firebug for firefox and using that to examine and change css elements.
This may also help
In reply to: How many Users can bbpress handlegiven that wordpress uses bbpress, suspect loads more than 50 !
care to define what ‘the forum crashes’ actually means ?
In reply to: Users Keep Getting Logged Outalways happened? Just started happening? new site ? old site ? Just when in bbpress ? when in everything ?
In reply to: Filtering New Topic Status – Update RequestPerhaps this plugin will help
Devs are busy with version 2.6 at the mo, so suspect any new requests are not being looked at.
In reply to: How to embed in one-page theme?Is there a (simple :)) way I can move the Forums, Topics and Replies to sections within the one-page design
There’s probably not a complicated way either !
Sorry but bbpress works on creating links, so it’s on different pages at the core.
In reply to: Blank bbPress forum pagestry
dashboard>settings>permalinks
You don’t need to change anything, just click save.
This forces wordpress to re-write and sometimes fixes these sorts of issues.
In reply to: bbp_reply_admin_linkswhere does that source code sit – file and line please
In reply to: Posted replies redirect to dashboardCould this be an issue with my SSL
This is more likely – maybe something in the rewrite rules that is redirecting.
I presume your have https in the site name?
In reply to: Posted replies redirect to dashboardok, I can’t see any obvious issue, so not sure what to suggest
In reply to: Blank bbPress forum pagessorry, you site is full of adverts and I cannot wait for them to load