Search Results for 'code'
-
Search Results
-
Topic: Forum Dashboard problem
Hi everyone
I’ve bee banging my head for a couple of days with my bbpress forum. There is a problem with the sidebar on the forum page as you can see here http://tricksforaffiliates.com/?post_type=forum . The sidebar location is before the main page instead of next to it. It works ok everywhere else.
I’ve tried to find where the problem lies. At first I called the forum via a page with the link to option and could remove the sidebar from page.php but of course that made it disappear everywhere else too. I checked the bbpress php files and usually appears before the footer call not after header. I don’t know if that tells me anything.
I also tried finding something with firebug but to no avail. I am able to remove the dash and the page looks ok, but the problem is cause I can’t figure out which document the code refers to and don’t know where to search for a problem.
Any help would be greatly appreciated.
Wordpress version: 3.5.1
bbPress version: 2.2.4
Site: tricksforaffiliates.comWordPress version: 3.5.1
bbpress version: 2.2.4
http://cchfh.org/testI created a user role called Board using “members” plugin and assigned all roles shown here for participant (http://codex.bbpress.org/bbpress-user-roles-and-capabilities/#participant)
I set the WordPress General settings, New User Default Role, to Board.
I set the Default role for the Forum to Participant.
I created a test user account which is set to Board and Participant. When I login with that account and go to the test page the forum doesn’t show up. But it does show up with my Admin role account.
What am I doing wrong?
Well here’s what i’m trying to do..
I want to show an images below usernames in my bbpress forums, based on the WordPress role of each forum poster.
Here’s what i figured out so far:
– I found out that i need to edit loop-single-reply.php to show something under username.
– I figured out (i think :P) that bp_get_reply_author_id() is the string that gets the details of the bbpress poster.Now here’s what i got so far:
global $current_user;
bp_get_reply_author_id();
switch (true) {
case ( user_can( $current_user, “subscriber”) ):
echo ‘image’;
break;
case ( user_can( $current_user, “contributor”) ):
echo ‘image’;
break;
case ( user_can( $current_user, “administrator”) ):
echo ‘image’;
break;
}My code doesn’t work. I cannot get it to show an image based on the WP role (not bbpress) of the user. Can anyone help?
Hello,
I would like to add, let’s say a link, at the top of all bbPress pages. In which file can I do this so I don’t have to be adding the same piece of code in every file manually, and only in the bbpress, not throughout the actual site.
Thanks,
My goal is to share one DB between wp and bbpress, one registration, seamless for users. The process of accomplishing this seems to have changed.
There’s all sorts of documentation on this topic and I’ve spent the last five hours trying to find my answer before bothering the good people of the internet, so I would greatly appreciate a hand now. It would appear that in recent changes, bb-config.php no longer exists? Installation process where you can fill out DB details in an easy form process seems to be gone?
So the settings must be in a config file somewhere! This infamous “WordPress Integration” section must be somewhere!
I’m using WordPress 3.5.1 and BBpress 2.2.4
Thanks.
Topic: Sorting Topics
Has anyone figured out how to sort topics, discussions, or replies? I would think that would be some basic functionality that would be built in. Or at least easy enough to find in the code to change.
I need to sort topics by topic name. Using version 2.2.4.
Hello all.
I’ve just deleted Simple Press, because I couldn’t import editor except plain editor.
I’ve installed this bbpress forum and I have no information about change or basic development.
For example I have a page that was installed simple press upon it. http://www.oyundragon.com/forum
And it is full-width. That’s why I want to use that page to show bbpress forum. Inserted shortcoded, good, it works But what a pity there is a bbpress forum page as you know http://www.oyundragon.com/forums
What should I do ?
Secondly how can I change “forum” title in the top of every forum sections in the content ?
Topic: Need help with log in boxes
Hello,
I need help with creating a log in box. I know the shortcode to use in the sidebar or in a wordpress page is [bbp-login], but I would like to create a log-in-box right on the main page of the forums as seen at studiopress.com/forums. I know that for this I need to add the code to the php template, though I do not know the code. Can you guys help me with the php code? Thanks in advance.
I’m using bbpress 2.2.4
Hi all, is there a way or snipped, or a type of code to send an email to admin (or or a specific email) everytime a user open a new discussion in a forum.
I think it’s something to add in a function.php file on eventi post_publish.
Thanks!