-
DoctorDR posted on the forum topic custom set of avatar pics in the group How-To and Troubleshooting: 13 years, 5 months ago
That’s excellent news @sidjags, I think I might try this out for myself. So you’re essentially building an array of 9 image urls and then cycling through them and returning the latest value each time the function is called.
Simple and Cute!
-
DoctorDR started the forum topic Need a template tag to validate if_is_group_admin and/or if_is_group_creator in the group Creating & Extending: 13 years, 5 months ago
I have altered the layout of the unordered list, so that certain admin-only functions are in the sidebar whilst others remain in the tab bar and therefore I’m looking for a conditional tag to restrict the display of these menu items to site admin or group admin users. I thought I might find a tag […]
-
DoctorDR posted on the forum topic custom set of avatar pics in the group How-To and Troubleshooting: 13 years, 5 months ago
No problem. I look forward to hearing how you get on.
-
DoctorDR posted on the forum topic custom set of avatar pics in the group How-To and Troubleshooting: 13 years, 5 months ago
You can certainly replace the default avatar picture, either with a bp_default instruction in wp-config.php or by adding a new function (into functions.php). If you wanted to achieve a random selection from a pool of avatars then I suppose you would need to write some php of javascript to intercept the avatar display and randomly […]
-
DoctorDR posted on the forum topic Get the url of the user page you're on in the group How-To and Troubleshooting: 13 years, 5 months ago
Sam, I’m using
bp_user_link()
in a plugin for displaying the avatar of the user’s page that is being viewed. If you use one of the loggedin conditional tags then clearly that adds a further dependency. In my case I want the user’s avatar and link to be present for both logged-in and anonymous users. What […] -
DoctorDR posted on the forum topic Creating a global tag to style single members page in the group How-To and Troubleshooting: 13 years, 5 months ago
What is the purpose of the ‘members/single/plugins.php’ file? It looks like it’s meant to be hooked into by plugin content which is displayed on a members page, but doesn’t seem functional. Is it deprecated?
-
DoctorDR started the forum topic Creating a global tag to style single members page in the group How-To and Troubleshooting: 13 years, 5 months ago
It’s late in the day (in my part of the world) so maybe my eyes are just tired, but I’m trying to apply a style to a single members page however BP seems to be lacking a global tag for a members page. The body class changes depending on which content tab is selected (i.e. […]
-
DoctorDR posted on the forum topic Expected 0.1.9 Release Date in the group BuddyPress Media: 13 years, 5 months ago
@foxly Keep up the hard work dude. seems you guys get a lot of stick for creating what is going to be the best plugin for media there is. It’ll be here when it’s here and will be well worth the wait!
I second that. It’s always worth bearing in mind that for each negative comment […]
-
DoctorDR posted a new activity comment 13 years, 5 months ago
Looks like the answer to Part 1 of my question can be found in the following BP Codex page – https://codex.buddypress.org/developer-docs/conditional-template-tags/
Now onto Part 2…
-
DoctorDR posted a new activity comment 13 years, 5 months ago
Here’s the reference page I needed for part 1 of my question – https://codex.buddypress.org/developer-docs/conditional-template-tags/
Now on to part 2. Any suggestions?
-
DoctorDR posted on the forum topic How to add a favicon in the group How-To and Troubleshooting: 13 years, 5 months ago
It’s really the simplest of tasks. You will need to use one of the many favicon generators as suggested by @suchaqd, then add a single line of code in header.php. I’ve added mine directly after the stylesheet declaration, i.e…
<link rel="stylesheet" href="" type="text/css" media="screen" />
Just make sure you call it…[Read more]
-
DoctorDR posted a new activity comment 13 years, 5 months ago
Well so far I have found
bp_is_page(BP_GROUPS_SLUG)
but I’m looking for a tag which discriminates between a ‘single group page’ and ‘group directory’. What I am aiming to do is to move the group avatar to be displayed in the sidebar, so I will only wish to do so when on the home page of a specific group.So, still looking – feel free to chip…[Read more]
-
DoctorDR posted an update in the group How-To and Troubleshooting: 13 years, 5 months ago
Quick question – I’m about to write a function to insert in the sidebar which will trigger specific routines depending on which page the sidebar is displayed on (i.e. single profile, single group etc). I will be looking for something like
<?php if ( is_page_template('slug')
. Does BP have such a conditional statement in its armory?Also (second…[Read more]
-
DoctorDR posted on the forum topic BuddyStream 2.05 is officially released to the respository in the group BuddyStream: 13 years, 6 months ago
Great, many thanks for the continued development of this plugin – it’s much appreciated
-
DoctorDR posted an update in the group BuddyPress Activity Plus: 13 years, 6 months ago
I’m assuming that this ‘replaces’ the oEmbed for BuddyPress plugin produced by r-a-y? Therefore is your advice to deactivate that before installing this new Activity Plus plugin?
-
DoctorDR joined the group BuddyPress Activity Plus 13 years, 6 months ago
-
DoctorDR posted an update 13 years, 6 months ago
@DJPaul I really don’t know if BuddyPress is doing something that it shouldn’t – it was Ipstenu and Andrea who suggested that might be the case. I’ve always worked on the assumption that core WP calls should work just the same with a BP layer as they do in native WP. If you look at my main post from today on wp.org I’m asking why doesn’t the…[Read more]
-
DoctorDR posted on the forum topic More Images from User in the group BuddyPress Media: 13 years, 6 months ago
Depending on how urgently you need it, I would either wait until v0.1.9 comes out (soonish) or get a hold of the SVN nightly build and take some of the code from that. I seem to remember this functionality is coming in the next version, otherwise I’d be likely to build something similar myself.
-
DoctorDR joined the group BuddyPress Media 13 years, 6 months ago
-
DoctorDR posted an update in the group Creating & Extending: 13 years, 6 months ago
@johnjamesjacoby @DJPaul @boonebgorges
Guys, I need your views on this issue I’m facing and whether it’s something I need to develop a custom function to fix (or perhaps there’s a function already in v1.3 that I could grab). Basically whether I’m barking up the wrong tree.@Ipstenu over on wp.org has pointed me towards this ticket on trac -…[Read more]
- Load More
@doctordr
Not recently active
Well so far I have found `bp_is_page(BP_GROUPS_SLUG)` but I’m looking for a tag which discriminates between a ‘single group page’ and ‘group directory’. What I am aiming to do is to move the group avatar to be displayed in the sidebar, so I will only wish to do so when on the home page of a specific group.
So, still looking – feel free to chip…[Read more]
Here’s the reference page I needed for part 1 of my question – https://codex.buddypress.org/developer-docs/conditional-template-tags/
Now on to part 2. Any suggestions?