Search Results for 'wordpress'
-
Search Results
-
Hi Guys. Any possible help or info on this topic would be greatly appreciated.
WordPress version – Latest Updated Version
BuddyPress version – Latest Updated VerionHere is the what I am trying to achieve with the BuddyPress Plugin for my Users.
To create a ‘Print Profile Data as PDF” as an option within the BP User Nav section. Please see images –
I want the user’s Profile Data and custom fields to display as a Print / Save as PDF option when the user clicks and selects it.
It will generate this dynamic data in a presentable layout.
Any advice or alternative PHP options for this option creation would be most greatly welcome. My print.css style-sheet is currently blank. I’ve no idea of the coding that needs to go into it to finish this idea below and make it work.
Please Help!!!
=============================================================================================
The Modification’s I have completed to date to get it this far!!!
=============================================================================================Creating Profile Print Navigation
Created a print.css file in the WP Theme Folder.
> WP Theme Folder folder / functions.php file.
Added this custom code:
wp_enqueue_style( 'thrive-print', get_template_directory_uri() . '/print.css', array(), 'print' );> Next – Theme > inc folder and opened up extras.php & added this code below:
function theme_print_nav() { global $bp; $args = array( 'name' => __('Print PDF', 'buddypress'), 'slug' => '#', 'default_subnav_slug' => '#', 'position' => 30, 'show_for_displayed_user' => false, 'item_css_id' => 'print-pdf' ); bp_core_new_nav_item( $args ); } add_action( 'bp_setup_nav', 'theme_print_nav', 99 );It added a Print PDF navigation in the Profile Menu.
Lastly I went to Theme > js folder and open theme.js file.
Added this line of code.$("#user-print-pdf").attr("href", "javascript:window.print()");The Print Feature was then added to site.
=======================================================================================
This is as far as I have got. Any suggestions guys on how to sync / finish this would be amazing 🙂
Thanks a mill,
David.
hi.
my problem is:
for example.
i have 2 users.
user A
user Buser B, try to see something from user A’s profile. which ofcourse is not allowed to.
so user B, will be redirected to login page. as to login and see that content (if he/she is allowed to)my problem is exactly here…!
instead of getting redirect to my custom login page url. wordpress redirect that user, to default wordpress login page!
i dont want users to see that page.
for more info.
i have functions which will redirect my users to my custom login/register/singup page.
but it’s not working with buddypress.
so i need another function for that.
how should i solve it?
————–
for more information:
here is an example of what is happening…
user B tried to see the messages of user A (which of course is not allowed to!)
so instaed of getting redirect to:yourwebsite.com/login/redirect_to=http%3A%2F%2Fyourwebsite.com%2Fmembers%2FuserA%2Fmessages%2F&action=bpnoaccess
the wordpress redirected to default login.
yourwebsite.com/wordpress/wp-login.php?redirect_to=http%3A%2F%2Fyourwebsite.com%2Fmembers%2FuserA%2Fmessages%2F&action=bpnoaccess
tnx for help.
if you need more info. tell me. and i will provide it.Topic: fan club community?
I am trying to build a fan club type site using WordPress and wanted to integrate a community where fans can go to gather online, post stuff, and interact with one another. I’ve a whole lot about buddypress but want to make sure this would be a good solution alongside bbpress? Thoughts? I’ve personally never used this plugin so I wanted to make sure. Would this also work alongside a membership plugin for free and paid memberships like WP Simple Membership?
Hello,
After following the codex and googling for hours, I just can not set the default cover image for users when they first register. I use the latest version of wordpress and buddypress.
functions.php
function your_theme_xprofile_cover_image( $settings = array() ) { $settings['default_cover'] = 'http://www.planwallpaper.com/static/images/colorful-triangles-background_yB0qTG6.jpg'; return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_xprofile_cover_image', 10, 1);member-header.php
<?php $cover_image_url = bp_attachments_get_attachment( 'url', array( 'item_id' => bp_displayed_user_id() ) ); ?> <img src="<?php echo $cover_image_url; ?>">Website: local
Edit: I CAN set an image in the profile tab and it shows up like normal.
Topic: BP Profile Search
Hello,
I am new to WordPress and Buddypress and have been having trouble figuring this out.
I want to search for users by their BP xProfile using the check box fields combined with their location. The goal is for a user to be able to select someone with a specific criteria (check boxes) and then by zip code or the name of the city state.
I see location as an option when making new fields but really like xProfile Location Version 1.0 and how it autofills the location with either zip or city state. Can this be used in conjunction with the location fields?
And can both of these (checkbox and location) be requested with one request?
WordPress 4.5.2 running Athena Child theme
BP Profile Search Version 4.5.2
xProfile Location Version 1.0Thanks,
CraigThere is a feature in WordPress that’s very useful for a blog owner who administers his/her own blog, but that same feature presented to the user who is NOT a site admin is downright malicious and exposes the site owner to a serious security risk or at least a serious and even more costly privacy risk.
BuddyPress and bbPress are both guilty of doing just that.But the interesting thing is:
The administrators of BuddyPress.org apparently do have a brain because they’ve made sure that this giant security/privacy hole is closed on this bbPress forum here.So, WHY THEN ARE THEY EXPOSING every other normal BuddyPress and bbPress user to that malicious behavior of BuddyPress and bbPress???
WHY???That’s what I wanna know.
Oh, you wanna know what’s that malicious behavior/security risk that BuddyPress and bbPress is exposing you to?
Easy!
Go to your own installation of bbPress, create a new topic/post and while creating it highlight a word and click that “insert link” button you see in the top row!
Does it ring a bell?In case you are very slow, lemme ring the bell for you here:
First, you need to open your eyes. That’s quite important.
Listening to the bell alone isn’t gonna help you.Secondly, take a look at that “Or link to existing content” thingy and explore the list that appears below!
See how it lists ALL OF YOUR PAGES including the secret thank-you pages with content that is supposed to be visible ONLY TO PEOPLE WHO HAVE PAID FOR THE PRODUCT!
As well as all of your test pages and other secret/private pages that you don’t want anyone to have access to.And in case you don’t think that’s a good idea, you are not alone.
The admins of BuddyPress.org don’t think that’s a good idea either.
That’s why on this website, on this bbPress forum here they have removed that security/privacy threat!That’s right! If you try the “insert link” feature in this forum here, you’ll immediately notice that this malicious “Or link to existing content” feature has been disabled.
It’s not suggesting any of the internal pages on BuddyPress.org here.GOOD THINKING!
And it’s good to know that at least the admins of BuddyPress.org do have a brain.Now, in a bbPress forum you could sort of “fix” this issue by making your forum extremely inconvenient for your users.
Just go to your forum settings and uncheck “Add toolbar & buttons to textareas to help with HTML formatting”.But is that something you really want to do???
Do you really want your forum appear as if was coded in 1997?
Do you really want to deprive all normal forum users of being able to format their posts?
And even users who know HTML, would they want to type HTML markup when posting in a forum?But hey, while bbPress offers at least a 1997-style kill switch to switch off that malicious behavior of bbPress, BuddyPress does NOT offer such switch at all.
So, if, for example, you have something like BuddyPress Docs installed (a very helpful plugin by the way), then you’ll find yourself facing the same damn problem!
Now for my final question to the admins of BuddyPress.org:
Do you know what negligence is?You are guilty of negligence because while having protected your own site with some custom coding, you are exposing all other people using your software to a serious security/privacy risk!
FIX IT!
I want people to be able to easily format my forum posts and BuddyPress posts (using TinyMCE) WITHOUT exposing my private pages!
Otherwise I might just as well publish my admin password on my home page.WHY THE HELL is the custom code that you have implemented on this site here (and on WordPress.org to protect your sites from malicious attacks) is not part of the core BuddyPress code???????
P.S.
I couldn’t keep this post any shorter because when I see such a tremendous amount of stupidity (or negligence in this case) it just drives me mad.I’ll do my best to answer these before asking my question, per moderator request.
1. Which version of WordPress are you running? 4.5.22. Did you install WordPress as a directory or subdomain install? unsure. Installed as program at my host. domain is bennypointer.com
3. If a directory install, is it in root or in a subdirectory?
4. Did you upgrade from a previous version of WordPress? If so, from which version? Not today.
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Still working basically
6. Which version of BP are you running? 2.5.9
7. Did you upgraded from a previous version of BP? If so, from which version?
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Buddypress not activated now (BBpress is). Also running Beaver Builder Lite, Page Builder by Site Origin, Site Origins Widgets Bundle, Title Remover, and UPdrafts plus backup. Not my idea to use most of these. . . trying to help a friend out.
9. Are you using the standard WordPress theme or customized theme? Using Off the Shelf theme
10. Have you modified the core files in any way? No
11. Do you have any custom functions in bp-custom.php? Not that I’m aware of unless a plugin altered them
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? bbpress 2.5.9
13. Please provide a list of any errors in your server’s log files. n/a
14. Which company provides your hosting? will have to check
15. Is your server running Windows, or if Linux; Apache, nginx or something else? unsure, but Apache, I think.
____________________________
Bennypointer.com is to have a forum (/forums). I have it built, have registration/login/lost-password pages that seem to work, except upon registration, no email gets sent (doing automatic registration for the moment). I’ve scoured everything I can find, and cannot seem to fix this. Ideas?Also, I am trying to get a right sidebar on the forum page with registration, etc. but cannot get it up. On Benny’s Forum page (/forums), I have ‘right sidebar’ as page type. I with widgets setup with login URI and lost password URI fields accurate, and did the same at appearance>widgets where there is only Blog Sidebar and Footer listed on the right (where I drag the widgets to). I cannot find a place to “create new sidebar” that I have in my Karma wordpress theme. I have tried having the widgets in both the Appearance>customization area, and on the appearance>widegets page).
Help? I’ve got about 12 BBpress and codex pages open on topics ranging from learning child-themes, to BB press, etc.
Thanks y’all
Jon