Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,651 through 24,675 (of 32,432 total)
  • Author
    Search Results
  • #60892
    Immelody
    Member

    bbPress Live works fine with 2.8 unless you’re doing deep integration. As for with deep integration, I’m not sure if the error is with my files or with the plugin itself. I have discussed it with Sam. But unless you’re doing deep integration, Live works with 2.8.

    I was using it until I decided to change the look of my website. When I went to PixoPoint’s Theme Generator, it called for having deep integration. And since I’m far too busy right now (I’m not a coder or anything like that for a living.. I’m a mother), I didn’t feel like doing all the work arounds to get the same functionality as I had previously. But if you have a bbPress that doesn’t need deep integration, I highly recommend bbPress Live.

    #73360

    In reply to: Menu Links

    mikemcd22
    Member

    @ Ipstenu

    Thanks. I want to be sure I understand (and I may not have been clear in my post)… I copied all folders and files in my bb-templates folder and moved them to a new folder called my-templates.

    Are you saying I should rename the folders when I move them to my-templates? (kakumei and kakumei-blue are the two folders I am moving).

    Thanks again for your help.

    #15092
    michael3185
    Member

    I was reading a thread yesterday about bbPress registration emails not reaching new members. I can’t find it now, but there were comments in the thread about ISPs having limits, and maybe even auto-banning you from shared server space as a spammer. In case it’s of use to anyone, I emailed my UK hoster, kNet Hosting, and got this reply today;


    Hi Michael,

    We have a sending limit of 1000 mails per hour for SMTP mail from your account.

    Sending mails from scripts e.g., a forum is not included in this so there are no limits. Obviously the higher rate that you send them could mean they are more likely to be flagged as spam by the major ISP’s.

    Let me know if I can assist with this further.

    Nick


    On Wed, Jun 24, 2009 at 10:02 AM, Michael wrote:

    Hi,

    I’ve been reading on a forum that sending emails to groups of people via your server space can trigger alerts, get you banned from major players like Google and others, and even banned from your hoster. I don’t have many forum members at present, but if I got say, a few hundred, and sent everyone an email would it cause problems?

    Essentially, I guess my question is what limits are there for this on shared hosting?

    Regards,

    Michael

    #75042
    johnhiler
    Member

    Sometimes, integrating bbPress into your WordPress can cause you to lose your admin access.

    This plugin can help restore your access. :-)

    https://bbpress.org/plugins/topic/fix-admin-access/

    #74945
    chrishajer
    Participant

    Parse error: syntax error, unexpected '}' in /web/bbpress/bb-includes/functions.bb-core.php on line 1734

    This is what I’m getting right now. Maybe you’re modifying something?

    #15090
    yeknomedoc
    Member

    Dear Developers, dear community

    currently I am trying to set up the following combination: WordPress MU (2.7.1), Buddypress (tried both, 1.0.1 and 1.0.2) as well as bbpress (1.0-rc-3). My problem is the following error that appears on the “Installation success”-page:

    Database error: [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 ') /* WP_Users::append_meta */' at line 1]
    SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN () /* WP_Users::append_meta */
    Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_get_user, WP_Users->get_user, WP_Users->append_meta

    Database error: [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 ') /* WP_Users::append_meta */' at line 1]
    SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN () /* WP_Users::append_meta */
    Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_new_user, bb_get_user_by_nicename, WP_Users->get_user, WP_Users->append_meta

    Warning: Cannot modify header information - headers already sent by (output started at [...] bbpressbb-includesbackpressclass.bpdb.php:569) in [...] bbpressbb-includesfunctions.bb-core.php on line 1095

    To track down the error I will try to explain my installation procedure – the starting point is a vanilla installation of WordPress MU 2.71 and Buddypress 1.0.2:

    1) Put bbpress into the same directory as wp-admin, wp-content and wp-includes – basically (“/”)

    2) Go to the installation routine on ./bbpress/bb-admin/install.php and start step 1

    3) Enter the same database name, user and password as for the WordPress MU installation

    4) “Show advanced settings” and set database character collation to “utf8_general_ci”

    5) Save and go to step two

    6) Add integration settings

    7) Add cookie integration

    8) Enter the URL of the page (Note: The description “This value should exactly match the WordPress address (URL) setting in your WordPress general settings.” is wrong, there is no such value under Admin Panel > Settings > General nor under Admin Panel > Buddypress > General settings

    9) Have already tried both: Setting the page URL again as well as setting URL + “/bbpress/” (Note: Again the description “This value should exactly match the Blog address (URL) setting in your WordPress general settings.” does no match since there is no such value in the Admin Panel in General Settings

    10) Copying all cookie keys from the wp-config.php

    11) Add user database integration settings

    12) Set MU primary blog id to: 1

    13) Save and go to step three

    14) Enter site name, enter side address as base URL + “/bbpress/”, enter keymaster and according email address as well as a title for the first board

    15) Save and install

    From here on I get the error message (white one white background), the installation routine shows a successful installation nonetheless. The protocol is:

    Referrer is OK, beginning installation…
    >>> Setting up custom user table constants

    Step 1 - Creating database tables
    >>> Modifying database: [...] (localhost)
    >>>>>> Table: bb_forums
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done
    >>>>>> Table: bb_meta
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done
    >>>>>> Table: bb_posts
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done
    >>>>>> Table: bb_terms
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done
    >>>>>> Table: bb_term_relationships
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done
    >>>>>> Table: bb_term_taxonomy
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done
    >>>>>> Table: bb_topics
    >>>>>>>>> Creating table
    >>>>>>>>>>>> Done

    Step 2 - WordPress integration (optional)
    >>> WordPress address (URL): http://[...]/
    >>> Blog address (URL): http://[...]/
    >>> WordPress cookie keys set.
    >>> WordPress "auth" cookie salt set from input.
    >>> WordPress "secure auth" cookie salt set from input.
    >>> WordPress "logged in" cookie salt set from input.
    >>> User database table prefix: wp_

    Step 3 - Site settings
    >>> Site name: [...]
    >>> Site address (URL): http://[...]/bbpress/
    >>> From email address: [...]
    >>> Key master created
    >>>>>> Username: forumadmin
    >>>>>> Email address: [...]
    >>>>>> Password: [...]
    >>> Description: Just another bbPress community
    >>> Forum name: General
    >>>>>> Topic: Your first topic
    >>>>>>>>> Post: First Post! w00t.
    >>> Making plugin directory at [...] bbpress/my-plugins/.
    >>> Making theme directory at [...] bbpress/my-templates/.
    >>> Key master email sent

    Installation complete!

    I mean the forum is working, but I fear still something might have gone wrong after the above error message. What do you think?

    Kind regards

    r-a-y
    Participant

    Hi,

    I get the following errors when using bbPress:

    Warning: array_map() [function.array-map]: Argument #2 should be an array in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 71

    Warning: join() [function.join]: Bad arguments. in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 71

    Warning: Invalid argument supplied for foreach() in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 85

    I’m using bbPress 1.0 alpha 6 and I should also mention that I have integrated BuddyPress and WordPress MU and enabled WordPress’ WP_CACHE as stated here:

    http://codex.buddypress.org/getting-started/improving-performance/

    Does that have anything to do with the error messages?

    Thanks for reading!

    #74942
    stevebooth
    Member

    I have a php file in my root that calls phpinfo, by the way. If you browse to:

    http://stevenmbooth.com/phpinfo.php

    you can get all the PHP stats from the machine — very informative.

    I’ll have a look at your link. I’d be more than happy to submit a Trac request. In fact, I will do that — as soon as I have dinner ;)

    #75001
    chrishajer
    Participant

    Ipstenu – I have always installed bbPress and WordPress together like this, without a problem:

    /var/www/example/wordpress/

    accessible here http://www.example.com/

    /var/www/example/wordpress/bbpress/

    accessible here http://www.example.com/bbpress/

    Are you suggesting NOT to install it like that?

    #14857
    madmw
    Member

    Can’t find any post about this error and my SQL is quite rusted.

    Fresh install, no WP integration, MySQL 5.0.40

    SQL ERROR!

    >>> Database: forums (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bb_vj_usermeta (

    umeta_id bigint(20) NOT NULL auto_increment,

    user_id bigint(20) NOT NULL default 0,

    meta_key default NULL,

    meta_value default NULL,

    PRIMARY KEY (umeta_id),

    KEY user_id (user_id),

    KEY meta_key (meta_key)

    ) DEFAULT CHARACTER SET ‘utf8’;

    >>>>>> 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 ‘default NULL,

    meta_value default NULL,

    PRIMARY KEY (umeta_id),

    KEY `user_’ at line 4

    Forum could not be created!

    #74940
    stevebooth
    Member

    Yea. It get’s it one step further, but still broken. It’s permalinks and the bb_repermalink routine. On my server it ends up re-linking to the same uri, which causes an infinite loop. I tried _ck_’s old code, but it had zero effect. I also used the same principles (constructing the uri from other SYSTEM variables) directly in bb_repermalink, and that does work — the right uri can be constructed, but I haven’t gotten it to work yet. I need to go through the routine and figure out what it does.

    bb_repermalink needs a LOT of work. It is extremely sensitive to $_SERVER variables not being set the way it expects, and it’s tests are not sufficiently detailed. I’m wondering why it would do any kind of redirection on uri’s that are not links to any forum. We’re just trying to browse to the home page, for goodness sake!

    #63959
    frank107
    Member

    Here’s the secret (only if you haven’t changed the login key settings):

    Type: put your unique phrase here

    You don’t need to do anything else!

    #73358

    In reply to: Menu Links

    No, you should copy the folder from bb-templates to a new folder name in my-templates.

    So you’d have /public_html/bbpress/bb-templates/kakumei and also /public_html/bbpress/my-templates/ipstenu

    But all you really need is to port over the files from kakumei that you want to change.

    #73357

    In reply to: Menu Links

    mikemcd22
    Member

    Hi all,

    When I move my template files into bbpress/my-templates I get the following error when trying access my forum:

    Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/content/databasename/html/forums/bbpress/bb-includes/functions.bb-template.php on line 45

    Is it normal for the template files to disappear in the bb-templates directory after you populate the my-templates directory with templates/themes?

    Thanks

    #75006
    johnhiler
    Member

    The official word is that non-ASCII characters won’t ever officially supported is usernames, for security reasons:

    https://bbpress.org/forums/topic/accents-in-username#post-19400

    Instead, display names in 1.0 can now be in unicode…

    #74556
    mikemcd22
    Member

    Integration works! I finally figured out that every time I accessed the options.php file on the WP side, it was kicking me out of bbpress admin. So every time I entered the Auth_Salt and the Logged_in_salt, they were not being retained. What a dummy! So simple… Hope this helps others noobs while the veteran techies are laughing at me!

    #74935
    stevebooth
    Member

    Okay. So bb_repermalink is being called with a $location of ‘front-page’. $_SERVER is returning the null string and $_SERVER is also empty.

    This causes the code at line 784 to bb_load_template 404.php because the null $uri does not contain the $check string which, in my case is ‘/bbpress/’.

    SO… my question now is… why in the *heck* is the REQUEST_URI null?

    #55342
    jenz
    Member

    With bbPress v 1 RC – I had the same need and ended up putting this into the topic-tags.php template – and it worked great:

    <div id="topic-tags">
    <?php if ( bb_get_topic_tags() ) : ?>
    <?php foreach ( $tags as $tag ) : ?>
    <?php if ($tag == end($tags)) :?>
    <a href="<?php tag_link(); ?>" rel="tag"><?php tag_name(); ?></a> <?php tag_remove_link(); ?>
    <?php else :?>
    <a href="<?php tag_link(); ?>" rel="tag"><?php tag_name(); ?></a><?php tag_remove_link(); ?>,
    <?php endif;?>
    <?php endforeach; ?>
    <?php else : ?>
    <p><?php printf(__('No <a href="%s">tags</a> yet.'), bb_get_tag_page_link() ); ?></p>
    <?php endif; ?>
    <?php tag_form(); ?>
    </div>

    This added the commas appropriately.

    #74921
    arthaseo
    Member

    thanks :)

    #74926
    stevebooth
    Member

    The 500-error was caused simply because I had an .htaccess file. Once I removed it, things went back to ‘broken normal’. My problem isn’t the 500, but the 404. I’m wondering about the so-called ‘permalinks’, but I believe that applied to pre-1.0 versions. I see no mention of pretty anything in my bb-config.php file.

    Time to get some sleep.

    :)

    #74984
    chrishajer
    Participant

    I wonder if SELinux could be involved? That’s prevented me from doing things on systems in the past, to the point of me banging my head against the wall for hours.

    SELINUX_INIT from your phpinfo();

    #74995
    daniellejosh
    Member

    I am not sure how to determine that :(

    #74994
    johnhiler
    Member

    Hmm, maybe post the code to the part of the template where the problems are occurring? We can look for potential conflicts with bbPress code…

    #60891
    Atsutane
    Member

    @leggo-my-eggo

    Sorry i should have update the plugin here in, but if you are download from the plugin from wordpress.org there are 3 filter support release on 22-6-2009 :) More info can be found here.

    http://www.atsutane.net/2009/06/update-bbpress-latest-discussion-v1-5.html

    #74913
    mrhtn
    Member

    Well, there were lots of steps. Mostly it was changes to the CSS so the first step would be to take a look at my CSS. I didn’t change any non-theme related files. The plugins I’m using are BBcode buttons toolbar, BBcode lite, bb topics view, and post Count plus. Probably the main thing I do different is that regular users shouldn’t see the admin pages of BBpress. Instead they get redirected to the wordpress admin pages.

    Sambauers put a great video together on how to get wordpress and bbpress working together:

    https://bbpress.org/forums/topic/basic-integration-screencast

Viewing 25 results - 24,651 through 24,675 (of 32,432 total)
Skip to toolbar