Search Results for 'code'
-
AuthorSearch Results
-
June 3, 2007 at 1:01 am #57959
In reply to: Integration won’t work??
Trent Adams
MemberPut up a copy of your config.php with the integration portions in it. Tell us what your wordpress database prefix is and we can try and work this out. Just saying it doesn’t work will not help us help you. We need details of what you have tried and what your have entered. Just make sure you don’t put any password or other information in.
For reference, my WP integrated config.php has these entries:
$bb->wp_table_prefix = 'wp_'; // WordPress table prefix. Example: 'wp_';
$bb->wp_home = 'http://trentadams.com'; // WordPress - Options->General: Blog address (URL) // No trailing slash. Example: 'http://example.com'
$bb->wp_siteurl = 'http://trentadams.com'; // WordPress - Options->General: WordPress address (URL) // No trailing slash. Example: 'http://example.com'It is important to have bbPress in the same database as wordpress. As well, give us your URL to check this out for ourselves and try and see if we can help.
Trent
June 3, 2007 at 12:57 am #57957In reply to: Integration won’t work??
gjaw88
MemberI just tried that and it does the same thing…
June 3, 2007 at 12:41 am #57956In reply to: Integration won’t work??
Trent Adams
MemberIt would be your database prefix:
$bb->wp_table_prefix = 'wp_';Trent
June 2, 2007 at 10:42 pm #57361In reply to: Plugin: Move It
fel64
MemberTo get it to be for Key Masters only instead of Admins (and above) only, use
'use_keys'instead of'administrate'.
June 2, 2007 at 10:35 pm #57360In reply to: Plugin: Move It
Trent Adams
MemberYou can put up a conditional like I use in the YouTube plugin:
if (bb_current_user_can('administrate')) :Put that after the main plugin function and then the following before the closing of that function:
endif;Trent
June 2, 2007 at 9:54 pm #57906In reply to: what are the issues with wpmu & bbpress?
drmike
MemberHmm, I tried code (well teh backticks) in there when I noticed that the blockquotes didn’t work. In Netscape they looked teh same so I went back to just using the blockquote.
Moderators have backend access, right Trent? You should change that.
June 2, 2007 at 9:53 pm #57950In reply to: Private/member forums
drmike
MemberNot a problem
June 2, 2007 at 3:59 am #57904In reply to: what are the issues with wpmu & bbpress?
Trent Adams
MemberDarn it, I forgot that blockquote is not styled in this forum…..that is a problem that I will have dealt with! I changed your post drmike to the code tag for now as it didn’t read right without a formatting of some kind!
Trent
Trent Adams
MemberI didn’t mention it when it was brought up, but I knew that when that was brought up drmike!

Trent
June 2, 2007 at 3:52 am #57938In reply to: Style change request
Trent Adams
MemberI will pass this along Jeremy to mdawaffe in the bbdevlist! I know what you mean about the overflow! The only thing that fel64 has a point on is that if the text doesn’t show up, they are more likely to use the code tags.
Trent
June 2, 2007 at 3:37 am #57947In reply to: Old Version
Trent Adams
Membermdawaffe is working like crazy on 1.0, so the old versions won’t matter soon enough (well maybe not soon, but sometime!)

