Skip to:
Content
Pages
Categories
Search
Top
Bottom

Please Help me with this code (I need a real answer please)…


  • IconDeposit
    Participant

    @icondeposit

    I have a huge problem with one of my buddypress installs, the featured image from the post is not showing up in the buddypress activity. I finally narrowed it down with the code written below from all the support forums around here and the support tickets. However, everything I do, only the ID to the post/activity item is showing up from a new_blog_post activity. Someone if you can, please help me with this code, I have no idea what I’m doing wrong:

    Also, this code is in a custom functions.php file so that’s why its like this

    Sorry, look at the comment below for the link to the full code, this text editor wont let me write the full code:

Viewing 12 replies - 1 through 12 (of 12 total)

  • IconDeposit
    Participant

    @icondeposit

    Why is this not posting the original code I typed in? Why can’t it write my code correctly?

    Here is a link to the original code: http://forrst.com/raw_code/37a5b49553e4a83d03cd7538110606553578bd15

    Sorry about that I’m just trying to get an answer I’ve been trying to figure this out for over a year.


    IconDeposit
    Participant

    @icondeposit

    How is it that I’m on the buddypress actual forum and no one, not even the creators of this plugin have an answer for me. I don’t know if anyone knows my company, but I could hire some Buddypress developer to figure this out for me. You guys built this code, how is it possible there is no answer for this? It’s not logic!


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Confused. You say it’s our code, but you link to something you wrote yourself. Also, consider that it’s a weekend, and that we’re as entitled to days away as you are.


    IconDeposit
    Participant

    @icondeposit

    @ John James Jacoby first off I’m not giving some kind of attitude to you guys so I’m sorry you feel that way. It’s very frustrating to me when I’ve been trying to figure this out for over a year, and I’m so close to completing this all I need is for the ID to be associated with the featured image attached to the specific post. I’m saying part of it is your code because if it worked with all themes it would be very easy for everyone that’s somewhat advanced with php. I understand it’s a weekend however I run a business just as busy as buddypress and I’m still working. All I need is a small answered question. It’s nothing difficult, especially for you guys. This should take maybe an hour or two out of you’re day, plus I’m willing to hire one of you guys to figure this out for me if it’s too difficult.

    @icondeposit,
    Does your custom code work if you use the BP Default theme?


    IconDeposit
    Participant

    @icondeposit

    Hey Toby,

    I coded a custom theme to work with buddypress. This is literally the last bit of code I have to implement to it before I release it. And say if I did switch it to the buddypress default theme, the featured image would show up, however all the amazing features and functions I built for it will be gone. There is something conflicting with the buddypress code and my theme. So I narrowed it down to the code in the link above. That’s all that needs to be fixed, plus the code needs to be in my functions.php file, that’s where the code above is from.

    Got it. I just wanted to make sure that the functionality does, indeed, work in BP Default. Assuming this to be the case, what is different between your theme’s php markup and the BP Default theme’s php markup?

    I know there will be some big differences in php markup between the two, but if it works in BP Default and not in your custom theme, then perhaps a straight-up comparison will help.


    IconDeposit
    Participant

    @icondeposit

    That’s the thing, I’ve been trying to figure out what’s conflicting between the two, the code above is what I figured out. All that needs to be done is a small code like the code above, using bp_activity_secondary_item_id in the code, that will work in my functions.php file.

    But if your function works in BP Default, then the function isn’t the problem – the theme is the problem.

    Please post any differences in the activity stream code in your custom theme vs. BP Default.


    IconDeposit
    Participant

    @icondeposit

    I’ll try that, however I don’t know if that’s going to work, I think I tried it before but a while ago.


    IconDeposit
    Participant

    @icondeposit

    To the BuddyPress Team and everyone else who was ever trying to figure out how to offically get the featured image to display the Featured image Inside the Buddypress activity item excerpts. Also please to the BuddyPress team, include this code in your new update. This will support themes like mine with custom code. No BS too, this really works!

    Here is the code that will fix you’re issue (place the following code into your functions.php file):

    Why isn’t it letting me post the code?

    Anyway here is the link to the RAW code:

    http://forrst.com/raw_code/3ed5adec80fef4c26e74dce608195c785db8145d


    IconDeposit
    Participant

    @icondeposit

    Sorry here is the fix to it, I made a mistake when writing the update:

    http://forrst.com/raw_code/0f1fb89b565b5f7ca060a64ee286430bf8551971

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Please Help me with this code (I need a real answer please)…’ is closed to new replies.
Skip to toolbar