Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,901 through 10,925 (of 11,584 total)
  • Author
    Search Results
  • #56048
    ganzua
    Member

    “But after what I’ve integrated both of api’s: the wordpress and bbpress; this resulted in the following error:

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

    -> same error here

    #56047
    c00l2sv
    Member
    #58515
    c00l2sv
    Member

    I had the same problem:

    https://bbpress.org/forums/topic/latest-wordpress-038-bbpress-in-another-language?replies=3

    But I solved that differently:

    https://wordpress.org/support/topic/111411?replies=9

    It is easier than making raw database calls…

    Cheers!

    #56414

    In reply to: Freshness Linked

    fel64
    Member

    Sorry, forgot about this 😮 Looked at it, can’t figure out where it might go wrong, so here’s some slightly alternative code that will use a different function to do it’s thing and we’ll see if that works. Replace function fel_addlatestlink() with

    function fel_addlatestlink($title)
    {
    global $topic;
    //$felgtlpl = get_topic_last_post_link($topic->topic_id);
    $felgtlpl = get_post_link( $topic->topic_last_post_id );
    $title = $title . ' <a href="' . $felgtlpl . '">&nbsp;&raquo;&nbsp;</a>';

    return $title;
    }

    #1977
    dreamXG
    Member

    This seems to happen any time I choose a localization file

    I get a series of fatal errors saying ‘Cannot redeclare class CachedFileReader’ in bb/inlcudes/streams.php.

    I’ve searched the forums, and it hasn’t yielded any solutions, is anyone experiencing the same issue?

    I am running the latest bbPress 0.8.2, with WordPress config included.

    #1971
    dreamXG
    Member

    First off, I have to say, bbPress rules! loved it right from install.

    And because I love it so much, I decided to mod it into a clean gallery, still needs much testing, but I have one problem.

    Doing masses of search/replaces on words such as ‘forums’, ‘posts’, etc. is time consuming. I read through some documentation to find out that you can use an .MO dictionary file, to display alternate words that are called with the _() function!

    So I want to ask, how do I go about generating an MO file and using it within bbPress!

    Any help will be much appreciated.

    #58425

    In reply to: Download bb 1.0?

    Trent Adams
    Member

    It is going to be released here……really quickly! Just coming out of some quick testing.

    Trent

    #58040

    In reply to: bbSync

    starrett
    Member

    fel: Disabling the “Do you want me to load bbPress whenever to …” checkbox worked! I’m now getting the replies from the forum topics on indie pages. Just a few quick questions:

    How do you keep it from posting the entire original entry in the forums? (I know the “How much of your blog post do you want shown on the forums? Set it to 0 to get the full post.” option is there, but I don’t quite understand how to use it – for example, make it stop at the <!--more--> tag.)

    What are the rest of the tags (other than <?php felbbreplies(); ?> ) that we can use? I can go ahead and test them out, to make sure that the rest of them are working as well.

    Sneaky: Don’t worry! :)

    #58358
    ganzua
    Member

    Nop but I think I got it;

    global $current_user and then $current_user->ID

    let me test with several users…

    #50275
    peter-b
    Member

    Sorry – no, not running this on wordpress.com, it is on my own server, however (unless I have not read the headers properly) the e mails don’t appear to originate from my server. I created two test accounts last night – 10 hours later the e mails still haven’t arrived!

    Thank you for details of the fix. It worked (after fixing another @ strpos problem in the functions.php script) however I see that setting is bozo to zero in the admin pages removes the table row, rather than restting it to zero (i.e. setting to one creates the table row with the value 1, resetting it to zero deletes the row, rather than just resetting the value!) which seems strange behaviour – but hey – it works! No doubt it will be swept up in future versions!

    #58033

    In reply to: bbSync

    fel64
    Member

    That’s a special version I made for Sneaky who had problems finding out what the error was :) This is the currently latest version; I was planning to upload properly to the plugins section when there’s no outstanding problems here. This version is the same as the one you downloaded, though, just without the messages.

    Try changing the “global $bbdb;” to this:

    global $bbdb, $bb_cache;

    #58032

    In reply to: bbSync

    starrett
    Member

    fel64,

    Thanks for all the hard work you put in on this. I just installed the latest (I assume) version of bbsync on my site, and I’m getting the following error message when I try to save a post in WP:

    “got opshuns

    got bb

    got currentuserinfo

    Fatal error: Call to a member function on a non-object in /path/to/my/forums/bb-includes/functions.php on line 607″

    I added “global $bbdb;” to my bbpress config.php like you suggest, and it didn’t seem to make any difference. As well, when I use the “<?php felbbreplies(); ?>” call on my indie pages I get the following:

    “doin’ felwptobb

    pre-query in felwptobb. bb_topicmeta = bb_topicmeta

    felwptobb post-query, topic_id = 2

    ~ 21:36 15th Jun 07 admin

    blah blah blah this is a test reply

    Fatal error: Call to undefined function: get_topic() in /home/.reactor/starrett/lifthill.com/wp/wp-content/plugins/bbsync.php on line 432″

    So it is bringing in and displaying the replies, but then it gives the error.

    I’m running WP 2.2 and BB 0.8.1.

    Thanks!

    #58351
    ganzua
    Member

    Hi fel64, thanks for the explanation.

    I tested and the function works but there are two errors in the code.

    First, the id user line displays “21” for every user

    global $id; $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php?id=' . $id . '">' . __('Profile') . '</a>' . $after;

    Next, if( current_user_can('administrate') doesn’t seem to work because it display a link to bbpress profile instead to /wp-admin/

    This is the whole function so far;

    function wp_registro( $before = '<li>', $after = '</li>' ) {

    if ( ! is_user_logged_in() ) {
    if ( get_option('users_can_register') )
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-login.php?action=register">' . __('Register') . '</a>' . $after;
    else
    $link = '';
    } else { if( current_user_can('administrate') ) {
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;}

    else {global $id; $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php?id=' . $id . '">' . __('Profile') . '</a>' . $after;
    }
    }

    echo apply_filters('register', $link);
    }

    did I made a mistake in the second “else” ?

    #1955
    ganzua
    Member

    Hi!

    Can you display the front page latest discussions paged? You show 10 latest discussions and then below links to page 1,2…last

    I think I have read something like this in any other thread but I can’t find it using the searcher.

    #55207
    fel64
    Member

    This worked for me:

    add_action('bb_admin_menu_generator', 'contestsmenue');

    function contestsmenue () {
    global $bb_submenu;
    $bb_submenu['content.php'][] = array(__('Contests'), 'moderate', 'contestinnerface');
    }

    #50269
    maphew
    Member

    As best as I can tell this does not work on 0.8.1. The code appears to have changed quite a bit between then and now. Thinking that the latest replies are not getting responses because the status on this thread is set to “resolved”, I created a new thread at https://bbpress.org/forums/topic/1256 however after 5 days there is still no response. It looks like sourceforge users are too small a minority.

    #1938
    maphew
    Member

    Hi, bbPress appears to run well on the popular http://sourceforge.net/, with the notable and problematic exception of emailing users passwords, both on registration and for password resets.

    A thread from last year posted a workaround for new users, bypass email and show users their generated password in the browser. http://bbpress.org/forums/topic/82?replies=14#post-349

    However the patch no longer applies, or at least I couldn’t see how and where to apply it. There seems to have been quite a bit of code change in the last 7 months, and the fellow who posted that patch seems to have chosen a different route as the forums are no longer there on his site.

    Even if this patch could be updated to apply to the current bbPress code base however it would not deal (I think) with the also much needed function of resetting passwords.

    Sourceforge has posted a workaround for projects who need to use email registration, basically queue the messages up and fire them off in a cron job. http://sourceforge.net/docman/display_doc.php?docid=4297&group_id=1#email

    I personally would be happy to see that implemented in bbPress, as a plugin since it’s SF specific, however I’ve seen a number of other threads which indicate a more generic solution would be useful:

  • http://bbpress.org/forums/topic/807?replies=6#post-4906
  • http://bbpress.org/forums/topic/1213?replies=2
  • http://bbpress.org/forums/topic/1089?replies=2#post-6870

    Will someone please help? I can’t write the code to make it so, but am willing to trade time with someone who can. Or perhaps you’d like a nice map or poster from the Yukon? Just let me know what you’d like.

    Thank you for your time and reading this far,

    -matt

    For what it’s worth, the scenario that got me started on this was being locked out of my own forum while testing, exactly like this fellow:

    http://bbpress.org/forums/topic/770?replies=3#post-4650

    thank you Trent for the workaround posted there!

#58016

In reply to: bbSync

fel64
Member

I should have tested everything. >_< A new problem’s come up somewhere down the line and new topics are not created. On the one hand it’s not working for me … on the other hand I’m too tired to fix it now.

I don’t advise download until I’ve fixed it.

Crowspeaker, started working on that but it’s been a little disrupted.

Sorry >_<

bbPress 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 ' '', , '', '2007-06-08 00:25:43'' at line 4]
INSERT INTO bb_topics (topic_title, topic_slug, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id) VALUES ('Lorem, err, what was it again?', 'lorem-err-what-was-it-again', , '', , '', '2007-06-08 00:25:43', '2007-06-08 00:25:43', 5)

