Search Results for 'theme'
-
AuthorSearch Results
-
August 13, 2015 at 8:51 am #243116
danbp
ParticipantI can confirm that Raindrops theme is working correctly with BP and taht the admin bar is showing up to logged in users.
Deactivate and delete the admin bar plugin. Remove also any custom code you have added in the past concerning the toolbar. The idea is to revert back to a fully standard WP install.
If this doesn’t work, you have to go to your db and check the wp_options table for the toolbar setting.
Search for option_namehide-loggedout-adminbarwhere value must contain1.August 13, 2015 at 8:29 am #243114In reply to: No Change Avatar link and url
danbp
ParticipantAre users allowed to change their avatar ? See BP settings.
If yes:
Test with Twenty Fourteen theme and without any plugin as BP.
Also, while testing, enable debug mode in wp-config (from false to true).August 13, 2015 at 6:59 am #243109atfpodcast
ParticipantYes sir the bar is there when are not logged on. I added show_admin_bar( true ); in a function plugin and that did not work. I tried the 2014 theme with the same results. no tool bar. THe one i deactivated was the one from stranger studios hid admin bar to non admins and and I deactivated that.
https://wordpress.org/plugins/hide-admin-bar-from-non-admins/August 13, 2015 at 3:54 am #243107djsteveb
Participant@atfpodcast – is the bar there when they are not logged in?
does it do the same thing when using the 2014 or 2015 theme?
have you checked settings –
admin dashboard – settings – buddypress – click the settings tab – checkbox – Toolbar Show the Toolbar for logged out users ?
occur when other plugins are deactivated?
August 12, 2015 at 10:02 pm #243098In reply to: Profile Pic upload failure
danbp
ParticipantHi,
i’m not familiar with bp-attachment yet, so sorry in advance.
First, I would check that BP is installed and setup correctly and test it with Twenty something theme, and all other plugins deactivated.An error occurred. Please try again later.is only used in one place:bp-core/bp-core-attachment.php
This error is related tobp_attachments_get_plupload_default_settingsfunction, which controls some default settings to get plupload to work on your install.Read through it to see what is checked by this function, and maybe you will have an idea of which plugin or theme is messing up the upload process. It’s probably nothing important (pictures are uploaded), but you see that message, which is weird, of course. A little js conflict perhaps. Or a plugin with some bad code or not correctly updated…
The other reason i tell you to re-check BP settings, is this URL to a profile.
http://www.adventureridingnz.co.nz/members/members-2/martin_worswick/
Can you explain why you use/members/members-2/and how you built it ?Usually, a profile URL looks like this: `http://www.adventureridingnz.co.nz/members/martin_worswick/
`
As the attachment API use js, it is possible that the uploader doesn’t find the correct way to end the upload, or something like that, due to this URL.Headlights call from a Guzzi. 😉
August 12, 2015 at 8:15 pm #243095In reply to: Activity in my home.php
Henry Wright
ModeratorDoes front-page.php exist in your theme’s folder? If so, then that’ll override whatever you have in home.php.
August 12, 2015 at 6:30 pm #243094In reply to: Creating marketplace using buddypress
djsteveb
Participant@olliecard – I’m sure there are many ways to accomplish this, however I am not sure that buddypress is easily adaptable to some of the requirements – privacy for certain things, restricting profiles and such. I hope someone can chime in an share methods for using BP in this way, I’d love to see those options.
You could play with things like s2member for some restrictions and payments even – but restricting BP stuff is a challenge I think. Using other member and restrictions plugins with regular wordpress is pretty solid.
I believe you may be able to achieve your goal using some other WP plugins – there are many others that get into profiles, membership, restrictions, classifieds and such.
It might be 50 hours of work to mash all the various components together in a perfect way – and if so you may want to look at what wpmudev has withe their “membership 2” plugin and others that mix with it. wpmudev peeps had quick answers and solutions for something similar I posted about there years ago. I think their prices are double what they should be – but the support there exists, and if you are looking at a serious project it may be best to get into a professional support system like that.
Of course you would mix and match some of the free plugins in the wp-repo and probably come out with something – press permit, profile plugins, s2member – custom fields, tweak some themes – maybe even go WP-MS multi site for some semi-separated static things – and you may achieve what you are describing as well.
I’d love to see others post about other options, and I’d love to see BP have more fine grained control over things – it’s moving in that direction with things like user levels and such so the future with bp is possible, I just don’t think it’s there yet, and likely won’t be playing well with others anytime soon – and getting code help with BP – even if you offer to pay for it – is not the easiest thing in the world.
2 cents from a random user – not an expert
August 12, 2015 at 10:48 am #243078atfpodcast
ParticipantIm using raindrops. I seen the other themes jazz the profile look. I also noticed it changed the link in bbpress to the profile not the forum dashboard. Im not good with php so if i can copy and past that helps
August 12, 2015 at 10:30 am #243075@mercime
Participant@atfpodcast Sorry, not quite clear what you mean. What exactly do “other BuddyPress themes have for the profile” that you want? Can you post a link to the other BP themes profile page URI so we can identify what you mean?
August 12, 2015 at 9:22 am #243072In reply to: How to change the activity avatar size
danbp
ParticipantThe mistake comes from you ! You probably confused bp-legacy and bp-default. You must use the id’s and classes used by bp-default theme, not thoose comming from buddypress legacy templates.
BP-default was designed to be used by BP < 1.7/1.9. Now, BP can be used with any theme…
When you check for CSS names, read the page source (right click on browser screen > show source).
First screenshot is the whats-new form. You highlighted the CSS and can see that it has nothing to do with the css rule you try to apply to activity avatar.
The div there is calledwhats-new-avatarand the class isphoto.Code source is in bp-default/activity/post-form.php
Try
div#whats-new-avatar .photo {}Idem for the second screenshot. It’s the activity page of bp-default theme, which use different names as the actual buddypress template.
Bp-default theme is building a list for activities. Means you’re in a ul/li serrie. Avatars are somewhere inside a li.
You have to try something likeul#activity-stream .photo {}All concerned templates are in bp-default/activity/
Can’t help you more as i stopped to use bp-default since a few years now. Simply keep in mind that you’re working on an old theme which has not much to do with the way BP is currently handling with themes.
Codex contains some old reference to bp-default if you have other issue with that theme.
Keep your eyes open and have a nice day. 🙂
August 12, 2015 at 6:29 am #243070In reply to: How to change the activity avatar size
ajay25
ParticipantHi,
Completely deleted the functions.php from child theme and bp-custom.php from the plugins folder. Used only the below mentioned code in style.css file which is located in the child theme. Unable to know where I am doing the mistake. There was no change after I did this.
/* Theme Name: My Theme Theme URI: http://example.org/themes/dusk/ Description: Version: 1.0 Author: Admin Author URI: Template: bp-default Tags: buddypress, two-column, grey, dark */ #buddypress div.activity-avatar img.avatar { height: 80px!important; width: 80px!important; }August 11, 2015 at 10:35 pm #243061danbp
ParticipantTo create a shortcode, you use the same function as in the mentionned topic and instead echoing, you return what you need. Like this:
function bpfr_message_shortcode() { $author = get_the_author(); $message = 'Login to send a message to this author !'; if( is_user_logged_in() ) { return '<a href=" '.wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . $author ) .' title="Private Message to Author" ">Contact the author</a>'; } else { return $message; } } add_shortcode( 'ksam', 'bpfr_message_shortcode' );Add this to bp-custom.php or your child-theme functions.php.
Use the shortcode
[ksam]at the place you want and you’ll see aContact the authorlink.Note that I tested it only within a post, meaning you need to be in a post loop to fetch an author.
August 11, 2015 at 9:36 pm #243060In reply to: [Resolved] Add Count Near Nav Menu
danbp
ParticipantI tested the snippet on Buddy theme, so i’m pretty sure you have a user menu. This menu is on WP’s Toolbar. You see it when you’re logged in.

