Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,426 through 31,450 (of 32,462 total)
  • Author
    Search Results
  • #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 =)

    #1179
    Null
    Member

    Hi

    I am using this code :

    if (is_front()){ echo ‘bla bla’ } etc

    But I also want to add is_topic() in this if. How do I do that?

    This has to be a noob question :D

    #51955
    Atsutane
    Member

    I update the plugin already .. Now it gonna show “display name” instead of “username” like before. Tell me how it going :)

    #53392

    In reply to: My Template

    chrishajer
    Participant

    Hi, I see a couple things.

    You’ve made the div #header 800px wide, but the div #main below it is only 760px wide – they need to be the same if you want the header image as wide as the div below it. Also, the left and right margins should be auto to match the div below (handles screen resolutions down to 800×600 that way, and is centered on anything bigger.)

    So, this in your div #header in the style.css:

    margin: 0px auto;

    width: 760px;

    That makes the header graphic spots.gif as wide as the ‘table’ below it. If you want it to be as wide as the page, that’s something different altogether.

    Since you removed the bbPress circle logo, you might also want to move the #header h1 over to the right a little bit:

    right: 10px; instead of the 59px there now.

    Hope that helps.

    #53373
    JzL
    Member

    thank you bbolman.. I was placing the code after that line, not before. That did it… but I had to disable “Ultimate Tag Warrior” plugin to keep from getting any errors.

    Now, on to trying to customize the look of bbpress. Thanks again.

    #53372
    bbolman
    Participant

    Yes, you add that line of code on the line directly before this line (I believe):

    require_once( BBPATH . ‘bb-settings.php’ );

    Make sure to change that piece of code to match the actual location of your file. When I put that code into my installation though, all I get are errors. I’ve found you can get away without it.

    #53389
    chrishajer
    Participant

    Couple things I see:

    1. The file actually begins with <?php right?
    2. The line where your password is defined has two single closing quotes. Is that a typo from editing or is that how your actual file is?

      define('BBDB_PASSWORD', '******'');

      ……………………………………..two closing quotes ^

    3. is the name of your database host actually mysql, or should it be localhost or some other host name (if the MySQL database is on another server)?

    #53371
    JzL
    Member

    so1o, thanks for the reply.

    when you say “include the wp-config.php in the config.php”… is that not what I did when I added the line of code:

    require_once( '/home/content/j/z/l/jzlharvey/html/wp-config.php');

    #1237

    After i updated to 0.75 the You must log in to post. is no longer displayed.

    http://trac.bbpress.org/changeset/580/trunk/bb-includes/template-functions.php

    This was the change, I think there is a echo missing in line 138.

    #53254
    chrishajer
    Participant

    Staffan, are you using pretty permalinks, mod_rewrite?

    from config.php:

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    what is your setting there?

    #51978
    skrimpy
    Member

    great plugin, it cleaned up my front page quite a lot. Thanks :)

Viewing 25 results - 31,426 through 31,450 (of 32,462 total)
Skip to toolbar