Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,876 through 21,900 (of 32,516 total)
  • Author
    Search Results
  • #85720

    In reply to: Smiley`s and pictures

    Michael
    Participant

    I have also released a new smiley pack for bb-smilies, you might find it quite useful. :)

    https://bbpress.org/forums/topic/new-smilie-pack-for-bbpress-smilies

    #85507

    In reply to: Toggle Forums

    driz
    Member

    Any updates on this pal? I’ve copied the code you use on your website to test, but the icon appears on all forums and not just the category ones (I noticed this is also the case on your forums)

    #82550
    excalibur_
    Member

    gerikg;

    I’ve followed your instructions to the T – I’m getting the issue where logging into one system logs you out of the other.

    I am using WP 2.9.2 (not MU) and bbPress 1.0.2.

    Some noted things:

    – in the wp-admin/options.php page, there is no secret_auth_salt variable

    – the bbPress integration plugin only generated one line of code ( define(‘COOKIEAUTH’, ‘/’); ) rather than Brevica’s 4 statements

    Everything else looks normal as per your instructions.

    Other possibly useful info:

    forum – http://monucs.aicsa.org.au/forums/

    blog – http://monucs.aicsa.org.au/

    running PHP 4.4.8/MySQL 5.0.77 – these can’t be changed

    #85781
    chrishajer
    Participant

    What are these “user” and “core” directories? bbPress themes you create should be in a my-templates directory. The my-templates directory should have 755 permissions.

    #85713

    In reply to: Additional Field

    johnhiler
    Member

    Yah sorry, that plugin doesn’t exist in either form. :-(

    But it’s definitely technically possible, and shouldn’t take too long to build. :-) You should be able to hire someone to program it for relatively cheap…

    Good luck!!

    #85779
    johnhiler
    Member

    Here are all the capabilities of each role, as defined in bb-includes/functions.bb-capabilities.php:

    function bb_init_roles( &$roles ) {

    $roles->add_role( ‘keymaster’, __(‘Key Master’), array(

    ‘use_keys’ => true, // Verb forms of roles – keymaster

    ‘administrate’ => true, // administrator

    ‘moderate’ => true, // moderator

    ‘participate’ => true, // member

    ‘keep_gate’ => true, // Make new Key Masters //+

    ‘import_export’ => true, // Import and export data //+

    ‘recount’ => true, // bb-do-counts.php //+

    ‘manage_options’ => true, // backend //+

    ‘manage_themes’ => true, // Themes //+

    ‘manage_plugins’ => true, // Plugins //+

    ‘manage_options’ => true, // Options //+

    ‘edit_users’ => true,

    ‘manage_tags’ => true, // Rename, Merge, Destroy

    ‘edit_others_favorites’ => true,

    ‘manage_forums’ => true, // Add/Rename forum

    ‘delete_forums’ => true, // Delete forum

    ‘delete_topics’ => true,

    ‘close_topics’ => true,

    ‘stick_topics’ => true,

    ‘move_topics’ => true,

    ‘view_by_ip’ => true, // view-ip.php

    ‘edit_closed’ => true, // Edit closed topics

    ‘edit_deleted’ => true, // Edit deleted topics/posts

    ‘browse_deleted’ => true, // Use ‘deleted’ view

    ‘edit_others_tags’ => true,

    ‘edit_others_topics’ => true,

    ‘delete_posts’ => true,

    ‘throttle’ => true, // Post back to back arbitrarily quickly

    ‘ignore_edit_lock’ => true,

    ‘edit_others_posts’ => true,

    ‘edit_favorites’ => true,

    ‘edit_tags’ => true,

    ‘edit_topics’ => true, // Edit title, resolution status

    ‘edit_posts’ => true,

    ‘edit_profile’ => true,

    ‘write_topics’ => true,

    ‘write_posts’ => true,

    ‘change_password’ => true,

    ‘read’ => true

    ) );

    $roles->add_role( ‘administrator’, __(‘Administrator’), array(

    ‘administrate’ => true,

    ‘moderate’ => true,

    ‘participate’ => true,

    ‘edit_users’ => true, //+

    ‘edit_others_favorites’ => true, //+

    ‘manage_forums’ => true, //+

    ‘delete_forums’ => true, //+

    ‘manage_tags’ => true,

    ‘delete_topics’ => true,

    ‘close_topics’ => true,

    ‘stick_topics’ => true,

    ‘move_topics’ => true,

    ‘view_by_ip’ => true,

    ‘edit_closed’ => true,

    ‘edit_deleted’ => true,

    ‘browse_deleted’ => true,

    ‘edit_others_tags’ => true,

    ‘edit_others_topics’ => true,

    ‘delete_posts’ => true,

    ‘throttle’ => true,

    ‘ignore_edit_lock’ => true,

    ‘edit_others_posts’ => true,

    ‘edit_favorites’ => true,

    ‘edit_tags’ => true,

    ‘edit_topics’ => true,

    ‘edit_posts’ => true,

    ‘edit_profile’ => true,

    ‘write_topics’ => true,

    ‘write_posts’ => true,

    ‘change_password’ => true,

    ‘read’ => true

    ) );

    $roles->add_role( ‘moderator’, __(‘Moderator’), array(

    ‘moderate’ => true,

    ‘participate’ => true,

    ‘manage_tags’ => true, //+

    ‘delete_topics’ => true, //+

    ‘close_topics’ => true, //+

    ‘stick_topics’ => true, //+

    ‘move_topics’ => true, //+

    ‘view_by_ip’ => true, //+

    ‘edit_closed’ => true, //+

    ‘edit_deleted’ => true, //+

    ‘browse_deleted’ => true, //+

    ‘edit_others_tags’ => true, //+

    ‘edit_others_topics’ => true, //+

    ‘delete_posts’ => true, //+

    ‘throttle’ => true, //+

    ‘ignore_edit_lock’ => true, //+

    ‘edit_others_posts’ => true, //+

    ‘edit_favorites’ => true,

    ‘edit_tags’ => true,

    ‘edit_topics’ => true,

    ‘edit_posts’ => true,

    ‘edit_profile’ => true,

    ‘write_topics’ => true,

    ‘write_posts’ => true,

    ‘change_password’ => true,

    ‘read’ => true

    ) );

    $roles->add_role( ‘member’, __(‘Member’), array(

    ‘participate’ => true,

    ‘edit_favorites’ => true,

    ‘edit_tags’ => true,

    ‘edit_topics’ => true,

    ‘edit_posts’ => true,

    ‘edit_profile’ => true,

    ‘write_topics’ => true,

    ‘write_posts’ => true,

    ‘change_password’ => true,

    ‘read’ => true

    ) );

    $roles->add_role( ‘inactive’, __(‘Inactive’), array(

    ‘change_password’ => true,

    ‘read’ => true

    ) );

    $roles->add_role( ‘blocked’, __(‘Blocked’), array(

    ‘not_play_nice’ => true // Madness – a negative capability. Don’t try this at home.

    ) );

    http://svn.automattic.com/bbpress/trunk/bb-includes/functions.bb-capabilities.php

    Hope that helps! :-)

    #85770

    In reply to: Main Theme

    Sorry I haven’t found a plugin. I am searching for one.

    But Your post should read


    “I want the bbpress theme to be a custom one, but needs the default theme to be available for some selected categories only. Is there a plugin that allows me to use specific themes for specific categories? “


    #68052
    NiksE
    Member

    It’s still not working for me :( Maybe somebody can tell why? When I press on Avatar icon then openning the forum homepage? I really need this plugin!!!

    #85693

    In reply to: Login/Register bridge

    Just write the code how you want bbPress to handle passwords (the way your app does) and then put it in functions.php to override the function defined in pluggable file

    #85722
    Sam Bauers
    Participant

    I think the advice you’ve been given is wrong. Public computers are all setup differently, but very few will have cookies disabled.

    If you are worried about peoples security, you can disable the “remember me” checkbox on the login form by just removing it from the theme.

    This is in bb-templates/kakumei/login-form.php

    In any case, moving from cookies to sessions would be difficult as most of the non-login cookie usage is not setup to be pluggable.

    #84559

    In reply to: bbPress mobile version

    BerryReview
    Participant

    Sorry guys this forum really needs a notify on reply via Email function.

    So GPL derivative means I can repost derivative works? Its not that crazy different from his code but hacked up quite a bit to compensate for the differences between BBPress and WP.

    I will try to clean up the plugin a little bit before release since it has some serious custom code that I need ot cut out since it wont work on another site. The template is up to you to edit away but you will need to know a little bit about how BBPress templates work.

    I will try to get something for you guys soon. Anybody want to volunteer to test it out?

    #85467
    chrishajer
    Participant

    It might be fixed, but I wouldn’t wait for that day to make the search better on your site.

    I turned off the search on one of my forums because it was so bad and frequently irrelevant. I wonder if a Google CSE would be a better fit if your forum relies heavily on search?

    http://www.google.com/cse/

    For searching this forum here, I usually search google like site:bbpress.org/forums/ whatever – but that relies on the content already having been indexed by Google. I’m not usually trying to find something from the past few days; usually it’s something I remember specifically but can’t remember who wrote it or when. If I search for these forums for the phrase, with Google, I typically find it.

    chrishajer
    Participant

    To change the keys, just delete those four lines, and create new keys here:

    https://api.wordpress.org/secret-key/1.1/bbpress/

    Then paste the new keys back into the same location in bb-config.php.

    DO NOT attempt this if you have integrated logins with WordPress. You didn’t mention that, and the site you linked to comes up with forum first as the main page, not a WordPress blog. So, if you’re using just bbPress without integration, it’s safe to change those keys.

    Here’s the advice from wp-config.php on what this does:

    You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

    You didn’t mention earlier that you’re relying on the browser to save your password. I would try with a new browser and typing in the password manually to see if you get the failure on the first attempt with your known good password.

    #85683
    johnhiler
    Member

    The lead developer on BuddyPress explained the relationship this way: “There is code in BuddyPress that allows bbPress to install, configure and run all within the WordPress environment.”

    https://bbpress.org/forums/topic/future-of-bbpress#post-60022

    They are definitely separate programs… it’s just that BuddyPress is based on WordPress MU, and the BuddyPress team has added the ability to install bbPress from inside of WordPress.

    Hope that clarifies the relationship a bit more!

    johnhiler
    Member

    I just registered on your site and then tested the signin… it worked for me on the first try! :-) I’m using Google Chrome…

    Maybe there’s a known issue between your browser and the “saved passwords” option… which browser are you using?

    bforeste
    Member

    Just when I was ready to throw in the towel for the weekend! ;)

    I just attempted to do a perfectly clean upgrade: still getting the db connection issue after bb upgrade tells me I need to upgrade my DB. These are my only instructions: https://bbpress.org/documentation/upgrading/

    Chris – I do have a solid / tested 0.9 backup. That’s where I was headed before checking the boards one last time. I’m installing this on a test sub-domain of my production website – so no LAMP. I use the Media Temple Grid Server (poor man’s server) and have scoured the other Media Temple quirkiness posts here. I tried hard-coding the db host https://bbpress.org/forums/topic/mysql_connect-cant-connect-through-socket with no luck.

    Regarding the 0.9 bb-config…I did find some remnants of a WP integration attempt (keys and whatnot). But, because my 1.0.2 upgrade ‘overlays’ the old bb-config – I’m starting with a new, clean (non integrated) bb-config doc. My problem is that, I can’t get to Step #2 of the install – that’s where I hit the db connection issue every time.

    I’ve gone through the bb-config doc, and the DB host / user / pw settings a million times. I’ve updated all my schemas to UTF8 and the UTF8 charset – and I’m applying those config settings into my bb-config. Nothing works.

    I’d like to blast my tables too…but that feels pretty invasive to me. A real test of my backup / recover abilities. I may not have the legs to get it done today.

    Thanks as always for any help.

    chrishajer
    Participant

    The renaming of the directory only come into play when you have an existing installation, and you change that folder name (some people install in http://www.example.com/bbpress/ and then realize later that path is accessible on visible, so they change it to “forum” or “discussion” or “community” or whatever.) The problem is, that folder name was stored in the database as part of the site URI (I think) so you are unable to access the forum in the new folder, since the database thinks the installation is somewhere else (original location.)

    You can override the site URI in the bb-config.php (it’s not there in the 1.0 bb-config.php, but it is there in the 0.9 and earlier config, I think):

    $bb->uri = 'http://www.example.com/forum/' (or change forum to the folder name that exists in your database. This line in bb-config.php will override the database.)

    Also, it’s worth looking at the changes between bb-config.php from the 0.9 version to the 1.0 version. I have noticed with WordPress that even though you upgrade several times, you are left with the old existing wp-config.php and missing out on all sorts of stuff (like the security keys and cookie stuff from 2.7). Worth a shot to try your old database connection details in the bb-config-sample.php and see how it goes.

    Also, is this a LAMP setup with PHP5, Apache, Linux, etc or is it OSX or Windows? Or localhost? Most installations are on LAMP so that’s the most likely help to find here.

    #85654
    chrishajer
    Participant

    You can get a zipped version here:

    https://trac.bbpress.org/changeset/2401/trunk?old_path=%2F&format=zip

    Or you can check out the latest via subversion:

    svn co http://svn.automattic.com/bbpress/trunk/ .

    Either of those two methods will get you the latest trunk (development) version.

    #84557

    In reply to: bbPress mobile version

    johnhiler
    Member

    Alex’s SVN links here:

    https://plugins.trac.wordpress.org/browser/wordpress-mobile-edition/trunk/wp-mobile.php

    Lines 17 and 18 mention a GPL license:

    17 // Released under the GPL license

    18 // http://www.opensource.org/licenses/gpl-license.php

    So you should definitely be able to release this plugin as a derivative work. Good thing too, b/c I’d love to use it! :-)

    #84556

    In reply to: bbPress mobile version

    Navin
    Member

    @BerryReview I’d love to use that plugin if available, I don’t mind editing the codes at all.

    I tested your page with this website http://iphonetester.com/ and it’s looking good.

    Good work, man!

    Gene53
    Member

    “I guess I will go back to the ever so slow VastHTML forum plugin”

    I had a look at it and some have reported that VastHTML is broken under WP 2.9.2 while others report malware in the code. What’s you experience with it?

    #85642
    Gautam
    Member

    Sorry, the correct command is:

    UPDATE bb_usermeta SET meta_value = 'a:1:{s:9:"keymaster";b:1;}' WHERE user_id = %%USERID%% AND meta_key = 'bb_capabilities' LIMIT 1

    Replace %%USERID%% with user id

    #85640
    Gautam
    Member

    Do you have access to your database? If yes, then create a new user which you want to be the admin. Then open your database through phpMyAdmin and open the database used in your bbPress install. A lot of tables would load in the left, click on the box like thing in the left of bb_users (or TABLEPREFIXusers), see the user you just created and note the ID in the left of it. Next, click the box in the left of bb_usermeta and then in the above part of right, click the SQL tab. In the textbox that appears, paste this:

    UPDATE bb_usermeta

    SET meta_value = ‘a:1:{s:9:”keymaster”;b:1;}’

    WHERE user_id = ‘%%USERID%%’ AND meta_key = ‘bb_capabilities’`

    Don’t forget to replace %%USERID%% with the id you noted down before.

    bforeste
    Member

    Day two of attempted upgrade.

    I combed through the boards, without much luck in terms of issue resolution (gripe!). If I figure out the remedy to my issue, I will be sure to post it here (so we can benefit from my stupid mistakes). ;)

    I re-read the upgrade directions, and thought I would give it a fourth try. This time, I restored my 0.9 install and files, logged into the Admin control panel – everything okay.

    I then moved all the new 1.0.2 directories over & replaced the 0.9 files (since I knew my backup worked). I verified my bb-config file was still good (shouldn’t have been touched).

    I then ran the ‘upgrade.php’ script forum/bb-admin/upgrade.php

    and got the message that my DB needed upgrading – so I select ‘upgrade DB’ and then receive:

    ERROR: Could not establish a database connection

    So – if I’m able to login to my bbpress 0.9 install and have full access to the DB, and I’m using the same bb-config values (same file!) – why would I not be able to establish a DB connection?

    BTW – in another post, someone mentioned clearing browser cache helping…which I did. Nothing positive…

    Any ideas out there?

    #77677
    OKTeaRoom
    Member

    THIS!

    Can anyone make that WP plugin a BBP plugin?

    https://wordpress.org/extend/plugins/rpx/

    I’ll give you a cookie :)

Viewing 25 results - 21,876 through 21,900 (of 32,516 total)
Skip to toolbar