Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,476 through 31,500 (of 32,522 total)
  • Author
    Search Results
  • #53296
    startribe
    Member

    actually, I forgot to load the file, the result above was from playing with

    ‘<?php bb_location(); ?>’ and “image”.

    After trying your code Trent, I received no results for the designated area:

    src=""

    #53295
    startribe
    Member

    lol…

    yeah, any solution is good to start for me. The above produced:

    front-pageimages/victorylogo.gif

    I am editing the front-page.php, so I am not sure if it pulled that file name or I have a setting a bit off somewhere.

    Hmmm…. there has to be a way. I am getting the images to load through CSS, but for this particular image I would like to have it in the HTML content.

    So any more ideas or suggestions are welcome.

    -Orion

    #53294
    Trent Adams
    Member

    If you are trying to get victorylogo.gif, I would use:

    <?php $victorylogo = (bb_get_option('uri') . 'my-templates/images/victorylogo.gif'); ?>

    <?php echo $stylesheet; ?>

    There might be an easier way, but I am a ‘may not be pretty, but works’ type of guy….

    Trent

    #53293
    startribe
    Member

    Hey Trent,

    Thanks for the reply…

    I checked out the source of the resulting page and found this…

    /my-templates/style.cssimages/victorylogo.gif

    So I noticed that it is posting “style.css” in the path, which is throwing me off.

    Essentially, I am trying to get into my “my-templates” directory. I will look into your other solution. If you have any other ideas, I am open ears.

    Thanks,

    Orion

    #53292
    Trent Adams
    Member

    <?php bb_stylesheet_uri(); ?> does work for me!?

    Anyways, you can also do something like following I did in bbpress-mobile plugin:

    <?php $stylesheet = (bb_get_option('uri') . 'my-templates/mobile.css'); ?>

    <link rel="stylesheet" href="<?php echo $stylesheet; ?>" type="text/css" />

    Trent

    #1222
    startribe
    Member

    Hey Community,

    I am trying to link to an image in the “my-templates” directory for my bbpress template. When editing templates in WordPress I used:

    <?php bloginfo('stylesheet_directory'); ?>

    Is there something similar that I can use for bbPress?

    I tried:

    <?php bb_stylesheet_uri(); ?>

    & it didn’t work.

    Anyhow, any help would be greatly appreciated.

    Thanks,

    Orion

    #52830
    Null
    Member

    unreasonable request….. ow sorry :(

    #52424
    Sam Bauers
    Participant

    I’m working on a patch (it’s basically finished actually) that addresses bug 520. If it is not accepted in the trunk (core code) then I might develop it into a plugin instead.

    #53442

    In reply to: RSS links not working

    Trent Adams
    Member

    Short of the obvious stupid answer (upgrade or quit using IE :-) I think we need to test this out with more IE6 users. I think I have one old PC kicking around and will do some testing on this.

    Trent

    #51959
    Atsutane
    Member
    #52826

    Maybe using a array? Like

    $menu['FAQ'] = 'faq.php';

    Passing this through a filter so everybody can add his links via filter in his plugin…

    #51690

    Hehe … it sends an email on EVERY new post if it’s checked in the users profile. Not just admins.

    I know what you mean with your plugin-request, this is something mine can’t do at the moment. But I think this is a great feature to be added and it could be done by plugin. “Add Forum to favorites” :)

    #51689
    Trent Adams
    Member

    You might be correct that if checked ‘in your profile’ it would notify everyone of all posts replied and created if they also have it checked. It would notify you of any post or reply in the forum. At least, that is what the code suggests on first glance. Spencerp or Thomas should be able to clarify this.

    Trent

    #53426
    flaerpen
    Member

    hehe, of course it’s that simple :P. Thanks!

    #53425
    Trent Adams
    Member

    You can actually edit rss.php to get it to 50 if you want as well! Just search for the number ’32’ in that file ;)

    Trent

    #53319
    spencerp
    Member

    Thanks rednimer.. ;) :) I’ll try to get on this then, I’ve just been really, really busy with the “home life” lately sigh..

    spencerp

    #1245
    nekketsu
    Member

    Hi,

    i request a plugin for upload files :)

    #53416
    Trent Adams
    Member

    $bb->path = '/bbpress/';

    I am also assuming that you don’t want to integrate the logins with WP then as you don’t have your wordpress information for integration.

    Trent

    #53415
    chrishajer
    Participant

    Your forum is at http://ward3brighton.ca/bbpress/ not http://ward3brighton.ca/forums/ . It’s unstyled since the path is wrong. It seems to me that you changed the config.php to put the forum in a directory called forums but left the folder name as bbpress when you unzipped it.

    Can you check that and rename the bbpress folder to forums?

    #53398

    In reply to: for each question

    ear1grey
    Member

    $class="special";

    foreach($foo as $bar) {

    echo("<p class='$class'>$bar</p>);

    $class="";

    }

    #51957
    Atsutane
    Member

    Correct me if i wrong .. by default when a user is regis. WP will set the “display name” equal to “username”. I try the code already and i dont get a blank name :) Anyway maybe i will change the code to do a double check.

    #1241
    Null
    Member

    Ok, I have searched the net for hours, but I couldn’t get an answer for my question.

    If we use the for “each function” in php we can get a list of items like:

    Jack

    John

    Adrian

    Etc

    But the first name a want to have bold so it looks like:

    Jack

    John

    Adrian

    Etc

    Best way for me to do this, is to ad a class to the first name in the php code. But how do I do this? Cause the “for each” generates a list that is the same for eacht row (php/html code wise). So I only want the first name to be bold using a class (from a css) but all others not effected.

    Thx

    #53027

    In reply to: If code-question

    Null
    Member

    Thx guys

    #53026

    In reply to: If code-question

    so1o
    Participant

    nope.. it will be

    if(is_front() || is_topic())

    #53025

    In reply to: If code-question

    if(is_front() && is_topic())

    Hope I’m not saying something wrong =)

Viewing 25 results - 31,476 through 31,500 (of 32,522 total)
Skip to toolbar