Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,976 through 26,000 (of 32,481 total)
  • Author
    Search Results
  • #71065

    In reply to: Single topic only

    Fender
    Member

    I am considering that approach as well. Part of the problem I face using WordPress is finding the plugins to allow the user moderation, comment moderation and user profile features I’m after. Perhaps I’m looking in the wrong places for WordPress plugins, I dunno. I’ve been spending most of my time looking at Joomla for another major site replacement so haven’t got much time to explore WordPress.

    I mentioned over on _ck_’s forum that I’m willing to pay someone to help me nut this out … whether it’s WordPress comments-based or bbPress matters little to me, I’m just looking for a solution :)

    Cheers,

    Chris.

    #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 :(

    #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?

    #71011
    ganzua
    Member

    I just checked both. I removed the language file and the same error.

    For showing the topic starter I have <?php post_author_link(); ?> in my template. Is this wrong?

    #4605
    wakish
    Member

    Hi,

    I would like to know the reason of filtering every ouput, even after being sanitized, with the following statement: return apply_filters(‘sanitized_string’, $string, $original_string, $context);

    I can’t understand the purpose of this (surplus?) filtration..

    And the “apply_filters” also have another sister function like “merge_filters” and “remove_filters”.

    I would be glad to know the purpose of these, thanks!


    Function details:

    1) found in file ./bb-includes/wp-functions.php as from line 579

    2) the function:

    function apply_filters($tag, $string) {

    global $wp_filter, $merged_filters;

    if ( !isset( $merged_filters[ $tag ] ) )

    merge_filters($tag);

    if ( !isset($wp_filter[$tag]) )

    return $string;

    reset( $wp_filter[ $tag ] );

    $args = func_get_args();

    do{

    foreach( (array) current($wp_filter[$tag]) as $the_ )

    if ( !is_null($the_) ){

    $args[1] = $string;

    $string = call_user_func_array($the_, array_slice($args, 1, (int) $the_));

    }

    } while ( next($wp_filter[$tag]) !== false );

    return $string;

    }

    #70968
    chrishajer
    Participant

    1. I don’t believe those versions will integrate. 2.5 goes with 0.9.0* and 2.6+ goes with the 1.0 alpha versions.

    2. Where to find the logs depends on your host. Is there access to logs from your hosts control panel?

    If you’re not a techie, adding the code for custom error reporting might be a bit over your pay grade, so I won’t post that. Right now though, if you are not seeing the forum, and it’s giving a 500 Server Error, you need to see what that error is to help resolve this.

    [~] $ curl -I http://www.aboutonlinetips.com/bbpress/

    HTTP/1.1 500 Internal Server Error

    Date: Thu, 08 Jan 2009 19:54:12 GMT

    Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

    Accept-Ranges: bytes

    Connection: close

    Content-Type: text/html

    #69703
    chrishajer
    Participant

    Hopefully, with an active blog, you have a good database backup.

    I’m confused on this point:

    my bbpress tables are inside of wordpress (obviously)

    That’s not obvious to me, at all. Do you mean the bbPress tables are inside the same database where your WordPress tables are? That’s OK. You can put as much stuff as you want into a database, so long as you use different table prefixes for the different applications. For example:

    WordPress: wp_
    bbPress: bb_
    Joomla!: jos_
    etc

    You can call your database whatever you want, then just keep loading tables into it for different application, like WordPress and bbPress.

    If you integrated WordPress and bbPress, then your bbPress installation used two existing WordPress tables: wp_users and wp_usermeta. That’s to allow integrated logins.

    Regarding where you put bbPress files, you said you put them into the phpbb directory. Does it look like this?

    /var/www/htdocs/website/phpbb3/

    /var/www/htdocs/website/phpbb3/bbpress/

    If so, someone else recently found that bbPress finds an existing config.php (the one for phpbb3) and won’t go any further. In that case, just rename the phpbb3 config.php to something else for just a minute, so installation can continue.

    There is some confusion about database names, table names and folders, for me anyway. Any information you can post to help clarify will help. Thanks.

    #71004
    ganzua
    Member

    Ok, I copy instructions Ipstenu kindly provided for 1.05a ;)

    1. 1.06a is here, download link at the bottom https://trac.bbpress.org/browser/tags/1.0-alpha-6/

    2. no backpress in trunk however, download this: http://backpress.automattic.com/changeset/190/trunk?old_path=%2F&format=zip – This is for the backpress folder

    3.Create a folder /bb-includes/backpress and unzip backpress there.

    that is it

    #71078
    ganzua
    Member

    How about http://bbpulp.org/

    Yes :) It would be very nice. I wonder why Matt didn’t send some resources to bbpress. Wp + bbpress + the buddypress thing… it would be the most powerful cms so far.

    Instead, the core of wp is being loaded all the time with stuff that you need to block installing new plugins :s

    #71002
    uv777bk
    Member

    It still says 1.0-alpha-5 in the file I downloaded :(

    #71076

    Perhaps the problem is the lack of a codex where you can find out how to add things-> do you want email notification? add this plugin.

    You know, that would be nice. If we could all (or maybe some more of us testers) could have codex access. The WP codex actually is editable by anyone. If BB’s was as well, we could all start helping improve documentation.

    #69697

    I am looking at mySQL and my bbpress tables are inside of wordpress (obviously) but with the bb_ prefix, so what would I be changing it to? There are no bb_ tables inside of phpbb3, which is what that error code indicates, or am I thinking of this wrong?

    #71001

    FYI – Only three files changed in Trunk

    • bb-includesfunctions.bb-users.php
    • bb-includesfunctions.bb-meta.php
    • bb-adminoptions-wordpress.php

    I uploaded those and my version says alpha-6

    Check your functions.bb-meta.php file for this:

    case 'version' :
    return '1.0-alpha-6'; // Don't filter
    break;

    #71075
    ganzua
    Member

    Sometime ago I used to think the same, bbpress is too light but when it comes to integrate with wordpress and after having tried another option like simple-forum, I prefer a light core.

    Perhaps the problem is the lack of a codex where you can find out how to add things-> do you want email notification? add this plugin.

    This should be my only concern so far along with some parts of the core that should be in the template folder. There is stuff in functions.bb-template.php and I recently found more in functions.bb-core.php .

    #70269
    ganzua
    Member

    Hi nightgunner!

    Thanks for the code :) It works great.

    #69695

    Everything went fine until I went to truncate and then got this message:

    Table ‘robpr3_phpBB3.bb_forums’ doesn’t exist [1146]

    I had all ready installed and integrated bbpress with WP. Does this mean I have to start from scratch? :-(

    Thanks.

    #71073

    Hahah… Well, the idea behind bbPress is not to install things like this within the core. This way forum administrators aren’t bogged down with the extra weight of a series of functions that they never intend to use; a less is more approach.

    There is also a plug-in that provides this exact functionality in the extend area. ;)

    #65890
    Frank
    Member

    _ck_ said:

    Showing a gravatar for any email address is as simple as:

    <img src=”<?php echo “http://www.gravatar.com/avatar.php?gravatar_id=&#8221;.md5($user->user_email); ?>” >

    The mysql code for the email of the last poster is going to need a left join of the users table against the post table and more than I am willing to do right now. I suppose I could be lazy and use get_latest_posts(1, 1) to fetch the entire info the last post and grab the email address from there.

    does anyone knows?, please.

    #4601
    Famous
    Member

    Why doesn’t bbPress incorporate email notifications? Isn’t that a no brainer, how else is a person notified of changes to their topic? RSS VS eMail, outcome, eMail wins–right? Not everyone is a techie type of person. They post their questions and if email is not setup they won’t ever know what the answer was?

    vbulletin will always be tops if these issues are not dealt with, right?

    I am an outsider please put down the stones :) I am just curious…

    #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.

    #70997

    In reply to: Add Register link

    chrishajer
    Participant

    Looks like the text is actually provided by bb-includes/functions.bb-template.php, and the text depends on if you’re logged in or not.

    Not logged in shows this:

    ('You must <a href="%s">log in</a> to post.')

    I’m not sure how you would modify that to display what you want, without modifying this core file. Modifying core files makes it troublesome to upgrade to new bbPress versions.

    What version bbPress are you using?

    #70990
    calman
    Member

    Okay, now that I have my appetite back, can I manipulate the “allow-images.php” to restrict images to a certain width/scaling?

    I know I could simply post with “width=250” on the image tag, but in order to make it easy for members, I’d like to do all the hard work for them.

    Cheers!

    Cal :)

    #70989

    Sometimes the simple things elude us :)

    #70985
    calman
    Member

    I have it exactly as you have above, a typical HTML Image Tag! … I even tried bbCode in desperation, but no joy either way.

    I uploaded the “allow-images.pgp” to the plugin directory on my FTP, so I wonder if I am missing some other procedure out, that I’ve overlooked?

    Thanks,

    Cal :)

    #70984
    chrishajer
    Participant

    What is the actual code you are using to get an image into your post? Post it here in backticks (upper left of most keyboards, beneath the ESC key.) Does it look like this?

    <img src="http://www.cssnz.org/flower.jpg" />

    Or, how about a link to your forum so someone can try it out.

Viewing 25 results - 25,976 through 26,000 (of 32,481 total)
Skip to toolbar