Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,226 through 28,250 (of 32,500 total)
  • Author
    Search Results
  • #62788
    kernow
    Member

    If you make it too easy then everyone will have one, and what will happen then? :)

    Before long it will be possible to talk to bbpress instead of type….

    #2870
    _ck_
    Participant

    I am beginning to test some code I have written to pre-configure a CPANEL based website to auto-install bbPress. Barring any extreme problems (or unforseen events in my life) I should have an early beta to test by the weekend.

    It will only require a few simple inputs such as your username and password (same as you’d use on FTP or cpanel access) and from there it will do everything – create the database and tables, download bbPress, install it and take you to it’s configuration options.

    It may be possible to eventually get it working with other types of hosts. I plan to investigate doing it on dreamhost and perhaps a couple of the other most popular hosts.

    #62608

    In reply to: TalkPress

    lenen
    Member

    Looks like a lot of trouble to fix in the future. I never had any problems with bbPress, but that’s probably because there aren’t a lot of users active :)

    #63024
    chrishajer
    Participant

    I guess you’re working on it now because there are syntax errors and no site visible.

    Hopefully you’re working with your own template, not the default one. If that’s the case, just use the default template until you figure out what change caused the problem.

    If you are working on the default template, then I would just install a new copy of it and start over with your modifications, this time in a template of your own name.

    The create your own template, create a my-templates folder at the same level as bb-templates, then in there create a folder that will be for your template (call it dogs or something.) Then copy over all the files from the kakumei template into this new dog folder, and then open the style.css file in this folder and make the appropriate changes there to give this theme a new name. Then, select it in your admin panel. Right now, it will look just like the stock theme, but you can make changes here instead of in the stock theme, and if something goes wrong, you can just select the stock theme and fix the problems in the new theme.

    #2915
    #63012
    deesdogcare
    Member

    I’m not surprised . . . I know so little about php that trying to use code snippets and paste them into my pages, the deleting them if it didn’t work is creating havoc for me. The code you left in the paste bin fixed my problem! =)

    This is whyI made the offer I did last night ~~~ I feel bad always having to have you do more than you would have to for someone who is well-versed in the language and design of the forums ~~~ and there are a lot of issues that I don’t know how to resolve. If I post them all, I’m going to bust the boards! LOL

    Thanks for the code, _ck_!!!! Now my subforums are showing when I click the main forum from my front page =)

    D

    #63011
    _ck_
    Participant

    Somehow you removed the sub-forum code from your theme.

    Here’s a guess at the correctly inserted code:

    http://pastebin.com/m33722e18

    #63010
    deesdogcare
    Member

    I don’t know whether I did it or if it was in the template I modified, but posting a topic in the main Dog Breed Forum didn’t correct the issue. I posted my forum.php code in the pastebin:

    http://pastebin.com/m61cf1802

    Thanks,_ck_ ~ I only hope that I understand php and bbpress forums as well as you do one day!

    D

    #54862
    helpy
    Participant

    Quoto from simpler integration with wordpress:

    Do so by defining WP_BB as true in either config.php or wp-config.php. Also, WordPress will have to be loaded first.

    I use WP and BB with german language! If I include wp-blog-header.php in the configuration file (config.php) of bbpress, the following error occurs:

    Fatal error: Cannot redeclare class streamreader in /homepages/.../www/forum/bb-includes/streams.php on line 26

    If I uncomment the lines 122 + 123 in bb-settings.php:

    // include_once(BBPATH . BBINC . ‘streams.php’);

    // include_once(BBPATH . BBINC . ‘gettext.php’);

    No error occurs … but the forum is in english!

    I use WP 2.3.3 and bbpress 0.8.3.1 … WP is installed in web root and bbpress in the subfolder “forum”.

    Is there a documented way to fix this … or a workaround?

    cu, helpy

    #63008
    deesdogcare
    Member

    OH ~ and I had actually tried a copy & paste of the code that you changed through finding it in another thread, but there was some kind of error in his syntax, cause it just gave me error messages.

    #63007
    deesdogcare
    Member

    That did exactly what I was wanting on the front page, but now you can’t find the subforums at all. I had thought that when I clicked the parent forum it would automatically show the subforums ~ either on the front page or on a new page. Instead, it just goes to an “Add a topic” page. Any ideas?

    Please forgive my bad spacing at times. When I’m in firefox, this doesn’t happen because of auto-spellcheck, but in IE, I miss fixing some of it. I messed up the spacebar on this keyboard and it doesn’t alway space like it should =(

    Thanks _ck_!

    D

    #63006
    _ck_
    Participant

    If you are asking what I think you are asking, I think I have made the subtle change you need. The sub-forums will no longer be shown on the front-page.

    http://pastebin.com/m5ce19f4b

    Line 53 is really all that’s needed.

    if (!$forum->forum_parent) {

    This is untested however.

    Topics from within the sub-forums will still showup in the latest discussions however.

    #2912
    deesdogcare
    Member

    I have tried a variety of codes that have been offered up in these forums in an attempt to hide subforums on my main page because one of my parent forums is dog breeds~~~ can you imagine how HUGE my front page will beonce I add in all of my subforums?

    All of my attempts to utilize code offered in the forums has failed. One piece looked likeit MIGHT do what I wanted, but I could never figure out where to paste it!

    Please forgive me for my lack of knowledge ~~~ I am learning as I go.

    I have pasted my code for my front-page.php into the paste bin. If you could look at it and give me a clue, I’d appreciate it!!!

    http://pastebin.com/m4e612460

    Thanks!

    D

    #63004
    _ck_
    Participant

    Added to the theme switcher here:

    http://bbshowcase.org/forums/?bbtheme=blackletterhead

    Looks suitable for Halloween :-)

    #60242
    thierryyyyyyy
    Participant

    Can we have this page without installing the “big plugin” My_views ?

    Perhaps I can download this “module” and look at the code, and make a small plugin. Or just make a link that shows this page.

    I forgot to say : wow ! nice plugin :)

    exactly what I want to see.

    _ck_
    Participant

    http://pravin.insanitybegins.com/articles/running-bbpress-on-sourceforge

    I also believe there is code on the WordPress side that uses 3rd party mailers like gmail or yahoo to send passwords. This could be easily adapted to bbPress as a plugin.

    #62974
    t3ch33
    Member

    nm. i just reinstalled it.

    #62973
    t3ch33
    Member

    anyone? please?

    #62930
    deesdogcare
    Member

    OK ~ mark it as resolved ~~~ I’m just an idiot. I didn’t notice (even as many times as I’ve seen copies of the mod line) that there were NO QUOTES when you mark it FALSE. Saw that tip in another thread just a few minutes ago and tried it . … .

    I don’t get 404 error pages anymore!

    I can edit my users, read threads, EVERYTHING! =)

    Sorry I am so slow at this!

    Thanks for the help!

    D

    #57816
    _ck_
    Participant

    Omegacool has a wp.com site too, there are download links there as well:

    http://mundoarroba.wordpress.com/2007/05/24/theme-misty-para-bbpress/

    (ps. it’s bbShowcase.org I decided bbpressshowcase was just too long and too many sss’s ;-)

    #62926
    _ck_
    Participant

    If you cannot get into admin panel it’s one of two reasons:

    1. cookie hashes & paths don’t match

    2. you do not have the proper role set under bbpress as administrator

    The 404’s may be caused by turning on slugs without multiviews or proper mod_rewrite rules. If you have slugs turned on, turn them off temporarily (in your config.php) until you solve the other problem. ie.

    $bb->mod_rewrite = false;

    I am betting on the role not being set in bbPress that’s preventing you from getting to the admin panel. This can be inspected/fixed via phpmyadmin. I’ve been meaning to write an auto-load plugin to fix this issue automagically.

    UPDATE:

    I’ve whipped up a little plugin to restore proper admin access roles for both bbPress and WordPress without having to tinker in phpmyadmin:

    http://bbshowcase.org/plugins/fix_admin_access.zip

    Copy this to your plugins directory in bbPress OR WordPress (not both). Then access bbPress or WordPress (whichever you used). Then test you can access admin panel. Then DELETE the plugin off your server. There is no reason to leave it there.

    (you MUST leave the leading underscore “_” on the plugin name which makes it auto-load without having to activate it first. I have not tested it from the WP side but in theory should be fine.)

    #2900
    t3ch33
    Member

    This code is supposed to go in bb-admin/install.php for the plugin that allows users to post anonymously. My bbpress was already active when I discovered the plugin, so, of course, i didn’t want to run the install file again. So, can you translate this for me so that I can possibly make the changes manually? Thanks. The code is as follows:

    bb_update_usermeta( '0', $bb_table_prefix . 'capabilities', array('anonymous' => true) );

    #62963
    t3ch33
    Member

    hans3, thank you. that worked. :)

    #55749

    In reply to: Anonymous posting

    t3ch33
    Member

    This is almost working for me. My bbpress was already active, so i didn’t want to run the modified install file. Here is the code that’s in the bb-admin/install.php file:

    // Anonymous User
    $now = bb_current_time('mysql');
    $bbdb->query("INSERT INTO $bbdb->users (user_login, user_registered)
    VALUES ('anonymous', '$now')");
    $bbdb->query("UPDATE $bbdb->users SET ID = '0' WHERE user_login = 'anonymous'");
    bb_update_usermeta( '0', $bb_table_prefix . 'capabilities', array('anonymous' => true) );

    Since my bbpress is already active, I have manually updated my users table by following the guideline in the above code. But, I have no idea what the last line of code means: bb_update_usermeta( '0', $bb_table_prefix . 'capabilities', array('anonymous' => true) );

    Can you modify it so that I can manually update the db or do whatever needs to be done to make it work? Thanks.

    #50219
    3ring
    Member

    Hey Mods;

    (Tried to install plugin, got fatal error, so tried code file edit…)

    I just want one post to have reverse order, so I tried:

    if ( !$bb_db_override ) :

    if ($topicid == '54') {

    $posts = get_thread( $topic_id, $page, true );

    } else {

    $posts = get_thread( $topic_id, $page );

    }

    $forum = get_forum ( $topic->forum_id );

    $tags = bb_get_topic_tags ( $topic_id );

    But it doesn’t seem to recognize the topic id – it displays all posts normally? Am I assuming wrongly that the topic_id is the number after “/topic/##” in the thread url?

    Can you see anything I’m doing wrong? How do I isolate a single post to be reverse order?

    Thanks!

Viewing 25 results - 28,226 through 28,250 (of 32,500 total)
Skip to toolbar