Forum Replies Created
-
In reply to: Delete Topic Function
‘I will try turning of the plugins and themes but i don’t think that is the answer.’
may well not be, but lets eliminate !
In reply to: Delete Topic Functionok, interesting, whilst altering that file on a permanent basis is not a good idea, it should have worked.
I’m not familiar with the role editor, does it let you change the default participant role, or did you create a new one with the delete topic capability?
I’d eliminate plugin and theme issues by
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
Let us know how you get on
ok, yes I can probably fix your code above, and if you want to continue down that road, I’ll do some digging when I get a moment – just come back and let me know.
However having looked at a solution for doing this at forum level I’ve sorted a different way to do this which works at topic level and seems much neater for the user, but will require a very small amount of discipline when posting a topic, but which solves both issues above.
It takes a little setting up, and apologies that I sent you down the 404 route before I found this maybe (or maybe not) better way !
So this solution requires that
You have users set at wordpress to subscriber (or above) and at bbpress as participant (or above)
that you have a separate menu item for your private forum – as users don’t see the private forum on the index when not logged in, and that this url is used in messages rather than the direct forum id (logged in users will have both choices – menu item and forum index!)If that’s ok, then set the forum up as follows – looks long, but is quite easy
This solution
-
uses the restrict content plugin to create a login prompt if the user is not logged on
-
sets the forums to private so that they are not seen on the main index
-
creates a page just for that forum, which the restrict content plugin can then use to display the need to be logged in message and login boxes
-
Any topics created in the forum that need specific urls in newsletters etc. are set to subscriber – 30 seconds additional work!)
1.Install “restrict content” plugin
Dashboard>plugins>add new
search for “Restrict Content” and it’s then one called just that
Install and activate
2. go into dashboard>settings>restrict content and add the following text (you can tailor it to say what you want) to all the options
Sorry, you need to be a member to see this area. Login if need be [bbp-login]
3. Go into Dashboard>forums>whichever forum and change to visibility ‘private’. This will stop this forum being seen in the main index unless logged in, so we’ll need to add a menu item later on so not logged in users can see it
4. Find out the ID of the forum you have set to private
This link shows you how
http://www.authorcode.com/forums/topic/how-to-get-forum-id-in-bbpress/
5. Create a new page called whatever eg “free speech forum”
and put the following code into it
[bbp-single-forum id=2922] where the id number is the number that you found out in 4. above
6. Within this page you’ll also see below the main text you’ve just entered a new box called “restrict content” set this to subscriber (or higher is you’re really restricting).
7. add this page to your menu’s if need beALL THE ABOVE ONLY NEEDS TO BE DONE ONCE !
If a user is logged in, and selects the menu item, they’ll just go straight into the forum.
If they are not logged in and select the menu item, they’ll get the message you set up in 2. above together with the login boxes and having logged in will see the forumFor topics :
where you want a logon prompt to appear – presumably only topics in the newsletter (as it is only these that people will be entering a direct url for) – you need to go into Dashboard>topics and underneath the text you’ll see the restrict content box, change this to subscriber and they’ll get the prompt if not logged on !
give it a go, or come back and say you want to carry down the 404 route and I’ll try and help you further on that !
In reply to: How return Login Page for Private Forum request?ok, quick solution for you
This solution
-
uses the restrict content plugin to create a login prompt if the user is not logged in
-
sets the forums to private so that they are not seen on the main index
-
creates a page just for that private forum, which the restrict content plugin can then use to display the need to be logged in message and login boxes
It does rely on you setting your users to at least wordpress subscriber level – as the plugin only works on wordpress levels, but that should be fine for most uses.
1.Install “restrict content” plugin
Dashboard>plugins>add new
search for “Restrict Content” and it’s then one called just that
Install and activate
2. go into dashboard>settings>restrict content and add the following text (you can tailor it to say what you want) to all the options
Sorry, you need to be a member to see this area. Login if needbe [bbp-login]
3. Go into Dashboard>forums>whichever forum and change to visibility ‘private’. This will stop thisn forum being seen in the main index unless logged in, so we’ll need to add a menu item later on so not logged in users can see it
4. Find out the ID of the forum you have set to private
This link shows you how
http://www.authorcode.com/forums/topic/how-to-get-forum-id-in-bbpress/
5. Create a new page called whatever eg “free speech forum”
and put the following code into it
[bbp-single-forum id=2922] where the id number is the number that you found out in 4. above
6. Within this page you’ll also see below the main text you’ve just entered a new box called “restrict content” set this to subscriber (or higher if you’re really restricting).
7. add this page to your menu’s if need beIf a user is logged in, and sleects the menu item, they’ll just go straight into the forum.
If they are not logged in and select the menu item, they’ll get the message you set up in 2. above together with the login boxes and having logged in will see the forum
give it a go, and come back if anything is not clear
In reply to: Putting the @username below name@palmdoc – can’t see anything wrong with teppom’s code and just double checked by loading it.
Check that you have added it correctly to your functions file.
and on the other thread Stephen Edgar has just posted that he’ll write you a patch for it !
lynq who designed this starter pack does occasionally look and help on this forum, but you might do better to comment on the link you followed both in this forum [edit – oops sorry have just seen that you’ve done that!], and in the comments at the bottom of
to see if he can help
In reply to: How return Login Page for Private Forum request?if the forums private, the it won’t show to non-logged in users on the list.
How do you plan that non-logged in will navigate to this, as that may provide the solution.
maybe a plugin or theme conflict
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
In reply to: Freshness for replies not workingquite possibly a plugin or theme conflict
try
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
In reply to: Where to go for bbPress PHP help?@mycelus – if you stopped attacking those that are trying to help you, you might get further.
You need to make a choice – stick with bbPress and start ASKING for help, or go elsewhere – your choice ! 🙂
forum descriptions do not show on the forums index page.
I’ll try and come up with some code to do this sometime next week
if I fail, post a further response to remind me !
In reply to: Delete Topic Functionok, I’m running training all this weekend, will come back to you early next week !
In reply to: Where to go for bbPress PHP help?I think you need to seriously consider taking some anger management classes.
bbPress is free, it costs you nothing, is developed and maintained by a bunch of nice guys who do this for free, and is supported on this site by more nice guys who again do it for free.
If you cared to read to documentation instead of just hurling abuse at us, you’d find fixes or tools that would let you alter what you are complaining about for instance the inline list is discussed in
and turning off the counts inBecause bbPress is flexible and all of what is displayed can be altered with either a little php or in many cases a plugin.
However in your case I’d simply suggest that you find different forum software and annoy someone else, rather than whinging on this support forum.
In reply to: Delete Topic FunctionWhat line did you alter in which capabilities php file?
and what did you alter it to?In reply to: Recent topics widget – how to add forum url to titleok, without me spending hours digging into this, let’s see if we can sort it.
and yes you can cut the code into a functions file by renaming it, but we’ll fix that later.
For the moment, where are you registering the new sidebar? In a main theme for a child theme?
If in a child theme, they won’t register as sidebars have already been loaded. So you need to unload and reload them all in one go (no idea why, it’s just what I learnt when I tried to add a sidebar in my child theme.)
so what my child theme functions file starts with is
remove_action( 'widgets_init', 'twentyten_widgets_init' ); //necessary to replace parent theme's code which is a twentyten theme function twentytenchild_widgets_init() { // Area 1, located at the top of the sidebar. register_sidebar( array( 'name' => __( 'Primary Widget Area', 'twentytenchild' ), 'id' => 'primary-widget-area', 'description' => __( 'The primary widget area', 'twentytenchild' ), 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) );
so it starts by removing the twentyten sidebar’s and then adds them straight back – my child theme for the twentyten main theme is excitingly called “twentytenchild”!. I have just shown the first widget from the parent theme, all are just copied from the parent theme. Several others follow
Then on the end you add your new sidebar.Then after that you complete and register them viz :
//** Register sidebars by running twentyten_widgets_init() on the widgets_init hook. */ add_action( 'widgets_init', 'twentytenchild_widgets_init' );
by the by in your after title you need to change the a/ to /a
Give that a go, and come back if it works, and we’ll then talk about taking the widget into a custom one.
In reply to: Use WordPress Page instead of Forum Rootok,
can you tell me
1. I notice the initial urls’ of the page are
http://thirdscribe.com/cafe-forums/#.Uyv4gJVF21s
what is the end bit – caching software?
2. Presume your menu is custom – what page does the “café” in the menu takes you to? or what link it is.
3. I presume http://thirdscribe.com/cafe-forums is the wp-page you want everything to link to
4. What are the various slug roots set to? dashboard>settings>forums> ‘forum root slug’, ‘prefix’, and ‘forum root should show’
5. what theme are you using?
In reply to: Custom Posts Showing in Forums Adminsince bbPress uses custom post types, it looks very likely that you have a conflict.
Have you tried the pods support site?
In reply to: Thread DisplayIn reply to: Private Forum TitleGreat – glad you’re fixed !
In reply to: Internal Server Error in BBPressso when you are doing all this testing, has the w3 cache plugin been deactivated? and have you then cleared your browser?
As SE says working on say twentythirteen with just bbPress as a plugin works, so if this is not working for you, then you will need to look to your host provider for help.
In reply to: Private Forum TitleBrilliant – thanks Stephen
@stansween – confirm this fixes the issue for you?In reply to: Internal Server Error in BBPress4. Nothing has changed on the site except i installed some plugins i needed.
which of the plugins have you installed in the last 10 days?
In reply to: Internal Server Error in BBPress“2. this is an old installation, few days back it was working fine from 10 days back i am getting this error in Dashboard>replies.
3. This error is always been there.”
Sorry but can you confirm that it was working, but started to produce the error 10 days ago – answers 2&3 seem to contradict.
In reply to: Private Forum TitleGood question !
I’ll take a look after the weekend if I get a moment !