Search Results for 'wordpress'
-
AuthorSearch Results
-
July 18, 2012 at 7:46 pm #137542
In reply to: I need a PHP code IF user-level
Roger Coathup
ParticipantAre you using a plugin to create your user levels? If so, which one? WordPress supports roles and capabilities for users by default, but doesn’t have numeric levels.
If s2member have a look at their documentation for if queries on member level.
July 18, 2012 at 7:06 pm #137540In reply to: Take Freshness off the forum directory
@mercime
Participant@b1gft there are a couple of simple ways to go about deleting “freshness” from group forums
1. Simplest of the rest -> Just add the following at the bottom of your theme’s style.css file
`span.time-since { display: none !important; }`or 2. Copy over https://buddypress.trac.wordpress.org/browser/tags/1.5.6/bp-themes/bp-default/forums/forums-loop.php to your themes /forums folder, open it up and delete line #85
or 3. filter bp_the_topic_time_since_last_post in functions.php
July 18, 2012 at 6:49 pm #137539In reply to: How can I get rid of this?
newpress
ParticipantSpecs
1. WordPress latest
2. Buddypress latest
3. Frisco theme
4. Use bbpress 2.0 for group forums
5. Use “GD bbpress Tools” plugin to have a signature. (its sad that bbpress doesnt have such a basic feature)For the second time in my entire life, I had a look at PHP and CSS. I hope I can cope with. Till then which is the “Hitchhiker’s Guide to the Galaxy”?
July 18, 2012 at 6:37 pm #137538kdforf
ParticipantWhy nobody is helping me?
July 18, 2012 at 4:19 pm #137524In reply to: Register Page Problem
Lacey
MemberThanks for the reply @karmatosed
On the Changelog for the Suffusion BuddyPress Pack on the WordPress page it says they’ve added support for BuddyPress 1.6.
https://wordpress.org/extend/plugins/suffusion-buddypress-pack/changelog/July 18, 2012 at 3:22 pm #137519shanebp
Moderator@djpaul ticket created:
https://buddypress.trac.wordpress.org/ticket/4362July 18, 2012 at 2:56 pm #137515In reply to: Using BuddyPress with incompatible themes
Tammie Lister
ModeratorYou can adapt a theme to work with BuddyPress, your first port of call for that is to use this https://wordpress.org/extend/plugins/bp-template-pack/
July 18, 2012 at 2:50 pm #137514In reply to: Register Page Problem
Tammie Lister
ModeratorHi, have you checked if the latest pack on Suffiusion supports the latest WordPress/BuddyPress? I see this:
WordPress 3.0 or higher
Suffusion 3.6.8 or higher.
BuddyPress 1.2 or higherTo me, that may be the issue is that it is not compatible. I’d probably suggest contacting the pack authors to confirm.
July 18, 2012 at 1:52 pm #137510In reply to: Front Page like Facebook
juanmaguerrero
ParticipantHi, @raminjan you can certainly achieve that, both making it yourself working at code level or (what I suggest) start with a plugin that achieves the “private community” functionality and set yourself a “front page” (you’ll use a modified version of the login page I guess
).Here are some helpful links on how to do what you need:
http://wpmu.org/buddypress-news-create-your-own-private-buddypress-community/
http://www.1stwebdesigner.com/tutorials/buddypress-collaboration-system/
https://wordpress.org/extend/plugins/buddypress-private-community/
https://wordpress.org/extend/plugins/private-buddypress/Hope it helps! cheers,
-JM
July 18, 2012 at 12:06 pm #137500Paul Wong-Gibbs
KeymasterAnd if someone could be extra kind and create a trac ticket for this over at https://BuddyPress.trac.WordPress.org — be sure to link back to this discussion — I’ll be your BFF.
July 18, 2012 at 11:39 am #137489Roger Coathup
ParticipantIt’s straightforward to do in BuddyPress – @hotsitez has already pointed you to the basic function for echoing profile field values (which is also documented in member-header.php), and I’ve told you which files you need to look at.
As a PHP coder, you should be able to walk through those files to find the appropriate points in the code to hook actions in or modify your templates. You should also be able to search the BuddyPress codebase to find profile field functions you can call — start with the one @hotsitez gave you.
You can also look on the documentation (codex) area of this site for information about the profile field loop which may help you further – and point you to how base and other profile field groups are handled.
[Edit: and, if you want to learn about the action, filtering paradigm for development, you can find introductory articles on the wordpress.org codex]
July 18, 2012 at 11:06 am #137488frank tredici
MemberWell, yes and no @hotsitez….
Here’s what I have:
I went into WordPress/BuddyPress via wp-admin — then navigated to Buddy Press > Profile Fields
On the Extended Profiles Fields page, I added a “Start Date” for our members to populate which is the date they started with our company. Then on the Base (Primary) tab on that page, I got my extended field positioned where I want it to display.
Perfect (so far).
Now what I want to do is apply some PHP to calculate how many months and years the person has been with our company and parenthetically display it next to the start date value on the member’s profile page in Buddy Press when people view a person’s profile.
How To Do That?
So where/how in member-header.php do I add that bit of PHP code? Note, I am a PHP coder, so I have no problem producing the code to make the calculation — I am not asking for that guidance. I simply need to know (a) what script/document file do I go to to add my code, (b) where in the page production stream in that script/document file do I add my code, and (c) how do I grab the start date value that is stored in the BuddyPress DB?
This maybe too complicated for Buddypress to do, but I am willing to give it a shot.
[Note: I toyed around with member-header.php per @hotsitez suggestion. The profile area that this script impacts is the upper “header’ area for a member. I am interested in getting into the flow of the Profile > Base page.]
July 17, 2012 at 5:52 pm #137441In reply to: Buddy Press and Multi Site
Paul Wong-Gibbs
KeymasterOn multisite, all user registration is tunnelled through the same place. This is a standard WordPress behaviour. So yes, they’d see the BuddyPress registration templates.
July 17, 2012 at 5:50 pm #137440In reply to: banner advertising
Paul Wong-Gibbs
KeymasterYes. Just put them into your theme, as you would on any WordPress-powered site.
July 17, 2012 at 3:02 pm #137437Jason
Member1. Which version of WordPress are you running?
3.4.1
2. Did you install WordPress as a directory or subdomain install?
subdomain
3. If a directory install, is it in root or in a subdirectory?
n/a
4. Did you upgrade from a previous version of WordPress? If so, from which version?
n/a
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g.
permalinks, creating a new post, commenting.
Yes, and it still is
6. Which version of BP are you running?
1.6 beta
7. Did you upgraded from a previous version of BP? If so, from which version?
1.5 something
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
nope n/a no conflicts
9. Are you using the standard BuddyPress themes or customized themes?
Frisco BPChild theme
10. Have you modified the core files in any way?
Not yet
11. Do you have any custom functions in bp-custom.php?
nope
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
nope
13. Please provide a list of any errors in your server’s log files.
none
14. Which company provides your hosting?
Linode
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
Nginx, fpm-php ubuntu? This was really just a bump, I don’t think any of that info matters. My question is more of a developers question.
July 17, 2012 at 1:47 pm #137432In reply to: BuddyPress issue since upgrading WordPress
Roger Coathup
ParticipantYou’ll probably need to upgrade your BuddyPress version for compatibility with the latest version of WordPress.
Unfortunately, a number of look / feel aspects typically change when you upgrade BuddyPress (particularly coming from a relatively old version). It often requires developer support to upgrade and retain your site’s design.
Some questions that will help you get further support:
What version of BuddyPress are you on / were you on previously?
Which ‘off the shelf’ theme (if any) are you using?
If bespoke theme – is it a child of another theme – which version?
July 17, 2012 at 3:22 am #137417@mercime
Participant@michaeljdornan best place to ask is at https://wordpress.org/support/plugin/bp-multi-network wpmuguru does answer forum questions
Having said that, you can try this plugin which I know works with the other BP MultiNetwork plugin by sbrajesh http://buddydev.com/buddypress/introducing-join-blog-widget-for-wordpress-multisite/
July 16, 2012 at 10:56 pm #137403Roger Coathup
ParticipantFor details on adding a search form to a page, check out this documentation on WordPress.org.
https://codex.wordpress.org/Creating_a_Search_PageTo add your page to the main nav menu, visit Appearance.. Menus in wp-admin and configure your menu.
https://codex.buddypress.org/extending-buddypress/how-to-set-up-your-main-site-navigation-using-the-built-in-wordpress-menus/And finally, the other page you are seeing is just the standard 404 page (page not found), which contains a search form by default.
July 16, 2012 at 8:11 pm #137395In reply to: Do these Features Exist somewhere?
Roger Coathup
Participant@ndugger I don’t know of a plugin that supports these permissions — so, you’d would need to get your hands dirty in the PHP code. I would suggest assigning WordPress user roles to members, and then in the group template files enabling / disabling the Join capability based on user role.
We (21inspired) have some plans with regard to photo albums, but they are a little way off.
July 16, 2012 at 2:08 pm #137383Roger Coathup
Participantit’s not a function itself… it’s a call to the do_action() function, passing ‘bp_after_sidebar_me’ as the parameter. The call is being made in sidebar.php in the bp-default template folder.
You can find these things by searching through a buddypress install in any good code editor / development environment.
do_action() itself is defined in the core WordPress files. In this case, do_action() will invoke any functions that you hook onto the bp_after_sidebar_me action.
July 16, 2012 at 12:16 pm #137381In reply to: [Resolved] Problem with BuddyPress Settings Page
matthewmsexton
MemberI’m using a theme called Salutation, and I used the workaround discussed here: https://codex.buddypress.org/releases/developer-and-designer-information/ under “Member settings pages are blank”
This worked, but there’s no CSS / HTML formatting, everything is just stacked on top of each other. It seems as if it just needs a page template to feed off of in order to display correctly. Is there some way I can point the BuddyPress settings files to my WordPress settings page or vice versa?
July 16, 2012 at 11:59 am #137379Roger Coathup
Participant@frank13 — there is no specific script for a do_action ( ‘abc123’ );
You have to register functions (hooks) that are invoked by the do_action — check out these pages from the WordPress Codex for more information on programming actions: https://codex.wordpress.org/Plugin_API
July 16, 2012 at 10:56 am #137373In reply to: [Resolved] Mystique Theme From DigitalNature
@mercime
Participant@ploupas On the theme end, Mystique is version 2.5.7 in the WP theme repo. https://wordpress.org/extend/themes/mystique. Based on scan of its current page.php, my instructions above still hold.
July 16, 2012 at 9:11 am #137369@mercime
Participant== I can’t seem to save/change the Page Attributes of the BuddyPress created pages. ==
It’s because you can’t do that at this time @blinkybill01.
BP pages are using the BP template files transferred during the compatibility process, the very same files we’re going to revise here.== Also, I’ve noticed that with the most recent WordPress update, I’ve been getting more and more 406 errors. Is this something I should contact my hosting company about? ==
Haven’t encountered those errors yet. Yes, you should contact your webhost since 406 errors are usually related to suhosin security extension or Apache mod_security and the like.
July 16, 2012 at 8:21 am #137368In reply to: Link To Profile, Messages, Friends, and Settings
Roger Coathup
ParticipantTo learn about template files in WordPress, your best starting point is the WordPress docs: https://codex.wordpress.org/Template_Hierarchy
-
AuthorSearch Results