OneCommunity theme and rtMedia isuue


#1

I am using OneCommunity theme (http://themeforest.net/item/onecommunity-buddypress-theme/3713046) for Buddypress.
There appears to be a conflict that the developer thinks lies with the rtMedia plugin … and the same problem exists with bp-default theme.

The problem:
This is what is shows for me, when I click on Profile and “Media” of a member.(see attached screenshot)

Attachment Link(s):

https://rtcamp.com/wp-content/uploads/rtMedia/topics/54368/2013/12/download.png


Nothing working...can see upload to post options, cant see my own medi library
#2

@frankwarwick,
Could you please provide debug info, so that we can have a look into it. Can you check that whether it works with WordPress default theme or not.


#3

I am having the same issue. Also when you post an image it disappears when you go back to see it. It also does not show the uploaded images in the activity feed in the activity feed. Is there a way to

Attachment Link(s):

https://rtcamp.com/wp-content/uploads/rtMedia/topics/54992/2014/01/Screen-Shot-2014-01-06-at-1.52.10-PM.png


#4

this was a private reply with post_id 54994


#5

@gabrieldespinoza,
Please check this doc -> https://rtcamp.com/rtmedia/docs/developer/templating-system/theme-media-tab/ regarding media tab issue with BuddyPress themes.
Hope this will solve the issue.


#6

Rather than starting a new thread, I thought it best to extend this one. I’m using the same setup. I figured out the issue the OP was talking about - it’s related to the fact that rtMedia defaults to the index.php file, which in the theme is basically a placeholder.

So, I went on and followed the instructions related to rtmedia_main_template_include(), which got me the default page template showing up. Now, this is where I’m stuck. I don’t actually want the default page template (which has a sidebar, causing some spacing issues with the user profile nav bar). I want to use the full width template the rest of the profile pages use. So, I swapped out get_page_template() for locate_template(‘onecolumn-page.php’) as the instructions indicated, but apparently to no avail. It’s still trying to load the default page template.

I thought maybe it had something to do with the fact that I was using child theme, but even copying that specific template file into the child theme didn’t change anything. I’m a little confused why it doesn’t just inherit the parent page’s template based on the page slug like other tools do (a la the BP-Links or front end blogging plugins).

Anyone else had trouble with rtmedia_main_template_include() not loading the specified template?


#7

@fienen,
Can you give me the code snippet you are using to change media template?


#8

I just have this in my functions.php: https://gist.github.com/thequicksilver/23df83b9ebf1ea4c231b


#9

try echoing locate_template and see what output comes.


#10

It is indeed finding it:
/home2/fienen/public_html/nwh/wp-content/themes/OneCommunity/onecolumn-page.php

I also went in and had it echo out $template to see if it matched, and it does indeed look like the plugin is loading the right template.

Based on that, I sorta think maybe the problem is template level. Like maybe something in the template file isn’t properly identifying how it’s being used, causing it to display wrong. I’ll follow up once I learn a bit more, in case anyone else runs into this, but I don’t think it’s an rtMedia issue now.


#11