#52790
Trent Adams
Member

Exactly, this is scheduled for the next release and is working in the latest TRAC version. Be warned prior to downloading, that it is a developmental version of bbPress and may not work 100%. I run it on my site, but I am comfortable working with errors! It is better to ask yourself that question prior to testing out the TRAC version.

Trent

#52789
fel64
Member

Jnewing, it is possible to give forums subforums in the latest development version. Grab a copy of 1.0-alpha off trac or wait for release.

#1928
willspill
Member

My bbpress is having trouble displaying stylesheets correctly. I am using the default style that bbpress comes with. I have it installed locally on a test environment.

The admin section looks exactly how it should, but the forum itself does not. I have noticed that the path to the stylesheet is incorrect.

<link rel=”stylesheet” href=”http://localhostbbpress/bb-templates/kakumei/style.css&#8221; type=”text/css” />

notice how after localhost the “” is the wrong way.

Not sure if anyone can tell me how to fix it.


in the admin page, the stylesheet path is correct

<link rel=”stylesheet” href=”http://localhost/bbpress/bb-admin/style.css&#8221; type=”text/css” />


my config.php looks like this

// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

// Adjust the domain and path to suit your actual URL.

// Just the domain name; no directories or path. There should be no trailing slash here.

$bb->domain = ‘http://localhost&#8217;; // Example: ‘http://bbpress.example.com&#8217;

// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

$bb->path = ‘/bbpress/’; // Example: ‘/forums/’

#57970
fel64
Member

Front-page.php I believe is used to create the ?new=1 page.

Near the very bottom, look for a <?php endif; else : ?> line. Below this it should have code for <h3 class="bbcrumb"> ... and then <?php post_form(); endif; ?>

The code between the else : and the endif; are what executes to make the ?new=1 page. Looking at my theme in comparison, I think that the </div> underneath the else : ... endif; should actually be above it. Try it. If it works, come back and tell us please, because then we should probably make a trac ticket. Never noticed this before – I hacked up kakumei into my template straight away and assumed it to be a fault of mine in rewriting the horrible if : endif; method into nice braces.

[Edit] Just tested it myself, and there are five </div> in the page source in kakumei and only four <div. Pretty sure that’ll be your problem.

#1926
ganzua
Member

Hi;

The “Add new” link that is just below “Latest Discussions” title in bbpress frontpage messes my bbpress theme.

Latest Discussions

Topic — Add New »

Whenever you click that “add new” you are taken to a new page with this link; …/bbpress/?new=1 and I can see the header and footer ok but sidebar and post-form are messed.

Which template files are used to create the ?new=1 page? I can’t locate my mistake.

#57960
gjaw88
Member

Here is the site. NO I’m not using this for my site, this is just a test and is what domain name my friend offered haha. Nothing is inappropiate on this site, it is just for testing purposes before I buy my own domain.

