Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,101 through 32,125 (of 32,409 total)
  • Author
    Search Results
  • #50441

    In reply to: Google sitemap

    ear1grey
    Member

    Well done, external bug #1. I have mod_rewrite enabled, and it works – you appear to have it switched off, so you’ve found something I’ve not seen.

    I’ll try a build that escapes the loc and put it on the site shortly.

    #51296
    ear1grey
    Member

    Using anchors for navigation (“jump links”) is a good thing, I agree. I’m not advocating the removal of any of the ID’s from templates. The fact that so many WP and BB elements are identified in the DOM is a good thing – for one thing it makes the identification of objects easier in JavaScript.

    It’s just that ID based styles are not as extensible as class based styles – ID styles let you describe the style for one and only one element. Class styles let you describe the style for one or more elements that declare they are of that type.

    #50440

    In reply to: Google sitemap

    lstelie
    Member

    hello,

    Well no, I got

    Sitemap errors for http://cafe.saint-elie.com/sitemap.bb.xml

    This Sitemap has the following errors:

    Errors

    Line:

    2

    Parsing error

    We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting. [?]

    Line:

    2

    Invalid URL

    This is not a valid URL. Please correct it and resubmit. [?]

    #51295
    gnawph
    Member

    Using classes for everything is pretty sloppy. When start hacking up the bbpress theme and come across an ID I know exactly whether or not that element is going to be repeated. When I work with a design that has strickly class based selectors I go crazy.

    Something like “class=header” is completely insane. There really should only be one header inside the site and you use an ID to signify that elements usage.

    For example when I take a look at /bb-templates/font-page.php and see <table id=”latest”> I already have a good idea of what all the code contained inside that <table> tag will be.

    Also if my page gets larger I can put “jump links” to those sections and help my users navigate my site.

    There are other properties of ID tags that do fancy stuff with javascript but I’m not quite sure what they are.

    #51305
    ear1grey
    Member

    This should work as described, but… firefox 2 has a major failing with SVG at the moment: it can’t be used in an img tag for content negotiation… so there would have to be some browser recognition and hocus-pocus coding to get it to work.

    still, it all helps bring about an end to the use of px in css, so as you suggest, lets rock.

    http://boakes.org/images/star2.svg

    <?xml version="1.0" standalone="no"?>

    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"

    "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

    <svg width="10cm" height="10cm" viewBox="0 0 270 240"

    xmlns="http://www.w3.org/2000/svg" version="1.1">

    <desc>bbPress inverted star by ear1grey - GPL</desc>

    <g fill-rule="evenodd" stroke="#2e6e15" fill="#888888" stroke-width="3" >

    <path d="M 135,000 L 164,086 254,086 182,130

    208,226 135,175 062,226 088,130

    016,086 106,086 135,000

    M 0,-15 L 0,240 270,240 270,-15 0,-15 z" />

    </g>

    </svg>

    #51247
    Sonika
    Member

    Yes, I did it.

    I think my problem is how I try integrate blog and bbpress.

    When I write in config.php (to allow bbpress use wp functions such as <?php get_header(); ?>):


    if(file_exists("../wp-settings.php"))

    {

    //loads the functions and wp config

    require_once "../wp-config.php";

    require_once "../wp-settings.php";

    }


    buttons in bbpress — ADD NEW» and edit profile — don’t work

    #928
    ear1grey
    Member

    mdawaffe wrote (in the readme for the bb-ratings plugin) :

    If anyone can create better star images (SVG would be super cool), contact the author of this plugin.

    See it at: http://boakes.org/images/star.svg

    …just play with the width and height values to change it’s size.

    <?xml version="1.0" standalone="no"?>

    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"

    "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

    <svg width="10cm" height="10cm" viewBox="-15 -15 270 240"

    xmlns="http://www.w3.org/2000/svg" version="1.1">

    <desc>bbPress star by ear1grey - GPL</desc>

    <polygon stroke="#2e6e15" fill="#888888" stroke-width="1ex"

    points="120,000 149,086 239,086 167,130

    193,226 120,175 047,226 073,130

    001,086 091,086" />

    </svg>

    #927
    ear1grey
    Member

    <p class="soapbox">

    Having hacked at the default bbPress template I’m conscious that it makes extensive use of element identities for it’s formatting.

    i.e. elements have an id="xyz" or a name="xyz" attribute, and in the css there is a corresponding #xyz { color: #FFF; }.

    With a pluggable base model such as bbPress it makes sense to specify “how to render things like this” rather than “how to render the thing called this”.

    Thus my request and suggestion is that anyone considering designing bbPress themes in the future seriously considers using CSS classes instead of IDs for formatting.

    The use of classes has the same effect as id’s, but there is a key benefit: an ID can only appear once on a page, so if a page element is repeated, and it’s formatting is based on an ID, then the template breaks.

    </p>

    #51264

    In reply to: Simple Scheme Tweak

    mozey
    Member

    Yeahh, make a plugin that allows you to change colors of your theme like that :)

    looks good.

    #51002
    Sonika
    Member

    Agop,

    я переводила форум на русский сама непосредственно в файлах, поэтому — ну какая ему, bbpress, разница? А Вы, прежде чем анонсировать локализацию, сначала бы сами ее до ума довели.

    I translated a forum on Russian itself directly in files. You announced russian localization but It does not work correctly.


    I use my own theme for worpdress. Any body can help me about my problem?

    #922
    circedesign
    Member

    Is there a way to present the Hot Tag listing in a big to small order? If there is a simple code tweak I can do, let me know. Otherwise, as someone who knows very little about coding, I would love it if someone came up with a way to do this. Does anyone else agree?

    #51001
    Atsutane
    Member

    nolageek,

    Disable your Ultimate tag warrior :) Im also using k2 and had to disable UTW.

    If u really want to use UTW, u need to edit bbpress code to replace the existing is_tag function

    I already told mdawaffe about this problem. Donno if they want to change is_tag function name to something else :)

    #50999
    Nola1974
    Participant

    However… the K2 theme breaks it. :( http://nolageek.com/forums

    #51263
    maxyboy83
    Member

    I blanked out my password ;), probably should have done the same with username too. Thanks anyway.

    And changing the mod_rewrite sorted the problem, cheers! Should have checked that in the first place…

    #51229

    In reply to: Anonymous post

    In forum I personally thingk that people have tobe responsible for what they write, with anonymous poster people cna swear and insult other or spam without any referencxe to who is the bad guy.

    A simple workaround is to create an user named anonymous with password anonymous and write in the home page that you can post using this user… and after this.. happy moderation time guys ;)

    #917
    Sonika
    Member

    I integrating my blog with bbpress and when I add require_once('z:/home/test2.ru/www/wp-blog-header.php'); in config.php some buttons in bbpress forum don’t work — ADD NEW» and edit profile

    Any ideas?

    #51206

    In reply to: IE6 problem

    kannued
    Participant

    The source code shows fine in IE6. So it has to do with the css.

    This part I question:

    ul id=’profile-menu’

    in the template-functions.php file.

    I would think that IE6 would want a

    ul id=”profile-menu”

    but that just produced an error.

    #915
    #51212

    In reply to: 0.74

    mozey
    Member

    oh OkAy!, :)

    it also said that 1.0 is 30% done!. Thats cool.

    #51142
    cqcrz
    Member

    Don’t worry.If his user_level is not enough,he can’t post on blog.

    When someone register in bbPress,WordPress is not know his user role.You need change WordPress’ code or the WordPress’ plugin synchronize bbPress registrations with WordPress.

    I do it in the former way.After that,the user who register in bbPress is Subscriber in WordPress.So the user can post in bbpress,but can’t post in WordPress.

    #50996
    Atsutane
    Member

    Thanks :) U can edit the size from css file. Find this inside your css file

    .postform textarea {

    height: 12em;

    margin: 5px 0;

    padding: 5px;

    width: 720px; //Edit the width to fit your page.

    display: block;

    }

    #50995
    Nola1974
    Participant

    Atsutane, you are THE MAN. Mine still looks like garbage, but It’s coming along. Thanks! This really should be included in the package.

    Basically, to clarify the process even more…

    /// open ‘/bbpress/conf.php’ and at the top, after the opening ‘<?php’ put the following:

    ‘”require_once(‘/path/to/wp-blog-header.php’);”‘

    Then, in your ‘my-templates’ directory, create the following files:

    header.php

    ‘<?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <div class=”post” id=”post-forum”>

    <div class=”entry”>’

    footer.php

    ‘</div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>’

    You will still have to tweak the code, but that’s all it took for me.

    You’ll need to add the styles from the non-header/footer portions of the bbpress css files to your WP style sheet.

    Check my test-forum out… http://nolageek.com/forums

    One thing I can’t figure out though… when you’re viewing a topic, the “reply” form is WAAAAYYYY too long. I’ve edited this in every form I can see, but this isn’t changing..

    Why are there so many edit forms? Where is this one?

    #51072

    Glad you got it working :)

    #910

    Hello,

    Within bbpress-integration.php file, where do I have to input my bbPress table prefix? Refer to excerpt below.

    Thanks for your support.

    Robert Richard.


    <?php _e(“Enter the table prefix for your bbPress installation below. The table prefix is found in your bbPress installation’s config.php file. You may list multiple table prefixes by separating them with commas.”); ?>

    71 <?php _e(‘Example’); ?>: Add here = bb_

    72

    73 <h3><label for=’bbpress-integration’><?php _e(Or over here = ‘bbPress table prefixes’); ?></label></h3>

    #909
    kannued
    Participant

    I am trying to use this to allow images in my posts: <img src=”http://example.com/image.gif&#8221; />

    I tried this in my, but my post then converts the opening and closing tags to special characters.

    Or is the above code supposed to go in config.php?

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