Forum Replies Created
-
Ah got it. And relieved the problem wasn’t just me not be able to follow instructions! Thanks very much.
Yeah a little more information in the guide would be good I think.
@ubernaut Yes I am using oEmbed. In the default Buddypress theme oEmbeds don’t seem to be responsive so I’m trying to find the best way of doing that. Am having a look at FitVids at the moment as suggested here:
https://buddypress.org/support/topic/fitvids-js-and-bp-ajax/
@flyveren Is it possible to make this work without using a div container? The problem is when users post video embeds in my forum they won’t know to add that extra code.
Ah, never mind I’ve solved it. I needed to edit the bb-config-location value in wp_options an change the database settings in bb-config. Working now.
Please mark as “resolved”.
I’m having the same problem – did you ever get to the bottom of this @bjwangschowe?
OK I restored the database from the backup but the conversion failed again. It got about as far as “Converting topics 600” then just hung.
I restored from backup again, this time I set the rows limit to 50 and the delay time to 2 seconds. It got to “Converting topics 700” then hung again.
So my question now is why do my attempts to convert the forum keep failing?
I read @johnjamesjacoby’s post here which is similar to the instructions posted above – perhaps he could shed some light?
My set-up is WordPress 3.5.2, BuddyPress 1.8, BBPress 2.3.2
@aces Thanks very much for the reply.
The “reset forum” option indicates that “data will be removed” which doesn’t sound like what I want – that says to me it’s going to get rid of my data, not restore it to what it was.
The “purge previous import” option looks a bit more likely. But when I tried it I got the “Starting Conversion” message with the loading wheel next to it and it stayed that way for about 15 minutes and gave no indication that anything further was happening.
Well unless anyone has any better suggestions it looks like all I can do is put the old database back and start again.
Still trying to find out what the correct was of cleaning out the old conversion information is.
@hnla That makes me think I should sit tight and wait for BP 1.7.
@chouf1 Great, thank you – I’ll give it a try.
@ubernaut Sorry I don’t really understand your reply.
What I want to know is, is BBPress something I can just install on top of my current set-up which will add extra features to my existing group forums?
First, thanks for the speedy reply!
I do have group forums so I guess that limits my choices a bit. Guess I’ll have to sit tight and wait for Buddypress 1.7 and BBPress forums 2.3…
@r-a-y OK that didn’t quite work for me but this did:
`function enable_nav_item () {
global $bp;
if ( $bp->groups->current_group->id == MY_GROUP_ID )
return true;
else
return false;
}`I’m not sure why this worked – I got the idea from this old thread. It would be good to know why if someone can explain it to me.
The way I see it, in order to complete this I now need to create individual versions of the complete code for each group where I require these custom tabs. I am sure there’s vastly more elegant ways of doing this but with my meagre PHP knowledge this is the best I can muster for now!
@djpaul I appreciate that. It is immensely frustrating not to be able to recreate it.
@mercime Thanks for the reply, answers are as follows:
* Group Forums
* Custom-built child theme based on Buddypress default theme (as I can’t replicate the problem myself I’ve been unable to test whether the fault persists when I switch themes)
* The only membership plugin I’m using is User Role Editor. I’ve used this to create a new Subscriber role I’ve called ‘Super Subscriber’ which has one extra function. However both ordinary Subscribers and Super Subscribers have reported being able to see these extra icons.
OK it won’t let me post code at all for some reason. I’ve added the code described in Group Extension API under Advanced Usage.
I’ve tried to follow the instructions in Group Extension API on how to restrict the tab to certain pages. I believe I’ve integrated the code correctly but it seems I need to do something else to tell it which groups I want to restrict it to but I can’t tell what.
I’ve had difficult posting the code on here – I keep getting blank pages – but I’ll try to post it in subsequent posts.
I need to know what I should do in order to:
1. Restrict the tabs so they only appear in certain groups
2. Customise the content of the tabs so it’s different for each pageI should add, not all the menu options which could appear do. For example, when logged on as admin I can see the plugin menu notifying me of one plugin to update, but this does not appear to the subscribers who are being shown the menu options.
@r-a-y OK I’ve successfully built the plugin and I now have a new tab called ”My Group Extension” which appears in every group.
I see I can use the following to display text in each tab:
`function display() {
/* Use this function to display the actual content of your group extension when the nav item is selected */
}`However I need to have the tabs only appear in certain groups, and display different information in each group. How can I achieve this?
Thanks again for your help so far.
Thanks very much for the quick reply – will report back when I’ve tried it out.
@aces That’s great, thanks for the quick reply.
I was also surprised to discover that when a user is marked as a spammer, no action is taken to delete or hide the messages they have sent from users.
When a user is marked as a spammer, surely Buddypress should prevent all other users from seeing messages they have sent? Can this be added to a future version?
@boonebgorges Works perfectly – thanks very much!
@boonebgorges Thanks for the reply!
I’m not quite sure how to use your solution, though. is it something that goes in functions.php? If so, how do I then use it in the theme?