Search Results for 'code'
-
Search Results
-
Here is how to correctly install Avatar Upload.
The “Additional Info” is not too detailed.
Here is the instructions on how to get the plugin (currently) on your bbPress site:
1. Download and upload the plugin to your bbPlugins directory.
2. Activate the plugin in the bbPress Admin section.
3. Follow the file movement instructions:
In the “additional-files” folder (inside this Avatar Upload plugin directory) there is several files. These need to be moved elsewhere.
- Move the entire “avatars/” folder to your bbPress root directory. (Including the “default.png” inside.)
- Move the “avatar-upload.php” to the bbPress root directory.
- Move the “avatar.php” (inside the “my-templates” folder) to your template(s) (theme(s)). Example: Move “my-templates/avatar.php” to “forums/bb-templates/kakumei/” (So it is like “forums/bb-templates/kakumei/avatar.php”.)
I hope this helps someone
When I use my keymaster account, and try to edit a user, there’s a part of the administration section that says, “Allow this user to” but there’s no form, text box or anything else to fill in after it. This line appears between “User Type” and “Custom Title”.
So what’s the point of the “Allow this user to” line? Looking at the code, it’s supposed to be for specifying specific user capabilities (like whether they can add posts, edit posts etc.) but it doesn’t seem to be fully functional yet. Is this expected?
If it helps I have the latest bbpress version, it’s 0.9.0.2.
Thanks.
I’m using WordPress 2.6 and I was trying to install bbPress 0.9.0.2 and integrate it and it came up with this error at the end of the installation:
“Duplicate key name ‘user_nicename’
>>> User tables will already exist when performing a database integrated installation.”
My forum got installed, however when I try to click on the topics or the forums or tag, it doesn’t open anything, I can’t get to read any of those. It just stays on the same page.
The only function I am able to use is the add topic, but I can’t get to read anything I click.
What should I do? Any advice is greatly appreciated
Hi,
I’ve successfully integrated WordPress 2.5.1 with bbPress 0.9.2, but I’ve encountered some issues with registering (display_name, multiple sign-ups with same email, etc.).
What I’m trying to do now is redirect all registration to the WordPress register page. My main questions are:
(1) how/where do I change the bbPress code to point to the WordPress register page.
(2) is there a way for the system to know where a user came from (forums or blog) and redirect the user appropriately after sign-up?
Thanks.
This was originally going to be an “It’s not working!” post, but I made some progress. Now it’s “Is what I did ok?” post.
I kept getting a”This Topic is Closed” error every time I tried to create a new topic. Traced it back to the insert statement in ‘bb_insert_topic’ in functions.php. The database was responding with the error of “The value ‘ ‘ is not a valid integer for column ‘topic_id’. (I am paraphrasing, I don’t have the exact response in front of me)
I suspected it had something to do with the fact that the topic_id value is being supplied to MySql, but it is set to be an auto-increment / not null field.
So, I commented out in the $default array definition in ‘bb_insert_topic’:
// 'topic_id' => false, // accepts ids or slugsand I changed this line:
unset( $default, $defaults );to this:
unset( $args, $defaults );Did the same thing under the ‘bb_insert_post’ function in the same file, but for the ‘post_id’ variables.
Presto. Everything seems to work OK now.
Could this issue be specific to my version of MySql? Although it is strange, because the original query works just fine using a third party tool (SQLyog).
Has anyone encountered this issue before? Or – can anyone comment on the validity of my changes, and if they might cause issues going forward?
Finally – should this be logged as a bug?
Thanks!
WP 2.6, BB 1.0, IIS 6.
Topic: redirect after login error
Hi,
I’m using version 0.902.
My case I’m a user and not logged in
I select a forum and click “add new”
next I need to login
while pressing the button I get this error:
Warning: parse_url(http://#postform) [function.parse-url]: Unable to parse URL in /home/user/domains/domain.com/public_html/forums/bb-includes/pluggable.php on line 272
Warning: Cannot modify header information - headers already sent by (output started at /home/user/domains/domain.com/public_html/forums/bb-includes/pluggable.php:272) in /home/user/domains/domain.com/public_html/forums/bb-includes/pluggable.php on line 228if hit the back button/refresh I’m logged in.
I tried the same on this forum and after hitting login nothing happens and I’m logged in.
I guess you guys know about this problem? (sorry couldn’t find the info)
and if you know how to fix this, please advice.
Thanks
I would like to disable ‘BBcode Buttons’ automatic placement, and put the toolbar manually – I tried to place
bbcode_buttons()in thepost.phpbut nothing shows – any tips?