Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,101 through 30,125 (of 32,491 total)
  • Author
    Search Results
  • #57950

    In reply to: Private/member forums

    drmike
    Member

    Not a problem :)

    #57904
    Trent Adams
    Member

    Darn 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

    #57897

    In reply to: Tags spam

    Trent Adams
    Member

    I didn’t mention it when it was brought up, but I knew that when that was brought up drmike! ;)

    Trent

    #57938

    In reply to: Style change request

    Trent Adams
    Member

    I 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

    #57947

    In reply to: Old Version

    Trent Adams
    Member

    mdawaffe is working like crazy on 1.0, so the old versions won’t matter soon enough (well maybe not soon, but sometime!) :)

    Trent

    #57357

    In reply to: Plugin: Move It

    citizenkeith
    Participant

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

    #57896

    In reply to: Tags spam

    drmike
    Member

    heh heh heh

    And we’ve been told that staff couldn’t see who made tags over in wp.com land. ;)

    #57903
    drmike
    Member

    There 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

    #56702

    In reply to: Plugin: Avatar Upload

    aranamarunda
    Member

    Thank you very much. Such a polite reply! I’m amazed at the helpfulness on this forum. It is all working now :D If you are dutch, come and join the forum :D 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.)

    #57873
    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.

    #57937

    In reply to: Style change request

    JeremyVisser
    Member

    Yes, 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.

    #57872
    mfaxion
    Member

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

    #56700

    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.

    #57884

    In reply to: Changing the header

    LwEEs
    Member

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

    #57883

    In reply to: Changing the header

    Sam Bauers
    Participant

    I meant the post the whole header file. Place the code between backticks to show it properly here.

    #1918
    daxeno
    Member

    Does anyone here have any old version they can share?

    my friend tod me that the older version works better than th new one. :(

    #57944
    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).

    #57870
    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.

    #57936

    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

    #56221
    daxeno
    Member

    Same Problem with me – No luck at all. i am using both FF and IE. :(

    #1917
    #1916

    Topic: Private Forum

    in forum Troubleshooting
    Sean Wing
    Member

    I am sorry if this has already been posted, but I seem to not be able to find the exact answer to my question.

    Question: I want to make my bbPress forum completely private so that no one can see the post of anything like that UNLESS that register AND I also want it so that I have to approve a user before they can view and use the forum. So that everything displayed on the forum if completely private.

    Answer: I have the answer to the first question (http://bbpress.org/plugins/topic/34?replies=1) but I need the answer to the second and I want to make sure that is will work with making the forum complete private (the first question).

    Thank you. =)

    #1914
    JeremyVisser
    Member

    In the bbPress forums stylesheet (in the custom theme for bbPress.org, not the default theme), you have this:

    .post {
    overflow: hidden;
    }

    Can I request that you change the value to auto, to make it heaps easier to read users’ code postings (as they frequently overflow)?

    .post {
    overflow: auto;
    }

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

    #57876
    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.

Viewing 25 results - 30,101 through 30,125 (of 32,491 total)
Skip to toolbar