Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,976 through 32,000 (of 32,294 total)
  • Author
    Search Results
  • #51308
    Atsutane
    Member

    I dont think they gonna change the theme system for now :)

    #51307
    Atsutane
    Member

    Yeah it works now :) Thanks for your help

    #50923
    Atsutane
    Member

    Just want to let u know. The post count is broken. U can download the new version to fix this :)

    #51012
    Atsutane
    Member

    nolageek, it was a bug on bbpress 0.73 – https://trac.bbpress.org/ticket/476

    For temp solution u need to disable akismet :)

    #49733

    In reply to: Email subscription

    snowcrash
    Member

    Not having email notifications is the only reason that stalls me from using bbpress with WP.

    While a lot of effort has gone into RSS integration, as others have said, it’s not straightforward for many ordinary users. Email is still dominant.

    I hope email notifications will be developed, or least a plugin please :-)

    thanks

    #51301
    ear1grey
    Member

    gnawph wrote:

    The bbPress designers would look foolish changing all of their IDs to Classes and wouldn’t conform.

    I’ve already stated that: “I’m not advocating the removal of any of the ID’s from templates”. I am, however, conscious that the reliance on ID based formatting in the default template is more likely to run in to integration problems in the long run.

    “Latest and Popular are different tables and shouldn’t be labeled the same”.

    Yes, latest and popular are different tables (their ids are different), but they are both examples of a certain kinds of table that show an ordered selection of items based on some kind of score (be it date or rating). So it’s better to define what that kind of table is, so use a class.

    “If code redundancy is an issue you could always go:#latest, #popular {

    Yes, this does have a similar effect, but, if I’m writing a plugin with UI elements then for it’s output to be shown correctly in TemplateX, either:

    1. I have to add CSS to the plugin which might work with TemplateX, but be incompatible with TemplateY, or
    2. The authors of X&Y must alter their css to cope with my plugin.

    This potential hassle just becomes less likely if template designers take an extra few minutes to consider what the more abstract classes in the design should be!

    BTW: class="tableonmainpage" might be better described as .mainpage > table {}

    #50444

    In reply to: Google sitemap

    lstelie
    Member

    Hello earlgrey

    The 06rc1 version seems to work very well

    (note : line 21 $version=0.6rc1; must be replaced by $version='0.6rc1';)

    The version number is still 051 in the xml file so it may be hardcoded somewhere in the code.

    By the way the correct link is 0.6rc1

    #51299
    gnawph
    Member

    Users should have to rethink their CSS. Not using a ID selector just because a “newbie” doesn’t realize there can only be one element attatched to them is lame. The difference between ID and Class is one of the fundamentals of CSS. The bbPress designers would look foolish changing all of their IDs to Classes and wouldn’t conform. These selectors carry semantic meaning and without them your HTML code becomes less proffesional and harder to read.

    Latest and Popular are different tables and shouldn’t be labeled the same. If code redundancy is an issue you could always go:

    • #latest, #popular {
    • -or-

    • <table id=”latest” class=”tableonmainpage” >

      If somebody is going to be digging around and making their own theme they should really take 5 minutes to read a CSS tutorial.

    #51298
    ear1grey
    Member

    That’s part of it yes…

    …but also, using ID based formatting can cause trouble down the line when users want to add more elements to the page and find they have to change the CSS rather than just saying that their new addition <thing id='latest' />; should be formatted in the same way as <thing id="popular" />; because they’re both the same kind of table.

    This is a double pain because CSS seems to get stuck in some browser caches so users see the new page with the old CSS.

    The shift from “how do I want this to look?” to “what kind of thing is this and what do those things look like?” is (I have found) worthwhile.

    #51297
    gnawph
    Member

    Right. I’m sorry, but I don’t understand your point.

    I like the ID elements, much easier to understand the page.

    I’m doing a quick check of bbpress’s default templates and I don’t see too many IDs I’d even consider repeating inside the code.

    Is your poing that styling more than one ID with the same colors, padding, whatever, is redundant?

    #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 ;)

Viewing 25 results - 31,976 through 32,000 (of 32,294 total)
Skip to toolbar