Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,676 through 24,700 (of 32,468 total)
  • Author
    Search Results
  • #71873
    Markus Pezold
    Participant

    Hi Sumit,

    i have the same problems today … the problems lies in the msig_plural-Tag in the POT-File.

    Poedit must have the right configuration in the catalog settings to work with the plural forms.

    For a german translation the Plural-Forms is: nplurals=2; plural=n != 1;

    #: bb-admin/content-forums.php:46

    #: bb-admin/index.php:23

    #, php-format

    msgid "%d topic"

    msgid_plural "%d topics"

    msgstr[0] ""

    msgstr[1] ""

    #74952
    stevebooth
    Member

    Nope, no offense at all. And I’m more than happyto work with the community as a contributing member. I second your thoughts regarding the release. I don’t think we’re ready either. I suspect WP is under a lot of pressure to bet bb out.

    I’ll make it work… sooner or later ;)

    #15097
    michael3185
    Member

    I’m trying to change the post author link which is displayed as ‘Key Master’ (for example) to ‘User profile’. Tried lots of variations having looked through the bbPress template functions file, but can’t get it to work. The top part of my post.php code is this at present;

    <div class="threadauthor">
    <?php avatarupload_display(get_post_author_id()); ?>
    <p>
    <strong><?php post_author_link(); ?></strong><br />
    <small><?php post_author_title(); ?></small>
    </p>
    </div>

    The post_author_link() line becomes;

    <a href="http://mbforum.letsdoo.org/profile/michael">Key Master</a>

    I realise I’m just not grasping how the PHP code/functions work, so if anyone thinks, “Oh yeah, all you do is…” I’d be very grateful for an answer.

    #74641

    In reply to: Deep Integration Issue

    crimsonmai
    Member

    Immelody, just curious if you could give a quick run through of how you were able to apply (or convert) your wordpress theme to bbpress. I’ve been trying to learn how to do it, and so far what I’ve read is to copy the header and footer from wordpress to bbpress. Problem is I’m not that great at programming so it’s a bunch of guess work. I’ve been trying to do it unsuccessfully for about 3 months now…

    Sorry to bother you, but if you could help I’d really appreciate it and I’m sure it would help others as well!

    Edit: I forgot to mention I have the databases integrated although I’m not sure how I managed that :) It’s just recreating the theme that is really stumping me.

    #74951
    johnhiler
    Member

    By going gold, I just meant that the bbPress staff is about to officially declare a release as version 1.0:

    http://en.wikipedia.org/wiki/Software_release_life_cycle#RTM

    I personally think that there have been a lot of code changes (and new features) recently, and some extra time to focus as a community on identifying and debugging issues would be really good for the release. But obviously it’s not my call.

    After version 1 comes out, a wiki-based codex will be added to the site and we’ll work as a community to get the documentation up. Hopefully there can be more documentation around what functions like bb_permalink are intended to do. I’ll do my best to see if we can’t nail down bb_permalink’s specs asap!

    Hope I didn’t say anything to offend… I’m just a bbPress user, trying to help out another user. :-)

    #75020
    Sam Bauers
    Participant

    That article on the BuddyPress Codex is a little confused.

    Are you using WP-Super-Cache (output caching) or an object based cache like the memcached object cache?

    #74950
    stevebooth
    Member

    WordPress is working great. I had a couple of minor config details on the install, but it went in marvelously.

    I know what the problem is. It’s bb_repermalink. It’s creating 404s and endless loops because the code inside it can’t handle the way SunOS sets up it’s system variables. The problem is, I don’t know what the stupid thing is supposed to do, so I cant figure out if the code is fixed or broken (and of course there are exactly zero tech docs on either it or bbPress). There are some REALLY strange regex replace operations in there that frankly look wrong to me, but I don’t know enough about bb at the moment to know how to fix them.

    I’m going to completely disable repermalink tomorrow, and see if I can get the rest of the system to work without it. I tried that a bit ago and at least got past the first page. (although it told me, when I clicked on one of the forums it was displaying that the forum didn’t exist. At least that’s better than 404s and infinite loops.)

    Not caring about SunOS is shortsighted in my view, and calling the current code ‘Golden’ would be a mistake. What I’m seeing in bb_permalink is going to cause major problems in tons of non-Sun machines, I believe. If they release 1.0 the way it is, I predict it will crash on a large percentage of WP users’ machines and engender a great deal of dissatisfaction as a result.

    My 2c, for what it’s worth.

    #75010
    michael3185
    Member

    Thanks for the link Ipstenu. I guess I wasn’t thinking along the right lines, as it needs to be done in the browser, not on the bbPress PHP side. I’m not sure how to implement that JavaScript and HTML code, but I’ll give it a go sometime soon. It’d be nice if the CSS TextArea had a setting for that, wouldn’t it?

    #73361

    In reply to: Menu Links

    I’m … not sure. Can you show me what you have in bb-templates and my templates? I’m assuming it’s this:

    /public_html/bbpress/bb-templates/kakumei
    /public_html/bbpress/bb-templates/kakumei-blue
    /public_html/bbpress/my-templates/kakumei
    /public_html/bbpress/my-templates/kakumei-blue

    If so, rename the folders under my-templates to something like ‘my-kakumei’.

    #75002

    chrishajer – Not exactly.

    I NEVER put WP in the root, after (in the 1.* days) it pitched a hissy fit with another web app over permalinks and htaccess. And since you can run WP out of root while having it in a subfolder, and no one can tell the difference, it works rather well.

    I have this:

    /var/www/example/index.php <which points to the wordpress folder>
    /var/www/example/wordpress/<wordpress files>

    accessible here http://www.example.com/ and here http://www.example.com/wordpress/wp-admin

    /var/www/example/bbpress/

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

    With this, once I got my auth keys in order, it worked fine. I’m not saying it can’t be done your way (and hey, if it works, leave it alone! :) ), I’m just saying that I’ve seen it cause more headaches.

    #75044

    I ‘resell’ space to a friend with an InvisionBoard setup, and that site spits out a lot of ‘bounced’ emails from spammers registering. I send out 1000s of emails from my domains a day. The ONLY time I had any issues was Yahoo being a bint about me sending emails to non-existent accounts. They realized the problem and apologized.

    A ‘normal’ board has little to worry about. You have to work hard to get blacklisted :) Or be spoofed enough.

    #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

Viewing 25 results - 24,676 through 24,700 (of 32,468 total)
Skip to toolbar