Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,176 through 32,200 (of 32,480 total)
  • Author
    Search Results
  • #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?

    #50437

    In reply to: Google sitemap

    ear1grey
    Member

    I have a fairly simplistic one operating on my site. You’re welcome to have a go.

    Its just out of the oven, so please be aware that it might be hot to the touch and remember to feedback any problems, ideas and patches :)

    http://boakes.org/talk/tags/bbpress-sitemap

    #51134
    Aaron
    Participant

    err, change that.

    It installs great, and the buttons click. But thats it. It isnt updating the code, inserting images, links, etc. On images and links it does bring up the window to enter the address / location but nothing is inserted into the post.

    I checked the header and the javascript is loaded, and in the correct location.

    anythoughts.

    #905

    I adapted the

    WordPress plugin Comment Quicktags + by Dan Cameron so you can add a quicktags toolbar over textarea for inserting or editing posts in the various bbPress pages.

    Te plugin already support the IMG tag to include images inside a topic. To make this tag works you need to install another plugin to support the img tag.

    The plugin page with info, instruction and download link is

    here, happy discussions :)

    #51112

    In reply to: cookie timeout

    Trent Adams
    Member

    I had this happen to me. I would imagine that the same thing is happening with you. What my problem was not with the actual integration because it even tells you that you are logged in, but that the ‘URL’ in the config.php file was wrong. I had to really look close at the directions. Using your URL from above I couldn’t make heads or tails because the link wouldn’t resolve, but it most likely is in the following section:

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = 'http://yourdirectory.yoursite.com'; // Example: 'http://bbpress.example.com'

    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.

    $bb->path = '/forum/'; // Example: '/forums/'

    Maybe check that out.

Viewing 25 results - 32,176 through 32,200 (of 32,480 total)
Skip to toolbar