Forum Replies Created
-
In reply to: Already a forum at Forums page
forum would be fine, but the ‘slug’ in dashboard>settings should match what you want to use.
In reply to: how to link to profile pagesorry, I can’t write bespoke code for everyone, so it’s in the pack.
In reply to: Custom Roles not assignabletry it in the functions file of a specific installation
In reply to: Forum issues. Wishlist protection?theme related issues tend (but not always) to be fixed by the fixes suggested above – did you try these?
if so, try as a test to switch to a default theme such as twentysixteen
In reply to: how to link to profile pageHow do I add a link to my menu for people to access their profile an update it.
use my style pack
and go to
dashboard>settings>bbp style pack>login and set the options there
In reply to: Forum issues. Wishlist protection?Presuming that it was working before you had wishlist, then you were protecting at some stage, and I suspect that it is possible that has not been unset by you switching it off.
In reply to: Forum issues. Wishlist protection?given that wishlist is a paid plugin, suggest you contact them for support
In reply to: Custom Roles not assignableok, sorry I don’t know much about MU and bbpress functions, so can’t say if that would work
In reply to: Custom Roles not assignablewhere did you put that code?
In reply to: Forum issues. Wishlist protection?In reply to: Search bar not showing in forums & the random “by”This in your css should take it away
.topic .entry-meta { display: none; }Please confirm or come back
In reply to: Displaying User Location Below AvatarIn reply to: bbp_reply_admin_linkson 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?