Search Results for 'wordpress'
-
AuthorSearch Results
-
February 4, 2012 at 3:22 pm #129261
In reply to: Activity Stream – Now Friends & Profile Picture
@ChrisClayton
Participant(2) – You may want to see the Block activity types plugin – https://wordpress.org/extend/plugins/buddypress-block-activity-stream-types/
February 4, 2012 at 9:59 am #129243In reply to: [Resolved] Disable Nested Comment
@ChrisClayton
Participant@heruputra – as @Mercime said, you can easily do it with CSS, removing the indent styles so that they appear to be seperate comments to the activity.
You could also use this code – https://buddypress.trac.wordpress.org/ticket/1870#comment:2
changing the depth to 1 will remove the ‘reply’ button on comments.February 4, 2012 at 7:36 am #129236In reply to: Forum: Unreplied RSS Feed – How to?
r-a-y
KeymasterCheck out how feeds are done in BuddyPress itself.
There are two things you need to do:
1) Create an action listener to tell BuddyPress that the URL you’re on is the feed
2) Next, tell BuddyPress what template file to use for the feed and create an activity loop to generate the feed.For example, to see how BuddyPress generates the sitewide activity feed:
1) BP creates an action listener for the sitewide activity feed here:
https://buddypress.trac.wordpress.org/browser/tags/1.5.3.1/bp-activity/bp-activity-actions.php#L3592) BP uses the following template file referenced in step 1 to generate the sitewide activity feed:
https://buddypress.trac.wordpress.org/browser/tags/1.5.3.1/bp-activity/feeds/bp-activity-sitewide-feed.php#L1See how that file structures the RSS feed? It uses an activity loop (bp_has_activities()) with specific arguments to sitewide activity.
—
To create an unreplied RSS feed, follow the steps above as a guide.
Instead of an activity loop in the RSS feed, you’ll probably need to use a forum topics loop with ‘type=unreplied’ as the argument.
Hope that gives you a few pointers.
February 4, 2012 at 7:23 am #129234In reply to: How to add content to ACTIVITY feed RSS?
r-a-y
KeymasterCheck out how activity RSS feeds are parsed in:
/wp-content/plugins/buddypress/bp-activity/feeds/There are a few hooks you could potentially use to add additional content.
If you want to filter the item description, use the “bp_get_activity_feed_item_description” hook available in the bp_get_activity_feed_item_description() function.
Various other filters are available for the item title, etc. in bp-activity-template.php as well.
February 4, 2012 at 7:17 am #129233In reply to: Is this a bug? –bp_is_active undefined
r-a-y
KeymasterThis is fixed in the trunk version of BuddyPress:
https://buddypress.trac.wordpress.org/ticket/3682February 4, 2012 at 6:05 am #100231@mercime
ParticipantBefore anything else, I have updated sidebar-buddypress.php in post above to include necessary script for the register page near bottom of file.
February 4, 2012 at 6:01 am #100235rhek
ParticipantMercime,
Just curious, you seem to figure out what needs changed pretty quick. Could I ask if you do anything different from the instructions in the BP Compatiblity plugin?
This is what I was working with…
https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
Thanks,
RhekFebruary 4, 2012 at 12:06 am #129223In reply to: [Resolved] a few questions.
@ChrisClayton
Participantre activity comments: https://buddypress.trac.wordpress.org/ticket/1870#comment:2
February 3, 2012 at 10:22 pm #129216In reply to: [Resolved] Child Theme Styles in Buddypress 1.5.3
David Cavins
KeymasterAre you using the BuddyPress Template Pack plugin? (https://wordpress.org/extend/plugins/bp-template-pack/) I used that and followed the procedure for adding BP compatibility to my theme that the plugin provides.
February 3, 2012 at 9:04 pm #129212snowlas
ParticipantBackground image
I don’t know where to grab this code. I didn’t see anything in the style.css page. Or where to paste this in the buddy press theme?Sidebar
I do have a full width template file. I’m guessing I need to call that template – named tpl-fullwidth.php in the header? I tried to erase calling for the sidebar in the header file. This doesn’t work. I erased the inner div codes on the sidebar-buddypress.php file, but it just erases the information. My content is still small.February 3, 2012 at 8:18 pm #129209In reply to: Help Modifying WordPress Theme “hello :D”
IllusionApp
MemberI tried that out but it wouldn’t work.
Then I went in to the template css file and changed with width of div.item-list-tabs ul to 99% instead of 100% and it fixed the alignment problem.
I don’t quite understand why it works but it works.
Thanks for all the help, Chris.
Now time for me to go back in and fix all the divs for the Buddypress pages to match my theme.
February 3, 2012 at 6:30 pm #129201@mercime
ParticipantYou’re welcome.
== only thing missing is the background image ==
That is because the body class .custom-background where your black background is added to is not automatically generated in the BuddyPress template files. If you are set in what your style is, you could copy over the body.custom-background styles to body { }== If I got rid of the sidebar for a full width view, would it break? ==
Check if the theme has a full-width template file and make the changes in header-buddypress.php and sidebar-buddypress.php per structure.February 3, 2012 at 6:07 pm #129196In reply to: Help Modifying WordPress Theme “hello :D”
@ChrisClayton
ParticipantThat happens every time i use the template pack css.

add this to your css…
div.item-list-tabs ul li.last {
margin-right: 40px;
}February 3, 2012 at 5:52 pm #129195snowlas
ParticipantAwesome. Works! The only thing missing is the background image… which I should be able to tinker with in the CSS and get it to work that way.
If I got rid of the sidebar for a full width view, would it break? If it will, then I’ll leave it alone.
Thank you so much! Amazing support!
February 3, 2012 at 5:40 pm #129194@mercime
ParticipantOpen up sidebar-buddypress.php, at the top of the file, above other code add this:
``then at the very bottom of the same file, below other code, add this:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
Upload to wp-content/themes/quickstart/
Re: styling of BP components. You might want to use some or all of the style modifications used in Twenty Ten theme https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/
February 3, 2012 at 5:36 pm #129193@mercime
ParticipantFirst of all, delete footer-buddypress.php, we won’t be needing it.
Open up header-buddypress.php and at the bottom of the file below other code add this:
`<div id="post-” >
`Save file.
February 3, 2012 at 5:27 pm #129192In reply to: Help Modifying WordPress Theme “hello :D”
IllusionApp
MemberHaha. I guess I’ll get used to the WordPress admin bar.
Anyways, that worked perfectly and almost everything is in alignment now.
I just noticed one last small problem.
http://img815.imageshack.us/img815/3135/groupii.png
The dropdown menus on the right side of the Buddypress pages seem to get cut off like in the picture and I don’t quite know what is causing that.February 3, 2012 at 5:01 pm #129190In reply to: How do I insert the big avatar?
dgodot
MemberIt’s in a WordPress context. Unfortunately, get_avatar() accepts a size parameter, but simply scales the thumbnail rather than fetching the full-sized image. There must be a way to retrieve the full-sized image?
February 3, 2012 at 5:01 pm #129189snowlas
ParticipantI have not. They are exact copies.
I appreciate this! Thank you!
February 3, 2012 at 4:55 pm #129188In reply to: Change what url ‘Create and account’ links to.
@ChrisClayton
Participant@Craiglovelock – the “create an account” link is in the sidebar.php file.
Line 37
Seen Here: https://buddypress.trac.wordpress.org/browser/trunk/bp-themes/bp-default/sidebar.php#L37February 3, 2012 at 4:50 pm #129186@ChrisClayton
Participant@Craiglovelock – you will have to figure out how to insert a custom textfield into the wordpress registration page and then insert a “name” field (sorry, cant help more since i have never touched the wordpress registration form)
Since you have disabled the buddypress registration form and you have given wordpress back control over it, you may get better answers on the wordpress.org forums.
February 3, 2012 at 4:42 pm #129183@mercime
Participant== I also tried to use some of the code in prior threads that helped others with this similar problem, but nothing worked. ==
Those won’t work because of different HTML structures in all probability. Let me check on what you’ve posted so far.
EDIT – Please confirm that the codes within header-buddypress.php, sidebar-buddypress.php and footer-buddypress.php are original copies of your theme’s header.php, sidebar.php and footer.php respectively. That is, you have not added any other code to the aforementioned xxx-buddypress.php files.
February 3, 2012 at 3:54 pm #129177@mercime
ParticipantCorrect.
== If that’s true, I’m gonna have to rethink how I do future WordPress installations ==
True, but you could also export XML from one install and import that into a new WP site installed at domain root. Or, if that’s going leave behind other data you want to keep, have you posted at WP org forums to find a way to reverse the process of giving WP its own directory so that you could export clean DB from old install and import into WP installed at domain root.
February 3, 2012 at 3:40 pm #129175brother7
ParticipantYes, that’s what I was referring to. If I install WP in its own directory per those instructions, BuddyPress will not work properly, correct?
If that’s true, I’m gonna have to rethink how I do future WordPress installations
February 3, 2012 at 3:32 pm #129174@mercime
ParticipantYou mean https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory which doesn’t work with WP multisite either?
-
AuthorSearch Results