Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,551 through 5,575 (of 6,788 total)
  • Author
    Search Results
  • #32439
    Marius-
    Member

    Is it possible to change the default “Member” link benath nicks to something else?

    I would like to change it to “info”.

    #81999
    Marius-
    Member

    Glad you’re in on it folks.

    I believe that if BBPRess was included in the WordPress install, as a default plugin or something, it would force higher interest.

    #81935
    hatter
    Member

    Ok, I think I see the problem now. If you look at the source code for the page 1 link, it generates an empty href element, which by default will link back to the current page. This is generated in the bb_paginate_links function in bb-includesfunctions.bb-core.php. Can you try something real quick, as a possible fix? Around line 244, you will see the following:

    $empty_format = ”;

    Change this to:

    $empty_format = ‘/’;

    This will generate an href of “/” which should lead to the root of your forum. Please let us know if this works.

    @Nightgunner5 – Thank you for the tip. I will try to do as you suggest. It’s so much better to leave the core files in their original state. I have never tried to create a plugin, this is a good reason to start! :-)

    Ben L.
    Member

    Because it’s in functions.bb-pluggable.php, you can copy the function into a plugin file and edit it from there. No work needed when upgrading, and it can be turned on and off.

    I am sharing this, just in case it may help someone else looking to implement this feature. There is a great plugin that does this, bbAvatars, but it was interfering with other functions I wanted to implement, so I had to find a workaround (bbPress 1.0.2).

    With the premise that I really don’t like to edit core files, because you have to remember to edit them each time you upgrade, this time I had no choice, as any avatar plugin I tried did not work out for my purposes. There are a few simple steps you can use to set your own custom avatar, when users have not set a gravatar account.

    1 – I have noticed that the “blank” choice in the settings is the only one that refers to an internal image, so you just want the code to point to your own custom image, rather than “blank.gif” (which may be also used for other calls, so I wanted to leave that one alone and not replace it with another custom blank).

    In “bb-includes”, look for the file “functions.bb-pluggable.php”, and edit around line 895, where it says

    case 'blank':
    $default = bb_get_uri( 'bb-admin/images/blank.gif', null, BB_URI_CONTEXT_IMG_SRC );

    and change blank.gif with your image, default.jpg or any other name.

    2 – Upload your custom image in bb-admin/images (if you store it somewhere else, change the path in the code above accordingly).

    3 – In your Admin Dashboard –> Settings –> Discussions, set the choice to “blank”.

    Voila!!!!

    To change the avatar size from the bbpress default size, in post.php of your templates, look for

    <?php post_author_avatar_link(); ?>

    and add the number of pixels inside (), for example:

    <?php post_author_avatar_link(80); ?>

    Hope this helps!

    #81895
    chrishajer
    Participant

    You should really figure out how to unzip files on your Vista machine. An unzip utility was included with Windows XP and I suspect one is included with Vista. You’re going to need it.

    Anyway, you can download all the files here:

    http://chrishajer.com/bbpress/avatar-upload/

    The php files were all renamed php.txt so you can display them in your browser and save them, then upload them. You will need to keep the same directory structure. There is also a readme.txt file that is included that I did not rename.

    Also, you’ll note on the plugin page that this says compatible up to 0.8.2.1 which is very very old. I have no idea if that works at all with whatever version you’re installing.

    When you’re done, you should have something like this:

    http://www.example.com/bbpress/my-plugins/avatar-upload/bb-avatar-upload.php
    http://www.example.com/bbpress/my-plugins/avatar-upload/identicon.php
    http://www.example.com/bbpress/my-plugins/avatar-upload/readme.txt
    http://www.example.com/bbpress/my-plugins/avatar-upload/unsharpmask.php
    http://www.example.com/bbpress/my-plugins/avatar-upload/additional-files/avatar-upload.php
    http://www.example.com/bbpress/my-plugins/avatar-upload/additional-files/avatars/default.png
    http://www.example.com/bbpress/my-plugins/avatar-upload/additional-files/my-templates/avatar.php

    #81722

    In reply to: changing tag list view

    Null
    Member

    Ok I have written a function to get the tags in a row, but I want to have them comma seperated, any ideas?

    function bb_row_tags( $args = null ) {
    $defaults = array(
    'tags' => false,
    'format' => 'row',
    'topic' => 0,
    );

    $args = wp_parse_args( $args, $defaults );
    extract( $args, EXTR_SKIP );

    if ( !$topic = get_topic( get_topic_id( $topic ) ) ) {
    return false;
    }

    if ( !is_array( $tags ) ) {
    $tags = bb_get_topic_tags( $topic->topic_id );
    }

    if ( !$tags ) {
    return false;
    }

    $r = '';
    switch ( strtolower( $format ) ) {
    case 'row' :
    default :
    $args['format'] = 'row';
    foreach ( $tags as $tag ) {
    $r .= _bb_row_tag_item( $tag, $args );
    }
    break;
    }
    echo $r;
    }

    function _bb_row_tag_item( $tag, $args ) {
    $url = esc_url( bb_get_tag_link( $tag ) );
    $name = esc_html( bb_get_tag_name( $tag ) );
    if ( 'row' == $args['format'] ) {
    $id = 'tag-' . $tag->tag_id . '_' . $tag->user_id;
    return "t" . '<a href="' . $url . '" rel="tag">' . $name . '</a>' . "n";
    }
    }

    #32407
    mrsparex
    Member

    Fortunately I’ll not be able to hear people laughing at me but I just bought hosting from Siteground (great service by the way) and they uploaded bbpress for me. I believe I found how/where to upload in the “my plugin” file. It asks where to download from… well….when I try to save the plugin download onto my computer it defaults to save it with notepad (offers internet explorer too). When I save it with notepad and then view the file it looks like wingdings on bad drugs. I know this is a silly question for most here…but how do I save a plugin download with Vista? (go ahead and laugh my speakers are off) LOL …I must to learn more basics before I can do this it appears. oh yeah….my site is pennyforums.com Thanks!

    #81719

    In reply to: changing tag list view

    chrishajer
    Participant

    It looks like the default for that function is a list, but table would also be accepted. But the other choice, table, would just return (i.e., I don’t think they ever finished that, but were maybe planning on having other options.)

    function bb_list_tags( $args = null )
    {
    $defaults = array(
    'tags' => false,
    'format' => 'list',
    'topic' => 0,
    'list_id' => 'tags-list'
    );

    $args = wp_parse_args( $args, $defaults );
    extract( $args, EXTR_SKIP );

    if ( !$topic = get_topic( get_topic_id( $topic ) ) ) {
    return false;
    }

    if ( !is_array( $tags ) ) {
    $tags = bb_get_topic_tags( $topic->topic_id );
    }

    if ( !$tags ) {
    return false;
    }

    $list_id = esc_attr( $list_id );

    $r = '';
    switch ( strtolower( $format ) ) {
    case 'table' :
    break;

    case 'list' :
    default :
    $args['format'] = 'list';
    $r .= '<ul id="' . $list_id . '" class="tags-list list:tag">' . "n";
    foreach ( $tags as $tag ) {
    $r .= _bb_list_tag_item( $tag, $args );
    }
    $r .= '</ul>';
    break;
    }

    echo $r;
    }

    I hope someone else can come along and show how to do this with a plugin.

    #81715

    In reply to: CSS failed to load?

    chrishajer
    Participant

    It’s styled perfectly here with the default kakumei theme:

    http://chrishajer.com/bbpress/iappleit.png

    And that stylesheet is right where you say it is:

    http://iapple.it/forums/bb-templates/kakumei/style.css

    [~/]$ curl -I http://iapple.it/forums/bb-templates/kakumei/style.css
    HTTP/1.1 200 OK
    Date: Thu, 26 Nov 2009 18:40:14 GMT

    #32398

    Topic: CSS failed to load?

    in forum Themes
    ciaravino
    Member

    When I try to go to http://iapple.it/forums , they aren’t styled even though I’m using one of the default themes. It says “Failed to load source for: http://iapple.it/forums/bb-templates/kakumei/style.css&#8221;, and I don’t know why.

    #81570
    chrishajer
    Participant

    1. I see you’re using 1.0.1. I would recommend upgrading to the latest to see if that happens to fix it.

    2. I added a tag to a topic, and I do not have the [X] to remove my own tag. Why can’t I delete my own tag?

    There is also some additional functionality where it shows ‘tree’ by ‘chrishajer’ – that’s not there by default, so how is that being added?

    This error does not occur by default in bbPress, so there is something specific about your installation. If it’s not the template, maybe it’s a plugin or something else you added.

    #69164
    chrishajer
    Participant

    I have a 1.0.2 installation and the forum_description call looks like this by default:

    <?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?>

    Did you try modifying that array to send before and after nothing?

    <?php forum_description( array( 'before' => '', 'after' => '' ) ); ?>

    Worked for me, on the front page. Or are you looking to modify something else? This modified the forums listed in #forumlist at the bottom of the front page.

    #81439

    To chime in, I’m having the same problem.

    However, it looks like the plug-in just doesn’t know where to find install.php by default. For example, my install.php is in http://…/wp-content/bbpress/bb-admin/install.php but the 404 error comes when the plug-in looks for it in http://…/wp-content/bbpress/install.php

    I’ve found that manually rewriting the URL to the true install.php will side-step the step 1 404 error.

    #32367
    Greg
    Participant

    I have a strange problem. When I’m on the forum front page or a forum page, the timezone is set to “America/Los_Angeles “, but when I go onto one of the topic pages, it is “Etc/GMT+7”.

    I am checking by using the PHP function “date_default_timezone_get()” in the header right after the <body> tag.

    These two are different by an hour because of daylight saving, which is causing an issue with the simple-onlinelist plugin.

    Where in the initialization of bbPress is the timezone set? Any ideas why it would be set differently depending on the bbPress page that is loaded?

    If it matters, I have deep integration with WordPress MU 2.8.4a, which also has the timezone at “America/Los_Angeles”.

    Thanks.

    #81541
    Kolya33
    Member

    Ah cool, that might help some people.

    I use Notepad++ by the way and have it set to save in UTF8 by default. It’s easy enough to change though.

    Once you know the problem that is.

    #60272

    In reply to: Style Sheet

    paamayim
    Member

    Same here, I did copy “kakumei” in my-templates, renamed the folder and started editing, but style.css is not found, neither are all pictures and the screenshot.png is not shown in admin->appearance. I can activate the template but all pics/style stuff is missing.

    Any idea?

    Forum funcionality and default theme are all working fine.

    #81462

    In reply to: Backticks Not Working

    arpowers
    Member

    you could be right; its a default bbpress core- — but I’ll look at the plugins..

    #81460

    In reply to: Backticks Not Working

    chrishajer
    Participant

    I just made a test post on your forum and it looks pretty messed up to me.

    What plugins are you using and does this happen with the default theme as well? You installation is not working like a default installation, so it’s something that was changed.

    #81438
    chrishajer
    Participant

    Actually, because this file is accessible:

    http://speakasp.net/asp-forum/bb-templates/kakumei/screenshot.png

    and your forum comes up if you access it like this:

    http://speakasp.net/asp-forum/index.php

    it seems that the files are installed in the proper locations. Maybe the server is not configured to serve index.php as one of the default files? I think the default on IIS is to look for default.asp first, but there has to be a way to serve index.php by default. That’s what you need for bbPress (and WordPress too, which seems to be working already.)

    #81398
    chrishajer
    Participant

    What if an incompatible plugin is creating problems for you? The problems you’re having are not normal. I noticed that the mass delete users plugin is good up to 0.9 only, but you posted there that it works with 1.0.2.

    https://bbpress.org/plugins/topic/mass-delete-users/

    How about preventing the spambot registrations with the Human Test plugin instead, and not trying to mass moderate users? Maybe it’s deleting some references to the users, but not all? Or there are stranded posts or something, and that throws off the numbering or something?

    hpguru, what plugins are you using?

    Marius-, what other plugins are you using?

    It doesn’t happen by default in an installation with very few plugins running, so it might be a problem with a plugin, or could be a problem with the server. Software sometimes acts weird when a partition or MySQL runs out of space or memory.

    #80098

    In reply to: "User Not Found" Error

    Elunah
    Participant

    Hi, there! I had this error, too, and I think I might know what it is. You mentioned that all users already have nicenames. What link structure are you using? Try switching permalinks to “None” (the default) and seeing if the profiles work. If they do, then that means that you need to manually edit your users’ nicenames in the WordPress database. The nicenames must match the display usernames of the users.

    An alternative solution is to use 301 redirects in your .htaccess to redirect profile links. The profiles of those users whose profiles are broken actually do exist. Try replacing the part of the URL that contains their username with their user_nicename. You may find that they exist, so you can do redirection if you’re afraid of messing with the mySQL. This is definitely the inferior solution, though. Editing the nicenames in the mySQL shouldn’t cause problems.

    #81350
    chrishajer
    Participant

    Not by default. There is probably a way to do it with a plugin. Since the slug is based on the title, why not make the title limit shorter? If I used onereallylongwordtogetaroundthelimit would you want that prevented as well? Max number of characters or words in a title or slug?

    #81335
    chrishajer
    Participant

    What browser ashfame?

    Just looked though, and it’s different today than it was yesterday. It looks like the default installation and default theme today, when yesterday there were more forums, and it was using kakumei blue.

    It’s definitely back to normal today.

Viewing 25 results - 5,551 through 5,575 (of 6,788 total)
Skip to toolbar