Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 88 total)
  • @jordashtalon

    Member

    What about other places where I want the width to be 50×50? some areas i want the Avatar to be 50×50 and others i want it 105×105 I guess shrinking the Avatar isn’t a problem.

    @jordashtalon

    Member

    Thanks r-a-y it worked perfectly!

    @jordashtalon

    Member

    Wow that sounds a bit harder to do than I thought, I guess i’ll just quickly delete the post notification off of my Wall before anyone is the wiser :)

    I’ll try out some of your ideas but it might be a bit over my head, thanks for the help.

    @jordashtalon

    Member

    Figured it out, it was showing an error message, it was that annoying restriction on the Username not being able to have upper-case letters, I’m going to try and write a javascript that forces uppercase letters to lower-case.

    @jordashtalon

    Member

    @djpaul

    Thanks that worked perfectly, it even kept the stuff from All in One SEO!

    @jordashtalon

    Member

    Any Ideas on this?

    @jordashtalon

    Member

    Thanks

    @jordashtalon

    Member

    @jaxster, I figured out how to make a page that shows every photo ever uploaded

    Basically you use the BuddyPress Activity Loop (found here https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/)

    And then where it says this `php if ( bp_has_activities( ) ) : bp_the_activity() `

    Change to:

    `php if ( bp_has_activities( ‘action=bp_album_picture’) ) : bp_the_activity() `

    You can filter by any activity that way.

    Add the activity Stream code to a custom page php file

    Hope that helps

    @jordashtalon

    Member

    @foxly congrats on the GSOC Funding.

    @jordashtalon

    Member

    @Dwenaus,

    I couldn’t quite get it to work, Are you saying in the latest version it will work automatically? If so i’ll just wait until then.

    Thanks for the great plugin.

    Thanks,

    Jordan

    @jordashtalon

    Member

    @stwc

    I switched it to BBcode mostly, maybe i’ll try and make it a plugin if I get a chance.

    @etiviti

    I’m going to try your method soon to see how it will work.

    Thanks,

    Jordan

    In reply to: Forum Ranking System

    @jordashtalon

    Member

    @warzan

    Sure thing

    @jordashtalon

    Member

    Hey Everyone, thanks for the help, I tried the Filters but couldn’t quite get it working (yet)

    I was able to get the method that 3sixty suggested using regular expressions, here is the code:

    <?php $activityString = $activities_template->activities[$i]->action . ' endofstring'; /* Entire Activity into a String */

    //echo $activityString . '<br/>';

    /* Split up the Activity into it's different pieces and echo them out */
    $authorName = $activities_template->activities[$i]->display_name;
    $forumTopic = array();
    $activityGroup = array();
    $viewDelete = array();

    /* If it is a forum topic, display forum topic name */
    if (preg_match('/posted on the forum topic\s+([\s\S]*?)\s+in the group/', $activityString, $forumTopic)) {
    echo $forumTopic[1] . '<br/>';
    echo $authorName . ' said: <br/>';
    }

    /* Display Content Body */
    bp_activity_content_body();

    /* Print out the View and Delete links - THIS STILL ISN't WORKING */
    if (preg_match('/·\s+([\s\S]*?)\s+·/', $activityString, $viewDelete)) {
    echo 'Group: ' . $viewDelete[1];
    }

    /* If activity is associated with a group/category, print that out */
    if (preg_match('~in the group\s+([\s\S]*?</a>):~', $activityString, $activityGroup)) {
    echo 'Group: ' . $activityGroup[1];
    }

    ?>

    As you can see it’s split up based on text surrounding the different activity items like it selects text in between ‘posted on the forum topic’ and ‘in the group’ and assigns it to a string.

    I think the filters approach might be a bit better though, i’ll look into doing that.

    So how would I create a function like so?

    get_forum_topic_string(){

    }

    I think if I had an example like that I would be able to understand how filters work better.

    Also is there anywhere I can look to see all the filters I can use in stuff like this that Andy showed? add_filter( ‘bp_activity_time_since’, ‘remove_activity_meta’ );

    Thanks.

    In reply to: Forum Ranking System

    @jordashtalon

    Member

    Great Thanks, I think it will be really close to what I need. Except for giving them a point just for posting.

    @jordashtalon

    Member

    I found the action varialbe is assigned like this:

    $action = $activities_template->activity->action;

    But I don’t know where to go from there, I’m spinning in circles lol.

    @jordashtalon

    Member

    @3sixty

    I think you’re definitely headed in the right direction

    Looks like the Forum Topic isn’t placed in it’s own variable but it’s all bunched together with the “action” variable, so the entire variable is:

    Admin Posted on the Forum Topic TOPIC etc…

    I wish there was a specific variable for the Forum Topic and the Group associated with the activity, then your idea would work perfectly!

    I’m thinking there must be someway to alter the output of that “action” variable without re-writing core by making a new bp_activity_action() and outputting an action variable that would allow greater control.

    @jordashtalon

    Member

    Thanks for the idea 3sixty, looks like what i’m doing may not even be possible, look at this var dump:

    ["action"]=>
    string(345) "<a href="http://domain.com/members/admin/" title="Admin">Admin</a> posted on the forum topic <a href="http://domain.com/groups/introduce-yourself-232181584/forum/topic/hi-everyone-im-bill/">Hi Everyone, I'm Bill</a> in the group <a href="http://domain.com/groups/introduce-yourself-232181584/">Introduce Yourself</a>:"

    ["content"]=>

    string(27) "More testing of Signatures."

    Maybe some extremely tricky CSS can pull it off, i’m not sure. I wonder how I could alter that “action” variable. It would be nice to have alot more control over it.

    @jordashtalon

    Member

    Out of curiosity i’m wondering if anyone has tested this out yet, how well does the WordPress Search Function work with BPAlbum+ is there anyway to allow people to search through images where if they type in a tag name that image will show up?

    In reply to: Activity filter

    @jordashtalon

    Member

    @3sixty

    I think he’s trying to do something like this:

    https://buddypress.org/forums/topic/trying-to-alter-layout-of-bp_activity_action?replies=2#post-48785

    Which is something I really want to learn how to do if it’s even possible. I think Buddypress will really need this feature.

    @jordashtalon

    Member

    I’ve been trying to figure this out for a little while and I’m noticing a variable used called the $activities_template;

    Which may be the type of thing i’m looking for, is anyone familiar with how to alter the Activities Template or can point me to a tutorial?

    Thanks

    @jordashtalon

    Member

    I don’t think my thread is completely related I started a new one here:

    https://buddypress.org/forums/topic/trying-to-alter-layout-of-bp_activity_action

    @jordashtalon

    Member

    Here is another feature I was thinking of.

    – Have a global category list that people can classify their images with.

    So each time they upload an image they can categorize it (categories like “Wallpapers” “Fan Artwork” etc..)

    The Categories would by default only be added by the adminstrator.

    Then in an activity stream or something you could have links to all images categorized under “Wallpapers” or all images categorized as “Fan Art”

    I hope that makes sense.

    @jordashtalon

    Member

    This is the type of thing i’m looking for:

    http://psdesignzone.com/trackthis.png

    I want the “Follow This Topic” or “Track This Topic” on the Forum Topic page itself,

    Any ideas on how to do that?

    @jordashtalon

    Member

    Oh ok, I do have it disabled for now, but it would be nice to allow my users a “Quick Reply” type feature, that alone would be a huge improvement over typical forums.

    I hope the Forum Extras Plugin will be able to pull it off, is it working in a beta or something like that?

    @jordashtalon

    Member

    @modemlooper

    I don’t know if this was your question but I found the function in /wp-content/buddypress/bp-activity/bp-activity-templatetags.php

    I’m trying to do the same thing as @hypergripe

    The default layout of the Actions (forum actions) is like this:

    Admin posted on the forum topic TOPIC NAME in the group GROUP NAME: 39 minutes ago · View · Delete

    Content of forum post

    I want it to look like this:

    TOPIC NAME

    Admin said:

    Content of Forum Post

    View Full – Delete

    Group/Category: GROUP NAME

    I think that layout would be more intuitive for my users.

    It would be way helpful to be able to sort and have more control over <?php bp_activity_action() ?>

    Has anyone made progress in this regard? Any tips would be appreciated.

Viewing 25 replies - 26 through 50 (of 88 total)
Skip to toolbar