Forum Replies Created
-
In reply to: post customisation idea
I don’t really have anything against the option of a more tag, but I can’t imagine it being useful. Replies are meant to be read in series, and anything that breaks that flow can’t be a good thing (in my opinion).
What do you mean by tabbed browsing for forums?
In reply to: Formating with wpmu themeThat’s right. A typical template file in your theme will be like this:
bb_get_header()
loadsheader.php
from 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.php
andfooter.php
are 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 –
body
corresponds to<body>
, butwrap
corresponds 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.php
orfooter.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.php
andfooter.php
.In reply to: Plugin: Avatar UploadYou 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.
In reply to: Private ForumNot by default install. Could be done by a plugin, but one to do it does not yet exist.
In reply to: Old VersionYour friend is wrong. Did the solution in the other thread not fix it?
But whatever. Knock yourself out.
In reply to: New Here + Login ProblemI 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.php
if 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).
In reply to: Formating with wpmu themeYour 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 duplicateheader
s. The content ofheader [2]
should be the only thing inheader [1]
. Divsidebar
should be at the same level as divheader
is, not a child element. You can also delete the divright
, as it’s kind of pointless.Div
footer
should 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, andfloat
ing 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
wrap
is not centered and thatcontent
is just wide enough to conflict withsidebar
. Slowly decrement the width ofcontent
and 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 thewrap
element (in CSS). To counter the effect this has on text, you need to addtext-align: left;
toheader
,sidebar
andcontent
.When logged in, the
div
classpost
at the very bottom of the sidebar is not closed. You can just get rid of it I think. You are also usingli
elements for your Private Message Manager and Community Forum links, without actually having opened aul
orol
for them, which would probably cause problems so just remove theli
tags.That’s a start, anyway. Try it and we’ll see if it’s fixed anything.
In reply to: Style change requestIt 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 code
some random text
//a kinda short line of code
In reply to: Formating with wpmu theme#1: There are no style rules to tell the forum to go into the column. It’s just made of unstyled divs inside the body element. I don’t know how comfortable you are with HTML, but they should go inside the div with id wrap. That would really fix the greatest issue. You don’t need CSS to do that, since the
wrap
element would already do that (and the forum could actually be next to the sidebar).#2: Please create a test account for us to see the HTML that’s causing a problem, or log in and copy the HTML to a pastebin and link to it here. My clue would be that there’s something wrong with the HTML, by the way. Is this an IE7 exclusive problem?
In reply to: rewrite-rules.php not workingExactly the same problem? You’re hosted at GoDaddy, and IE will not download rewrite-rules.php? For this problem there is no guide, but it can probably be solved without an expensive programmer
Saboy, have you tried getting around the IE problem by using a plugin that adds a menu page to bb-admin and
include
ing rewrite-rules.php to output the code there instead? Worth a try.In reply to: Keymaster’s Reply Doesn’t ShowIf they are, install this plugin, mark yourself and anyone else as 0 in the bozo field and update the profiles. That should fix it.
In reply to: Tags spamIt’s a small forum, but I don’t really get people tagging and I’m not sure I see the use in general anyway (if no-one minds a discussion?). I’m really just tagging because it’s there. I can see how it’s useful for images, yeah, but topics doesn’t seem to be the sort of thing tags are useful for. They lend themselves to text-based searching so well anyway. Maybe if you really liked reading through topics by theme?
In reply to: Bozo problemDon’t worry about it
My template-functions might be different, but at a guess that fixes the HTML for people to checkbox if a user is a bozo or not? Problem was that different quotation marks were being used inconsistently, right?
In reply to: Paid Help, custom permalinks structureNo official rules, but going by what I remember from the WP forums: no.
What have you tried? Got a phpBB -> bb converter? Does it work?
The link structure shouldn’t be a problem, you just need some custom rules in your .htaccess which someone can probably help with.
In reply to: Yet another WP – BB integration questionOf course you can. Just open and edit your theme’s header.php, adding HTML code as you want it.
In reply to: post_statusI suspect that it is for marking spam and the like.
Spam could be 1, not spam 0.
In reply to: No StylesheetIf the stylesheet path is correct, you do not have the same problem. It should not contain at all.
The code should maybe go in /my-plugins/.
In reply to: Initial install, first login, no joy.It works just fine in the huge majority of cases. It’s nothing to do with FF and bbpress – it’s a problem between the server and FF.
In reply to: 2Checkout.com using WordPress / bbPressNot yet, or at least, not as far as I know. Note that that website doesn’t have it as a WP Page, either. You can, however, put it in a folder in the desired location and make it look like a WP page.
Do you have your old database still? You could change your settings back to use that, log in as keymaster, and make your new desired account keymaster.
Or you could just reinstall. Surely it’s not that much of a problem?
You don’t need that file.
You have already installed, right? What did you last change?
In reply to: Posting New Topics ProblemApply this fix, then go to each profile, set the bozo status to
0
and update.In reply to: Search a Topic?It’s not an inherently difficult thing, in fact, it’s easy to search only a particular topic with MySQL. What interests me is how it could be done best using the existing bb method of searching, how that could be integrated rather than tagged on.
In reply to: Forum works….links don’tThe .htaccess in your bb root has to be set up to take pretty permalinks if you want to use them. The stylesheet thing sounds like a problem with Xampp – check the source html of a page, usually the link to the stylesheet will include backwards slashes, which appears to break it in FF. You probably wouldn’t have this problem on a live server.
In reply to: Just launced – integrated with WPMUOh, so you set up the tables manually? Not sure what the installation of bb actually involves, but you just went through and tried to replicate everything?