Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,851 through 10,875 (of 11,524 total)
  • Author
    Search Results
  • #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.

#57869
mfaxion
Member

fel64. Thanks for the input on the HTML!

Created a test account for people to see the Account and problems.

username=demo

psswrd=demo

mysoberlife dot com

I added div id=wrap, div id=header, & div id=right to my bbpress template. That solved all position issues in Mozilla. However IE is even more of a mess now.

#1915
wittmania
Member

OK, so I have a WP/bbP integrated blog/forum that also uses bbPress instead of comments. It works really well, with the only problem being that the “Latest Discussion” is almost always just a list of the last 10 blog posts since we don’t get a whole lot of comments. To fix this, I worked up a plugin that grabs the last “X” topics that have 2 or more posts and displays them in a table just like the Latest Discussion table.

You can see exactly what I am talking about here.

And, no, it doesn’t play nice with my bb-Topic-Views plugin. It sucks, I know. Maybe I’ll figure out how to fix this later…

Would anyone else be interested in a plugin like this? If so, I’ll spend the time writing up the documentation, etc. so it can be released as an official plugin. If I don’t hear from anyone, I will probably not waste any more time on it since it is already working as I want it to on my site.

Anyone? Anyone? Bueller?

#57868
fel64
Member

#1: There are no style rules to tell the forum to go into the column. It’s just made of unstyled divs inside the body element. I don’t know how comfortable you are with HTML, but they should go inside the div with id wrap. That would really fix the greatest issue. You don’t need CSS to do that, since the wrap element would already do that (and the forum could actually be next to the sidebar).

#2: Please create a test account for us to see the HTML that’s causing a problem, or log in and copy the HTML to a pastebin and link to it here. My clue would be that there’s something wrong with the HTML, by the way. Is this an IE7 exclusive problem?

#57867
bbx
Member

Oh great! Thx, it’s just what I needed.

#57657
chrishajer
Participant

cweb: I think this is fixed in the latest trac version and will be in 1.0:

https://trac.bbpress.org/ticket/599

#55833
chrishajer
Participant
#57866
chrishajer
Participant

How about this for including the latest bbPress posts in your WordPress sidebar?

https://bbpress.org/forums/topic/359?replies=30

#55832
bbx
Member

I have a question related to this.

If I can use a RSS feed on my WP Home Page, is there maybe a “Latest Discussions” feed from my bbPress forum that I could use?

bbx

#1898
bbx
Member

Hi

I would put in my sidebar the latest discussions of the forum (exactly the same as the one on bbpress homepage).

As I was unable to enable BB functions in WP (and vice versa), I was wondering if there was another way to do that.

If not, could you help me with enabling BB functions in WP?

Thx.

bbx

#55831
Nicki Faulk
Member

“Another way to do .. parse your forum rss feed.”

Exactly what I was going to suggest. If the WP theme is widgetized, its user should have the RSS widget available, so he/she can just plug in the link to your bbPress install’s RSS feed. If not, he/she can use any number of RSS-in-sidebar plugins to accomplish this. (Or if they’re like me, do it by hand and use a plain RSS-to-PHP script.)

Viewing 25 results - 10,851 through 10,875 (of 11,524 total)
Skip to toolbar