Search Results for 'buddypress'
-
AuthorSearch Results
-
October 5, 2013 at 7:20 pm #172354
In reply to: How to disable Group Activity updates?
@mercime
ParticipantDid you remove it from this file https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-themes/bp-default/groups/single/activity.php
I hope you’re using a child theme of the BP Default theme instead of making those changes on that theme in your server. Otherwise, your changes will be overwritten when BP is updated.
October 5, 2013 at 7:13 pm #172353In reply to: Combine /user & /user/profile pages?
@mercime
Participant@kvschwartz name of file should be bp-custom.php and not bp-customs.php
https://codex.buddypress.org/plugin-development/bp-custom-php/October 5, 2013 at 9:01 am #172341GearMX
ParticipantAnother solution which is easier and works perfect (but you lose the lightbox feature)
1) Increase the thumbnail size by adding this line to your wp-config file: define(‘BPFB_THUMBNAIL_IMAGE_SIZE’, ‘640×640’);
(I’ve chosen 640×640 for the maximum thumbnail size, since lightbox is lost)2) Go to your plugins\buddypress-activity-plus\lib\forms folder and edit the images_tag_template.php file and delete this section: ” class=”<?php echo $use_thickbox; ?>” rel=”<?php echo $rel;?>” <?php echo $target; ?> >
(This will restrict opening your original uploaded image in a lightbox when you click on it – this is important since you will be deleting the original in the next step)3) Lastly, setup a cron, maybe once a week, to delete all files over a certain size in the bpfb folder (this is the folder where all the uploaded & thumbnail images are stored)
I’ve set my cron to delete all images over 150kb. Here is the command line for my directory:
find public_html/wp-content/uploads/bpfb/* -size +153600c -type f -delete(note: 153600c is bits, which is 150kb)
October 5, 2013 at 5:41 am #172333In reply to: Combine /user & /user/profile pages?
bp-help
Participant@kvschwartz
bp-custom.php should reside in http://www.your-site/wp-content/plugins or if your on localhost it would be http://localhost/your-site/wp-content/plugins. It is not in a folder like other plugins would be. It is just a php file named bp-custom.php that occupies the same directory as a plugin. Please review:
https://codex.buddypress.org/getting-started/bp-custom-php/October 4, 2013 at 9:17 pm #172326Henry
Member@cambridge15 Run your website through http://tools.pingdom.com to see which resources are being loaded. That should show you which scripts you need to focus on.
October 4, 2013 at 7:04 pm #172325cambridge15
ParticipantHmm didn’t seem to work for me, maybe i’m still calling jquery somewhere and not realizing it?
thanks for posting Henry!October 4, 2013 at 6:40 pm #172324In reply to: [Resolved] WordPress Login and Registration Page
Halo Diehard
Participant@cpagan2000 thanks SO much for coming back and posting that code! I have literally searched for hours to try and fix my problem that my site, which has been running over a year spam free, all of a sudden was getting SLAMMED with spam registrations because BuddyPress hijacked my registration page and I couldn’t figure out how to make it stop.
For anyone else who finds this thread, you have to create the bp-custom.php file and put it in your wp-content/plugins folder (contrary to all the other information out there on the web – – SO CONFUSING!!) I tried to put in in my functions.php and it just wouldn’t work. You can find more information on customizing BuddyPress by following the link above that @bp-help posted above.
This information should really be easily accessible. No one should ever have to search this hard to fix this type of issue. That is why I made a point to come back and thank pagan and add the missing info that I had to track down to fully understand the situation.
October 4, 2013 at 6:28 pm #172323In reply to: Notification widget/plugin?
bp-help
Participant@kvschwartz
Have you tried:October 4, 2013 at 5:55 pm #172322October 4, 2013 at 5:51 pm #172321Hugo Ashmore
ParticipantNo what you are describing having started is a theme compat approach renaming page.php to buddypress.php ( that can be located for neatness in /buddypress/ or /community/; mercim’s post directly related to using the now older bp-default theme files copied over now you have started on theme compat stick with it, your issue is going to be that the theme does something to mess up page.php BP needs that file to adhere to WP template principles you must have a proper loop with the_title() and the_content() tags in place
October 4, 2013 at 5:42 pm #172320elaine ossipov
ParticipantYou should be able to just add googles
wp_enque(the version I posted)And they should work together.
October 4, 2013 at 5:36 pm #172319Henry
Member@eossipov thanks for the help. My problem was resolved with the code I just posted. Just had to dequeue jQuery and use Google’s latest copy instead.
October 4, 2013 at 5:32 pm #172318Henry
Member@cambridge15
wp_dequeue_script( 'jquery' );goes into your theme’s functions.php file but you need a bit more for it to work:function my_dequeue_jquery() { wp_dequeue_script( 'jquery' ); } add_action( 'wp_footer', 'my_dequeue_jquery', 11 );October 4, 2013 at 5:31 pm #172317elaine ossipov
ParticipantThis is more than likely due to the function which is (for instance) clipping your images needs an older version of jquery.
When you placed the bootstrap (v3?) and included the jquery in the statement then it over-rides that which is included in the image crop function.
try including versions jquery, and you might want to also include googles jquery and then test.
ie.
include path/jquery.1.1.min etc
Please let me know if this was the issue.Specifically add this one first, and then lets see if your problem quits:
(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js’);
October 4, 2013 at 5:06 pm #172316cambridge15
Participant@henrywright-1 where did you use that? I think i’m having some of the same issues. Thanks for any help!!!
October 4, 2013 at 4:32 pm #172315Henry
MemberHey @hugo
1. Lol! I’m lazy and a really bad designer!
2. You just answered my question with this! jQuery is enqueued but I seem to need the latest version. Not sure including jQuery twice done me any favours. Just used
wp_dequeue_script( 'jquery' );which solved my problem.Thanks Hugo 🙂
October 4, 2013 at 4:12 pm #172313Hugo Ashmore
ParticipantQuestion is why on earth are you using bootstrap!
Second question is isn’t jquery enqueued anyway!
October 4, 2013 at 2:58 pm #172312In reply to: Combine /user & /user/profile pages?
shanebp
ModeratorOctober 4, 2013 at 11:03 am #172305santanin
ParticipantThank you again for your posts and advice. It is very much appreciated.
I read more documentation and re-read your posts, and I have taken two steps so far, however I have hit a wall with what to do next.
Here is what I did:
1) Created a child theme following all instructions from the official WordPress Codex (https://codex.wordpress.org/Child_Themes), loaded the style.css file to my child theme’s directory, and successfully activated my child theme.
2) Made a copy of the parent theme’s “page.php” file and renamed it “buddypress.php” and placed it in my child theme’s directory.
For the next step, are you suggesting I only need to make some edits to the “buddypress.php” file until I achieve my desired results? I noticed in mercime’s post assisting the user in making the BP pages all have full width for my theme, that mercime recommended taking a copy of the “header.php” file and renaming it to “header-buddypress.php” as well as creating a new blank “sidebar-buddypress.php” file, and adding some code to each file. Do you think I would need to do something similar for my situation for having the right sidebar appear (versus having the pages be full width as mercime figured out?) Or would I only need to modify the one “buddypress.php” file to achieve my results?
Thank you again!
October 4, 2013 at 7:56 am #172299In reply to: Adding classes to profile fields
modemlooper
ModeratorIf you are referring to what the users see and not the admin like in your screenshot you can just target with CSS no need to use a function.
The CSS is:
#buddypress .standard-form .field_2 div.checkbox label
field_2 could be different depending on where you placed the checkboxes in the admin.
October 4, 2013 at 3:36 am #172295lucamoretto
Participantwith this plugin i can display in the user buddypress profile a list with a link of all products published by author (not a posts!) … ty 😉
October 4, 2013 at 2:08 am #172293@mercime
Participant@lucamoretto there’s a premium plugin by @svenl77 and @konrads at http://themekraft.com/store/woocommerce-buddypress-integration-wordpress-plugin/ which bridges BuddyPress and Woocommerce and does what you need.
October 4, 2013 at 1:35 am #172291In reply to: [Resolved] Custom sidebar on register page
@mercime
Participant@newo1t it all depends on what theme are you using? Have you followed instructions at https://codex.buddypress.org/theme-development/theme-compatibility-1-7/template-hierarchy/
October 4, 2013 at 1:32 am #172290@mercime
Participant@karthiksanthanam error caused by BuddyPress Virtual Gifts widget plugin. Please contact plugin author about the error.
October 4, 2013 at 1:19 am #172288In reply to: How to let users blog
-
AuthorSearch Results