Forum Replies Created
-
hmm, well i was going to suggest using the filter…
in
bp_blogs_record_post
'content' => apply_filters( 'bp_blogs_activity_new_post_content', $activity_content, &$post, $post_permalink )which calls
bp_blogs_record_activitybut it does not pass the untouched content to tweak to your liking.
$content = apply_filters( 'bp_blogs_record_activity_content', bp_create_excerpt( $content ) ;In reply to: BuddyPress 1.2.5 tickets are cleared outlooks like a plugin issue: https://buddypress.org/community/groups/buddypress-group-tags/
In reply to: BuddyPress 1.2.5 tickets are cleared outFWIW – winmerge is a great tool if you have to update a custom theme/etc. (Guiffy is not bad either)
In reply to: BuddyPress 1.2.5 tickets are cleared outexcellent! (now i can apply alt to my tables rows in a normal fashion)
In reply to: Link to first new post in forum@dennis_h if you use group forum extras plugin – i have some functions buried in there that will link to the last reply in a topic (just need to pass in the per_page setting if you change it from default)
“Link the freshness time_since to the last post” -> https://wordpress.org/extend/plugins/buddypress-group-forum-extras/other_notes/
In reply to: Link to first new post in forumI’m not aware of anything else with that functionality… you could look into converting this for buddypress: https://bbpress.org/plugins/topic/unread-posts/ ( which i think logs the last post_id for each topic )
In reply to: Removing Groups From Forums@alanchrishughes – i’m working on an activity based solution now but waiting on 1.2.5 with some hook fixes
In reply to: BuddyPress 1.2.5 tickets are cleared outabout 10 minutes ago
In reply to: Activity-Stream as Tracker onlyquick way – just modify the theme and remove the instances to reply/update
In reply to: BuddyPress 1.2.5 tickets are cleared outThe problem is the jquery is picking up every tr for a given page and inserting the alt class based on the even/odd – while at the same time the recent discussion list is also inserting alt class via php but on a per table basis.
All rows highlighted: http://files.etiviti.com/misc/zebraisahorse.gif –
Add one more row to the table above it: http://files.etiviti.com/misc/horseturnsintozebra.gif
So, jquery alt class stuff needs to calc the odd/even on a per table basis. As any plugin (like mine) could insert an extra table into the theme file and cause the odd/even to be off. https://trac.buddypress.org/ticket/2475
Well these are common WP type functions – have a look at the codex.
https://codex.wordpress.org/Function_Reference/add_filterIf you’re building a site – might as well try changing it the correct way instead of informing others to hack the bp-core. (as that will just lead to bigger problems down the road for those who may not understand the changes made). BuddyPress is littered with hooks
something like:
function my_blank_activity_permalink( $content ) {
return ”;
}
add_filter(‘bp_activity_permalink’, ‘my_blank_activity_permalink’, 1, 1 );In reply to: Browse forums by groupThat is something Andy wrote for buddypress.org – so I don’t believe anyone knows besides him. Definitely not part of the group forum extras plugin.
avoid hacking the core files – to remove the ‘view’ permalink for an activity record just filter on “bp_activity_permalink” and return a blank string.
In reply to: Duplicate time stampsI’ll updated it an add a filter to output – and also include ‘Updated’ next to the new timestamp – this will be v0.3.1 (probably upload it tomorrow)
(ie what i have on my demo site: http://etivite.com/members/nuprn1/activity/352/ )In reply to: Duplicate time stampsdumb? no – what i intended as it shows the last timestamp of a reply comment made (plus it is a dirty hack to get around bumping up an activity item) (you could style it via a filter and add ‘Updated’ or some other text)
In reply to: BuddyPress 1.2.5 tickets are cleared outi run a local pointed at svn – i’ll grab a screenshot tomorrow morning.
“Warning: in_array() [function.in-array]: Wrong datatype for second argument in buddypressbp-core.php on line 315”
In reply to: Major theme painthe default.css has a few references to the activity permalink page to narrow the width
In reply to: Duplicate time stampsdo you by chance have the activity stream bump plugin installed? that will display a second ‘updated’ time-since
In reply to: Major theme paindon’t forget to update the css width on that page as well
In reply to: BuddyPress 1.2.5 tickets are cleared out@johnjamesjacoby – still having the issue with the alt class being applied to all tr rows (but only on the forums component page for recent topics – if i log in – then the tr alternate ok. viewing the group forum-loop is ok logged out though) plain jane r3102 w/default theme. i digress though – not sure why this is being done via jquery and php (bp_get_the_topic_css_class)
In reply to: BuddyPress 1.2.5 tickets are cleared outhave a link to the latest 1.2.5 revision to test it out again?
In reply to: BuddyPress 1.2.5 tickets are cleared out@johnjamesjacoby also related to this too? https://buddypress.org/community/groups/buddypress-group-forum-extras/forum/topic/forums-index-bug/#post-60122
if i place another table on the forums component – the tr alt class is being applied automagically (which someone reported to each row)In reply to: BuddyPress 1.2.5 tickets are cleared out@johnjamesjacoby on the forums component page – if i’m logged out the alt class is applied to all forum topic rows, log in and alternates correctly.
In reply to: Email loginIn reply to: BuddyPress 1.2.5 tickets are cleared outThat message uses the bp_get_displayed_user_username() for the @ and bp_get_user_firstname( bp_get_displayed_user_fullname() ) for the 2nd/3rd references.
BUT if bp_get_displayed_user_fullname() is empty – bp_get_user_firstname falls back on $bp->loggedin_user->fullname
So either the core logic needs to change or you can filter on bp_get_user_firstname and just remove it
JJJ – bump the version number on the style.css?