Search Results for 'theme'
-
AuthorSearch Results
-
October 19, 2010 at 12:13 pm #95578
In reply to: Buddypress 1.2.6, 2 months late -.-
Hugo Ashmore
Participantthekmen’s advise should be noted to refer to a true custom theme rather than a child theme.
If you are running as a ‘child theme’ i.e you are using and referencing the bp-default files – even if you have copied over some to customise then that is a child theme and you are still loading the original functions.php so DON’T copy anything in it over to your own file as that duplicates or attempts to call the same function twice and that results in problems.
October 19, 2010 at 8:54 am #95561In reply to: How to include a php file?
youlichika
MemberSorry. I lost paste some code. I forget use `backticks`.
“ is under the path in wordpreewp-contentpluginsbuddypressbp-themesbp-default
Now I want include some one from the path wordpresswp-contentthemesmythemename.
How to write correctly? Thanks.October 19, 2010 at 8:40 am #95560Roger Coathup
ParticipantIf you are not familiar with building child themes in WordPress / BuddyPress – you should read this page before beginning:
https://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/
October 19, 2010 at 8:36 am #95559In reply to: How to include a php file?
Roger Coathup
ParticipantWhere do you want to write the code – is it in a file in your child theme?
If the files are in the same directory, e.g. in your child theme folder, use something like:
locate_template( array( ‘myfile.php’ ), true )
It sounds though as though you are wanting to modify code in bp-default. You shouldn’t be modifying bp-default! All your changes should be in your child theme.
October 19, 2010 at 7:53 am #95558youlichika
Memberand can I move the index.php into a new folder under the theme parent folder?
If can, which files should be edited?
In any case, I still want to try to divide a page into several parts… If there has some codes support…
Thanks again.October 19, 2010 at 7:26 am #95551youlichika
MemberYes, I copy the theme for a new to edit.
Is the homepage’s name called: main index templete?October 19, 2010 at 7:18 am #95549In reply to: Remove Sitewide Activity
Roger Coathup
Participanthide_sitewide is a boolean, and in this line is being used to test whether an activity item has been marked as hidden or not – (it’s not a count @tom_taylor_85)
You should NOT be modifying the code there – that’s a core file, and you’ll run into problems when you upgrade if you’ve modified them. You’ve also changed the logic to say: if an item is marked as hidden get it to display – which is not what you want.
@bojanski – can you be clearer about what you mean by “remove sitewide activity tab” – do you mean you want to remove the main Activity page from the main nav bar?
If the latter – edit it out in header.php in your child theme.
October 19, 2010 at 6:14 am #95547In reply to: is that possible with buddypress?
techguy
ParticipantIn order…
-Depends what you mean, but this is a built in featured to BP
-This is pretty much a requirement for BP. Although, you can choose how big or small you want the profiles to be
-Groups in BP should satisfy this. You can make them public, hidden or private.
-This is a widget in the default BP theme
-Just turn it on in the BP settings
-There are a couple picture plugins. One that’s paid that’s pretty good from BuddyDev.com Another one that’s getting really close called BP Media. They have a version available now, but it’s basic. In a month? or so it will have even more features.
-These can just be added to your theme anywhere that you think would be good.So, pretty much everything but the pictures is available by default with BP. The pictures need the plugin.
October 19, 2010 at 4:18 am #95539paulhastings0
ParticipantTheoretically it’s possible, but I would really discourage it at this point. You’re basically contemplating taking some 100+ files (I’m guestimating that number, it might actually be closer to 200) from a BuddyPress compatible theme and making them all accessible in the WordPress theme editor. It would be an absolute nightmare.
October 19, 2010 at 2:58 am #95536modemlooper
ModeratorDo not edit the theme files from the folder bp-default. you need to create a child theme first. This way you won’t mess up your installation and can upgrade.
October 19, 2010 at 1:33 am #95530In reply to: Theme problems
Paul Wong-Gibbs
KeymasterCan you share a link to your site?
October 18, 2010 at 9:57 pm #95517In reply to: Customizing Group page content based on group
Deb Smith
ParticipantI figured it out – I needed to copy the group-header file into my child theme. It’s working fine now.
October 18, 2010 at 9:49 pm #95515In reply to: Buddypress 1.2.6, 2 months late -.-
thekmen
ParticipantI’m using latest branch which will be 1.2.6 on a pretty busy site at the moment (http://xfactor-updates.com/members/) and it’s extremely stable so far.
One thing I would say is that if you are upgrading & using a custom theme, you will have to make some updates to your functions.php.
Code to display join/leave group buttons and so on, secondary activity stream avatars as well as localisation for a few JS terms will need to be added.
All required code can be found in the latest bp-themes/bp-default/functions.phpOctober 18, 2010 at 6:14 pm #95502In reply to: Bug in a member’s personal activity stream?
Roger Coathup
Participant“activity private” – was just a general thought if you’d added a plugin or other custom code.
As I said before, without detailed info about your configuration, and your theme – it’s going to be difficult for anyone to help you on this one.
Does it only affect one user, or more than one?
Can you simulate it on one machine / browser – i.e. try activity for 2 users – do they both work?
October 18, 2010 at 6:05 pm #95499In reply to: how to edit menus?
@mercime
ParticipantThe navigation menu is in the header.php starting here https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/header.php#L46
You can change the links by creating a Child Theme so your revisions won’t be overwritten when BP is upgraded.
You won’t find the BP menus in the Appearance > Menu unless you revise the links in navigation menu an code navigation menus function in your theme’s functions.php file and add the template tag for that in header.php – https://codex.wordpress.org/Navigation_Menus
You can also try out this plugin – https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/home/October 18, 2010 at 3:23 pm #95480In reply to: Bug in a member’s personal activity stream?
apwinthrop
ParticipantThe theme hasn’t changed in months, but the person’s activity does not seem to appear on the sitewide stream. No privacy plugins – or blockage of engines. Dumb question- how do you make your activity private?
Cheers
October 18, 2010 at 2:02 pm #95475In reply to: Bug in a member’s personal activity stream?
Roger Coathup
ParticipantIt’s highly unlikely that it’s a bug in the activity stream – hundreds / thousands of sites run the BuddyPress activity stream without problem.
It’s almost certainly something wrong in your bespoke theme / bp-custom.php file.
Have you changed the theme since the second person carried out their activity? Does it show in the main site activity stream? Have you installed some privacy plugins, or has the member specified that their activity is private? Is the site hidden from search engines?
It’s impossible to provide much more help without a lot more information about your site configuration and the details of your theme code.
October 18, 2010 at 1:57 pm #95474In reply to: I need a tutorial of Citizen Kane Theme
ithacaindy
MemberAh! I was thrown by a prompt that said the theme offered logo management – perhaps the mention referred to the default buddypress theme. I appreciate your answer, though.
October 18, 2010 at 1:48 pm #95467In reply to: Javascript error with wp-fb autocnnect
Roger Coathup
ParticipantThis question would be better directed to the plugin developer (it’s not really a BuddyPress question)… they should be able to tell you what elements you need to have defined in your theme.
Note: We use wp-fb-autoconnect on one of our bespoke BuddyPress sites without problem.
October 18, 2010 at 10:35 am #95459In reply to: Where to add a custom js in the code?
Roger Coathup
Participantand, yes… you can write any php you like. Have a look through some of the includes in the default theme files (and also the use of locate_template )
October 18, 2010 at 5:31 am #95453In reply to: I need a tutorial of Citizen Kane Theme
modemlooper
Moderatorswitch out the image file in the theme folder. I think it’s logo.png
October 18, 2010 at 4:18 am #95450@mercime
Participant@jhansensd Agree with @hnla. You asked for advice and that’s the standard one that you’ll get to isolate what the conflict is. You might also want to check out
https://codex.buddypress.org/getting-started/before-installing/#wp-configuration
Then if all’s well with BP plugin, you activate your custom theme and see how it works out. install the other WP plugins one by one to find out which one is conflicting with BP.EDIT – took too long to answer, two already did
October 18, 2010 at 4:10 am #95448pcwriter
ParticipantYes, it is a common issue… and almost always plugin or theme related.
Follow the advice given by @hnla to troubleshoot your install.
Start by deactivating your custom theme to see if that’s the problem.
If not, then deactivate all plugins, and reactivate them one by one to track it down.October 18, 2010 at 2:57 am #95444In reply to: New theme – now available
pcwriter
ParticipantYes, the theme will support custom menus via the addition of my Add-All-Nav-Links-to-BP-Adminbar plugin.
https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/
http://nowrecovery.com/justfunstuff/add-all-nav-links-to-bp-adminbar/The original idea for this theme, and the reason I’m developing it, was to help make navigation more streamlined for users by combining the adminbar and main nav into a single unit. I released the plugin first, ‘cuz it works just fine with child themes of bp-default. Now I’m working on the theme to go with it. Of course, the theme will work just fine without the plugin, but…
When will it be available to purchase? Hopefully by the end of this month, I’ll have an initial release of the freebie. If all goes well on road tests of that release, the premium should become available by end of November.
October 18, 2010 at 2:42 am #95434In reply to: How Future Proof Are Buddypress Themes ?
Paul Wong-Gibbs
KeymasterFeature-proof until we add a new screen or function in the core code. If your theme is a child theme of BP-Default, then it’ll automatically get those updates, otherwise they’d have to be added. I think you’re probably safe for the next few months at least.
-
AuthorSearch Results