Search Results for 'code'
-
AuthorSearch Results
-
November 17, 2007 at 2:30 am #61498
In reply to: forums not being created
fel64
MemberYou’ve got problems with your rewrite rules; wp assumes that it’s meant to be a wordpress page, can’t find it and therefore goes wrong. Not sure how to fix it, but I’m sure someone is.
No folders are actually created in making new forums, by the way.
Your forums are being created, you just can’t access them right now.
November 16, 2007 at 2:27 pm #61423fel64
MemberBG: bbsync, avatar upload and some custom code. If you want some help doing it, just start a new topic.
November 16, 2007 at 1:55 pm #61492In reply to: onvertigo.com – Talking Music
fel64
MemberThere’s a bizarre flash for me while loading where the footer moves from next to the sidebar to underneath it all. Is that related?
The footer seems fine normally though, and has the
clear: both;rule attached so I don’t see why it would be a problem?November 15, 2007 at 11:39 pm #61483betwixt
Memberhmmm thanks for the tip. I’m not going to redesign it all myself. I just don’t have the time to get down and dirty with this code/stylesheets.
I currently use different K2 themes… Actually I don’t mind the forum having another theme… What I do want, is a button in the header of my wordpress site pointing to the forum…. Any idea?
Regards,
Dennis
November 15, 2007 at 10:22 pm #2598Topic: Adding a template file
in forum Themesrefueled
MemberI am creating a few new bbPress themes and would like to add a couple sidebars to them. Is the PHP include function the best way to do this?
(example:
<?php include 'sidebar.php'; ?>)It’s what I have been using and it works. But I would like to know if there is a bbPress tag out there that does the same thing.
Thanks in advance.
November 15, 2007 at 3:16 pm #61480In reply to: Getting “already installed error” on fresh install
chrishajer
ParticipantI didn’t think you could put bbPress and WordPress in the same folder.
$bb->uri = ‘http://www.areamom.com/test’;
$bb->wp_home = ‘http://www.areamom.com/test’;
$bb->wp_siteurl = ‘http://www.areamom.com/test’;
And http://areamom.com/test/ points to a WordPress installation. So, where’s the bbPress? I did find this:
http://areamom.com/test/bbpress/ which results in this error:
Parse error: syntax error, unexpected T_VARIABLE in /home/areamomc/public_html/test/bbpress/config.php on line 29That’s right after the mod_rewrite line in the config. Maybe you have an extra single quote there or you forgot the semi-colon in your config? Oh yeah, check this:
$bb->mod_rewrite = false<– no semi-colon.That means this you should add the semicolon to the mod_rewrite line line and then this line should be changed:
`$bb->uri = ‘http://www.areamom.com/test/bbpress’;
November 14, 2007 at 7:33 pm #61460In reply to: x-victory.ru exploit?
livibetter
MemberI suggest you move to other hosting providers.
I checked few sites on your hosting server (using http://www.myipneighbors.com/ to find out), they are inserted the same code.
Hope you can get refund!
November 14, 2007 at 5:32 am #61454In reply to: x-victory.ru exploit?
Sam Bauers
ParticipantAt the end of your pages, after the closing HTML tag there is an additional script and an iframe.
This code is not in the download tarballs, so it seems the code has been injected on your site only. You should contact your web host for assistance as your service may have been compromised.
November 13, 2007 at 6:48 pm #52920In reply to: MediaWiki, bbPress, and WordPress integration..
Slamlander
MemberI got this [http://slamlander.caselle-vpn.net/?p=21] :
Warning: Cannot modify header information – headers already sent by (output started at C:InetpubVwebSlamlanderwikiextensionsAuthPress.php:352) in C:InetpubVwebSlamlanderwikiincludesWebResponse.php on line 11
What I did:
On current install on integrated WP and BBP, added a “wiki/” directory and unpacked mediawiki 1.10.1 there, ran the install, and used the same DB. The wiki, at this time works stand-alone. What’s happening here is a version incompatibility issue, methinks, betwixt Authpress and MediaWiki. There are some code structure changes from 1.9.x to 1.10.1 but I don’t know what they were.
I do know one thing, no one has submitted this to the MediaWiki team, why not? I should have been able to download it from there and I could even get help from them, if it were submitted.
November 13, 2007 at 2:53 pm #61432In reply to: Line 80 error
chrishajer
ParticipantTrac is generally very coder oriented. I’m not a coder but I can keep up sometimes. I can apply the patch to the file and then send you the updated files, maybe that will work. Or if you have access to a linux system, patch is the name of an executable that will most likely already be installed.
November 13, 2007 at 2:52 pm #61430In reply to: Line 80 error
chrishajer
ParticipantThe best way I know is with a linux system to use the
patchcommand. If you don’t have access to that program, I could patch the file and email it for you. Or you could download a later release where the problem is already fixed. Check my profile for contact information if you need help.There were other solutions as well in this post:
https://bbpress.org/forums/topic/installing-bbpress?replies=14#post-11787
Did you try anything else?
November 13, 2007 at 2:48 pm #61429In reply to: Line 80 error
openartist
MemberSo I read that another workaround is to overwrite /bb-includes/db-mysqli.php with /bb-includes/db.php . What does that mean exactly and how do I do that? The problem I find with these instructions is that it assumes a lot of knowledge on the part of the user to know coder-speak. I know I could do it but I just don’t know what I need to do.
But other people say that when they apply 745c.diff their problems go away, so perhaps I should just figure out how to apply that patch. But first I need to be able to understand how to do that…any help?
November 13, 2007 at 2:48 pm #60554kjted
MemberThank you
It’s starting to get full of stars now. It’s been up for a couple of months now.
November 13, 2007 at 2:47 pm #61446In reply to: Tag Editing Rules
chrishajer
ParticipantIt’s not in the config that I know of, but you can look at bb-includes/capabilities.php and find
'edit_others_tags'and'edit_tags'– I think you could edit the capabilities to allow members those two functions. I’m not sure if there’s a plugin that allows the same thing or not. That would be a modification to a core file which is a bad thing in general. You lose that modification if you ever update your bbPress installation.I would not take my advice to edit capabilities.php and would instead look for a plugin that will allow you to change the capabilities of a member.
November 13, 2007 at 2:40 pm #61428In reply to: Line 80 error
openartist
MemberOkay, so do I need to apply this whole patch somehow? I clicked on 745c.diff and got a bunch of code I don’t know what to do with, how am I meant to patch this properly?
November 13, 2007 at 2:26 pm #61442In reply to: Problem at step 2 of installation
chrishajer
ParticipantThese are how the 3 lines look before any customization (I took the comments out):
$bb->wp_table_prefix = '';
$bb->wp_home = '';
$bb->wp_siteurl = '';Yours might look like:
$bb->wp_table_prefix = 'wp_';
$bb->wp_home = 'http://jackhammr.org';
$bb->wp_siteurl = 'http://jackhammr.org';when you’re done.
November 13, 2007 at 2:23 pm #61441In reply to: Problem at step 2 of installation
chrishajer
ParticipantI think this line is the problem:
$bb->wp_table_prefix = 'wp_;$bb->wp_home';That should be something like:
$bb->wp_table_prefix = 'wp_';and
$bb->wp_home = 'http://jackhammr.org';Somehow you got part of the 2nd line onto the end of the first line. Fixing that will fix your problem.
November 13, 2007 at 5:46 am #61437In reply to: The default theme not working properly
chrishajer
ParticipantYou changed the installation from forums to bbpress, but you didn’t make the change in the config.php. So, your forum is at
http://www.reviewsaurus.com/bbpress/, but the config has$bb->uri = 'http://www.reviewsaurus.com/forums/';You need to change one or the other (either the folder name or the URI in the config) for it to work.As proof, I can see http://www.reviewsaurus.com/bbpress/bb-templates/kakumei/style.css just fine.
November 12, 2007 at 10:54 pm #61382In reply to: Installation…?
chrishajer
ParticipantIn your config.php, you have to set mod_rewrite to false (not true or slugs):
$bb->mod_rewrite = false;Your server does not support pretty permalinks, at least not as it’s configured now. You can figure that part out later (if you’re on godaddy, it might never work.) But for now, to get a working forum, change mod_rewrite to false and your links will work.
November 12, 2007 at 4:18 pm #58868In reply to: bbPress vs. a plugin
chgogrrl99
MemberThanks for responding Chris,
I haven’t yet made up my mind which way to go. My gut tells me that bbPress is better long-term. I’m also guessing that if my forum gets popular, bbPress might be better – in other words I’m thinking that a plugin might do the trick if the forum is doesn’t see much action, but that I might need something more powerful if it gets busy.
I’m pretty sure I can get bbPress installed, I’m now most concerned with integration, pretty perma-links ect. Making new files, adding and deleting code scares me.
November 12, 2007 at 3:13 pm #61413In reply to: Check if User is Logged From Anywhere.
benbeltran
Memberyeah. I actually tried that, but It didn’t recognize any functions.
. Even tried including the functions, template-functions, pluggable, etc files on their own. Still nothing.And I tried searching for the cookie parameters, but I’m dumb and I was sleepy, couldn’t do a thing.
November 12, 2007 at 1:18 pm #61409In reply to: very simple one-thread customization?
chrishajer
Participant> using wordpress would work and that’s a good thought,
> but I would have to customize it quite a bit I think…?
No, not at all. Find a theme you like, create a static page, make that your home page, strip out the stuff you don’t want in the sidebar (for archives, pages, categories, search, blogroll, meta, etc) and that’s it. One topic with comments.
Or, a guestbook
November 12, 2007 at 12:29 pm #61408In reply to: very simple one-thread customization?
bbpressfriend
MemberCopy&Paste in a .htaccess:
DirectoryIndex /forum/topic.php?id=20
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} /forum/index.html
RewriteRule (.*) /forum/topic.php?id=20 [L]
Now (sorry for my bad english, im german) the topic is your forum-frontpage.. (dont forget to delete the “New Topic” links).
quick&dirty
November 12, 2007 at 9:52 am #61412In reply to: Check if User is Logged From Anywhere.
fel64
MemberYou can always load bbpress and then check, by:
require_once( 'path/to/bb-load.php' );Otherwise you could check if the cookie is set and has a password parameter. You won’t be able to check if it’s a correct password, of course.
November 12, 2007 at 8:19 am #61406In reply to: very simple one-thread customization?
benbeltran
MemberWill the thread be changing? or is it just constant? If it’s constant, you definitely want a guestbook
-
AuthorSearch Results