Buddypress in Game template

January 2012 WordPress Theme
GK User
Fri Jan 24, 2014 10:07 am
Hi!

Is there a way to move the buddypress theme from music state theme to the game theme?

I've copied the css but i believe there are other files as well that should be altered.

Regards
Oskar
User avatar
Junior Boarder

GK User
Fri Jan 24, 2014 10:22 am
Hi,

Please check also gavern/helpers.features.php file (around line 46)
and gavern/bp.function.php file - you can add content to your user.functions.php file from Game,
check also tablet/mobile css files.
User avatar
Moderator

GK User
Fri Jan 24, 2014 11:26 am
Thanks!

I'm getting there, there is a lot of styling to do to make it work.

Do you know if i can move the BP latest photo widget as well?

One more question. In the music state theme when you want to write a new activity feed, the button attach files and post is hidden and then its shows when you place the marker in the textfield. Is this function possible to move over as well, it's a nice thing though it works good without it.
User avatar
Junior Boarder

GK User
Fri Jan 24, 2014 11:33 am
Please check this thread about moving built-in widgets:
https://www.gavick.com/forums/wp-reques ... l?p=133286

In regards this "attach file" button, if you copy all css files it should looks exactly as in MusicState theme.
User avatar
Moderator

GK User
Fri Jan 24, 2014 5:20 pm
So far so good.

Now i believe i got a big problem or it is really easy but I just don't know how.

I'm trying to place a widget on my buddypress activity page but it won't show up. It works when I place a widget on other pages, I've tried both ID and slugs but it doesnt show. I also had another problem which i now believe it's related. In template options under social api i've tried to exclude the social buttons on the buddypress page but that doesnt work either. It works on all other pages. So somehow it seem like the page does'nt exist.

I've tried a new install with the game template without changing anything just installed buddypress and the same problem occurs so it seem to be something with the template and buddypress together.

Any ideas?
User avatar
Junior Boarder

GK User
Fri Jan 24, 2014 5:22 pm
Would it be possible to add this to the theme, as i think it fits well with a game template or can somebody guide me step by step?
User avatar
Fresh Boarder

GK User
Fri Jan 24, 2014 8:42 pm
@NilssonLjung it's because in Game theme, there's no BuddyPress widget rules, it'll be easier for you to use widget logic plugin and BuddyPress conditional tags to display widgets on specific pages:
http://codex.buddypress.org/developer/t ... reference/
Check is_functions section.

In reagrds to the social api issue, maybe try to disable it on all pages/include only on specified post/pages - I'll check this issue.

@champen, for now we don't have plan to add BuddyPress to the Game theme.
User avatar
Moderator

GK User
Mon Jan 27, 2014 8:00 am
Thanks Piotr!

It works now.
User avatar
Junior Boarder


cron