Search Results for 'buddypress'
-
AuthorSearch Results
-
August 30, 2010 at 8:44 am #90919
Roger Coathup
Participant@pjnu – unfortunately those “time since” messages are embedded quite deep in the core template tags used by the default theme, and are not the most obvious to remove / change.
It can be done however.
The time since text is inserted by a routine called bp_insert_activity_meta() that’s called from the tags the default template uses: bp_activity_action() and bp_activity_content_body().
There’s no easy way to filter those tags to alter the time presentation [EDIT: perhaps there is – see other comments], so the easiest route is to modify your theme taking out the calls to bp_activity_action() and bp_activity_content_body(), and replacing them with calls to get the parts of the message individually:
e.g. you can call bp_get_activity_date_recorded() to get the date as a datetime stamp which you can then format with the PHP date() function to display as you want it.
These template tags are all declared in bp-activity-templatetags.php
There’s no straight template tag to get the activity_action without the activity_meta (and timestamp) being added – so, we write our own function for that in bp-custom.php and call it from our theme:
function my_activity_action() { global $activities_template; return ($activities_template->activity->action); }You could do something similar for activity_content_body as well.
Here’s a snippet of what a modified activity/entry.php looks like in one of our themes:
<div class="activity-header"> <p class="metadata"> <?php if (has_delete_permissions()) { echo bp_get_activity_delete_link(); } ?> </div>I hope that makes sense!
August 30, 2010 at 8:42 am #90918In reply to: BuddyPress Share It button live
Anton
ParticipantIn IE getting this .js error
Message: Object expected
Line: 1
Char: 1
Code: 0
URI: http://mydomain.com/wp-content/plugins/buddypress-share-it/bp-share-it.js?ver=3.0.1August 30, 2010 at 8:17 am #90915In reply to: BuddyPress Share It button live
Anton
ParticipantHaving problems with the share link opening up
August 30, 2010 at 7:25 am #90914In reply to: Buddy press menu bar
Hugo Ashmore
ParticipantYou are going to need to clarify most of that as it’s not really clear.
What is ‘Partially inactive’ with the menu bar[?sic] when on buddypress.org
What WP admin pages?
Explain ‘Nightmare’ it’s a big word
‘Add All Nav Links to BP Adminbar’ does not solve any problems it’s simply an enhancement to that which functions perfectly well – doesn’t it ?Explain exactly what you think you are missing on buddypress.org
August 30, 2010 at 6:25 am #90912In reply to: BuddyPress Share It button live
modemlooper
Moderator@nit3watch it was a file path problem. The plugin’s js and css was not being called.
August 30, 2010 at 6:23 am #90911In reply to: BuddyPress Share It button live
modemlooper
Moderator@mvvspr You know I didn’t try it on wpmu as I dont have an install. My test site is WP multi site and it works.
August 30, 2010 at 6:23 am #90910In reply to: BuddyPress Share It button live
nit3watch
Participant@mercime Is this not something to do with wp 3’s menu’s. A while back I installed a theme and the menu’s listed vertically, when they were meant to be horizontal.. Google’d it and found that you had to add the ‘pages’ in a menu in the admin’s menu settings.. Was a while ago so don’t quite remember though maybe this is causing some conflict?
Edit: bleh, just read modemloopers ‘edit’. Soz bout that.
August 30, 2010 at 6:15 am #90909In reply to: BuddyPress Share It button live
mvvspr
Participant@modemlooper
I installed it on test site with wpmu 2.9.2 and bp 1.2.4.1 installed and when I try to activate Buddypress share it its showing
“Plugin could not be activated because it triggered a fatal error.”
Is this compatible with wpmu 2.9.2?Thanks,
PrashantAugust 30, 2010 at 5:40 am #90899In reply to: BuddyPress Share It button live
modemlooper
ModeratorSomething must be wrong on your setup. I’ve added the plugin to 3 different sites without fail.
EDIT: oops the plugin folder is named wrong in the repo from my dev copy. fixed in repo should get an update notice.
August 30, 2010 at 4:48 am #90897bplove
Participant@govpatel Gratitude for the tip… but I cannot track down this plug-in “new user approve”. Do you have a link to the plug-in you are talking about or does any one else? Best!
bplove
August 30, 2010 at 1:37 am #90890In reply to: 404 page when replying to forum topic — Please help!
Boone Gorges
KeymasterLike @mercime said, please don’t start multiple topics. I’ll lock this one, so conversation can take place in the other one.
August 30, 2010 at 1:26 am #90889@mercime
Participantsee files messages-loop.php and notices-loop.php
https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/members/single/messagesAugust 30, 2010 at 1:06 am #90888In reply to: Forums Page not Working Properly
August 30, 2010 at 1:03 am #90887In reply to: 404 page when replying to forum topic — Please help!
@mercime
ParticipantAugust 30, 2010 at 1:01 am #90886In reply to: 404 error after forum posts
August 30, 2010 at 12:59 am #90885In reply to: 404 page when replying to forum topic — Please help!
@mercime
ParticipantYour front page renders Page Not Found.
Check this post – https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/forums-not-working-error-when-creating-topic/#post-69618August 30, 2010 at 12:42 am #90883In reply to: BuddyPress Share It button live
@mercime
ParticipantHi @modemlooper, uploaded your plugin in test install (BP 1.2.5.2 on WP 3.0.1 multisite subdomain upgraded from WPMU 2.9.2).
– In admin’s activity panel, the list which should come out when the Share button is clicked on is already there listed vertically, and twitter, facebook, etc button images are not showing up. Clicking on each no-image social area does bring up respective login pop-ups.
– In group’s activity panel, clicking on Share button in group header does not open up the social buttons, and the same vertical list with no button images happens here as well. Clicking on each no-image social area does bring up respective login pop-ups.
– I then disabled all WP and BP plugins except BuddyPress and Share It plugin, cleared cache but same behavior shows in the test install. I still have the mu-plugins working but those are tested in many WPMU/MS installs and deal with security.
– On another note, I’ve tested so many BP plugins in this test install I’m surprised it’s turning out this way, so will be checking your plugin in virgin install tomorrow. Crossing my fingers.Thank you.
August 30, 2010 at 12:00 am #90882gregfielding
Participantpaulhastings0
Participant@catchit If I remember correctly Akismet is only for blog comments… not blog posts, forum posts, or updates. To prevent that you’ll need to prevent spam users from signing up for your site in the first place. I would recommend using the BuddyPress Humanity plugin.
August 29, 2010 at 10:56 pm #90878In reply to: 404 page not found
Roger Coathup
Participant@irishartisans – did you get the custom permalinks working on your basic WordPress install with BuddyPress de-activated?
You’ll need that before you attempt to use BuddyPress.
Does this article help: http://www.benhuson.co.uk/2010/03/01/wordpress-permalinks-zeus-server/
August 29, 2010 at 10:41 pm #90875franmask
MemberI did not explain that right. I meant that when you click a link back from a user blog to the main buddypress site, the whole site seems to crash. All I get is a blank page. I comes back as soon as I log in to my dashboard. Or it comes back on after some time, as it did this morning, except I haven’t really tested that. It also happens when you log out and type the url to the main site in the address bar.
You may be right about the php memory, there doesn’t seem to be any other logical explanation. My host has some strict rules about keeping php memory down to 32mb so I don’t know what will happen once my site gets more populated
August 29, 2010 at 10:08 pm #90872August 29, 2010 at 10:04 pm #90871In reply to: 404 page not found
Roger Coathup
Participant@irishartisans – where did you remove the mod_rewrite.c directives / add the rewrite.script directives? Wasn’t that in your .htaccess file?
Most web hosting will allow you access to your .htaccess file. Which hosting company are you using?
Unfortunately, I don’t know anything about rewrite.script so can’t help further on that.
Do the steps I suggested though, and check whether your basic WP installation is working properly first.
August 29, 2010 at 10:00 pm #90870In reply to: Can’t upload avatar image
zenseeker
Participant@Angelos Konstantinidis Do you mean on this buddypress.org? I get the same error on this site. Anyone addressing this? We can’t change any persmissions on this site. Thanks.
August 29, 2010 at 9:40 pm #90869In reply to: Show: By Latest Post | By Group
LPH2005
ParticipantThank you but I can’t seem to get
if ( bp_has_groups( ‘slug=announcements’) )
to do anything for me. It’s just ignored … hmm.
In contrast, I can get max=5 to work
if ( bp_has_groups( ‘max=5’ ) )
Update
These are the options:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/
But slug doesn’t seem to work for me.
-
AuthorSearch Results