Search Results for 'theme'
-
AuthorSearch Results
-
October 28, 2010 at 8:52 pm #96849
Roger Coathup
Participantamongst other things, you are doing an assignment there (
, not a test for equality (=
. Bracketing the logical parts that belong together would also make your code easier to read.
October 28, 2010 at 8:34 pm #96847In reply to: New theme – now available
pcwriter
ParticipantThanks! I’ve almost finished the illustrated theme manual to help newbies (like us!) to get started on customizing the basic theme. Then I still need to update the code for BP1.2.6
The whole impetus behind the development of this theme was to provide as simple a framework as possible while offering several options and as much easy customization as possible for non-techies. All that while keeping the pricetag low (premium = $20), yet still offset the time invested for development and support.
However, along with the unexpected code updates and my father’s declining health (I’m taking a week off to spend some time with him) comes an unfortunate delay: the freebie will be available by the end of the 2nd week of November, while the premium should follow a few weeks after that.
I apologize in advance for the delay everyone, but please take consolation in that the premium will include a few surprises.
Ooh… anticipation is a fun thing!October 28, 2010 at 7:47 pm #96845In reply to: Kick (but not ban) a user from a a group?
r-a-y
KeymasterYou need to upgrade your Custom Community theme to take advantage of this.
Bug the theme author!Or you can manually do this by mirroring the changes made to /groups/single/admin.php.
October 28, 2010 at 7:44 pm #96844In reply to: Header image on network site
r-a-y
Keymaster@bazonline – You shouldn’t have much trouble then. Just activate bp-default on the community blog only and not on all the blogs. If you’re just having problem with the page `
`, go into your community blog’s general settings and change the blog title:
https://codex.wordpress.org/Settings_General_SubPanel@aweathers – Like I said, you need to modify the header.php file in your child theme to call the main site’s header image. Calling the main site’s header image requires a little bit of PHP coding. Or if you know you’re never going to change the header image, just hardcode the image URL into header.php.
October 28, 2010 at 7:07 pm #96079konradS
ParticipantPro version:
http://pro-community.themekraft.com/October 28, 2010 at 6:40 pm #96839pnm
ParticipantI have the same config as Falcon Show – WordPress – 3.0.1 and BuddyPress – 1.2.5.2
I couldn’t figure out where the option “user cannot delete itself” is, either in buddypress/wordpress dashboard. Can you please tell me where can I find this option? ( I am using default BuddyPress theme). Thanks.
October 28, 2010 at 6:32 pm #96837In reply to: eventpress question
ovizii
Participantthx. that helps a lot. not much documentation around your plugin so far
running a custom theme so will look into building my own templates….October 28, 2010 at 6:02 pm #96833In reply to: Header image on network site
A Weathers
Participanttried this last night as well and i run into the same issue as bazonline when i use the child theme, then all of the sites get the same child theme
October 28, 2010 at 4:17 pm #96817anindyaray
Member@hnla : Ok! but nothing to say sorry , Your tried to help me a lot , Thanks
October 28, 2010 at 4:04 pm #96813Hugo Ashmore
ParticipantNope can’t make it work tried many variances and approaches – sorry can’t really spend longer ion it I would now suggest you take this to the theme authors for support.
October 28, 2010 at 3:54 pm #96808In reply to: eventpress question
kunalb
Participant@ovizii That is not intended behaviour; the plugin has it’s own templates built off the default theme for BuddyPress; if you’re using a custom theme you’ll have to add your own templates. You might be able to get by with just changing the styles of the EventPress templates; the theme files are stored under eventpress/themes/bp and buddypress-custom-posts/themes/ . Any file you place in your own theme folder with the same name/relative path will directly over-ride these default theme files.
October 28, 2010 at 2:51 pm #96805anindyaray
Member@hnla:
Thanks
… but I had tried … , yet I tried once again … but in vain , I am pasteing the code
`function cancel_header_padding_for_no_adminbar() {
if(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar = false && !is_user_logged_in()) ?>body {padding-top:0;}
<?php
}
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );`this is what I tried
, but with no luck
With this function , with or without the && !is_user_logged_in() thing, padding is gone for everybody(logged in and logged out user both)
@rogercoathup : Thanks for the suggestion I will try to start learning , Everything has a first time
, actually I’m very much uncomfortable
October 28, 2010 at 9:34 am #96787Roger Coathup
Participant@anindyaray – to write your own theme for BuddyPress, you will need to have a basic knowledge of PHP. The PHP ‘if’ statement is fairly fundamental.
Checking the tutorial on the PHP site would be a good start: http://www.php.net/manual/en/index.php – then your questions on here can be BuddyPress specific, rather than PHP, allowing this forum to help you (and others) more effectively
October 28, 2010 at 9:18 am #96786Hugo Ashmore
ParticipantErm have you actually tried to add the above snippet adjustment, it’s really not hugely more difficult than the stage you must have already completed in copying my function to your functions.php file.
Take what I have shown above and add it to the end of the statements that live inside if ( ) so you’ll have a space then the &&
There is a certain level of code manipulation that you’ll need to get comfortable with doing so give it a go and if stuck post back showing what you tried.
October 28, 2010 at 8:29 am #96785anindyaray
MemberHello ! I need help ?
October 28, 2010 at 8:29 am #96784In reply to: New theme – now available
roydeanjr
ParticipantI am looking forward to this! AND, after looking around your site (theme is looking good!) I wish you all the best in your endeavor! Your are bringing some creative and honed skills to the recovery community! I hope your site provides the help many people need! God Bless!
October 28, 2010 at 5:56 am #96778In reply to: Kick (but not ban) a user from a a group?
orandajin
MemberIs this in the BP core already? I have the latest version of BP, but still cannot do this. I can only kick & ban as before, not remove members from group.
Also, if I add the code mentioned above to my function.php, my whole site goes blank.
I am using the Custom Community 1.5.1 theme for WP.
Anybody an idea what I am doing wrong?October 28, 2010 at 4:29 am #96775In reply to: Change the default activity tab
paulhastings0
ParticipantWow, I think I just figured out how to do it. It’s kind of hacky but I’ll share it with yall anyway.
1. Make sure that you’re working on a child theme of the BP Default theme.
2. Copy/paste the contents of bp-default/activity/index.php into your child theme’s activity/index.php folder
3. Find the line<li class="selected" id="activity-all">
and deleteclass="selected"
4. Scroll down a few lines further to<li id="activity-friends">
and insertclass="selected"
just afterid="activity-friends"
And that should be it. One thing I’ve noticed though is that the browser still seems to remember what the last tab was that you were using. But if you login into your account with a completely new browser then your default activity tab will be “Friends”.
If anyone else has a less “hacky” solution then by all means share with us.
October 27, 2010 at 10:04 pm #96755In reply to: Change the default activity tab
paulhastings0
ParticipantHmm… did some more snooping. The relevant file is /bp-child-default-theme/activity/index.php
Ideally there would be a single function that should generate the current activity tabs, that way we could use the hook to remove the existing function and then drop in our own existing function via add_action();
Unfortunately I see nothing of the sort. Here are lines 18 – 56.
October 27, 2010 at 9:37 pm #96749Nahum
ParticipantI think you removed the wrong one. Look at the original file in the bp default theme to compare.
October 27, 2010 at 3:32 pm #96712zoltok
ParticipantHi Chouf1,
Perhaps you’ve misunderstood. Accented fields are not a problem to create or use if you’re using the basic template – my problems only arose when I tried to call those fields and use them conditionally in the members loop in a customized theme. So, for example , that would be equivalent to displaying the results from your “Champ supplémentaire n° 4 bis ” on this page: http://bp-fr.net/members/. I haven’t touched the core code, the modifications are in my theme files.
If you have an alternative solution though, please feel free to share it.
October 27, 2010 at 3:27 pm #96709ericreynolds007
ParticipantThanks Rich. No wonder. I am using a Rockettheme child theme.
October 27, 2010 at 12:21 pm #96693rich! @ etiviti
Participantthat change is to a theme file – did your theme update as well? (or is it a child theme?)
October 27, 2010 at 10:01 am #96681In reply to: Header image on network site
bazonline
MemberI am having the same issue as AWeathers: I have WP 3.01 & BP 1.2.6 – I have various sites running successfully as subdirectories from my main site, but when I try to have BP default theme activated on a new subdirectory site, while it works seemingly perfectly the header image displays the main site title instead of the community site I am trying to create. If I add: define ( ‘BP_ROOT_BLOG’, 3 ); to wp-config.php it fixes it up but then places my main site as a “secondary” site to the community site and “sees” it as just another blog. (edit: the other sites continue working fine though)
Ray you point out the default is not meant as a network wide theme, but if you create a child theme of the default you can have the same theme across all blogs – I do not want this, only on the community site alone, with all my other sites having their unique themes. Is this at all possible?
October 27, 2010 at 8:21 am #96676In reply to: Blogs not working
Johnny
ParticipantGot the themes thing working – .htaccess was apparently corrupted during upload to the server.
-
AuthorSearch Results