Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,701 through 28,725 (of 32,460 total)
  • Author
    Search Results
  • #57094

    In reply to: Code backtick bug

    Arlo
    Member

    I still have this problem. Anyone?

    #2618
    dss
    Member

    I’ve got Windows XP users saying they can’t post in my install of bbPress

    they get this error:

    Error 403
    We're sorry, but we could not fulfill your request for /esprit/topic/102?replies=6#post-356 on this server.

    You do not have permission to access this server.

    Your technical support key is: 5246-fa61-dfd9-b1ad

    You can use this key to fix this problem yourself.

    The only way they are able to successfully post is to hit the ‘back button’ after the error and find they have indeed successfully posted.

    I searched and didn’t find this error.

    What could it be?

    #61542

    In reply to: How Do I Do This?

    chgogrrl99
    Member

    Yes! That’s it. Thanks for the code.

    Chris…thanks as always and Fel…thanks for the encouragement…I’m figuring this stuff out…with a lot of help of course.

    Thanks again all.

    #2616
    Doobus
    Member

    I’ve tried installing it on xampp and wamp and I get the same warnings. When I go ahead and install with the warnings I can’t log in. I don’t get why it is reading ODBC@localhost instead of the DB name I provided which is bbp1. I’m 99.9% sure I set up config correctly, but just in case I didn’t here it is:

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘bbp1’); // The name of the database

    define(‘BBDB_USER’, ‘root’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ”); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri = ‘http://localhost/bbpress’;

    // What are you going to call me?

    $bb->name = ‘bbpress’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘blah@blah.com;


    The Warnings


    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user ‘ODBC’@’localhost’ (using password: NO) in C:wampwwwbbpressbb-includesdb-mysqli.php on line 80

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in C:wampwwwbbpressbb-includesdb-mysqli.php on line 80

    Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-admininstall.php on line 10

    Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-includesfunctions.php on line 1898

    #61612
    Trent Adams
    Member

    About time I chime in here. There is a plugin by Louisdale called Avatar Upload that allows users to upload their own avatar and save it on the server. I have been meaning to pick that plugin apart as to use the “uploading” code in another plugin.

    I am sure that if you understand a bit of code you can pick out that portion of the plugin and use it with the current “allow images” plugin. I might have time later to look at it, but if someone wants a place to start, that might be it!

    Trent

    #54858

    In reply to: file attachments….

    tbronson
    Member

    You Guys can have such a limited sense of humor… :)

    Sorry, I started a new topic for this, which I should’ve done from the beginning…

    (fel64: I simply want to allow forum users to have the option of uploading images and then displaying those images in a post.)

    #2614
    tbronson
    Member

    Seeking a simple solution that allows logged in users to upload and include images in their posts.

    All I’ve come up with is the Allow Images plugin, which adds a button to the editing form that helps paste an IMG tag so you can link to an external image.

    I was told in another thread that it’s far from trivial to create a file attachments plugin for bbPress: “A major problem right now is lack of per-post metadata. Even if that were present, this would not be a trivial task.” I’m not sure of the terminology here, but if “attachment” means embedding an image in a post, that’s what I want to do.

    ImageShack was suggested, a web service that lets people upload images which they serve for free. You can embed their upload form in your site, upload, then grab the preformatted image URL and paste it into your bbPress post. This kinda works, but it’s distracting because you get an ImageShack mini-ad, and have to go to their site to copy the link (cool service, though)…

    I thought of trying a simple uploader script that would upload files completely outside of bbPress and present the URL for cutting and pasting into the post. Kinda like the ImageShack procedure minus…ImageShack. Dunno, this is probably beyond me, though I may try with a canned script…

    I’m using 2.3.1 integrated with 0.8.3 via bbSync and WordPress integration. It works great!

    Any ideas?

    (I noticed that Allow Images is the #1 most downloaded plugin, 7x more popular than #2, WordPress Integration, so I imagine the MASSES are craving simple image upload… :)

    Thanks!

    #61541

    In reply to: How Do I Do This?

    livibetter
    Member

    Is this? screenshot1

    The structure of forums: screenshot2

    Modification for Kakumei theme:

    Find <?php if ( bb_forums() ) : ?> to <?php endif; // bb_forums() ?> (Total: 19 lines) in front-page.php.

    Replace them with:

    <?php
    if ( bb_forums() ) :
    global $bb_forums_loop;
    $_loop =& $bb_forums_loop;
    bb_forum();
    while ($_loop) :
    if ($_loop->walker->depth == 1) {
    ?>
    <h2<?php bb_forum_class?>><?php forum_name(); ?></h2>
    <table id="forumlist">
    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php
    }
    else {
    ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php
    }
    bb_forum();
    if ($_loop === null || $_loop->walker->depth == 1)
    echo '</table>';
    endwhile; ?>
    <?php endif; // bb_forums() ?>

    #61540

    In reply to: How Do I Do This?

    fel64
    Member

    It may not be obvious to you, but your so-called categories are identical to parent forums with some different display code. Just make your forums, add your child forums, and then modify the template so that it’s no longer a link and has column headings instead of data of its own. It’s functionally identical.

    > You should know, I’m new to this. I’m learning, but re-writing too much code and messing too much with the database probably isn’t a good idea just yet.

    Yeah, okay. Don’t worry about it. You’ll learn.

    #54857

    In reply to: file attachments….

    fel64
    Member

    Hehe, yeah Chris, couldn’t agree more with you there. I was thinking much the same thing. ^_^

    So, tbronson, I don’t understand. Did you want *attachments*? Or just for people to be able to upload images somewhere? And what script did you end up using? I think now that you can even integrate imageshack into your site, but using their servers to host the images; their api looks made just for that.

    #54856

    In reply to: file attachments….

    tbronson
    Member

    Thanks for ImageShack, that looks quick. I don’t need the whole file attachment bit (I realize I’m a little off-topic for this thread, but it’s kinda close).

    The red flags make sense if you’re developing software… :)

    I also found this “Asynchronous image file upload without AJAX” PHP script that looks like it might work for, um, what I want right away. I’ll give it a try and see what happens…

    Thanks again!

    #61538

    In reply to: How Do I Do This?

    chgogrrl99
    Member

    Yes…The link above is very much like what I’m trying to do.

    I’m sorry if I’m confusing the names of the different segments, I’ll figure them out, but yes, I want each city to have their own categories to post in.

    So, if anyone has any advice on how to do that so that it doesn’t look like hell, I’d love to hear it.

    My other idea was to do a separate install for each city so in my directory it would be ChicagoForum, NYForum ect. But, I don’t know if that’s even possible and if it is, how would users be able to post in other forums without having to re-register everytime.

    You should know, I’m new to this. I’m learning, but re-writing too much code and messing too much with the database probably isn’t a good idea just yet.

    Thanks for your help

    #2612
    chgogrrl99
    Member

    Hi,

    I want to make a forum or forums like this:

    Chicago Forum

      General Discussion

      Jobs

      For Sale

      Housing

      Another Topic

      Another Topic

      Another Topic

      Another Topic

    New York Forum

      General Discussion

      Jobs

      For Sale

      Housing

      Another Topic

      Another Topic

      Another Topic

      Another Topic

    And do this for five or six cities.

    How would I do this? I fear the thing will be too big and complicated.

    If the answer has to do with multiple forum installations, what’s involved with that? And, I would like users to be able to post in any city without having to log in again and again.

    Oh, I should mention that I’m just now learning code ect. I’m at the point where I can tinker with a file if I’m told exactly how to do it.

    Any suggestions?

    #55015
    citizenkeith
    Participant

    I just had a series of bogus users register to my small, friends-only forum. I would LOVE to see a plugin that allows me to approve users. :)

    #61522
    fel64
    Member

    Check your database content via phpmyadmin for a capabilities entry in wp_usermeta and, if it exists, delete it. Try the admin panel again.

    No input file specified is a standard PHP error. Nothing to do with bb. From a quick google (I have no actual knowledge of this):

    The basic issue was that PHP-as-CGI REALLY REALLY wants SCRIPT_FILENAME.

    It ignores the command line. It ignores SCRIPT_NAME. It wants SCRIPT_FILENAME.

    This very informative error message from PHP means that your web server, WHATEVER it is, is not setting SCRIPT_FILENAME.

    #61510
    fel64
    Member

    What it does is resize it so that the larger dimension becomes 100px, and the smaller dimension becomes less than 100px proportionally.

    hostpanic, yes, it is. But it’s not a feature of the plugin right now. However the image editing code is fairly straightforward so you may want to have a look at messing around with that yourself.

    #61511
    chrishajer
    Participant

    It’s not located at http://bluejavamug.com/bbpress/bb-admin/ ?

    Are you sure all the folders and files made it up there on upload?

    Do you have an .htaccess file that might be rewriting it in a bad way?

    If you login as the keymaster, is there a link that says (Admin | Log out) after your name where Admin is a link to the admin panel?

    Maybe you’re not logged in as the keymaster?

    #61509
    chrishajer
    Participant

    I thought it already did that?

    https://bbpress.org/plugins/topic/46

    Admins can configure maximum allowed file size
    (bytes) and dimensions (pixels) of images from
    within the admin page (credit: Sam Bauers).

    Images that exceed maximum dimensions are
    automatically resized (and sharpened if truecolor
    images).

    Or are you asking for it to do something different than that?

    #61478
    chrishajer
    Participant

    Are you using mod_rewrite with slugs or pretty permalinks? What does this line in you config.php look like?

    $bb->mod_rewrite = false; (could be true or slugs also)

    Maybe mod_rewrite is not supported or your .htaccess is preventing rewriting somehow and that results in the 404 Not Found error?

    What do the URLs look like that are resulting in this error?

    #61498
    fel64
    Member

    You’ve got problems with your rewrite rules; wp assumes that it’s meant to be a wordpress page, can’t find it and therefore goes wrong. Not sure how to fix it, but I’m sure someone is.

    No folders are actually created in making new forums, by the way. :) Your forums are being created, you just can’t access them right now.

    #61423
    fel64
    Member

    BG: bbsync, avatar upload and some custom code. If you want some help doing it, just start a new topic.

    #61492
    fel64
    Member

    There’s a bizarre flash for me while loading where the footer moves from next to the sidebar to underneath it all. Is that related?

    The footer seems fine normally though, and has the clear: both; rule attached so I don’t see why it would be a problem?

    #61483
    betwixt
    Member

    hmmm thanks for the tip. I’m not going to redesign it all myself. I just don’t have the time to get down and dirty with this code/stylesheets.

    I currently use different K2 themes… Actually I don’t mind the forum having another theme… What I do want, is a button in the header of my wordpress site pointing to the forum…. Any idea?

    Regards,

    Dennis

    #2598

    Topic: Adding a template file

    in forum Themes
    refueled
    Member

    I am creating a few new bbPress themes and would like to add a couple sidebars to them. Is the PHP include function the best way to do this?

    (example: <?php include 'sidebar.php'; ?>)

    It’s what I have been using and it works. But I would like to know if there is a bbPress tag out there that does the same thing.

    Thanks in advance.

    #61480
    chrishajer
    Participant

    I didn’t think you could put bbPress and WordPress in the same folder.

    $bb->uri = ‘http://www.areamom.com/test&#8217;;

    $bb->wp_home = ‘http://www.areamom.com/test&#8217;;

    $bb->wp_siteurl = ‘http://www.areamom.com/test&#8217;;

    And http://areamom.com/test/ points to a WordPress installation. So, where’s the bbPress? I did find this:

    http://areamom.com/test/bbpress/ which results in this error:

    Parse error: syntax error, unexpected T_VARIABLE in /home/areamomc/public_html/test/bbpress/config.php on line 29

    That’s right after the mod_rewrite line in the config. Maybe you have an extra single quote there or you forgot the semi-colon in your config? Oh yeah, check this:

    $bb->mod_rewrite = false <– no semi-colon.

    That means this you should add the semicolon to the mod_rewrite line line and then this line should be changed:

    `$bb->uri = ‘http://www.areamom.com/test/bbpress&#8217;;

Viewing 25 results - 28,701 through 28,725 (of 32,460 total)
Skip to toolbar