Search Results for 'buddypress'
-
AuthorSearch Results
-
August 27, 2012 at 10:19 am #140352
In reply to: how to display groups as gallery?
Roger Coathup
Participant@qrahaman – thanks for the feedback. We used Buddyvents on a few projects at the time, but more recently have been working with Modern Tribe’s Event Manager plugin.
August 27, 2012 at 10:08 am #140351In reply to: How to check if member has avatar ?
meg@info
Participantthis was work for me
/**
* Check if the current user has an uploaded avatar
* @return boolean
*/
function current_user_has_avatar() {
global $bp;
if ( bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'no_grav' => true,'html'=> false ) ) != bp_core_avatar_default() )
return true;
return false;
}
thanks for answers.
August 27, 2012 at 10:02 am #140349meg@info
ParticipantHi,
Check this
/**
* Check if the current user has an uploaded avatar
* @return boolean
*/
function current_user_has_avatar() {
global $bp;
if ( bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'no_grav' => true,'html'=> false ) ) != bp_core_avatar_default() )
return true;
return false;
}
August 27, 2012 at 9:53 am #140348@mercime
Participant@chouf1
– I am using a child theme of bp-default theme, a port of apeatling’s design of BP 1.0 BuddyPress theme https://buddypress.trac.wordpress.org/browser/tags/1.0/bp-themes/bphome/screenshot.png
– Also that IS screenshot of the BuddyPress Group Forums new topic page. You can see the Group Name and Group Admins above the forum topic
But going back to the syntax highlighter, I do see the issue now if I post HTML/PHP code just like yours instead of CSS which I posted above and used lately. I was able to find a work-around by using `[ sourcecode lang=”title” ] the code [ /sourcecode ]` (just remove the spaces before ahd after the brackets) Result: https://mercime.files.wordpress.com/2012/08/bp161-shevolved-php.png
August 27, 2012 at 9:28 am #140346In reply to: how to display groups as gallery?
Quint
ParticipantYour site looks great. Nice styling of the Buddyvents plugin.
August 27, 2012 at 8:47 am #140345danbpfr
Participant@mercime Thank you for the screenshots. But I still use the same settings and shorcodes.
I observe that your example is on a bbPress page. My forums are on BP integrated bbPress skills (default install).
In the past mounth with other html outputs on forum posts, i still observed that bbPress filters and BP filters conflict sometimes.
I tested also the plugin on another BP 1.6.1 site and got the same wrong output of HTML
Surprisingly, after inserting mixed code (html+php) with the plugin activated, all html is filterd and gives >, < and so on. After deactivating the plugin, the whole code shows correctly, without the plugin styles effect, but all is appearing and correctly.
As soon as i edit the post and register it again, all html is stripped and only the php parts remain.So i guess that bbPress (as standalone plugin) filters HTML correctly before and after DB insertion, but not BP.
August 27, 2012 at 7:37 am #140340In reply to: Integrating BuddyPress Into New Template
Bifrost
MemberYes,
I’m aware of that, sorry… I really wasn’t very descriptive with my exact problems. After Installing buddypress and the template pack plugin, I followed the tutorial found here and completed everything. It all seemed to be in order, until I tried to access a user profile, or anywhere on the other than the “activity” “groups” or other similar pages. Anything that had to do with the ‘user’ side of things was returning a 404 not found error.
I checked the .htaccess file, mod_rewrite is enabled along with pretty permalinks… it still doesn’t quite wanna work.
Sorry about the vague nature of my last post, I don’t know what I was thinking.
August 27, 2012 at 7:37 am #140339In reply to: Missing Sidebars from Profile Pages
@mercime
Participant@rbasmaji if I recall well from recent forum posts, Custom Community theme needs to be updated. Change to bp-default theme and check if issue is resolved.
August 27, 2012 at 7:30 am #140338In reply to: Integrating BuddyPress Into New Template
@mercime
Participant@bifrost you need to make your WP theme compatible with BuddyPress by installing/activating the BP Template Pack plugin. Then go to Appearance > BP Compatibility process.
August 27, 2012 at 7:27 am #140337In reply to: bbPress Plugins with BP Group Fourms?
@mercime
ParticipantUnless said bbPress plugin specifically notes that it also works with the BuddyPress Group Forums, then no.
August 27, 2012 at 7:25 am #140336In reply to: Theme issue – Page alignment
@mercime
Participant@mumbaipav you’re welcome. Sure you can use a different sidebar. For example you have a sidebar-mumbaipav.php, you copy that file and Save As > sidebar-buddypress.php then add the codes I posted above at the very TOP and at the very BOTTOM of that new file and upload to server.
August 27, 2012 at 6:20 am #140327@mercime
Participant@chouf1 site is private, but I took a screenshot of the group forum topic I made for you as well as the screenshot of the config settings. I post code usually e.g.
[ sourcecode lang=”css” ] the code [ /sourcecode ]
or [ php ] the code [ /php ]
P.S. had to put the spacings between brackets or else it won’t show up here.August 27, 2012 at 6:09 am #140324Studio Hyperset
ParticipantI struggled with this too, but here’s the best solution I came up with:
:: http://studiohyperset.com/checking-for-avatars-and-gravatars-in-buddypress/4892
August 27, 2012 at 6:00 am #140330In reply to: [Resolved] Customising Alyeska Theme for Buddypress
Keats18
MemberMy apologies I’m terrible with my understanding of php etc.. but when I copied the code above for another Themeblvd theme (Akita) the resulting page comes up blank? Is their a solution for the Akita theme?
The themes page.php file is as follows:[ Edit – removed code.
— Mercime ]August 27, 2012 at 3:10 am #140323In reply to: How to check if member has avatar ?
Studio Hyperset
ParticipantI struggled with this too, but here’s the best solution I came up with:
:: http://studiohyperset.com/checking-for-avatars-and-gravatars-in-buddypress/4892
August 27, 2012 at 12:27 am #140319In reply to: Registrater Users Only
aces
ParticipantAugust 27, 2012 at 12:26 am #140318In reply to: Configuring W3 Total Cache with BuddyPress
synergywp
ParticipantHmmm.. I agree Dannyjimmy.. I was excited to see an “official” link on caching for BP, but it looks like I’ve found nothing.
August 26, 2012 at 11:03 pm #140314thirstcard
Member@rogercoathup and @karmatosed – it seems since BP version 1.6.1, the wonderful guys who develop BuddyPress have changed the way the activity feed works. The activity feed ajax/js is less reliant on the markup in entry.php which leaves you free to replace the text links with images.
Massive +1 to @JohnJamesJacoby and the team
August 26, 2012 at 10:44 pm #140313thirstcard
MemberThanks for the tips @rogercoathup – in my early days of web dev I had a site penalty for redirecting a page in the wrong way. Since then I seem to question everything I do. You’re right though, i’ve seen it done everywhere and this seems to be a perfectly reasonable approach :}
August 26, 2012 at 10:40 pm #140311Roger Coathup
Participant@thirstcard — image replacement techniques for small pieces of text like this are used throughout the web (find a modern website that doesn’t do it somewhere or other) — Google is not going to punish you for this. Have a read around, there are hundreds of articles on this and SEO.
Here’s Jeffrey Zeldman’s post on the latest technique to use: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
August 26, 2012 at 10:28 pm #140309In reply to: Change url somehow for admin’s profile?
Roger Coathup
Participant@modemlooper – I missed where you made that point?
August 26, 2012 at 10:01 pm #140306In reply to: How to remove a tab from profile ?
shemada
Participant@modemlooper excellent .. thank you !!
works great
August 26, 2012 at 9:49 pm #140305In reply to: Change url somehow for admin’s profile?
Roger Coathup
Participant@synergywp – I understand where you are coming from re: visibility of username in the url and the consequent reduction in site security.
It’s a fundamental part of the way BuddyPress sets up the URL structure, but should theoretically be
possible to rework the rewrite system to implement something more secure. Perhaps in the Facebook style, where user ID in the URL is just a number (until they change it to a preferred name), and does not reveal their login username (an email).Would be interesting to get feedback from an informed core developer on this subject — did you check the trac to see if it had been raised before.
[EDIT: having said all that, is Facebook much more secure? — if someone knows my email address, they know my username]
August 26, 2012 at 6:29 pm #140289In reply to: Change url somehow for admin’s profile?
modemlooper
ModeratorOptions:
Create a new user then give that user admin privileges and then delete the admin account This may delete the content associated with the deleted account.
Edit database directly. Links may get broken.
This plugin: http://buddydev.com/buddypress/allow-your-users-to-change-their-username-on-your-buddypress-based-site/
August 26, 2012 at 6:00 pm #140288In reply to: User Meta Names… how do I find them?
-
AuthorSearch Results