Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,201 through 6,225 (of 6,788 total)
  • Author
    Search Results
  • #64424
    _ck_
    Participant

    The word “swedish” is in there only because MySQL was originally a Swedish product and it’s legacy. Has nothing to do with any local language settings – just means it’s at the default.

    Perhaps a database upgrade failed at some point and left it at a weird miss-match?

    #3254

    Topic: 404 errors

    in forum Troubleshooting
    kikloo
    Member

    Hi,

    I installed bbpress with wp and it all went smoooth. Now when I am trying to view the demo post which is created by default I get: “Error 404 – Not Found” and that of Word Press and not bbPress. Please help me fix.

    Thanks.

    #64493
    _ck_
    Participant

    Very nice layout!

    Remember my theme switcher won’t work unless cookies are enabled. Many personal firewalls (and paranoid people like me) block them by default unfortunately.

    #3253
    fokjulle
    Member

    I seem to have the Avatar Upload plugin working. Problem is, if someone makes a comment that is, say, one sentence in length, the height of the avatar and the bottom of the same post seem to miss each other, creating an almost ripple effect as the thread continues downward.

    Is there a way to make a post a default height, assuming the comments are less than the height of the avatar?

    #64412
    chrishajer
    Participant

    I have no idea what that is, but I can try and help until someone more knowledgeable comes along.

    Did you set any of these three lines to something different than the default in your bb-config.php:

    define('BBDB_CHARSET', 'utf8');
    define('BBDB_COLLATE', '');
    define('BB_LANG', '');

     

    I found this online:

    http://www.datutorials.com/mysql/mysql_ref_manual_Charset.php

    What is your MySQL version?

    #3226
    jaydedman
    Member

    We came up with a hack for email notifications: http://showinabox.tv/forum so people can get an email when someone posts to a thread they are following.

    We are using RSS Forward.

    But it seems that our bbPress feed updates itself very slowly.

    Anyone know how often feeds refresh by default?

    #64359
    citizenkeith
    Participant

    glanceup: Just cut and paste it into a plugin template. Here’s what I did (apologies to _ck_ if the headers aren’t quite right):

    <?php

    /*

    Plugin Name: Fix Number of Front Page Topics

    Plugin URI: https://bbpress.org/forums/topic/how-to-restrict-number-of-latest-discussions-on-front-page

    Description: Fix Number of Front Page Topics

    Author: _ck_

    Author URI: http://bbshowcase.org/

    Version: 0.1

    */

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    ?>

    _ck_
    Participant

    Front page topics plugin isn’t working? Hmm. Should be.

    I have a modification I’ve done somewhere…

    Try this:

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    #3210
    ajvngou_
    Member

    1) I need change default gravatar image at forum to my own. Where is the link? i cant find it.

    [ RESOLVED – i found it at: bb-icludes/pluggable.php ]

    2) i saw Karma/Reputation plugin… but again, i cant find it.

    #64291
    berfarah
    Member

    Precisely. I want to have a preview of what’s inside the forum, essentially, so that people can click on links from outside them. Kind of like what PunBB has by default. But right now, they way I set it up, it seems to copy the first one for all the forums… I don’t know how I’m supposed to set it up.

    #3191
    Ryan
    Participant

    The first two user registrations I’ve had on my new forum are both using @mail.ru email addresses. Experience with other forums tells me these are probably spam registrations. On the SMF forums I admin I block @mail.ru email addresses from being able to register at all. Is there a way to do this in bbPress? Maybe have them default to Inactive or Blocked depending on the email address used?

    #64265
    raygene
    Member

    OK, solved for the moment but I had to reset the forum’s permalinks to default, which I had originally set to “Name-based”.

    Unless there’s a fix for this, I don’t mind using the standard “ugly” permalinks.

    Gene

    #64246

    In reply to: Change Gravatar Size?

    wyvn
    Member

    Here is what a quick grep came up with:

    bb-includes/template-functions.php:function post_author_avatar( $size = ’48’, $default = ”, $post_id = 0 ) {

    #64029
    affacat
    Member

    to better illustrate my issue, my current code for the profile page is:

    if ( avatarupload_get_avatar(ID) ) {

    avatarupload_display($user->ID);

    } else {

    echo bb_get_avatar( $user->ID );

    }

    which means if uploaded avatar exists then display it, else get gravatar.

    but what i really want is:

    if uploaded avatar exists then display it, else if gravatar exists then display that, but if neither exists then display the avatar upload default avatar.

    Right now it displays gravatar default instead. which isn’t my first choice since avatar upload would give me control over the default image which is better for obvious reasons.

    #64125
    chrishajer
    Participant

    Fourteen days is long? Or you get 14 days when you click the “remember me”? What is the default length for the cookie when you don’t click “remember me”?

    #64131
    Aaron
    Participant

    I may be thick but I cannot figure out how or where to change the gravatars. I have the implemented, and the default image shows up, but that is as far as I can get.

    #64130
    Sam Bauers
    Participant

    It’s native and built-in to the default Kakumei themes. Other themes can be quite easily adapted to use them too.

    #3155
    skehoe
    Member

    I am currently installing bbpress in /bbpress/ on my web server. WordPress is already running in the root directory, and I am trying to integrate the two user databases. While the installation process seemed pretty straightforward, I ran into a couple issues fairly quick. First off, my wordpress config file didn’t have a lot of the values that bbPress wanted from it. There was no line for a secret key, and there was no a $table_prefix line but no wp_table_prefix line like bbPress asks for. After getting frustrated and messing around a little bit I tried using the prefix of wp_ to see if maybe that was the wordpress prefix (as the installer said wp_ is default) but all it ended up doing was causing errors and now I can’t even log in to change the setting back since it can’t find the user file. I even tried re-uploading a fresh version of the plugin and the settings stayed the same. What can I do to fix this and integrate with wordpress? Thanks

    #63828
    serimu
    Member

    thanks for your reply, I am sending my httpd.conf, and htaccess files for wordpress and bbpress. Im also using gallery2 which is located at /somegalleryfolder. I use a plugin to integrate it with wordpress. But it has no problem, before or after I moved to the new vps. Bbpress is located at /forum folder. And its htaccess is contains only the code generated by bb-admin/rewrite-rules.php

    I found my httpd.conf file, I dont know whether there is a security issue to put it here or not. But I hope it give you some idea about what could be problem:

    #

    # This is the main Apache HTTP server configuration file. It contains the

    # configuration directives that give the server its instructions.

    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.

    # In particular, see

    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>

    # for a discussion of each configuration directive.

    #

    # Do NOT simply read the instructions in here without understanding

    # what they do. They're here only as hints or reminders. If you are unsure

    # consult the online docs. You have been warned.

    ServerRoot “/etc/httpd”

    Listen 80

    #LoadModule php4_module /usr/lib/apache/libphp4.so

    LoadModule php5_module /usr/lib/apache/libphp5.so

    #LoadModule suphp_module /usr/lib/apache/mod_suphp.so

    LoadModule php5_module /usr/lib/apache/libphp5.so

    User apache

    Group apache

    ServerAdmin admin@localhost

    DocumentRoot “/var/www/html”

    <Directory /home/*>

    AllowOverride All

    Options +MultiViews -Indexes +FollowSymlinks +IncludesNoExec +Includes

    <Limit GET POST OPTIONS PROPFIND>

    Order allow,deny

    Allow from all

    </Limit>

    <LimitExcept GET POST OPTIONS PROPFIND>

    Order deny,allow

    Deny from all

    </LimitExcept>

    </Directory>

    <Directory />

    Options All

    AllowOverride All

    </Directory>

    <Directory “/var/www/html”>

    Options +Indexes +FollowSymLinks

    AllowOverride None

    Order allow,deny

    Allow from all

    <IfModule mod_suphp.c>

    suPHP_Engine On

    suPHP_UserGroup webapps webapps

    </IfModule>

    </Directory>

    <IfModule dir_module>

    DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi

    </IfModule>

    <FilesMatch “^.ht”>

    Order allow,deny

    Deny from all

    Satisfy All

    </FilesMatch>

    ErrorLog /var/log/httpd/error_log

    LogLevel warn

    <IfModule log_config_module>

    #replace %b with %O for more accurate logging

    <IfModule mod_logio.c>

    LogFormat “%h %l %u %t “%r” %>s %O “%{Referer}i” “%{User-Agent}i”” combined

    LogFormat “%h %l %u %t “%r” %>s %O” common

    LogFormat “%O” bytes

    LogFormat “%h %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i” %I %O” combinedio

    </IfModule>

    CustomLog /var/log/httpd/access_log common

    </IfModule>

    <IfModule alias_module>

    # Include some DirectAdmin alias

    Include conf/extra/httpd-alias.conf

    </IfModule>

    <Directory “/var/www/cgi-bin”>

    AllowOverride None

    Options None

    Order allow,deny

    Allow from all

    </Directory>

    DefaultType text/plain

    <IfModule mime_module>

    TypesConfig conf/mime.types

    AddType application/x-gzip .tgz

    AddEncoding x-compress .Z

    AddEncoding x-gzip .gz .tgz

    AddType application/x-compress .Z

    AddType application/x-gzip .gz .tgz

    AddHandler cgi-script .cgi

    AddHandler type-map var

    AddType text/html .shtml

    AddOutputFilter INCLUDES .shtml

    AddType video/x-ms-asf .avi

    AddType video/mpeg .mpg

    AddType video/mpeg .mpeg

    AddType video/quicktime .mov

    AddType video/x-ms-wmv .wmv

    </IfModule>

    #EnableMMAP off

    #EnableSendfile off

    #######################################################################################

    # Do not change anything in included files, because they are rewritten by DirectAdmin #

    #######################################################################################

    # This is needed for PHP

    Include conf/extra/httpd-php-handlers.conf

    # Server-pool management (MPM specific)

    Include conf/extra/httpd-mpm.conf

    # Multi-language error messages

    Include conf/extra/httpd-multilang-errordoc.conf

    # Fancy directory listings

    Include conf/extra/httpd-autoindex.conf

    # Language settings

    Include conf/extra/httpd-languages.conf

    # User home directories

    #Include conf/extra/httpd-userdir.conf

    # Real-time info on requests and configuration

    Include conf/extra/httpd-info.conf

    # Virtual hosts

    Include conf/extra/httpd-vhosts.conf

    # Local access to the Apache HTTP Server Manual

    #Include conf/extra/httpd-manual.conf

    # Distributed authoring and versioning (WebDAV)

    Include conf/extra/httpd-dav.conf

    # Various default settings

    Include conf/extra/httpd-default.conf

    # Secure (SSL/TLS) connections

    Include conf/extra/httpd-ssl.conf

    # Deflate module settings

    Include conf/extra/httpd-deflate.conf

    # All the DirectAdmin vhosts

    Include conf/extra/directadmin-vhosts.conf

    # All suPHP directives

    Include conf/extra/httpd-suphp.conf

    # All the other includes needed by the custombuild script

    Include conf/extra/httpd-includes.conf

    #######################################################################################

    # End of included files that are rewritten by DirectAdmin #

    #######################################################################################

    <IfModule ssl_module>

    SSLRandomSeed startup builtin

    SSLRandomSeed connect builtin

    </IfModule>

    and this is my wordpress .htaccess file, it is in root folder for the domain

    php_value upload_max_filesize "50M"

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    # BEGIN Url Rewrite section

    # (Automatically generated. Do not edit this section)

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d [OR]

    RewriteCond %{REQUEST_FILENAME} gallery_remote2.php

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . – [L]

    RewriteCond %{QUERY_STRING} view=core.DownloadItem

    RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9+.-]+://www.domain.com/ [NC]

    RewriteCond %{HTTP:Referer} !^$

    RewriteRule . /wp-gallery2.php [F,L]

    RewriteCond %{QUERY_STRING} g2_view=core.DownloadItem

    RewriteCond %{QUERY_STRING} g2_itemId=([0-9]+)

    RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9+.-]+://www.domain.com/ [NC]

    RewriteCond %{HTTP:Referer} !^$

    RewriteRule . /galery/main.php?g2_view=rewrite.DownloadItem&g2_itemId=%1 [L]

    RewriteCond %{THE_REQUEST} /sitemap(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=sitemap.Sitemap [QSA,L]

    RewriteCond %{THE_REQUEST} /tags(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=tags.TagCloud [QSA,L]

    RewriteCond %{THE_REQUEST} /admin/(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=core.SiteAdmin [QSA,L]

    RewriteCond %{THE_REQUEST} /comments/add/([0-9]+).html(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=comment.AddComment&g2_itemId=%1 [QSA,L]

    RewriteCond %{THE_REQUEST} /comments/([0-9]+).html(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=comment.ShowAllComments&g2_itemId=%1 [QSA,L]

    RewriteCond %{THE_REQUEST} /([^?]+)/slideshow.html(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=slideshow.Slideshow&g2_path=%1 [QSA,L]

    RewriteCond %{THE_REQUEST} /photo/([^?]+)(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_path=%1 [QSA,L]

    RewriteCond %{THE_REQUEST} /([^?/]+)(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_view=tags.VirtualAlbum&g2_tagName=%1 [QSA,L]

    RewriteCond %{THE_REQUEST} /([^?]+)(?.| .)

    RewriteCond %{REQUEST_URI} !/wp-gallery2.php$

    RewriteRule . /wp-gallery2.php?g2_controller=permalinks.Redirect&g2_filename=%1 [QSA,L]

    </IfModule>

    # END Url Rewrite section

    #

    RewriteEngine on

    RewriteCond %{HTTP_HOST} ^domain.com$ [NC]

    RewriteRule .* http://www.domain.com/ [L,R=301]

    RewriteCond %{THE_REQUEST} ?(ref=.*)? HTTP [NC]

    RewriteRule .? http://www.domain.com%{REQUEST_URI}? [R=301,L]

    RewriteCond %{THE_REQUEST} ?(referer=.*)? HTTP [NC]

    RewriteRule .? http://www.domain.com%{REQUEST_URI}? [R=301,L]

    Redirect /x/ http://www.domain.com/y/

    Redirect /a/ http://www.domain.com/b/

    and this is bbpress .htaccess located on /forum folder, and my bbpress is also located on /forum. And I dont call wordpress from bbpress and I dont call bbpress from wordpress. I use integration method expressed in faq section of bbpress documents. And my setup was working before I moved to the new vps.

    <ifmodule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /forum/

    RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]

    RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]

    RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&page=$2 [L,QSA]

    RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]

    RewriteRule ^tags/?$ /forum/tags.php [L,QSA]

    RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&tab=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

    RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]

    RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&page=$2 [L,QSA]

    RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]

    RewriteRule ^rss/$ /forum/rss.php [L,QSA]

    RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]

    RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]

    RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]

    RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]

    </ifmodule>

    jimluu2
    Member

    Hi. Can you help design a simple vbulletin theme that matches the default wordpress theme? If you know of one that looks similar already please let me know.

    Thanks.

    Fresh install of WP2.5 and BB.9.0.1

    Within bbpress admin, i setup the maps to from WP -> BB roles

    When creating a new user from the WP admin screen, selecting a role of any selection, it will default to the standard member. (verifying by looking under the bb admin user screen)

    My solution was to just change the bb_capabilities meta_value to the desired role level of new seeded users.

    #63800
    _ck_
    Participant

    I’ve never figured out why the default theme doesn’t have a link to the search page. It’s some kind of weird oversight or maybe the designer was anti-search, pro-tags.

    #63765
    Munnday
    Member

    I am sure the team with have bbPress out very shortly – afterall WP2.5 was only just released.

    @MUN33B: As far as I can tell from the nightly build I have been using, the sending password to email is still the default setting for bbPress (as it is with WordPress). In terms of comparing it to MyBB (which is a great bit of software – the team should be proud) it’s a bit hard – bbPress is intended to be a lightweight forum solution, minimal on features but highly customisable – where at software like MyBB tends to have all the features built in.

    Well that’s my 2 cents anyway ;)

    #3066
    Daniel Quinn
    Member

    I’m working with a local fresh install of bbpress and I can’t activate any plugins. (Whenever I click Activate, it says “Are you sure you want to do this?” and seems to be adding an extra backslash in the URL whenever I click YES). If I manually put the URL to activate into the browser without the extra backslash, bbpress spits out a fatal error and doesn’t activate the plugin. I’ve got bbpress working on my web server with all of the plugins, so it’s a problem with the local installation.

    The local server is Apache and my config.php looks like this:

    $bb->uri = ‘http://localhost/cindyfish&#8217;;

    $bb->mod_rewrite = false;

    (database is working fine, I can click all links in the forum)

    I tried changing the uri to just http://localhost/, but then I can’t access the admin panel.

    The only edit I made to the core was to modify:

    $activetheme = bb_get_option(‘bb_active_theme’);

    to

    $activetheme = stripslashes(bb_get_option(‘bb_active_theme’));

    as instructed in this post:

    http://bbpress.org/forums/topic/theme-not-found-default-theme-applied#post-8889

    …so I could get my custom theme recognized.

    Any ideas?

    EDIT: Actually, I CAN activate plugins if I manually paste the URL into the browser and remove the extra backslashes; it failed on the path to url plugin by nanome (http://bbpress.org/forums/topic/updated-to-desmond-but-theme-not-working/page/2)… would be nice tho to create a hack that could fix this for local installations on Windows

    EDIT2: Okay, it also seems that bbpress adds the extra backslash only if the plugins are in individual folders. For plugins that sit just in the my-plugins folder, the local installation can activate them fine. Otherwise they have to be linked manually.

    #63700
    pad
    Member

    Hi

    The role mapping has always been set in the admin, but I clicked ‘Set Role Map’ again – didn’t work. Did a test registration from bbPress… the user in WordPress has ‘no role for this blog.’

    Again, I sign up in WordPress, the user in bbPress is ‘Inactive.’

    Could this possibly be something to do with the Role Manager plugin in WordPress? If it is, it’s weird as my default role is still Subscriber…

    I really want to sort this ASAP as members will be seeing the forums from next week and it will be bad if they can’t access one or other section until I’ve manually changed their roles.

Viewing 25 results - 6,201 through 6,225 (of 6,788 total)
Skip to toolbar