Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,051 through 21,075 (of 32,499 total)
  • Author
    Search Results
  • #76802
    gerikg
    Member

    try this:

    http://pastebin.com/9Y1mPZwY

    I had a better solution but I can’t remember it now. The code above only works if bbpress is in wordpress folder which 99% of people do.

    #88529
    zaerl
    Participant

    I’m not sure I’m using the ‘WordPress bbPress cookie plugin’ you mention

    https://wordpress.org/extend/plugins/bbpress-integration/

    I have only tested it in my XAMPP sandbox (Debian) cause I had only few minutes for it. Apache/2.2.12, PHP/5.3.0, MySQL 5.1.37.

    The “email is required” error can be spawn only from register.php file line 33 and only if $_POST isn’t defined (well I just made a quick look so I could have written something that isn’t true.) But it’s very strange. If you want to make a quick test do print_r($_POST); and see what you got.

    Damn I can’t help. Maybe it’s the first time in my life in which I would like to have a software bug.

    #87819
    mr_pelle
    Participant

    Code replacement takes place in the Plugins section too… https://bbpress.org/plugins/topic/facebook-like/faq/

    #89272
    eduardosilva
    Participant

    That worked!

    Everything works fine, except for the /bb-admin part using https. This page seens to redirect to the main forum, but switching to http works ok. (This is not a big problem, since my main objective was to have only the forum with ssl).

    Just for the record (if someone else is searching for this):

    The canonical modification can be made editing the header.php of the template and inserting the following line in the head section.

    <link rel="canonical" href="<?php echo "http://" . $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; ?>" />

    edit: this line look a bit messed here, check the original at pastebin: http://pastebin.com/626EqW74

    Thank you! :)

    #34431
    gerikg
    Member

    Is there a code to list the admins of a forum?

    #87817
    mr_pelle
    Participant

    Plugins directory not updating: Fixed.

    Seems it’s not retroactive… I mean, Zaerl’s last plugins are now listed correctly, but all other plugins did not get updated (yet): it looks like my last plugins update was a month ago! =P

    Plugins section is finally up to date!! =)

    #89271
    _ck_
    Participant

    @zaerl, yeah fortunately I had the code posted in an old post, but I guess I could have used a pastebin or direct download.

    #89115

    In reply to: s2member integration

    wood2695
    Member

    Aw crap. Same issue that kev was running into earlier, where the forum is turning all “greater than” characters into $gt. So all those “=&gt”s above should read…

    —/

    (equal sign + greater than sign)

    Pain in the… :)

    #89114

    In reply to: s2member integration

    wood2695
    Member

    Okay kids, here’s the solution that I’ve landed on. First, major props to kevinjohngallagher for taking the time to work this out with me. Second, the solution that I’ve come up with is not based on the previously mentioned code. I believe the code that kev had theorized was based on a flow of how s2M handled the end of the registration that wasn’t entirely correct (ie. no actual ‘thank you’ page). Perhaps this was something that could have been set up as such, but I abandoned that for another train of thought, which was… “if bbPress is reassigning bbP-specific roles based on the standard WP roles, so why can’t it do it for other non-WP-specific roles??”

    So to accomplish this, I’ve made edits to two core bbP files. As kev said to me and I agree… “Usual disclaimer about editing the core blah blah blah.” This will likely need to be re-done again if/when I ever update bbPress, but for the time being, it is working splendidly. With all that said, I may be the only one trying to do this integration, but for anyone down the road that is trying to develop a member site with s2Member + WordPress + bbPress forum, here’s my solution (oh, and also based on a ‘deep integration’ of WP/bbP)…

    in /bb-admin/options-wordpress.php, I added

    <br />
    $wpRoles = array(<br />
    'administrator' => __('WordPress Administrator'),<br />
    'editor' => __('WordPress Editor'),<br />
    'author' => __('WordPress Author'),<br />
    'contributor' => __('WordPress Contributor'),<br />
    'subscriber' => __('WordPress Subscriber')<strong>,<br />
    's2member_level4'=> __('s2Member Level 4'),<br />
    's2member_level3'=> __('s2Member Level 3'),<br />
    's2member_level2'=> __('s2Member Level 2'),<br />
    's2member_level1'=> __('s2Member Level 1')</strong><br />
    );<br />

    and then in /bb-includes/functions.bb-users.php, I added

    <br />
    static $wordpress_userlevel_map = array(<br />
    'administrator' => 10,<br />
    'editor' => 7,<br />
    'author' => 2,<br />
    'contributor' => 1,<br />
    'subscriber' => 0<strong>,<br />
    's2member_level4'=> 0,<br />
    's2member_level3'=> 0,<br />
    's2member_level2'=> 0,<br />
    's2member_level1'=> 0</strong><br />
    );<br />

    Because again, as far as the forum is concerned, I’m only really interested in differentiating whether a user is a logged-in member or not and show/hide the forums/topics/whatever using the zearl Visibility plugin based on that.

    This maps all s2M roles to that of a member in bbPress. Roles may then be changed using the dropdowns in bbPress > Settings > WordPress Integration.

    Cheers.

    1BadApple
    Member

    Hi Guys

    I’m new on the block, but have considerable experience with forum software and server enrironments. I also have a little fleet of WordPress sites, LOL. I haven’t grokked all the bbPress stuff yet, but this is a very interesting topic.

    -ck- and paulhawke both made some very good points there.

    Based on what I know of other systems, the observation about cacheing is accurate. Also a fairly competent Forum program is likely to become considerable larger than any blog because of the nature of the communications, which is many-to-many, rather than one-to-many. Tts not uncommon for forums to have fifty to a hundred thousand posts. How many blogs do you know like that? Just like WP, it all has to be iterated to do a page generation.

    Forums are also very spiky, due to their many-to-many, interactive nature. One post begets another or another five. Other than add-ins, Blogs are effectively document retrieval systems where there is a time disconnect between related events.

    For these reasons, I lean toward the idea of either hybrid or standalone development. Another concept would be that the plug-in have either less capabilities or some size limits coded in. Sure people could code around, but they would also be on notice that ‘you may be heading for trouble’.

    I’m looking forward to what’s coming.

    #88921
    mr_pelle
    Participant

    mr_pelle,

    Where in your template did you place that code?

    The first block is actually my bbPress header (you have to put it inside some php tags, of course), while I use the second in my WordPress header and footer when I have to load different content (css, icons, code).

    #89215

    Comparing anything on the bbPress website to the WordPress website is only going to lead to heartache and pain my friend.

    As for the bbPress website not syncing after 22 hours, thats nothing new either.

    IMO, give it closer to 48, and if its still not happening we’ll try and drag Michael away from WP3.0 release to help us again :)

    #88920
    snieves
    Member

    mr_pelle,

    Where in your template did you place that code?

    #89247
    johnhiler
    Member

    I’ve had this problem when downloading plugins while signed out… if I sign it, I’ve noticed it tends to work?

    The issue happens more often than it usually would for me, b/c the plugins install uses 0.8.3 and isn’t signin integrated with the main forum (which uses the latest version).

    At least, I think that signing in will fix the downloads! It could just be random chance that ever time I’ve signed in before, the downloads have started working again! :-)

    #89254
    1BadApple
    Member

    Thanks zaerl, that did the trick…

    It fixed the other issue as well, by my slightly informed guess being that the errors being pushed were killing the page build.

    anyway, all’s well that gets a fix and my necessary PHP education continues.

    Kevin, thanks but… “I don’t think so”, LOL.

    ;-)

    #83004
    kasper777ny
    Member

    Hey whats up gerikg

    Ive done everything step by step that you wrote about. I even reinstalled and started over from scratch. yet it still seems the cookies are not working. wordpress and bbpress are linked because bbpress actually lets my wordpress logins work… but no matter what i do, i still cant get keep myself logged in when going back &amp; forth from wordpress to forum.

    is this a common issue that just is not working yet?


    wordpress mu 1.9.2

    bbpress 1.0.2

    #89252
    zaerl
    Participant

    bb-load.php line 25:

    error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE);

    #34426
    1BadApple
    Member

    I have installed bbpress on my XAMPP Windows XP test server (which is hosting about 6 WordPress 2.92 test sites OK)

    My environment:

    Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1

    During the actual install I got a series of PHP errors.

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-settings.php on line 186

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpresspomomo.php on line 171

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesfunctions.bb-l10n.php on line 484

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-adminincludesclass.bb-install.php on line 1280

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-adminincludesclass.bb-install.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesfunctions.bb-core.php on line 110

    The Installation appears to have worked as when I use phpMyAdmin, the database I set up for bbress is there, and the tables are populated – and if I check bb1_users my ‘key master’ user is there as imput (whatever a keymaster is) other than ‘admin’.

    The BBPress is ‘there’, but when I try to logon I get a cascade of PHP failures.


    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-settings.php on line 186

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpresspomomo.php on line 171

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesfunctions.bb-l10n.php on line 484

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesfunctions.bb-pluggable.php on line 232

    I have tried in several browsers.

    URL: http://bravo.newnetenterprises.com/bbpress/

    It looks like the call in Line 186 is the culprit, but I am not a PHP expert.

    :-

    #34422
    1BadApple
    Member

    I had to create a new account to post this:

    DL’ed code a few days ago. Signed up earlier this week. Doh! Forgot PW

    Put OK username in PW reset field, GOT e-mail

    Tried link in 2 browsers – no va (no go)

    bbPress Support Forums » Log in

    Password Reset

    You are not allowed to change your password.

    OK, what’s up?

    #89200

    Finally, Yes this is integrated with WordPressMU

    bbPress doesn’t officially work with WordPressMU.

    I’m surprised and impressed you’ve got it working nicely :)

    Quick question, are you sure you’re using bbPress and not in any way shape or form using BuddyPress? I knwo that sounds like a daft Question, but you’d be amazed!!!

    #89197
    tcarr184
    Member

    Thank you for getting the help.

    The admin account and some other users can post but some cannot. I tried creating a test account and when I go into post there isn’t a box to type in.

    I took a screen shot.

    unfilteredmma.com/media/forumcapture.JPG

    If I log in as the admin then I do get a reply box.

    unfilteredmma.com/media/forum2.JPG

    I have tested in chrome, firefox, and IE and it is the same in them all.

    Here are the plug ins I have active on BBPress.

    Hello Louie

    Human Test for bbPress*

    Google Analitycs*

    BuddyPress Support Plugin*

    Bozo Users

    BB Wysiwyg Editor*

    BBcode Lite*

    Allow Images *

    Akismet*

    AdSense for bbPress *

    * = active

    Finally, Yes this is integrated with WordPressMU. The users can log in and authenticate but they cannot post replies or create posts? I’m sure this is really simple but I just can’t figure it out.

    Thank you

    #34425

    Hello folks,

    I’ve found a rather sporadic bug when trying to download bbPress 0.9 from teh downloads page. Specifically rather than going to the .zip file, it led me to a blank page instead.

    2 computer, 4 browsers, same issue.

    Been like this since at least this morning (GMT).

    I’m presuming it’s a hic-up, but just thought i’d point it out :)

    #89191

    Hi Roaming,

    First off, bbpress is not a WordPress plugin.

    It’s a standalone forum.

    (you’re not the first to think this, as God forbid we’d actually be able to say that anywhere on the actual website)

    bbPress has 3 advantages going for it

    1) you can share users with WordPress

    2) you can share logins with WordPress

    3) you can use your theming knowledge from WordPress to make them look alike.

    It should be noted that although (now) sharing a very similar looking/acting Admin section, bbPress has it’s own admin section totally outwith WordPress.

    As for an installation guide, the good folks at bbPress have cunningly hidden it in their Documentation &gt; INSTALLATION page. I know, who’d have guessed ;-)

    https://bbpress.org/documentation/installation/

    The next bit may sound cheeky, but I just want to be very clear. As bbPress is NOT a wordPress plugin or a wordPress Page or anything like that, it will not in any way shape or form, look like your WordPress blog unless you manually edit the bbPress theme to do so.

    I state this really bluntly because:

    1) It’s our 3 most complained about assumption – not sure why people complain that their assumptions are wrong but y’know, they do.

    2) You’re using Thesis, which 90% of the time means you like menus/WYSIWYG over actual coding. You may ofcourse be in the 10% and be more than happy, which is awesome.

    Given how your blog looks, it wouldn’t be hard at all to theme your bbPress forums to look like your WordPress blog :)

    Take care, and good luck!

    Kev

    #34421
    Ryan Hellyer
    Participant

    The theme integrator plugin which I mentioned on here a while ago as being “alpha” is now available as a stable release in the WordPress plugins repository. Hopefully some of you find it useful :)

    http://pixopoint.com/products/pixopoint-theme-integrator/

    The system DOES NOT require deep integration and does not suffer the performance hits that deep integration normally applies. This simply copies your HTML markup over after you set a bunch of things in each theme. If you don’t know how to do a 100% perfect integration of your theme already the old fashioned way (copying HTML and CSS across), this new system will not help you at all as you need to set that up already. Once it is setup however, the changes you make in your WordPress theme will be automagically applied to your bbPress site, along with changes such as plugins, widgets etc.

    The system works across a range of different softwares, not just bbPress. You can see a demo of it in my own support forum which uses SMF … http://pixopoint.com/forum/index.php?topic=1385.0

    #89111

    In reply to: s2member integration

    http://pastebin.com/SCaVcefq

    Sorry about that bro, if I’m not marked as a spammer, try the above link for the code

Viewing 25 results - 21,051 through 21,075 (of 32,499 total)
Skip to toolbar