Forum Replies Created
-
In reply to: Theming Question
start with
no it’s not difficult, but would take a bit of coding
You’ll need to either create a copy function and use that or amend the topics widget and risk it being overwritten by updates.
There’s no simple, filter I can see.
so go into
bbpress/includes/common/widgets.php
and on line 807 you’ll see the author-link being created
the correct solution would be to create a fresh version of this widget, by say copying it to your functions file and renaming it.
If you just edit the core file, it will be overwritten by updates, but as long as you note what you’ve changed and accept that risk !…
so you’d need to look up the last reply for that topic, and then do another author link for that reply.
Sorry, I really busy at the moment earing a living or I so the coding .. so unless someone else steps in, see how far you can get 🙂
you shouldn’t be changing directly !
can you come back and post your code for 2, you’ve just missed a “‘” somewhere I expect.
In reply to: Fullwidth questiongreat – glad you’re fixed
In reply to: Remove Freshness date and Topic count columngreat – glad you’re fixed
In reply to: Need help changing text color in postscan you post your solution to help others ?
In reply to: Need help changing text color in postsstart with
In reply to: query_posts topic content – private forumI presume the forums are currently private?
What code are you using to display the latest 4 topics
In reply to: How to change Admin Link's text color?if it’s not working try
color: #404040 !important;
if bbpress loads after your theme, then it’ll overwrite changes made in your css, ie revert them back
In reply to: Topic Index Shortcodeyes, I’ve started a plugin that does some different shortcodes, and at the moment one that does just that is all that’s in there
In reply to: customizing bbpress admin linkssorry I’m getting confused
aren’t you using
bbp_topic_admin_links
and then filtering this to just display bbp_get_topic_reply_link
????In reply to: customizing bbpress admin linkstry changing
bbp_is_topic( $r[‘id’])
to
bbp_is_topic()
the template already knows what the id is
In reply to: customizing bbpress admin linkswhere are you putting this code – is it in a bbpress template?
ok thanks for that, I’ll see what’s needed.
The original bbpress will group together things, you child theme can then pick and change individuals.
So for instance if you were describing your family in a style.css you might have
mother, daughter 1, daughter 2 {
wearing : dress
}
father, son {
wearing : jeans
}Say you decided that daughter 2 should have tshirt and jeans, so in your child theme you’d put
daughter 2 {
Wearing : tshirt&jeans ;
}This will leave mother and daughter 1 as they were and only change daughter 2
silly example, but hopefully explains !
In reply to: Very simple question — changing font sizethe example is based on you having a page template in your theme that doesn’t display bbpress well, but works for other pages.
In that example you could use a different class for bbpress pages to get them to render how you would like. So you would have the if/else.
the article explains the other way, which is to rename a template to bbpress.php or forums.php, and then simply alter that for whatever bbpress display you want.
Finally if it’s only bbpress display that you want to alter, you can simply change the bbpress styles in your theme style folder.
Lots more in documentation, if you are trying to achieve something specific come back and detail it, and I’ll try and help
In reply to: customizing bbpress admin linksgreat, glad you’ve got most of it working.
ok, on that last bit
tried using this function to post a single admin link for a topic
and also just by replacing return with echo
but I cant seem to get that to workCan you explain a bit more about what you’re trying to do and where?
In reply to: Very simple question — changing font sizeif (is_bbpress()) : div class=”abc” else : div class=”xyz” endif;
translates to
if you are on a bbpress screen/page/display [as opposed to a wordpress blog post or page, a home page or anything that isn’t bbpress]
the use div class abc
if you are on any other type of page use class xyz.
Many themes use if statements checking against ‘conditional tags’ to style areas for instance the conditional tag is_home() checks whether this is the home or index page.
Hey never apologise for posting interim solutions – great to see your workings and thinking.
Any plugin that works is good enough to be published, my first was very basic !
Can you post your final css please, it can be wrapped into the plugin so that it becomes a package.
In reply to: Remove Private Tagyes put this code in your functions file
add_filter('protected_title_format', 'ntwb_remove_protected_title'); function ntwb_remove_protected_title($title) { return '%s'; } add_filter('private_title_format', 'ntwb_remove_private_title'); function ntwb_remove_private_title($title) { return '%s'; }
for information on functions files see
@peter-Hamilton – great, knew someone who is better at css would come along !
ok,
the dots are coming from your style.css line 118
ul {
list-style: disc outside none;
}change to
ul {
list-style: none outside none;
}although you may need to make this forum specific.
In reply to: 404 after logout from private forumgreat – glad you’re fixed !
In reply to: bbbPress performanceCan you just say what happens if you disable the plugin, does it just return to as before?
In reply to: Display some submenu only for specific group userIf you’ve cracked the code for the submenu, then groups are a buddypress thing, so their forum might be better.
But from total ignorance try….
If you’ve phpmyadmin access, you could set up a user for a group, and see what changes in the usermeta, and then use this to create your filter
eg
if say you found that buddypress_group was what was used for groups, you could set the group using$current_user = wp_get_current_user(); $group=get_user_meta( $current_user , 'buddypress_group', true);
then dependant on group
if ($group==22) then... if ($group==23) then....
In reply to: bbpress should offer to login in forumgreat, come back if you need further help
Regards
Robin