Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,601 through 27,625 (of 32,516 total)
  • Author
    Search Results
  • #64673
    manomalt
    Member

    OK, I have the bbpress login and the wp login using the same user database under wp. The only issue that I have left is my loss of keymaster under the bbpress install. My problem with this is that I did auto-installs of both programs…so I didn’t get any options to set the keymaster/admin settings. I have read this post: wpbb-integration-admin-problem#post-2539 and I think that that it’s what I need to do. Problem is…I don’t know how to change this. I don’t see any code that looks like that which is being referred to. Anyone have a more detailed description of what I’m trying to do? Thanks.

    #65174
    citizenkeith
    Participant

    Are you planning on writing instructions and adding it to the plugin directory? I’m sure many would appreciate official releases of both this one and PM Extended. :-)

    #64672
    manomalt
    Member

    Man…i’ve been trying to get bbpress in integrate (sso) for about 4 days now. I’ve tried just about everything these forums have recommended. I first installed WordPress (upgraded to 2.5.1), and then installed the newest version of bbpress in a subdirectory, like http://www.mysite.com/forum. I then went to my “wordpress integration” section of my bbpress installation, set it up as directed…and now I can’t login to the admin section of my bbpress site. I looked into seryi’s suggested changed above, but my code seems to be correct in my pluggable.php file. I tried the “fix admin” plugin from here: https://bbpress.org/plugins/topic/fix-admin-access/. I also tried this process (https://bbpress.org/forums/topic/wpbb-integration-admin-problem#post-2539) of changed the phpmyadmin, but I’m confused on what to add where. Is there anything else I can try in order to get this integration working?

    #3433
    huckmag
    Member

    Hi,

    Hello all,

    I’m currently working on an install of bbPress on a website that uses the Equal Height Column CSS technique.

    There is a known issue with this and anchor tags as explained at length here:

    http://www.positioniseverything.net/articles/onetruelayout/appendix/equalheightproblems

    Unfortuantely it doesn’t seem like there’s an easy work around.

    So my question is…

    How easy would it be to remove the anchor jumps from the ‘post’ topic/ ‘edit’ topic etc?

    So for example when you post a reply it doesn’t go to

    topic.php?id=5&replies=2#post-8

    but

    topic.php?id=5&replies=2

    instead?

    Any help with this would be massively appreciated. It’s one of those horrible design headaches.

    – Alex

    #65221

    In reply to: Hot Tags

    malfhok
    Member

    Find this function in the front-page.php file of your theme: <?php bb_tag_heat_map(); ?>

    And replace it with this function: <?php bb_tag_heat_map(9, 9, 'pt', 80); ?>

    Here’s what those numbers mean. The first number is the minimum font size, the second is the maximum font size, the third is how to measure the font (pt, px, etc.), and the fourth is how many tags to display.

    #65199
    Detective
    Member

    Now the forums have some activity, as we closed our old Vanilla forums :)

    #65173
    Detective
    Member

    Well, i didn’t write install instructions, so it’s my fault :)

    #65125
    Detective
    Member

    Please add these two fields to your table bb_privatemessages:

    'del_receiver' tinyint(4) NOT NULL default '0'
    'del_sender' tinyint(4) NOT NULL default '0'

    I forgot to put those two on the install function. Now it should work :)

    #65063
    Mufasa
    Member

    We’re going to look at it again later this week. We’re busy building a debain box for a new WordPress MU site that we are about to launch.

    I’m telling you though – if somebody made a [shortcode] and some WP widgets this would be so freaking awesome…. I think my head would just explode :D

    #65124
    citizenkeith
    Participant

    Thanks Detective. Obviously I’m not skilled in PHP.

    The original PM plugin is in desperate need of an update, IMHO, and I was hoping this would be it. However, I didn’t consider that it would even change the database. I guess I’ll stick with the old version for now, but would love for somebody (since I am not a programmer) to come up with some sort of PM import. :-)

    Also, I was using the latest version of Joshua’s PM plugin (v0.80)

    #65122
    citizenkeith
    Participant

    I get this error at the top of the pm.php page:

    bbPress database error: [Unknown column 'del_receiver' in 'where clause']
    SELECT * FROM bb_privatemessages WHERE id_receiver = '1' AND del_receiver= '0' ORDER BY created_on DESC

    bbPress database error: [Unknown column 'del_sender' in 'where clause']
    SELECT * FROM bb_privatemessages WHERE id_sender = '1' AND del_sender = '0' ORDER BY created_on DESC

    Also, all previous Private Messages are missing.

    #65170
    citizenkeith
    Participant

    This appears in the quote box when I load a page:

    <br />
    <b>Fatal error</b>: Call to undefined function bb_quote_message() in <b>/home/zzz/zzz.com/forums/bb-templates/kakumei/post-form.php</b> on line <b>10</b><br />

    #65169
    Detective
    Member

    Small fix:

    $text =  preg_replace('/<blockquote>((.|[nr])*?)</blockquote>/', '',$post->post_text);
    $text = bb_code_trick_reverse($text);

    :)

    #65197

    In reply to: Reading Forum for Kids

    Detective
    Member

    Great site! I try to do something similar in http://www.ficciones.cl :)

    Have any of your members read a book by Roberto Bolaño or Jorge Luis Borges? Those are my favorite authors. I also like Ray Bradbury, Lewis Carroll, Hugo Pratt and Yukio Mishima.

    #3419
    parthatel
    Member

    How can I create a navigation bar in bbPress so that when I update it in WordPress, it automatically gets updated in bbPress? I don’t want to call the full wp header as the bbPress header, but would I be able to use

    <?php wp_list_pages('sort_column=menu_order&title_li='); ?>

    in bbPress to call the pages in the navigation bar? Both my WordPress and bbPress are integrated in the same databases. If not, how can I do it?

    #3418
    Detective
    Member

    Foros Ryuuko

    I use a custom theme (heavily a modified Kakumei) and some custom plugins. The forum is new, so it doesn’t have activity, all our users are still using the Vanilla forum we had.

    I didn’t hack any core files, all “non standard things” are donde via custom plugins.

    Plugins i use:

    – My own “Ajustes” (for sidebar, footer and navigation menu content, profile content, and some html tags).

    – MD5 Insecurity (will be deactivated soon).

    – Private Messaging Extended

    – A custom Quicktags (ported from Vanilla)

    – Ajaxed Quote

    – Simple Online List (i also modified a lot this plugin, because it never worked for me ….).

    – Unread Topics. I also modified this one, it was doing too many queries. I added some indices and reduced the overhead.

    – User Photo. I ported the User Photo WP plugin.

    – Human Test.

    Also i indirectly use:

    – Gaming Codes: each user can enter his gaming codes. They’re displayed on the user profile.

    Aleph: this plugin creates user lists (among other things). So i use it inside WP like a “member list”. The beauty is that i can easily create different user lists, so i created a list for each gaming code (in other words, users can see which users have a certain gamer code).

    As i said, the theme is a heavily modified Kakumei. I replaced all topics/forum loops with my own, trying to mimick the Vanilla look. Also the css is based on the Tarski theme for WordPress. In fact, i import it directly from the WP installation.

    For the forum/topic icons, i created a custom plugin which printed the css based on the slug of each forum, and then i added the resulting code to the style.css. I still have to create a lot of icons, those are temporary.

    I hope you like my forums and if you have any questions or would like a plugin/theme release, just ask :p

    #65121
    malfhok
    Member

    Great! It works properly now. Thanks for upgrading a very useful plugin. :-)

    #65165

    In reply to: Several domains

    mikelothar
    Member

    Exactly. :)

    #65168
    chrishajer
    Participant

    If you just want the year with php, you don’t need bbPress functions at all, just php:

    <?php echo date('Y'); ?>

    That will echo the current year.

    #3413
    parthatel
    Member

    Just like how WordPress calls time in the footer by <?php the_time(‘Y’); ?> and the name by <?php bloginfo(); ?>. What is the code I need to use for bbPress since <?php the_time(‘Y’); ?> doesn’t work to get the year? I also need to know how to get the bbPress title.

    #65162

    In reply to: Several domains

    chrishajer
    Participant

    Why not redirect them with a permanent 301 redirect? If your host does not offer this, why not create a directory for each domain, like this:

    /var/www/vhosts/domaina.com/

    /var/www/vhosts/domainb.com/

    You install bbPress in the domaina.com/ directory. In the domainb.com/ directory, you put an index.php file in there like this:

    <?php
    header("Status: 301 Moved Permanently", false, 301);
    header("Location: http://www.domainA.com/");
    exit();
    ?>

     

    Then, when anyone accesses http://www.domainB.com/ they are seamlessly directed to http://www.domainA.com/. Would that accomplish what you need?

    You can also use .htaccess for 301 redirects if there is more than one page, like there are search engine results with pages from domainB.com already out there, and you want to redirect them all to domainA.com.

    #64979
    olgaberrios
    Member

    Tengo el encoding del navegador en iso-8859-1 y sigo viendo los símbolos raros. Tampoco entiendo mucho sobre esto…

    PD.: Probablemente todo el mundo habla castellano aquí y no se atreve a decirlo. XD

    #65161

    In reply to: Several domains

    mikelothar
    Member

    I’m assuming i have to change something here:

    // Set the URI and derivitaves
    if ( $bb->uri = bb_get_option('uri') ) {
    $bb->uri = rtrim($bb->uri, '/') . '/';

    // Not used in core anymore, only set here for plugin compatibility
    if ( preg_match( '@^(https?://[^/]+)((?:/.*)*/{1,1})$@i', $bb->uri, $matches ) ) {
    $bb->domain = $matches[1];
    $bb->path = $matches[2];
    }
    unset($matches);
    } else {
    // Backwards compatibility
    // These were never set in the database
    if ( isset($bb->domain) ) {
    $bb->domain = rtrim( trim( $bb->domain ), '/' );
    }
    if ( isset($bb->path) ) {
    $bb->path = trim($bb->path);
    if ( $bb->path != '/' ) $bb->path = '/' . trim($bb->path, '/') . '/';
    }
    // We need both to build a uri
    if ( $bb->domain && $bb->path ) {
    $bb->uri = $bb->domain . $bb->path;
    }
    }

    If someone knows what exactly i need to change, please reply :)

    #3410
    mikelothar
    Member

    Hi, i hope someone can help me with this.

    I have several domains pointing to the same bbpress forum. For example, during the installation, i installed bbpress with the domain name setting of “domainA.com”. Now, when i get a visitor from “domainB.com”, he will be redirected to “domainA.com” pretty fast, like when he’s clicking the “Home” link on the forum.

    I have managed to change this, by replacing, in the header file of the template, the:

    <?php bb_option('uri'); ?>

    .. to:

    http://<?php _e($_SERVER['HTTP_HOST']) ?>

    And it works. However, bbpress use the ‘uri’ alot, and for example, if the user is not logged in, and is trying to post, he will be redirected to domainA.

    What i’m asking for, i guess, is if it’s possible, in the php files somewhere, to specifically define the uri to be the server’http_host’ instead of the domainA? Where can i find and change this, and how?

    Thank you very much.

    Mike

    #60550
    chrishajer
    Participant

    Is this still related to the Simple Onlinelist plugin? If so, please post the actual error message you’re getting.

    The original error message says the table is not there, so, can you check the database with a tool like phpMyAdmin and see if the table was actually created?

    Is it possible the plugin hard codes the bb_ table prefix, but you’re using something different for your installation?

Viewing 25 results - 27,601 through 27,625 (of 32,516 total)
Skip to toolbar