Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 18,501 through 18,525 (of 32,690 total)
  • Author
    Search Results
  • kodestar
    Member

    hmm, actually, would a better way to deal with this be to set the capability to view the menu to read and put an if (user_is_mod()) add_submenu_page

    kodestar
    Member

    I’m using wordpress/buddypress on my site http://fanart.tv currently in the plugin I created It defines a new user role which I can then set a user as (global_moderator) which has the capability moderate_fanart.

    When a member is a global_moderator then can go to the dashboard and approve/deny other users uploads.

    I also have created a Moderators group so the mods can talk amongst themselves and it also allows people to request to become mods.

    So my plan was instead of checking if the user had the capability moderate_fanart to just see if they were a member of the moderators group

    public function user_is_mod() {
    $modgroup = groups_get_group( array(“group_id” => 1) );
    if (bp_group_is_member($group)) return true;
    else return false;
    }

    However, if I use this then I still have to manually set the member as a global_moderator as add_menu_page and add_submenu_page need to have the capability required to view them.

    So is there any way to set it so when a member joins a group it also sets their user role to global_moderator and when they leave it sets it back to subscriber?

    The other issue is that editors also have the moderate_fanart capability so I’m not sure how I would deal with that.

    #133479

    In reply to: 1.6 timelines

    @ChrisClayton
    Participant

    @sooskriszta If i was a betting man, I’d put my money down on 1.5.6 being released to coincide with WordPress 3.4. I don’t think 1.6 will be quite ready by then and they will need a release to fix afew changes in WordPress.

    But, then again – i don’t bet. Which is probably a good thing, because if i did, i’d be dead broke :p

    kozmica
    Member

    The View link or time stamp permalink in any activity in my buddypress does not work, and leads to a page where only the header is loaded.

    I tried deactivating all the plugins except buddypress and when I deactivated the Template Pack it worked (only it shows all over the place cause the lack of the template pack).

    I am using a custom theme, wich needs the plugin.

    ¿Is there any easy fix?

    I’m using WordPress 3.3.2 and Buddypress 1.5.5
    All of the other permalinks work fine (I even changed them a couple of times).
    Its a new manual instalation in the root of my domain.
    All the site is hosted at banahosting.com
    Link to the activity page of my site: http://fronteragrafica.com/actividad

    Don´t know if it has any to do with it but my activation keys/email do not work either.

    Thanks a lot!

    #133459
    @ChrisClayton
    Participant

    Either a custom functions plugin or your themes functions.php file.

    Resources:
    Custom plugin file: http://justintadlock.com/archives/2011/02/02/creating-a-custom-functions-plugin-for-end-users
    What is a filter? https://codex.wordpress.org/Plugin_API/Filter_Reference

    #133455
    @ChrisClayton
    Participant

    @mrguythornton – Firstly, the mods are human too and do make mistakes, if they do mark it as resolved when your not confident that it is then just say so and @ one of them asking them to remove it. The mods are actually kind people (unless your a spammer). Also, not sure if your aware of this, but to mark a post as resolved the mods simply edit the title to say so – your welcome to remove it easily by clicking ‘edit topic’ and removing it. (if your the one who started the thread)

    Anyways, now that that’s out of the way – “ is how you would get the URL to the loggedin user’s profile. (you’d have to code it deliberately though, i don’t think it’s easy to add it to WordPress’ custom menu.)

    Something like this will (should?) work.
    `<a href="”>Visit your Awesome Profile!`

    #133452
    @ChrisClayton
    Participant

    I recently posted this (about modifying the activity stream) that might help (assuming you know how to use WordPress filter hooks).
    https://buddypress.org/community/groups/creating-extending/forum/topic/modify-output-of-activity-stream/

    Displayed userID: bp_displayed_user_id(); returns the user id for the user that is currently being displayed.

    #133443

    In reply to: New Install Issues

    Xenoflare
    Participant

    HI mercime,

    Thank you for the suggestion. I just went ahead and picked a theme that had BuddyPress built in. I’m having other issues, but the BuddyPress aspect is working great! Anyways, thanks again. BuddyPress is really awesome, but my WordPress skills are limited at this point.

    -Xenoflare

    jakeyboy1989
    Member

    thanks @mercime! That’s great.

    I will post this in the sites you recommended, but I also wondering if you knew how to make the default option to broadcast to my public site… I want this all to be automatic, so my authors don’t have to select the box every time.. At the moment it saves the other settings, but I have to select the blog every time

    thanks

    dragoo
    Participant

    Hello all

    I am trying to test the latest version of BuddyPress. Everything works perfectly.
    I bent on changing the profile with the addition of additional fields (age, city, color etc. ..)

    I would like to display this data in a new page (in more than BuddyPress profile) but I’m trying the methods I know of no avail.

    Here’s what I tried in a page:
    http://pastebin.com/rUie7QpZ

    Yet by changing the profile page of native BuddyPress information are displayed well.

    I guess it must be a wordpress loop problem but I hold.
    I looked in vain in the codex.

    Can you help me on this one, it would be really nice.

    Thank you in advance to you all

    #133436
    Paul Wong-Gibbs
    Keymaster
    tungdo
    Member

    The favorite/un-favorite button leads to the Not Found/404 template instead of triggering the javascript.

    “You tried going to http://devpress.com/activity/favorite/5261/?_wpnonce=c599975583, and it doesn’t exist. All is not lost! You can search for what you’re looking for. “

    I’m using BuddyPress 1.5.5 and WordPress 3.3.2. The theme I’m using is a child theme of a custom BuddyPress compatible theme. Compatibility is done via BP Template Pack.

    This feature has worked before with the custom parent theme, but I don’t know what could’ve caused this error. Updating to BuddyPress 1.5.5 or updating the parent theme?

    @ChrisClayton
    Participant

    Sorry, missed your replies…

    “Since we are speaking of tabs, how do I change places, for example: the subnav Edit from Profile tab to the Settings tab?”
    bp_core_sort_subnav_items() should help.

    You can change how many posts show up from the user with `’posts_per_page’ => 10,` (i would tell you how to do pagination, but WordPress makes those things a pain in the butt when your not on a ‘wordpress’ page).

    #133417
    @ChrisClayton
    Participant

    You can either filter the actions directly, for activity_updates theirs the ‘bp_activity_new_update_action’ filter.

    https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-activity/bp-activity-functions.php#L879

    New_Member = bp_core_activity_registered_member_action
    https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-members/bp-members-signup.php#L534

    New_blog_post = bp_blogs_activity_new_post_action
    https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-blogs/bp-blogs-functions.php#L195

    etc.

    Or; you can filter the templates – with ‘bp_get_activity_action’ (best if you don’t need to edit the output directly but want to add a line break after every action. etc)
    https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-activity/bp-activity-template.php#L1056

    #133413
    @mercime
    Participant

    @creaturis From recent WPorg forum post – https://wordpress.org/support/topic/cant-post-big-post?replies=7

    From old post but valid in some installs – http://www.undermyhat.org/blog/2009/07/sudden-empty-blank-page-for-large-posts-with-wordpress/

    For more assistance, please post at the WP Forums – How to and troubleshooting

    Hi,

    I haven’t been able to find anything on this issue. I’m guessing it will require getting into the programming.

    If you look at the screenshot of my forum page below, you can see the ‘follow this topic’ button at the bottom is cut in half. So, I either want to fix it so the entire button shows or, as there is the same button at the top of the post as well, remove it. No idea how to do either. Any help would be appreciated.

    I’m using the latest versions of wordpress and buddypress and the theme is Frisco.

    Thanks in advance.

    http://awesomescreenshot.com/0bb40xudb

    #29002
    creaturis
    Participant

    Whenever I try to place a story or something in my post and it’s longer then 7000 words It won’t post or i get an error. This issues happens with buddypress docs, bb group forums and simple press. Is there a way to resolve this. I assume it’s a wordpress issue, so does anyone know how to extent the 7000 words limit

    Thanks for the help

    @ChrisClayton
    Participant

    1. WordPress (without BP) only has three required fields for members – username, email and password. On the BuddyPress registration form these are required fields. it also requires a name and any other required fields you choose to add to the base group.

    2. The best place to find documentation is within the code. Not exactly what you wanted to hear, but theirs not really anything as in-depth as you can find within the comments scattered throughout it.

    cheldear
    Member

    Hello all. I have simple questions regarding the OOB BP installation with respect to users registering for the first time on my site. I just can’t seem to find what I’m looking for, so please don’t think I haven’t done my due diligence. I’ve finally “inferred” through no “overt” statements that BP users are indeed WP users.

    Here are my questions, with some prefacing information:

    Wordpress requires “x” parameters (or information) when a user registers for your WP site.
    BP, out of the box, only has “Name” has a required parameter under “Extended Profile Fields”.

    When a user registers for the first time on my WordPress site, what actual information will they be required to enter? For example:

    1. Will I need to create custom fields that include the required information for a regular WordPress user? Or does BP include that already, and it’s just not listed there?

    2. If it’s listed there, can anyone point me to any moderate to full documentation on front-end or back-end documentation on how users and user roles and such work? I can work with either. I’m not all that worried about database schemas, but I can infer the front end information from it. I’d just really like to find a place that can give me a full wiki of information, rather than having to jump from the codex to here, and not be able to find what I need, then go to buddydev.com and not find what I need there, then search in google.

    Much appreciated in advance.

    Thanks all!

    Michelle

    #29000
    @ChrisClayton
    Participant

    Afew months ago Diaspora (the ruby-based social networking opensource project) released what they call ‘intelligent post page templates’ but did you know, it’s 10 times easier to implement in BuddyPress?

    This is a snippet that i’ve had in my snippets folder for a while and i only recently remembered it when i saw a post about diaspora’s update.

    Within members/single/permalink.php just replace “ with
    “

    and then if you want a different template for single permalink views for BP Album photos, just create a new /activity/entry.php template called /entry-bp-album-picture.php and modify to your hearts content… All BP album photos will now use that template and others will just use /entry.php.

    Credits where credits due: This is based on Twenty Eleven’s Post-type Loop template_part. Thanks WordPress!

    EDIT: Note that str_replace just replaces the underscores inside the activity types to hyphens (works without the str_replace, but i like the consistent look with other templates that use hyphens to separate words)

    #133390

    In reply to: Buddypress updates

    @ChrisClayton
    Participant

    When a major release (such as 3.4) of WordPress is released you should be wary of updating WordPress if BuddyPress has not been updated yet as their are usually major changes.

    When WordPress releases Minor releases (such as 3.3.2) it’s very rare that their will be any breakages as they are primarily used to repair bugs and fix security issues.

    I personally wait an hour or two after a minor release for the core devs to do some last minute testing before i upgrade my sites (the BP devs are pretty quick to get a release out if something does break.)

    #28996
    jetgirlart
    Member

    Latest WordPress, BP, Php5, LINUX server this time. Mod rewrite is on and confirmed. No other plugins active, default wp theme, etc.

    “Server error
    The website encountered an error while retrieving /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=. It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.”

    The first 3-4 times I tried installing it I could get it activated but would do this ^ after choosing the settings etc.

    1337h4nd
    Member

    1337h4nd said 1 week, 2 days ago:

    Hello, I run the site http://www.ireekgeek.com. I’ve been experiencing a problem for a couple weeks now and am in desperate need of a solution.

    When members try to add a comment to recently posted activiy, the post button redirects to a 404 ‘Page Not Found’.

    I’ve tried resetting all permalinks, I’ve checked to see if the theme I was using was the problem, but I recieve the same error when using the bp-default theme. I’ve also tried to deactivate any plugins that might be messing up the link…

    I tried looking up similar problems that may have occured to other people on the net, the closest I came to a solution was this ticket: http://buddypress.trac.wordpress.org/ticket/2342

    I haven’t altered any of the php associated to the activity stream or comments. I’m not even sure where the problem might be contained. Any help on this matter would be much appreciated – this has been a huge obstacle for members trying to communicate.

    @mercime
    Participant

    @jakeyboy1989

    1. Create a Network in subdirectory structure

    2. Set which blog ID BuddyPress will run on: For example, your new sudirectory, /network is the first subsite you created (therefore with ID #2), then add this to your wp-config.php
    `define ( ‘BP_ROOT_BLOG’, 2 );`

    3. Install and activate BuddyPress. Go through Installation Wizard.

    4. Install and activate https://wordpress.org/extend/plugins/threewp-broadcast/ where you broadcast posts from /network/ into main site which will have a regular WP theme. Author link, if theme dev added it per post, would link to main site’s author.php/archive.php file which will list author’s posts in main site only and will not link back to /network/ site.

    Should you have any issues with ThreeWP Broadcast plugin, please post at WordPress Multisite Forums or at plugin WordPress.org

    metro
    Member

    @mercime ,

    That’s amazing ! Just working nicely ! Please take a full truck of thanks :) :) :) .

    Also, would you please tell me, which coding you gave me this ? Is this PHP ?
    How can i learn this PHP ? I have faced a lot of problem in coding in wordpress . So, i have to learn this language. ( Is this out of rule of forum to know something beside this ? )

    Again thanks for your solution.
    Regards

Viewing 25 results - 18,501 through 18,525 (of 32,690 total)
Skip to toolbar