fel64 (@fel64)

Forum Replies Created

Viewing 25 replies - 626 through 650 (of 1,001 total)
  • @fel64

    Member

    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?

    @fel64

    Member

    That’s right. A typical template file in your theme will be like this: bb_get_header() loads header.php from your theme’s folder or otherwise the default kakumei one (header.php should contain what is now in your second div called header), then there’s a bunch of content, and then bb_get_footer() will get the sidebar and the footer elements in footer.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 and footer.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
    /header

    whatevertemplate.php

    .
    content
    //content HTML and php
    /content

    footer.php

    .
    sidebar
    //sidebar HTML and stuff
    /sidebar
    footer
    //footer HTML and stuff
    /footer
    /wrap
    /body
    /html

    I hope that’s clear, it’s a little late so I might have some tired logic. This is pseudoHTML – body corresponds to <body>, but wrap corresponds to <div id="wrap"> and sidebar = <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 or footer.php.

    bb_get_header() and bb_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 inside header.php and footer.php.

    In reply to: Plugin: Avatar Upload

    @fel64

    Member

    You 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 Forum

    @fel64

    Member

    Not by default install. Could be done by a plugin, but one to do it does not yet exist.

    In reply to: Old Version

    @fel64

    Member

    Your friend is wrong. Did the solution in the other thread not fix it?

    But whatever. Knock yourself out.

    @fel64

    Member

    I 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).

    @fel64

    Member

    Your 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 footer

    You 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 duplicate headers. The content of header [2] should be the only thing in header [1]. Div sidebar should be at the same level as div header is, not a child element. You can also delete the div right, as it’s kind of pointless.

    Div footer should not be in content. It should be on the same level, not as a child. That should fix some problems with it, too. You can take out both float: left; and display: inline; in the CSS file for div content – they seem to cancel each other out, and floating 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 that content is just wide enough to conflict with sidebar. Slowly decrement the width of content and test if that makes it work. I am surprised it’s not centered in IE7, I’m fairly sure that the CSS margin: 0 auto; worked. However, to center it in IE6, you need to add the text-align: center; property to the wrap element (in CSS). To counter the effect this has on text, you need to add text-align: left; to header, sidebar and content.

    When logged in, the div class post at the very bottom of the sidebar is not closed. You can just get rid of it I think. You are also using li elements for your Private Message Manager and Community Forum links, without actually having opened a ul or ol for them, which would probably cause problems so just remove the li tags.

    That’s a start, anyway. Try it and we’ll see if it’s fixed anything.

    In reply to: Style change request

    @fel64

    Member

    It 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

    @fel64

    Member

    #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?

    @fel64

    Member

    Exactly 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 includeing rewrite-rules.php to output the code there instead? Worth a try.

    @fel64

    Member

    If 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 spam

    @fel64

    Member

    It’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 problem

    @fel64

    Member

    Don’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?

    @fel64

    Member

    No 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.

    @fel64

    Member

    Of course you can. Just open and edit your theme’s header.php, adding HTML code as you want it.

    In reply to: post_status

    @fel64

    Member

    I suspect that it is for marking spam and the like.

    Spam could be 1, not spam 0.

    In reply to: No Stylesheet

    @fel64

    Member

    If 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/.

    @fel64

    Member

    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.

    @fel64

    Member

    Not 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.

    @fel64

    Member

    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?

    @fel64

    Member

    You don’t need that file. :) You have already installed, right? What did you last change?

    @fel64

    Member

    Apply this fix, then go to each profile, set the bozo status to 0 and update.

    In reply to: Search a Topic?

    @fel64

    Member

    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.

    @fel64

    Member

    The .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.

    @fel64

    Member

    Oh, 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?

Viewing 25 replies - 626 through 650 (of 1,001 total)