Trent
June 2, 2007 at 3:17 am #57357In reply to: Plugin: Move It
citizenkeith
ParticipantI keep getting this error:
Warning: Cannot modify header information – headers already sent by (output started at /forums/my-plugins/moveit.php:117) in /forums/bb-includes/pluggable.php on line 166
I removed the complete path for my security.
drmike
Memberheh heh heh
And we’ve been told that staff couldn’t see who made tags over in wp.com land.
June 2, 2007 at 1:03 am #57903In reply to: what are the issues with wpmu & bbpress?
drmike
MemberThere seems to be a bit of difficulty with integrating wpmu with bbpress.I disagree. You pretty much drop three lines into the config file for bbpress, use the same database and it’s set.
The two lines to share the cookies: Link
And this line to use the user table from wpmu.
define('CUSTOM_USER_TABLE', 'wp_users');And IIRC, that’s already in the config file, just commented out.
Hope this helps,
-drmike
June 1, 2007 at 12:13 pm #56702In reply to: Plugin: Avatar Upload
aranamarunda
MemberThank you very much. Such a polite reply! I’m amazed at the helpfulness on this forum. It is all working now
If you are dutch, come and join the forum
It is for dutch role playing only… Sorry :S(no intention or commercial interest, just see the above as a polite invitation, no spam intended.)
June 1, 2007 at 1:05 am #57873In reply to: Formating with wpmu theme
fel64
MemberThat’s right. A typical template file in your theme will be like this:
bb_get_header()loadsheader.phpfrom your theme’s folder or otherwise the default kakumei one (header.php should contain what is now in your second div calledheader), then there’s a bunch of content, and thenbb_get_footer()will get the sidebar and the footer elements infooter.php. You won’t need to modify this or add any files or anything like that to make your theme, at least in all probability.Because
header.phpandfooter.phpare always called, the unchanging HTML and php should all be in there.header.php
html
head
//some head stuff, links and meta etc
/head
body
wrap
header
//header HTML for your logo etc
/headerwhatevertemplate.php
.
content
//content HTML and php
/contentfooter.php
.
sidebar
//sidebar HTML and stuff
/sidebar
footer
//footer HTML and stuff
/footer
/wrap
/body
/htmlI hope that’s clear, it’s a little late so I might have some tired logic. This is pseudoHTML –
bodycorresponds to<body>, butwrapcorresponds to<div id="wrap">andsidebar=<div id="sidebar">etc. I hope that’s okay.So there are usually only three files that directly contribute to the output of the forum. Most of the HTML you’re messing about with should go in
header.phporfooter.php.bb_get_header()andbb_get_footer()deal with all the mucky stuff for you, you don’t need to ‘call’ them (if I’m understanding you right) from the main template individually. Just make sure they’re proper HTML insideheader.phpandfooter.php.June 1, 2007 at 12:35 am #57937In reply to: Style change request
JeremyVisser
MemberYes, but people frequently forget to use the code tags for the code in their posts, leading to why I would like the whole post to be
overflow: auto.May 31, 2007 at 11:54 pm #57872In reply to: Formating with wpmu theme
mfaxion
Memberok. Played around with the code a little bit. Have a few questions.
With this div tag structure this is referring to the overall structure spanning the multiple php files in the template folder?
Do I need to include the div ids for header, sidebar, content, footer whenever they are called in the templates php files?
I assume that the child element reference is that I should have all my div header, div sidebar and div footers closed when those sections end.
Since there are a handful of php files in the template can you explain how I know which to add?
If you couldn’t tell I’m pretty confused! Really appreciating the help.
May 31, 2007 at 9:10 pm #56700In reply to: Plugin: Avatar Upload
fel64
MemberYou need to change the permissions of the avatars folder I think.
http://faq.wordpress.net/view.php?p=54
The avatars cross the next poster’s names because they’re that’s how the CSS is set up. You could change the HTML and CSS structure, or if that’s perhaps too much you could open kakumei’s style.css, find
#thread li { ... }and add this to it:min-height: 120px;That should make sure the post box is big enough that the next post box doesn’t interfere with the avatar. Change the number if you want it differently.
May 31, 2007 at 5:06 pm #57884In reply to: Changing the header
LwEEs
MemberSam my friend,
Is this on the theme header or somewhere else, because my bbpress theme header is actually one line of code, everytime I try to change it messes up the installation. When I get home I’ll post the few letters my header has. Thanks.
May 31, 2007 at 4:08 pm #57883In reply to: Changing the header
Sam Bauers
ParticipantI meant the post the whole header file. Place the code between backticks to show it properly here.
May 31, 2007 at 11:41 am #1918Topic: Old Version
in forum Requests & Feedbackdaxeno
MemberDoes anyone here have any old version they can share?
my friend tod me that the older version works better than th new one.
May 31, 2007 at 11:35 am #57944In reply to: New Here + Login Problem
fel64
MemberI think the usual problem is because it sets a cookie for the wrong domain. Are you running a local copy on xampp or the like? You will need to add this to your
config.phpif you are.$bb->cookiedomain = '';
$bb->cookiepath = '/forums/';Cookiedomain should be blank, and cookiepath should obviously be the folder your forums are in (so you should change that value).
May 31, 2007 at 11:32 am #57870In reply to: Formating with wpmu theme
fel64
MemberYour HTML has improved. This is your current structure of major div elements:
div id="wrap"
div header [1]
div header [2]
div wrap [x]
div right
div sidebar
div content
div hottags
div discussions
div footerYou have two div elements with id
wrap. IDs should always be unique, and the second one, marked with[x], is empty anyway so you can go ahead and delete it. You also have duplicateheaders. The content ofheader [2]should be the only thing inheader [1]. Divsidebarshould be at the same level as divheaderis, not a child element. You can also delete the divright, as it’s kind of pointless.Div
footershould not be incontent. It should be on the same level, not as a child. That should fix some problems with it, too. You can take out bothfloat: left;anddisplay: inline;in the CSS file for divcontent– they seem to cancel each other out, andfloating it is unnecessary anyway and could come back to bite you later.Your main problems in IE seem to be (seem, I don’t have dev tools for it) that major
wrapis not centered and thatcontentis just wide enough to conflict withsidebar. Slowly decrement the width ofcontentand test if that makes it work. I am surprised it’s not centered in IE7, I’m fairly sure that the CSSmargin: 0 auto;worked. However, to center it in IE6, you need to add thetext-align: center;property to thewrapelement (in CSS). To counter the effect this has on text, you need to addtext-align: left;toheader,sidebarandcontent.When logged in, the
divclasspostat the very bottom of the sidebar is not closed. You can just get rid of it I think. You are also usinglielements for your Private Message Manager and Community Forum links, without actually having opened aulorolfor them, which would probably cause problems so just remove thelitags.That’s a start, anyway. Try it and we’ll see if it’s fixed anything.
May 31, 2007 at 11:05 am #57936In reply to: Style change request
fel64
MemberIt seems to have been played around with in the past, the upshot being that code is overflow: auto. Good solution in my opinion, much more convenient for reading code, anyway.
//a really reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeally long line of codesome random text
//a kinda short line of code -
AuthorSearch Results