Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 5,901 through 5,925 (of 6,780 total)
  • Author
    Search Results
  • #71306
    brad_langdon
    Member

    You will have to excuse my ignorance but I have no idea what that means.

    I just use normal ftp to edit the site, I am guessing sftp is secure ftp but would that really matter as I am only uploading files with it…once they are live is when they get hacked is that not right?

    Clear text passwords?

    You mean on the database? I just use whatever default settings bbpress operates with.

    Sorry for all of the questions, I am investigating this on my own as well so I dont nag you guys too much.

    Also not sure what ssh is.

    #4716
    Andrew
    Member

    I am upgrading an old .83 bbpress installation to Alpha 1.0r6.

    I have about 6k posts in the .83 database.

    After upgrading the database I’ve noticed the following problems. Several of the posts in the database were made by users no longer in the database. If a topic containing posts by these now ‘anonymous’ users is displayed, I get the following error at the top of the screen.

    DB Error in wp_users::append_meta: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '32) /* WP_Users::append_meta */' at line 1

    SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (1,,32) /* WP_Users::append_meta */

    If I delete the anonymous posts in the thread, the problem goes away. Using PHPAdmin I checked the user ID’s assigned to the posts and there are no users with those user ID’s in wp_users. (I have an integrated installation).

    I thought the problem was a result of an upgrade, so I created a new user, made some posts, and then deleted that user. The problem still exists. I have not tried this on a clean install and it would be useful if someone could try that.

    I am running the default Kak. Blue theme.

    I believe I tracked the problem request to a backpress file.

    bb-includes/backpress/class.wp-users.php:

    if ( $metas = $this->db->get_results("SELECT $meta_field, meta_key, meta_value FROM {$this->db->$meta_table} WHERE $meta_field IN ($ids) /* WP_Users::append_meta */") ) {

    I am not a SQL sleuth but I believe the $ids field is being populated with nulls associated with deleted users.

    #71492

    In reply to: Hot Tags not updating

    chrishajer
    Participant

    Looks like the function bb_tag_heat_map takes some parameters. In your tags.php template file, you will find something like this:

    <?php bb_tag_heat_map( 9, 38, 'pt', 80 ); ?>

    That calls this function:

    function bb_tag_heat_map( $args = '' ) {

    $defaults = array( 'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'limit' => 45, 'format' => 'flat' );

    So, the smallest is 9pt, largest is 38pt, UOM is pt (points) and the limit, at least in my template, is to return 80 tags. That much you can control from just calling the function with different parameters. As far as most recent tags, I am uncertain how to do that, but it sounds like it would be a good plugin (not sure if this does what you want: I don’t think so):

    https://bbpress.org/plugins/topic/enhanced-tag-heat-map/

    The information is stored in the database when something is tagged, so I’m pretty sure you could grab the latest N tags by date, DESC and display them as Recent Tags.

    yokima
    Member

    Hello,

    I would like to have bbPress in two languages, using the same forum DB. So when viewing in language 1, the forum’s interface would be in language 1 with all the postings listed, and in language 2, the interface would be in language 2 with the same postings listed.

    I plan on achieving this with bbPress theme switcher ( http://bbpress.org/plugins/topic/bbpress-theme-switcher/ ) and the link to switch between the themes/languages would be /bbpress/?bbtheme=lang1 and /bbpress/?bbtheme=lang2

    I would also like to set up a php page at the root of the web domain to auto-detect and forward to the appropriate mediawiki language page based on

    1) user’s browser language preferences if this is a first time visit

    2) last connection’s languages preferences, which would be saved in the form of bbPress’s theme preference cookie.

    with a file structure of

    /blog

    /blog/bbpress

    /blog/wiki

    /langdetect.php

    My code so far is:

    ?php

    /* langdetect.php */

    $defaultlang = ‘en’

    $lang = $defaultlang;

    /* bbPress theme cookie detection */

    if cookie exists {

    (read cookie and set $lang to either en or ko.. bla bla)

    }

    /* WordPress and/or MediaWiki last visit language detection */

    elseif previous visit info exists {

    (i’ll figure this out later)

    }

    /* detect in-browser lang pref … modified from http://kaldung.com/en/php_detectbrowserlanguage.html */

    else {

    $langlist = explode(‘,’, $_SERVER);

    foreach($langlist as $curLang) {

    $curLang = explode(‘;’, $curLang);

    /* use regular expression for language detection */

    if (preg_match(‘/(ko|en)-?.*/’, $curLang[0], $reg)) {

    $lang = $reg[1];

    break;

    }

    }

    }

    /* redirect */

    if ( $lang==’ko’ ) { header( ‘Location: http://ENGLISHPAGE&#8217; ) ; }

    else { header( ‘Location: http://ENGLISHPAGE&#8217; ) ; }

    ?>

    How can I read the bbPress cookie that contains the Theme Switcher theme preference?

    #71126
    ernohannink
    Member

    Chris, the Approve User Registration plugin gives an fatal error with the 1.0-alpha-2 version.

    “Fatal error: Class ‘BB_User’ not found in …/bb-plugins/approve-user-registration/approve-user-registration.php on line 58”

    #4700
    Ryan Hellyer
    Participant

    Hi,

    I’m trying to setup a demo forum of bbPress (Version 1.0-alpha-6 ) to allow users to create their own bbPress themes. The template generator itself is powered by WordPress, and bar the occasional bug seems to work fine. The bbPress themes it exports seem to be working okay too bar a few code gremlins which I intend to iron out once I get the system up and running.

    What should happen, is that you should be able to go to the following URL, make as many modifications as you want, click submit and bam! a new design for your bbPress forum should be shown. However for some reason, whenever the bbPress forum loads it kills the session variables which store all of the data relating to the current design :(

    http://pixopoint.com/demo/bbpress/?generator=on

    When you go back to the WordPress version (http://pixopoint.com/?generator=on) the original design is gone and it reverts back to the default :(

    Any ideas?

    As a temporary measure I plan to create a WordPress Page with the same HTML as would be in the bbPress forum so that users can see their design as they’re modifying it. But it would make a lot more sense if they could modify it within a real live bbPress forum.

    #71365
    chrishajer
    Participant

    I think the answer is to find what’s different between the theme you installed and the default theme, and fix that. I can’t say what the difference is off-hand, but if this works properly with the default theme, then there’s something wrong with the theme you’re using.

    #71364

    Nothing happens when I try to do it. It just refreshed without changing. I installed the 1.0 Alpha version (understand it’s still being developed) and integrated it with WP 2.7

    The profile update appears to be working with the default theme, which I hate, so the question is how do I make it work with the theme that I like?

    #64642
    chrishajer
    Participant

    It is included in the 1.0-alpha already. It’s not there by default in the 0.9.x version.

    #71357
    chrishajer
    Participant

    /bbpress/bb-admin/includes/defaults.bb-schema.php

    is where the table names are all set. But changing the names there is only going to change the name of the tables that are created. You would need to change every reference to a table to this new uppercase name. I can’t imagine how difficult that would be or what would happen with any plugin you install or what happens when it’s time for an upgrade.

    What host is this that changes the table names (not the database name) to uppercase? I’ve never heard of such a thing. Is there a page on their site or an email from support describing their policy?

    It’s ok to have a database name in uppercase, since you only reference that once, but tables names being restricted to uppercase sounds like a very strange thing to me.

    #64641
    kirpiit
    Member

    I humbly suggest that a search field and its css couterpart is included in the default theme for future releases.

    It is far easier for many to comment out a few lines as opposed to figure out how and where to place new pieces of code.

    Thanks.

    #71266

    I turned off all plugins and flipped to default theme to verify. Okay, three of us means it’s TRAC TIME!

    #1033

    #70181
    Burt Adsit
    Member

    This is to clear up this issue. Frankly I had forgotten about this post after solving the problem. Whoops. Sorry.

    I was trying to fire up xmlrpc access from wpmu to bbpress. Your bbpress_live plugin wasn’t working. buddypress’s group forums weren’t working. Surprise, it uses the bbpress_live classes.

    Turns out the wp http api lib uses the curl lib as the default transport mechanism. It goes out and gets the requested url using curl by default if it’s installed. It’s installed everywhere and on everything except my kitchen toaster. So, curl resolves ip addresses by first looking at your /etc/hosts file. Then it goes to dns for resolution.

    The /etc/hosts file and linux are happy with hosts defaulting to 127.0.0.1 for mysite.org. I live in apache all day long and don’t care what’s in my hosts file. I should have. :)

    Changed /etc/hosts to have the actual ip address to my domain and xmlrpc, bbpress_live, buddypress and the rest of the universe are happy.

    Thanks for the quick response Sam!

    #71193
    Sam Bauers
    Participant

    When you load WordPress inside bbPress, it is detected and all WordPress filters are cleared, including default filters. This means that most of what wp_head() usually does won’t happen. It’s the wrong thing to do in any case as the wrong RSS and XML-RPC links will get inserted for a start.

    Having said that, using a plugin in bbPress you can easily add filters back in to wp_head().

    #71162
    mzimmers
    Member

    Well, I tried…it validated, but it doesn’t seem to be doing anything. The file in question is:

    http://www.scopedin.com/.htaccess

    the contents are:

    # Use PHP5CGI as default

    AddHandler fcgid-script .php

    Redirect 301 /bbpress/my-templates/my-kakumei/register.php /wordpress/wp-login.php?action=register

    Do I need an absolute pathname for the last parameter? Both of these are relative off of my public_html directory.

    #4619
    supreme87
    Member

    Hi all,

    I have a problem with localization of forum.

    /**

    * bbPress Localized Language, defaults to English.

    *

    * Change this to localize bbPress. A corresponding MO file for the chosen

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define(‘BB_LANG’, ‘it_IT’);

    I have edited the bb-config.php and made the directory called “my-languages” in the root directory of bbpress with inside my languages file, but i didn’t see any change.

    I have make a deep integration with wp 2.7

    Thanks

    #71125
    chrishajer
    Participant

    How about the “Approve User Registration” plugin:

    https://bbpress.org/plugins/topic/approve-user-registration/

    #4621
    snowcrash
    Member

    Hi

    This may sound like an odd thing to do, but I’m intending to adapt bbpress to enable members to self-register and upload articles for review, and only Admins see these posts. (Therefore, _ck_’s Hidden Forum and Attachments plugins are great, as are the Instant_Password & Human_Test).

    Though to stream-line this further: when a person registers, they post/upload there article in an a Submissions forum, but I don’t want anyone else (apart from admins) to see this type of post.

    Could the bozo setting be used? That is, when a person registers, there status is by default bozo, therefore no other registered users can see this post.

    Can this work, and how to default a registered user as bozo?

    thanks

    #71068

    In reply to: Single topic only

    Fender
    Member

    I have an alternate question on this now.

    I want http://www.domain.com/bbPress/ to always be what would normally be displayed at http://www.domain.com/bbPress/topic.php?id=2.

    I know how to manipulate the templates sufficiently to cripple the navigation and make it look like there is only one page, but I don’t know how to change front-page.php (as referred to in index.php) to essentially be topic.php?id=2 so that is the default index view.

    Any ideas?

    #71067

    In reply to: Single topic only

    Fender
    Member

    I’m not even considering Joomla for this. Joomla is for the news part of our site and not a consideration for this at all.

    I’m basically tossing up between bbPress and WordPress.

    I like the bbPress plugin bbPress Moderation Suite because it will allow my moderators to ban users for a period, generate an email and automatically remove the ban once it expires. However, I’m yet to find a way to reverse the order of posts in a topic so it’s most recent to least recent.

    However, I find it easier to limit WordPress to only showing a “single topic” because, essentially, I can just post a single item and have the Comments do the rest. With some minor tweaks I can have the default WordPress page as the single post and remove other navigation features. I have the plugin for reversing the sort order so that’s covered too. But the user moderation features don’t appear to match that of “bbPress Moderation Suite” and I’m keen to have that for my moderators.

    Basically, I’m looking for forum-like features with the following constraints:

    • a single topic and viewing it is the default page
    • descending sort order
    • no user private messaging

    If I can then add poll and live chat plugins, as well as some basic filtering options by allowing posters to tag their posts, that would be a bonus.

    #71014
    ganzua
    Member

    check the bb_topics table in that db and check what it says for the ‘topic_poster_name’ column

    Checked. Below topic_poster and topic_poster_name columns are all the right starter user IDs and usernames.

    With the default theme I have the same error. Actually, my custom theme is a stripped kakumei :(

    #71013
    ganzua
    Member

    The default kakumei template has no post_author_link in front-page.php or forum.php. Perhaps it is that post_author_link doesn’t work anymore inside the forum loop because the topic loop is different.

    #71012

    That’s what I have too. :| That’s really wild.

    Do you have access to your SQL database? If so, check the bb_topics table in that db and check what it says for the ‘topic_poster_name’ column. The default for that on my table is ‘Anonymous’ so it’s like it’s not writing to that field. Which would mean even if you flipped the bit to the old theme, the database still has it wrong.

    So, try making a test post while using the default theme?

    #4600

    Topic: Single topic only

    in forum Plugins
    Fender
    Member

    I’m trying to find a way to us bbPress that allows me to have only a single topic and nothing more for the whole site.

    I have a site, http://bulldogs.rleague.com/ which is basically a guestbook on steroids with user moderation, profiles and various security features. The main feature, and the thing that has kept it alive for over 12 years, is the very simple, flowing format which evolved from a guestbook.

    I want to replace the bespoke PHP because I’m tired of maintaining it all, and adding new features is a pain in the neck.

    I’ve been playing with bbPress today and it has the simplistic approach that suits my needs. However, I need to find a way to basically make the default landing page a topic, and to hide/remove all functionality that is related to multiple topics and multiple forums.

    I’m happy to mess with the core code and maintain it for upgrades, but a plugin approach would be preferable. However, I don’t know where to even start. Is it something I can achieve with a different template, or do core functions need modification or plugin-based override?

    The other piece to this puzzle, and I think I saw an answer already, is that the display order of posts needs to change to be the most recent at the top.

    Any help people can provide is appreciated.

    Cheers,

    Chris.

    #4593
    asymmetrik
    Member

    is there an easy way to set the Topic Status/Post Status filters in the Dashboard -> Manage -> sub-tabs to default to All? it currently defaults to Deleted.

    thanks.

Viewing 25 results - 5,901 through 5,925 (of 6,780 total)
Skip to toolbar