Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,876 through 27,900 (of 32,462 total)
  • Author
    Search Results
  • _ck_
    Participant

    I am not sure why Google would be seeing redirects. bbPress only redirects after form submits via wp_redirect to the best of my knowledge. Some plugins do too, but usually again after only form submits. Even tag URLs don’t use redirects.

    Are you saying the sitemap plugin does not generate permalink urls but rather the non-slug type ie. ?topic=123 If so, it’s outdated and if you are using slugs it should be modified to generate results that take advantage of slugs.

    #64071
    _ck_
    Participant

    bbPress has a function to check for administrators.

    if (!in_array(intval($GLOBALS['forum']->forum_id), array(2,5,9)) || bb_current_user_can('administrate')) { do something here }

    where 2,5,9 is the list of forum numbers you want to restrict

    what you are trying to do is possible but very tricky

    For example the “add new” on the front page offers all the forums for posting and you’d have to write a replacement for the list (bb_new_topic_forum_dropdown)

    All the “magic” happens in post-form.php, so you could take that if statement above and wrap the entire template with that (in theory).

    #64208
    _ck_
    Participant

    Find bb-templateskakumeifront-page.php (or the same template name in any alternate theme you might be using) and find the line that says

    <?php if ( $topics || $super_stickies ) : ?> (around line 11) and make it say

    <?php if ( 0 && ( $topics || $super_stickies )) : ?>

    which will make the if statement always fail and never show the latest discussions. If you ever want to restore it, just remove the zero &&.

    #64156
    refueled
    Member

    “Interesting design.”

    Hopefully that’s a good thing, and not too interesting that it’s junk. :)

    Thanks for adding it to bbshowcase.

    #53835

    In reply to: k2 for bbpress

    linickx
    Participant

    I had an e-mail saying that the latest bbpress broke my port, so I’ve done a re-release :)

    http://www.linickx.com/archives/402/k2-for-bbpress-updated-v002

    #64152

    In reply to: Prblem upgrading

    Sam Bauers
    Participant

    If bbPress and WordPress are in the same database then hopefully all you should have to do is add this line to your bb-config.php after the database definitions:

    $wp_table_prefix = 'wp_';

    #64137
    mattpeckham
    Member

    Good question GoeffF, looks like it used to be here:

    http://bbshowcase.org/forums/view/available-themes

    But clicking on it just refreshes the page. Clicking on the author’s link takes you to a rather nebulous blog which for all I know has the code for the theme (if it’s even still the blog of the original guy) but good luck finding it.

    Was there a legal issue with posting that theme? Did bbPress not approve?

    #64144
    Hermiony
    Member

    Hi Chris,

    It is a WP blog, I just call it a website as I’ve tweaked a tad to be more websitesque and not bloggy.

    Thank you for your help :-)

    #63492
    citizenkeith
    Participant

    I had some spam to delete today, and realized that the “Delete” function still wasn’t working for the Keymaster.

    I deleted the offending post and topic name from PHPMyAdmin, but I really don’t want to do that!

    Can somebody help me troubleshoot this problem? The forum gets a decent amount of traffic, and there are a few trolls waiting in the wings. :)

    #64193

    In reply to: Plugin problem

    rbredow
    Member

    This one had me stumped but I just figured it out. I should probably document the solve it here in case others encounter the same problem.

    Like many people, I have bbpress installed in a subdirectory below wordpress:

    /myblog/bbpress/

    I also use the popular wp-super-cache plugin for wordpress. It turns out, you really need to add your bbpress directory to the list of rejected URI’s for wp-super-cache. For the above example, you’d want to add this line to the Rejected URI’s field:

    /bbpress/

    Otherwise, your bbpress board and the administration panel will be semi-randomly showing you old cached pages. Unsurprisingly, this can cause all sorts of strangeness including apparently activating/de-activating plugins, showing plugins that you’ve deleted, etc.

    -Rob

    #49642

    In reply to: Emoticons For bbPress?

    citizenkeith
    Participant

    At least I’m not the only one with problems. :)

    I have the plugin activated, and if you type the shortcut, the image does appear. But you can’t click on the image links to make them appear in your post.

    #64126
    intellivision
    Participant

    Same behavior when I don’t check “remember me”. Logging in one logs me out of the other.

    Note: I just today moved the site from a dev area at

    coloradoboards.com/appleswitcher/wp/

    to

    appleswitcher.com/wp/

    so further cookie path examples will reflect that.

    #64140
    chrishajer
    Participant

    In wp-config.php, there is this line:

    define('SECRET_KEY', 'put your unique phrase here');

    Whatever value you have there is what you need for bbPress.

    For WordPress address and Blog address, log into your WordPress control panel and under “Settings” you will find these two entries. Whatever is here is what you put into your bbPress installation.

    They are entries three and four I believe.

    http://www.example.com/wp-admin/options-general.php#siteurl

    http://www.example.com/wp-admin/options-general.php#home

    #64079
    mattpeckham
    Member

    I’m not sure why, but the file wasn’t there. Perhaps I inadvertently deleted it? I downloaded the install again and bingo, there it was. Uploaded it and the install went off without a hitch.

    Conclusion? Bad user on device error. :)

    Matt

    #3164
    intellivision
    Participant

    Logging in to WP 2.5 logs me out of bbPress 0.9.0.1, and vice-versa.

    Cookie information with bbPress .9

    name: wordpress_613ba28cb41760cadf1f08a898f98620
    contents: xxxx%7C1208969840%7C594bfc5f83a1e8af5dd70d130d4c0b89
    website: coloradoboards.com
    path: /appleswitcher/wp/
    date: Wed, Apr 23, 2008 10:57:19 AM

    Cookie information with WP 2.5

    name: wordpress_613ba28cb41760cadf1f08a898f98620
    contents: xxxx%7C1208969965%7Cba3e6d706d0ec0feff73e34afde5d9f0
    website: coloradoboards.com
    path: /appleswitcher/wp/
    date: Wed, Apr 23, 2008 10:59:23 AM

    …where xxxx is a not my username… just using that for security.

    #64061
    Hermiony
    Member

    Thank you Feldman :-)

    Sam Bauers
    Participant

    Thanks so1o, that’s the quick an dirty fix. That code uses jQuery methods, and jQuery is not available in topic pages.

    It didn’t get picked up because that code falls back to non-ajax requests when it fails.

    We are half way through removing all prototype in favour of jQuery, and this snuck under the radar.

    #63869
    Sam Bauers
    Participant

    Looks like you got the $bb_table_prefix wrong when you installed, it should have been different to the wordpress prefix.

    Change $bb_table_prefix from “wp_” to “bb_” in bb-config.php then rename you bbPress tables thusly:

    wp_forums -> bb_forums
    wp_tagged -> bb_tagged
    wp_tags -> bb_tags
    wp_topicmeta -> bb_topicmeta
    wp_topics -> bb_topics

    .

    Do not rename wp_posts, wp_users or wp_usermeta!

    This will still leave you without a bb_posts table. So if you have a way to browse your database (e.g. phpMyAdmin) then go into the bb_topicmeta table and look for the row with a meta_key of bb_db_version. Change the meta_value of that row from 1234 to 1233. Login to your bbPress (hopefully it works) then go to the admin section. You will be asked to upgrade, do so and check the log. You should see a log entry where your bb_posts table is created.

    That should do it.

    so1o
    Participant

    I fixed the error by adding

    <?php bb_enqueue_script('jquery'); ?>

    just before

    <?php bb_enqueue_script('topic'); ?>

    in header.php in the theme

    feelie75
    Member

    I’m sure this ISNT the proper solution, heh, but since it worked I thought I’d point it out.

    After Step 1 failed many times, I set out to debug it. My travel took me here:

    bb-includes/db-mysql.php

    $this->$dbhname = @mysql_connect( $server->host, $server->user, $server->pass, true );

    if (!$this->$dbhname)

    return false;

    That was failing and returning false everytime. I couldn’t figure it out. I printed out the hose and user and password, and it looked good. I could connect just fine from a shell prompt.

    After confirming that it actually WAS connecting, and that it was simply the lack of $this->$dbhname that was causing the failure, I just commented out the return false; and VOILA! It worked! Installation finished and I can post messages, etc, etc, everything seems fine.

    Soooo… What’s up with that?! hehe. $dbhname was == ‘dbh_local’.

    Not sure what other details I can provide. Just thought I’d share the rather strange experience and oddness that I’d have to hack the db_connect code to get the install to complete… Weird!!

    #64097
    erdenozkan
    Member

    Let’s say “A good image upload plugin is needed”. I agree with that. A good image upload system is a must for some communities and not for some.

    There’s no need to discuss why some users need image uploading and some not. I’ll be migrating a very large community to bbpress in a few months. The only reason for us to migrate to bbpress is its code base; it’s extendable and very easy to use. So we will write custom plugins to our specific needs.

    Yes, bbpress needs a very good image uploading plugin just like worpdress’s akismet plugin; developed seperately as a plugin. There are some good bbpress plugin developers over here, so what we need to do is just to donate some money. This kind of plugin will take bbpress one more step ahead.

    #64095
    timskii
    Member

    What you are probably looking for is Flickr-in-a-box as a separate application with a common user database. Just as I’m looking for a Facebook-in-a-box application to run alongside the forum to foster the more personal social side. I don’t believe these should be core parts of the forum software, but there is a need for them somehow.

    This notion of modular is important, because it is easy to get side-tracked and try and build the entire internet into one application. That might ultimately happen (mirroring the history of the Microsoft platform model), but at this stage of the game, nobody has the resources to do everything, so doing one part of the jigsaw well is the best plan.

    BBPress should focus development on its core, which still has weaknesses. IMHO the most urgent is augmentation of futuristic geek-only features with the traditional ones that most users understand. The need for these functions has been acknowledged in BBPress’s design, however the current implementation is lacking because they are too complex for “normal people”.

    So RSS needs to be mirrored with bespoke email notifications, because the only people that “get” RSS are ‘bloggers. Gravatars need to be mirrored with uploadable avatars, because the only people that get Gravatars are ‘bloggers.

    Ok, I generalise on the “bloggers” part. But I know moderately technical people that can’t manage to set up a Gravatar, and have no idea what to do with an RSS feed. So the clueless masses stand no chance of using these features for the purpose they were designed.

    BBPress’s killer feature at the moment is spam control without forcing users to jump through hoops just to register and post. Easy to work with code, and general lack of bloat are good to. But take a look at this, and tell me the #1 feature requirement of forum software (and if anyone can point to why that’s affecting phpBB 2 sites more than other software, I’m curious). That’s literally hundreds of spam posts an hour. Most admins faced with that kind of nightmare won’t be too worried about forcing users to host files elsewhere.

    #63937
    Ryan
    Participant

    What I did was edit the header file to include the code to load the WordPress stuff and then just included the header file from the WordPress theme. Then edited the footer.php file to just include the footer from WordPress. I did go through and add a few conditionals to the header.php so that different stuff would be in the <head> section depending on whether I was in forum or out of forum.

    #3154
    rbredow
    Member

    I’m newer to bbPress but I promise I’ve read all the threads on fixing login problems for the key_master, but they aren’t working for me with the latest version.

    First, everything worked great with a vanilla install. I then used this converter to import my phpbb forums. Unfortunately, this converter has a couple of issues, including messing up the ID of the admin user.

    So, I simply upgraded a few of my users to keymasters and got rid of the original admin user. Unfortunately, even though I have multiple keymaster users, when I log in as one, I cannot access the control panel.

    I’ve been looking through the databases and everything looks right to me. My example user is “rob” with an ID of “3”. In bb_usermeta user_id 3’s bb_capabilities are set a:1:{s:9:”keymaster”;b:1;}.

    I tried this solution in the bb-config.php file, since there isn’t a config.php file anymore, but it didn’t seem to do anything. Oddly, I couldn’t get it to emit an error either and I don’t see the function new_keymaster referred to anywhere in the current code so I’m not sure that still works.

    Thanks in advance for any help with this. Right now, I’m stumped.

    -Rob

    #64080
    Sam Bauers
    Participant

    Answer to the first question is that you need to add a SECRET to your wp-config file.

    https://codex.wordpress.org/Editing_wp-config.php#Secret_key_for_salting_password

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