To choose an item position, you have to do it differently, as explained here:
[Resolved] Position Notification Counter Bubble after Specific Navigation Tab ID
For more about menu handling and functions, see WP Codex, as this is not really related to BuddyPress. Now it’s your turn to work a little !
August 11, 2015 at 7:41 pm #243054atfpodcast
Participantand what? as the title says what can I add to my theme the other buddy press themes have for the profile
August 11, 2015 at 7:01 pm #243052In reply to: How to change the activity avatar size
ajay25
ParticipantHi,
I added the above mentioned code in the style.css of my child theme an the result is negative.
Code that I added to the style.css is as mentioned below.
#buddypress div.activity-avatar img.avatar { height: 80px!important; width: 80px!important; }I checked the same in “twentyfifteen” theme and the issue is the same.
August 11, 2015 at 6:57 pm #243051In reply to: [Resolved] Add Count Near Nav Menu
gurselgunacar
Participant@danbp you are my hero. i tried to find this code for 2 weeks 🙂 you solved that. my theme doesnt contain user menu. So i need to add count of notification. Lastly how can we move this menu items left side of menu?
August 11, 2015 at 5:51 pm #243047In reply to: [Resolved] Add Count Near Nav Menu
danbp
ParticipantAdd this to bp-custom.php and give a try ! Should show at the left of the logout button on Buddy theme nav bar
function my_nav_menu_notif_counter($menu) { $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/'; // condition: user must be loggedin if (!is_user_logged_in()) return $menu; else $notif = '<li><a href=" ' .$url. ' ">Notif ['. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .']</a></li>'; $menu = $menu . $notif; return $menu; } add_filter( 'wp_nav_menu_items', 'my_nav_menu_notif_counter' );August 11, 2015 at 1:03 pm #243025In reply to: How to change the activity avatar size
ajay25
ParticipantHi,
Please ignore the previous message.
1) I created a new child theme and created a style.css and function.php.
2) In function.php, I used the below code. It changed the size of the profile pic but not the size of the profile pic in the activity streamdefine ( 'BP_AVATAR_THUMB_WIDTH', 80 ); define ( 'BP_AVATAR_THUMB_HEIGHT', 80 ); define ( 'BP_AVATAR_FULL_WIDTH', 175 ); define ( 'BP_AVATAR_FULL_HEIGHT', 175 ); define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 300 );August 11, 2015 at 12:53 pm #243024In reply to: How to change the activity avatar size
ajay25
ParticipantHi,
As per the link that you shared, I created a child theme and a style.css in it.
I used the code as mentioned above but it didn’t work. Unable to know where I am making a mistake.
August 11, 2015 at 12:47 pm #243023danbp
ParticipantAugust 11, 2015 at 12:09 pm #243014In reply to: How to change the activity avatar size
danbp
ParticipantNote: I am using the default theme of buddypress.
Weird ! Have you tried with Twenty Fifteen ?
First, read here:
Try to add the define to your child-theme functions.php, instead of bp-custom.
Spare bandwidth…
define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 640 );Are you sure you want to allow such a big size for a picture who use as max full width a default size of only 150 px ? 😉August 11, 2015 at 10:44 am #243009danbp
ParticipantMention stuff is in buddypress/bp-activity/css and buddypress/bp-activity/js
To modify the text color of the name list, add this into your child-theme style.css.
Use !important for the new rule..atwho-view { color: #e30472!important; }August 10, 2015 at 10:23 pm #242989danbp
ParticipantOnly thing i understand from default.css concern gallery and images rules.
If you don’t want them, remove them or usedisplay:none;bp-default styles are in bp-default/_inc/css/default.css
To overide, you use a child-theme containing a style.css fileAugust 10, 2015 at 6:45 pm #242982rgrober
Participant@danbp, thank you for the reply!
I was modifying media queries in the style.css of my child theme (placed at the end of the css). That is actually working now.
My new question would be is there anyway to disable the already existing media query rules?
I’m aware the bp-default is no longer maintained. I’m using the latest version of BP and WP.
August 10, 2015 at 6:20 pm #242980danbp
Participantcan you give details please, as media queries and css are not, imo, the same thing. What do you mean by media queries in style.css ?
Can you tell what you want to do exactly and what you have already done ?
Also bp-default theme is no more maintained. Are you still using it ? And if so, what WP/BP version are you using ?
-
AuthorSearch Results