http://www.saladtossers.org/wp/bbpress/

‘code'<?php

// ** MySQL settings ** //

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

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

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

define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

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

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

// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

// Adjust the domain and path to suit your actual URL.

// Just the domain name; no directories or path. There should be no trailing slash here.

$bb->domain = ‘http://saladtossers.org&#8217;; // Example: ‘http://bbpress.example.com&#8217;

// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

$bb->path = ‘/bbpress/’; // Example: ‘/forums/’

// What are you going to call me?

$bb->name = ‘test site’;

// This must be set before running the install script.

$bb->admin_email = ’email@gmail.com’;

// Set to true if you want pretty permalinks.

$bb->mod_rewrite = false;

// The number of topics that show on each page.

$bb->page_topics = 30;

// A user can edit a post for this many minutes after submitting.

$bb->edit_lock = 60;

// Your timezone offset. Example: -7 for Pacific Daylight Time.

$bb->gmt_offset = 0;

// Change this to localize bbPress. A corresponding MO file for the

// chosen language must be installed to bb-includes/languages.

// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

// to enable German language support.

define(‘BBLANG’, ”);

// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

// http://wordpress.com/api-keys/

$bb->akismet_key = ”; // Example: ‘0123456789ab’

// The rest is only useful if you are integrating bbPress with WordPress.

// If you’re not, just leave the rest as it is.

$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

$bb->wp_home = ‘http://www.saladtossers.org/wp&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

$bb->wp_siteurl = ‘http://www.saladtossers.org/wp&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

/* Stop editing */

if ( !defined(‘BBPATH’) )

define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

require_once( BBPATH . ‘bb-settings.php’ );

?> ‘code’

#57870
fel64
Member

Your HTML has improved. This is your current structure of major div elements:

div id="wrap"
div header [1]
div header [2]
div wrap [x]
div right
div sidebar
div content
div hottags
div discussions
div footer

You have two div elements with id wrap. IDs should always be unique, and the second one, marked with [x], is empty anyway so you can go ahead and delete it. You also have duplicate headers. The content of header [2] should be the only thing in header [1]. Div sidebar should be at the same level as div header is, not a child element. You can also delete the div right, as it’s kind of pointless.

Div footer should not be in content. It should be on the same level, not as a child. That should fix some problems with it, too. You can take out both float: left; and display: inline; in the CSS file for div content – they seem to cancel each other out, and floating it is unnecessary anyway and could come back to bite you later.

Your main problems in IE seem to be (seem, I don’t have dev tools for it) that major wrap is not centered and that content is just wide enough to conflict with sidebar. Slowly decrement the width of content and test if that makes it work. I am surprised it’s not centered in IE7, I’m fairly sure that the CSS margin: 0 auto; worked. However, to center it in IE6, you need to add the text-align: center; property to the wrap element (in CSS). To counter the effect this has on text, you need to add text-align: left; to header, sidebar and content.

When logged in, the div class post at the very bottom of the sidebar is not closed. You can just get rid of it I think. You are also using li elements for your Private Message Manager and Community Forum links, without actually having opened a ul or ol for them, which would probably cause problems so just remove the li tags.

That’s a start, anyway. Try it and we’ll see if it’s fixed anything.

Viewing 25 results - 10,901 through 10,925 (of 11,584 total)
Skip to toolbar