Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,926 through 5,950 (of 6,780 total)
  • Author
    Search Results
  • #70927
    chrishajer
    Participant

    It looks like you used wp_ (instead of bb_) as your table prefix, and WordPress was already installed, which means bbPress tried to install into the WordPress tables?

    By default, WordPress uses these tables (in 2.7):

    wp_comments

    wp_links

    wp_options

    wp_postmeta

    wp_posts

    wp_terms

    wp_term_relationships

    wp_term_taxonomy

    wp_usermeta

    wp_users

    And bbPress uses these in the alpha version:

    bb_forums

    bb_meta

    bb_posts

    bb_terms

    bb_term_relationships

    bb_term_taxonomy

    bb_topics

    bb_usermeta

    bb_users

    bbPress 0.9.0.* versions used different tables:

    bb_forums

    bb_posts

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    bb_usermeta

    bb_users

    And when you integrate, bbPress uses the wp_users and wp_usermeta tables instead of its own bb_users and bb_usermeta.

    #70841
    _ck_
    Participant

    This seems a great time to mention a new hidden feature in bbPress 1.0 based on a suggestion I made: “Safe Mode”

    When you don’t know why something isn’t working, one quick and easy way to prove if it’s a plugin gone wrong or not is to temporarily try “Safe Mode”

    The way to activate safe mode is to edit bb-config.php and insert

    $bb->safemode = true;

    Then your forum will temporarily switch to the default theme (which you should never have tampered with) and disable all plugins, temporarily.

    When you are done testing, remove the line from bb-config.php

    This is far easier than deactivating 20+ plugins, one at a time and then having to activate them again.

    #70875

    I opened that a half a month ago :) But thanks, _ck_! It works now. I updated my ticket but … why isn’t it picking that up from the default template?

    #70874
    _ck_
    Participant

    No you miss the point that both are put into the template so the ajax can hide or unhide the link as necessary depending on the post status.

    But older themes without the two classes above will never hide the alternate link by default. So they both show.

    There will be hundreds of questions about this now.

    Put these two classes into your style.css

    #thread li .undelete-post, #thread li.deleted .delete-post { display: none; }
    #thread li.deleted .undelete-post { display: inline; }

    and it should fix.

    #70872
    _ck_
    Participant

    Might be a trunk bug but strange how it works in the default.

    They changed how the links work to bb_post_admin so it’s all internal now.

    If there is a bug, it would be in

    function bb_get_post_delete_link( $post_id = 0 ) {

    Unless maybe in your template you have both

    bb_get_post_delete_link() and bb_post_admin()

    which should not be.

    Wait, I take that all back

    something crazy is going on with line 1599,

    you now MUST have in your theme both classes to hide the inactive link.

    So they essentially broke every theme in existance with the new trunk. Nice.

    $r = "<a href='$delete_uri' class='$ajax_delete_class delete-post'>" . __( 'Delete' ) . "</a> <a href='$undelete_uri' class='$ajax_undelete_class undelete-post'>" . __( 'Undelete' ). '</a>';

    Go into your stylesheet and copy from the default kakumei stylesheet the styles for

    #thread li .undelete-post, #thread li.deleted .delete-post { display: none; }
    #thread li.deleted .undelete-post { display: inline; }

    Are they calling everything threads instead of topics now? Ugh. More confusion.

    #70868
    Ben L.
    Member

    I’m on the current trunk as of writing this post. (1903) I’ll try testing the live forum.

    Edit: Using the default theme made the problem go away, but the line of code that shows the edit/delete/undelete links is exactly the same as Kakumei’s and there’s no functions.php file.

    #70867
    chrishajer
    Participant

    Rather than trying your theme and plugins on another installation, how about turning off the plugins and trying the default theme on your live forums? Testing the other way is not a 100% test.

    Do you know what revision of trunk you’re using? I installed trunk two years ago, but it was a much different version then.

    #70802

    Also, when I register a new user through WordPress as per normal, that user is still not assigned a role in bbPress. Not when they login, not when they hit the forum for the first time. Not ever.

    My Steps:

    1. I used a Chrome browser window to register a new user through WordPress
    2. Logged in via WordPress
    3. Hit the forum
    4. User could not post, looks like has no role
    5. Logged out via WordPress
    6. Used FireFox to login as admin to check new user role
    7. No Role Assigned
    8. Used Chrome to login through bbPress
    9. Hit the forum
    10. User could not post, looks like has no role
    11. Used Firefox admin to edit Test user
    12. Received typical error message (noted below)

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /forums/bb-includes/functions.bb-template.php on line 2009

    Basically it looks like the exact same error message as before, with the same circumstances.


    Round two using alpha 5 trunk from the SVN went exactly the same way, only this time when I logged in via bbPress, the above Warning went away, but that user is still marked as Inactive by default when they should be a Member according to the role map.


    When registering through bbPress, the new user still is not assigned a Role on the WordPress side either.


    Sam, can you explain to me what was supposed to be different in alpha5? Maybe I misunderstood…

    #70756

    In reply to: List of Hooks/Actions?

    Ben L.
    Member

    Most of the filters are in defaults.bb-filters.php or default-filters.php before 1.0.

    #70175
    dragly
    Member

    @JesperA: Have you tried to change the cookie keys from the default phrases? For instance a simple word?

    I’m not at all sure if that’s the problem, but I didn’t get my integration working before I changed the keys to something completely different without special chars or whitespaces. Although I might have done something else as well in the same run.

    _ck_
    Participant

    That’s funny I was just about to make a TRAC ticket pointing out there is no index on topic_time for the latest view.

    Strange you have to force the index though, what is the default ORDER BY, let me go look…

    yup, they order by topic_time, with no index, that’s just crazy, even for just 1000 topics, because it would have to do a full column scan. Ordering by topic_last_post_id would be even faster with an index too though I guess in a very strange circumstance the last post might not be the last time.

    Still, you should not have to force the index.

    Oh wait, I see why – it’s because mysql decides to use the stickies key instead, ugh.

    Yeah I can see why that would bring a large forum to a crawl.

    I think whomever designed the bbPress database tables had a misunderstanding how mysql indexes work because they are using multiple field indexes that are not the primary key. Or a key at all. Which is useless because mysql will only use one index per query regardless of it’s complexity (or lack of). An index on multiple fields is useless unless it’s used as a key. MySQL 5 can use different indexes for the query vs ORDER BY or GROUP BY but bbPress doesn’t take advantage of that at all.

    #4546
    virginiagirl
    Member

    I created a theme so the Forum looks integrated with the rest of the site, but now the Reply link does not work and the Reply box does not show up. I’m not sure how to fix it. When I change it back to the default theme, everything works fine. I didn’t make any major changes to the files, but maybe I deleted something? If anyone can help me figure out how to fix this I would appreciate it!

    Here is the forum: http://www.fallforthebook.org/bbpress

    And here is an example of the issue: http://fallforthebook.org/bbpress/topic.php?id=2

    #70646

    In reply to: Deactivate New Users

    Trent Adams
    Member

    Generally what I do is just edit your template to change the code on register.php to just have the registration page either redirect to your wordpress registration or have a link on it. If you use the default theme, just copy it into /my-templates/ and edit the register.php file of your theme. That seems to be the easiest as it then never shows the bbPress registration form.

    #70635

    In reply to: Subforums and Feedback

    feastoffools
    Member

    Thank you guys so much for the feedback! Are any of you guys available (for hire) to upgrade our bbpress forums? Right now we’re running version 0.8.3.1 — really hope that version 1.0 will be ready to go soon.

    Right now I’d just like to get it to work with version 0.9– thanks!

    Another issue I notice is that a lot of our users don’t scroll down the page to post entries, and usually wind up putting the top category by default.

    #4521
    hotforwords
    Member

    For topic_page_links() on the forum home page, I went to: /bb-includes/functions.bb-template.php -> line 932 and changed ‘show_all’ => false to ‘show_all’ => true

    This allows me to show the pages of a post without popular topics shifting the entire forum to the right.

    You can see it in action here: http://www.hotforwords.com/forums/

    Most themes disable this tag as it messes up themes with popular topics.

    My question is, if I have to change the default setting on a bbpress core page, that would indicate to me that there is a variable I can put within the tag… between the ().

    Does anybody here know what I can put there so that I don’t have to change the core pages? ie: topic_page_links(show_all->true) or something like that.

    Thanks!

    #55951

    In reply to: Show off your Forum !!

    I started playing with WordPress on December 25th. ApocalypticTomorrow was born on the next day. On that same day, I discovered bbPress and it was then integrated with WP. At the mement it has the included default “blue” theme and not many plugins but as the days go by, I will be modifying it and adding plugins as well as changing the look and feel.

    Check it out at http://apocalyptictomorrow.com/bbpress (feel free to join and be one of the first ones in the newly-made community!)

    By the way, you can shameless self-promote your personal website at:

    http://apocalyptictomorrow.com/bbpress/forum/website-promotion

    #55950

    In reply to: Show off your Forum !!

    Fernando Tellado
    Participant

    I’m finishing my new forum (latest was made with SMF). I’m using bbPress 1.0 alpha 4 with the default theme (in blue and customized) and several plugins (a lot):

    – Akismet

    – Attachments

    – Favourites notification

    – Registration notification

    – Temporal Ban

    – bbcode buttons

    – smileys buttons

    – Related topics

    – Signatures

    – bbcode lite

    – bbvideo

    – post count plus

    – support forum

    – mass edit

    – hidden forums

    – active users

    – bbpress karma

    – terms of service

    – human test

    – report post

    I’ve made the translation of bbPress 1.0 to spanish ( http://ayudawordpress.com/bbpress-espanol-alpha-104/ ) and the forum URL is …

    htp://foro.ayudawordpress.com

    #4513
    TechGnome
    Member

    I’m not sure if this is a rant, a request for help, or a general gripe.

    I want to replace the default front page with something else. I’m building a website for an online radio station, and when visitors first hit the site, I want them to see current info, like what’s playing, what’s up next, and the last few that played. From there, there would also be a “Listener Forums” link that would take them to another page that would be the forums’ front page.

    Trying to be smart about it, I took index.php from the root, copied it, and renamed it “forums.php”. Then I went into the template, copied front-page.php and renamed the copy “station.php”. So far, so good. Then things went wrong from there.

    Back at the root, I opened the index.php and changed it to call station.php instead of front-page.php. I then went to my website, and made sure that index.php was still working, which it was. Again, so far, so good. At this point station.php and front-page.php are exactly the same, as are index.php and station.php, with the one exception. But I should still get the exact same thing from both index.php and forums.php (or so I thought). When I visited the forums.php of my site…. I noticed it was….. off… and not a little, the layout as a whole was jacked with very little in the wrong place.

    Careful scrutiny of the source for both pages led me to find out that on the forums.php version, I was missing the ID off of my body tag. Eh? I finally found the location in the bbPress file that returns the body id…. and sure enough…. because my “file” doesn’t fit into the list… I’m not getting a body id…. well, this isn’t very flexible. My first thought was to create my own version and include it in my functions file…. but that’s hardly a solution.

    So, am I stuck? Do I need to consider something else? How do I get around this? I’ve got other files I will be adding to my site like this… so this is just the first of several times this is going to happen to me. I’m just glad that I didn’t fully finish the plugin I was working on. I would hate to have wasted my time on something that I can’t use.

    annoyed and frustrated,

    -tg

    #70582
    Trent Adams
    Member

    Compare the functions from the default theme and the theme you are trying to integrate. It is hard to say what you changed that caused you issues. It is pretty much guessing without knowing what you changed.

    #70578
    Buca
    Member

    I was able to successfully able to add a new topic with the default theme. I do have access to the database, though I’m not sure what to look for or where to begin.

    #70576
    chrishajer
    Participant

    Looks like creating a new topic results in the error message, but replying to an existing topic works fine. I tried to create a new topic and got the error, but I was able to reply to the existing topic.

    I also registered at the forum, not the blog, even though there was no register link there.

    Have you tried this with the default theme? Maybe something with the theme integration is causing the problem.

    #70566

    In reply to: installation help

    chrishajer
    Participant

    If you put in username, password and database name, it sound like the only thing missing is the host name, which is localhost by default, but maybe you need to set a different host name.

    This setting is hidden during installation by a link called something like “Show advanced database settings.” When you click that you will see two additional fields: host name and table prefix. My guess is that you need to set the host name.

    What host name does the host tell you the database resides on, what are their instructions?

    #4493

    Hello,

    Finally was able to get the Forum installed – like it so far. :) However, with my blog http://www.itshaunted.com members are contributors and each has an extended role; however, When members sign-up Forum FIRST his/her membership is considered a role: NONE for the blog. How can I change the role in the forum to match the assigned role in the blog? Simply meaning, you sign up via blog FIRST your role is a contributor; however, if you sign up Forum FIRST your default assigned role is NONE.

    Thanks in advance.

    #69126
    suzkaw
    Member

    I would say it must be related to your setup. Either browser or hosting because I am unable to duplicate this and if the default doesn’t work then something has to be going on.

    #70410
    Sam Bauers
    Participant

    I don’t recall if this is in the stable version 0.9, but in 1.0 on the default themes when you click on the “freshness” column in the topic lists you go to the last post (on the last page).

Viewing 25 results - 5,926 through 5,950 (of 6,780 total)
Skip to toolbar