Search Results for 'buddypress'
-
AuthorSearch Results
-
August 4, 2012 at 7:54 am #138395
In reply to: Buddypress pages displaying the whole site summary
yadigit
ParticipantWhat is your website? It could be the sidebar not in the right place.
Using the template pack helps a lot, but some CSS editing may be required.August 4, 2012 at 6:08 am #138392In reply to: Linking to a Non-root Profile URL
pantone
Participant@r-a-y, thank you for your help! By removing that define line from functions, account settings profile pages are now linked to: “domain.com/members/username”.
Thank you, really appreciate your help.
Another inquiry while we’re on the subject — I currently have Extended Profiles disabled, but I have Account Settings enabled. I’ve been testing different WordPress roles on my site and discovered that if a subscriber types in their browser: “domain.com/members/anothersubscriber” (where “anothersubscriber” = another member on the site that is also a subscriber), they receive an error (404) page. Obviously this happens because non-admins are not allowed to have this type of access. However, instead of throwing a 404 page, how can I have their (note: “their” meaning non-admins. in my case, subscribers) request redirect to the homepage or to their own profile page?
Thank you!
August 4, 2012 at 3:32 am #138391maryefern
MemberAs I indicated above, I have MySQL 5.1.6, so that shouldn’t be an issue, right? Which files should I re-upload exactly? I’m a bit confused as to why that would help exactly… WordPress itself seems to be working fine, but are you thinking my files are corrupted?
August 4, 2012 at 12:19 am #138390r-a-y
KeymasterTry this plugin instead:
https://wordpress.org/extend/plugins/buddypress-registration-groups-1/It’s not as outdated as the one linked by karmatosed and should work. If it doesn’t, please inform the plugin developer.
August 4, 2012 at 12:15 am #138389In reply to: Google Analytics
r-a-y
KeymasterBuddyPress is a WordPress plugin, so try looking for any WordPress Google Analytics plugin:
https://wordpress.org/extend/plugins/tags/google-analyticsIf you’re looking for customized, advanced, Google Analytics data for BuddyPress that use custom variables and event tracking, I don’t believe one exists at the moment and will have to be custom-developed.
August 4, 2012 at 12:10 am #138387r-a-y
Keymaster@notpoppy – You have the right idea that your code is loading before BuddyPress and you are also correct to have read the Checking if BuddyPress is active codex article.
Now, you just need to connect the dots!
1. Create a new folder (eg. /my-bp-plugin/).
2. Copy and paste the contents of what you wrote above into a new file (eg. /my-bp-plugin/my-bp-plugin.php).
3. Now, copy and paste the contents of the codex article into a new file (eg. /my-bp-plugin/loader.php) into the folder you just created. Make sure to change the file path and name to the ones you created above as well as the meta data at the top of the file.
4. You should now have a folder with two files. Move this folder into the /wp-content/plugins/ directory, navigate to the WP admin dashboard and activate the plugin!If you have any other questions, let me know.
August 3, 2012 at 10:58 pm #138386@mercime
Participant@tgg brand new install on WP 3.4.1 and BP 1.5.7? Is BP installed in main site or subsite? Windows or LInux hosting? Error log? Have you tried deactivating all plugins except BuddyPress and see if issue is resolved?
August 3, 2012 at 10:42 pm #138384In reply to: What can we do against spam
modemlooper
ModeratorTry:
Change the register slug to something else. Make sure BuddyPress or WordPress is not shown on any page of your site. Check footer and header via the browsers view source. Use a captcha. Only allow sign ups via Facebook connect. Don’t use multi site.
In my profile privacy plugin there is a button on user pages that lets admins mark user as spammer. This is for quickly blocking a user. It doesn’t delete account just puts account into a state that will not allow user to sign in.
I’m working my way through my plugins and adding updates. One update I may add to the profile privacy plugin is too block an account if they post without doing a certain thing first. Maybe they need to add a friend or join a group.
Search around, but no one should open a BP site without locking it down.
August 3, 2012 at 9:48 pm #138383In reply to: Header duplicating
Tammie Lister
ModeratorI think we already covered that over here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/header-duplicating/. However, if that’s not the solution it’s probably a good idea to keep to one thread as saves confusion.
August 3, 2012 at 9:40 pm #138382@mercime
Participant@alexcurrie123 Yes, that’s the code of permalink.php. I believe that you only needed to create two files to fix alignment of the BP template files based on the HTML structure of your theme.
In this case, to make it easy for you, open up that permalink page and make the following revisions:
A. Beneath “ and before `
`, add this:`
`B. In the line just above “ add this:
``
Save file.
P.S. My username is not based on the Mercy Me band
Cheers.August 3, 2012 at 8:19 pm #138377In reply to: Alignment issues – CelebrityPress Theme
@mercime
ParticipantB. COPY your theme’s sidebar-single.php file (that’s the file called from your page.php file) and Save As > sidebar-buddypress.php
Open up the blank sidebar-buddypress.php file and at the very TOP of the file, above all code add this:
``
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/celebritypress/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
August 3, 2012 at 8:19 pm #138376In reply to: Alignment issues – CelebrityPress Theme
@mercime
Participant@blixus Confirmed that based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.
If you’ve revised any of the BP template files transferred to your celebritypress theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your celebritypress theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
A. COPY your theme’s header.php and Save As > header-buddypress.php
Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
``Save file.
August 3, 2012 at 8:06 pm #138375In reply to: Activity Stream Problem
9087877
Inactive@rhenium3 in the right sidebar under support forums select which title would best fit your support topic, then in the menu above the topics in the main page area select New Topic. Scroll down if necessary and type in the title, and content. Then click the Post Topic button at the bottom.
August 3, 2012 at 8:01 pm #138374In reply to: Changing Group tab display defaults
dannyjimmy
MemberSure enough, @peeld, your code A) set FORUMS as the default tab, and
broke the activity updates! Thanks for the help!I don’t actually mind losing the activity updates, but I’m sure most folks’ projects could benefit from a solution here that didn’t break that function.
Anyone have input here?
August 3, 2012 at 7:35 pm #138373In reply to: Activity Stream Problem
9087877
Inactive@jloc14 You could wrap the activity-loop.php of a child theme with an if statement which checks to see if the user is logged in. At the very top above the first opening php tag in the activity-loop.php copy and paste this:
`You must be logged in to view this sites activity. Click here to sign up.`
Then after the last line of code in the activity-loop.php copy and paste this:
“
Just replace the URL with your websites domain and save the file. It will keep non-members from viewing the activity stream and the link will direct them to the registration page. Its not a perfect solution but it is a quick fix. To add a basic friend check follow this tutorial by Sarah Gooding here: http://wpmu.org/how-to-add-profile-privacy-to-buddypress/
Hope this helps!August 3, 2012 at 6:45 pm #138372@mercime
Participant@maryefern strange situation, only encountered this way back BP 1.0. :
1. Check MySQL version. WP requires MySQL version 5.0 or greater. If you cannot find the version, ask your webhost.
2. If you have version 5.0 or greater, download zip files of WordPress and BuddyPress, then manually re-upload (via FTP/File Manager) WP and BP files to server in respective directories
August 3, 2012 at 6:45 pm #138371In reply to: Activity Stream Problem
EndlessRange
ParticipantSo, I’m hijacking this thread because for the life of me I cannot figure out how to start a new thread to answer my question! How do I start a new thread on buddypress.org??
August 3, 2012 at 5:13 pm #138368In reply to: Post rating plugin?
websharx
Member@Dwenaus, did you happen to create the plugin that can rate anything? I was looking to use it on my website.
August 3, 2012 at 4:35 pm #138366In reply to: Drop down options defaults to ”0”
12sp
MemberI ended up removing buddypress all together.
August 3, 2012 at 4:26 pm #138365dannyjimmy
MemberWhy would you want to set a body ID?
Wouldn’t you want to set the title?
`my buddypress title `My problem is that no matter where I am in forums and conversations, the page title is always just Groups.
August 3, 2012 at 1:44 pm #138362dannyjimmy
Memberthey appear unused and not working.
right. One way they’re not working is that they don’t even report the right info. I don’t recall which it was, but I ran one of those functions, and it was printing Private in a public group.
I’m not sure what you mean “are you sure you’ve setup your $group variable correctly?”. In my thinking, BuddyPress sets it up, not me; I’m just trying to reference it. I copied that $group->status setup out of the definition for bp_get_group_type() in bp-groups-template.php.
I’ll give a whirl to the `bp_get_group_type()`, since that demonstrably at least produces the correct group visibility level; my trick will be to use its output in a conditional.
Ok, so `bp_group_type` is what prints text to the page, `bp_get_group_type` seems to summon the text as a returned value (which bp_group_type() uses for its printing)
SUCCESS!
`<?php if (bp_get_group_type()== "Public Group")
print “foo”
?>
<?php if (bp_get_group_type()== "Private Group")
print “bar”
?>`On a private group, I saw foo outputted and no bar. So it works.
It feels less than elegant. It would be more elegant to just use the variables that bp_get_group_type() calls. But for now, it works.
Thanks, @RogerCoathup, for the guidance
August 3, 2012 at 12:44 pm #138360In reply to: show comments in a group
Tammie Lister
ModeratorCould I clarify where you are looking as http://testbp.org/groups/twitter/ is my assumption and as you can see that filter works for replies. My guess is that perhaps this is a theme issue – have you checked on that page you don’t have any scripting errors?
Alternatively if you could provide a link that would help a little or maybe you are able to test the default BuddyPress theme? I know it’s not a direct answer but it’s hard to guess without knowing a little more about your site.
August 3, 2012 at 11:06 am #138357In reply to: [Resolved] Broken Links & IIS5
mark_hives
MemberAfter poking around for a bit I found this link : https://codex.buddypress.org/getting-started/before-installing/#system-server
That clearly states Apache with mod_rewrite is required to run BuddyPress. So sorry for the unnecessary post and I’m off to have a look at bbPress and possibly Mingle.
Cheers,
August 3, 2012 at 10:32 am #138356Roger Coathup
ParticipantLogically bp_get_group_is_public() is the function you want to use —
That said, I can’t find anywhere in the core code where is_public is getting set, or getting used in the default theme. @djpaul – is this a set of functions that should be stripped out – they appear unused and not working.
Instead, the default template makes use of bp_get_group_type(), which in turn uses the $group->status attribute (as you’ve tried). In your case, are you sure you’ve setup your $group variable correctly?
August 3, 2012 at 10:11 am #138355In reply to: Buddypress for restaurant reviews website?
-
AuthorSearch Results