Search Results for 'theme'
-
AuthorSearch Results
-
January 29, 2012 at 2:17 am #128771
nilssvz
Memberthank you a lot, it worked!
=w=January 28, 2012 at 10:45 pm #128767aces
ParticipantTo find out what css to change, you can examine your web pages with firebug (download) in firefox or developer tools in internet explorer 8 or 9 and google chrome – it’s built in so just press F12. There are similar features in other browsers…
January 28, 2012 at 10:39 pm #128766nilssvz
Memberyay, that works.
thank you.
now i only need to figure out how to fix the widgets, but that should be no problem.January 28, 2012 at 10:10 pm #128765aces
Participant`display:none;` does what it says….
Just remove that line and it will come back again…. nothing else will have changed….
Actually going back to re-read your original message, it’s not clear what you want to do and how you expect to do it?
Chris Clayton also suggested an alternative line for your style.css file:
`
div#header { background-image:url(‘This-is-the-path-to-an-image-file.gif’); }
`January 28, 2012 at 10:05 pm #128764nilssvz
Memberit removed the header and the background.
how can i add them again?I’m sorry, I really don’t know anything about css.
January 28, 2012 at 9:53 pm #128763aces
ParticipantThe best way to deal with it is in a child theme! This is the way that buddypress is designed to work so that when buddypress / bp default get upgraded you won’t lose your edits…
Create a subdirectory under themes and create a simple text file called style.css inside the directory. Then add something like the following at the top of style.css:
`/*
Theme Name: nilssvz
Theme URI: http://example.org/themes/nilssvz/
Description: nilssvz theme for BuddyPress.
Version: 1.0
Author: nilssvz
Author URI: http://example.org/
Template: bp-default
Tags: buddypress, two-column, grey, dark
*/`Then put what Chris Clayton suggested immediately below:
`
div#header h1 { display:none; }
`and see what happens when you preview or activate your new child theme…..
January 28, 2012 at 9:36 pm #128761nilssvz
MemberI am sorry for bumping this again.
January 28, 2012 at 8:30 am #128748In reply to: Interactive Profile Fields During Registration
Marcella
Participanthey dude, all depends on how many people would want it as a plugin and it may have already been done before.
with David having a very specific case it was ok here but would need some more work to be practical.
if you need some help getting something like this working you could describe what you need, what theme you have etc and maybe take it from there.
January 28, 2012 at 2:36 am #128746In reply to: error 404 – page not found?
@mercime
ParticipantThere have been tons of bug fixes since BP 1.2+ to current BP 1.5.3.1 version but I don’t recall a bug on who’s online avatar. On the other hand, could be simply conflct with theme and/or plugins.
January 28, 2012 at 12:44 am #128744@mercime
ParticipantOpen up 13floor header.php, copy code and post to pastebin.com, click submit button and post the generated URL here. Do the same for your index.php, page.php, single.php and sidebar.php.
January 27, 2012 at 11:54 pm #128742doctorwhobbc
MemberI am up to step three in that article but like i said i dont actually know what to do. If i post my page.php or something could you or someone give an a example of what needs to be done so i can repeat the process for each file?
The theme i am using is 13floor by elegant themes (http://www.elegantthemes.com/gallery/13floor/)
Thanks
January 27, 2012 at 7:28 pm #128734@ChrisClayton
Participant@doctorwhobbc without knowing what exact theme your using, all we can suggest is to follow the steps written on the codex.
https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
January 27, 2012 at 6:28 pm #128729In reply to: Activity stream commenting
Marcella
Participant@djpaul it’s already in trac

In ajax.php there is a function
`function bp_dtheme_new_activity_comment()`
On line 194
`check_admin_referer( ‘new_activity_comment’, ‘_wpnonce_new_activity_comment’ );`
In activity/entry.php The Nonce matches here.
“In buddypress/bp-activity/bp-activity-functions.php Line 912
function `function bp_activity_new_comment()`Which later calls on line 937
`bp_activity_add($args)`
$args being sent from the form.
Within the same file there is the function above which preps the data by merging and ostracising into var names.
It then used the BP_Activity_Activity class located in buddypress/activity/bp-activity-classes.php
and checks if the data could not be saved otherwise return the id of the entry.
BP_Activity_Activity instantiates all expected parameters initially with the id if passed. (i’m guessing for an output method).
Saving is the issue here and the method save() on line 62 has 3 global vars $wpdb, $bp and $current_user.
Saving allows for additional filters (to which extent is beyond me here) (… along with the rest).
*gets hairier here
Then…
It checks if some specific filters failed to return a value and if so returns false.
It checks for more specific filter return values and if false sets them to that of the matched user. (primary_link) specifically. How this is used in saving, can only hazard a guess that it’s for outputing a url to the activity stream for permalink.phphttp://site.com/members/admin/activity/6060842 for example.
Then using WPDB inserts or updates accordingly.
Maybe we can gain some movement with this here.
Anyone else please do chime in with corrections of the above PSEUDO interpretation, where to go from here is the next one.
January 27, 2012 at 11:17 am #128711In reply to: Activity stream commenting
Marcella
ParticipantHave done some further digging and keep hitting the 404 issue.
The same issue is effected when adding a user as a friend, joining a group and favoriting.
Have created a quick and dirty button generator function that can be used throughout this WordPress theme.
However with the dead landing page these will never work. Are there any other approaches considered a best practice?
January 27, 2012 at 9:37 am #128706In reply to: Interactive Profile Fields During Registration
Marcella
ParticipantHey @davidveldt this should do it if you are using the default theme. Otherwise you should integrate as you see fit.
theme/registration/register.php
You can add any groups or fields as you require. The groups and fields here are arbitrary.
` ‘player’, 4 => ‘coach’, 5 =>’parent’, 6 => ‘instructor’); ?>
$role) : ?>
<div id="” class=”role-fields”><label for="”>
<textarea rows="5" cols="40" name="” id=””>
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />
`
Create some profile groups to cater for each role. You can find the group id within the BuddyPress admin… In the url bar or investigate your database.
You should set-up the $roles array above to match your requirements.
Within the loop you can show any fields you have created within that xprofile group. If you have a select box within that group you would add the following code as outlined in the bp-default register.php
`
<label for="”>
<select name="” id=””>
`
Finally add the following jQuery where you house any other code of similar ilk.
`
jQuery(“.role-fields”).hide();
$roles = jQuery(“#roles”);
jQuery(“#field_2”).change(function()
{
$role = jQuery(this).val().toLowerCase();
jQuery(“.role-fields”).hide();
jQuery(“#” + $role).toggle();
});
`Here’s a pastebin for all that above. http://pastebin.com/QFdTdstz
No need for tabs or accordion this time.
Hope that helps you on the Road.
January 27, 2012 at 9:30 am #128704In reply to: Profile data not working,
@mercime
ParticipantBasic troubleshooting – change to bp-default theme and deactivate all plugins except BuddyPress and see if issue is corrected.
January 27, 2012 at 9:28 am #128703In reply to: My buddypress site is not loading any
@mercime
ParticipantWhat did you activate before this happened? If it’s a theme, rename theme folder in wp-content/themes/ . If it’s a plugin, then rename the plugins folder in wp-content/
January 27, 2012 at 7:41 am #128696Paul Wong-Gibbs
KeymasterJust remove the buttons in your theme templates.
January 27, 2012 at 7:33 am #128693peeld
ParticipantHa, I removed it at one point and now can’t remember how to add it BACK
I did it in the theme’s CSS somehow…January 27, 2012 at 5:09 am #128690In reply to: Registration and Activation pages missing
@mercime
ParticipantWhat theme are you using? If it’s bp-default theme that’s missing those files, download another copy of BuddyPress, unzip and upload the /registration/ folder which contains the register.php and activate.php files
January 27, 2012 at 5:06 am #128689In reply to: [Resolved] Submit button error
@mercime
ParticipantWP Framework theme has not been updated since April 2011 and therefore the BP Template files included therein have not been updated as well. Change to bp-default theme and the issue will be corrected.
January 27, 2012 at 3:56 am #128686In reply to: Problem with registering
@mercime
ParticipantBasic troubleshooting – change to bp-default theme and see if issue is corrected. If not, deactivate all plugins except BuddyPress and check registration.
January 27, 2012 at 1:20 am #128673In reply to: BuddyPress wipes out WordPress cache?
r-a-y
KeymasterFor a workaround, to stop BP from purging WP Super Cache, add the following in your theme’s functions.php:
`remove_action( ‘wp_login’, ‘bp_core_clear_cache’ );`January 26, 2012 at 9:17 pm #128663nilssvz
Memberbump.
Help, I really need to get this done soon.January 26, 2012 at 9:05 pm #128662In reply to: HELP! Cant Get BuddyPress To Fit In My Custom Theme!
4ella
Participantare you sure that you have sent it to the correct address? I didn’ get anything

edit: sorry i have found it now
, will try to take a look now -
AuthorSearch Results