Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 5,176 through 5,200 (of 6,778 total)
  • Author
    Search Results
  • #35414
    wblogan
    Member

    The admin functions on the topic.php page (where one can delete, close, stick or move a post) takes up three lines. View source:

    <div class="admin">

    [Delete Entire Topic]

    [Close topic]

    [Stick topic (to front)]

    [<form id="topic-move" method="post" action="http://domain/bbpress/topic-move.php">

    <fieldset>

    <div>

    <input type="hidden" name="topic_id" value="5" />

    <label for="forum-id">Move to</label>

    <select name="forum_id" id="forum-id"">

    <option value="4"></option>

    <option value="1"></option>

    <option value="2"></option>

    <option value="3"></option>

    <option value="5" selected="selected"></option>

    </select>

    <input type="hidden" id="_wpnonce" name="_wpnonce" value="(number)" /><input type="submit" name="Submit" value="Move" />

    </div>

    </fieldset>

    </form>]</div>

    </div>

    The first line ends with a ”.

    I’ve examined the topics.php page, found the ‘<?php bb_topic_admin(): ?>’, and found the function in bbpress/bb-includes/functions.bb-templates.php.

    if ( !$dropdown )

    return;

    $r = $before . ‘<form id=”topic-move” method=”post” action=”‘ . bb_get_uri( ‘bb-admin/topic-move.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . ‘”>’ . “n”;

    $r .= ‘<fieldset>’ . “n”;

    $r .= ‘<div>’ . “n”;

    $r .= ‘<input type=”hidden” name=”topic_id” value=”‘ . $topic->topic_id . ‘” />’ . “n”;

    $r .= ‘<label for=”forum-id”>’. __( ‘Move to’ ) . ‘</label>’ . “n”;

    $r .= $dropdown . “n”;

    $r .= bb_nonce_field( ‘move-topic_’ . $topic->topic_id, ‘_wpnonce’, true , false );

    $r .= ‘<input type=”submit” name=”Submit” value=”‘ . __( ‘Move’ ) . ‘” />’ . “n”;

    $r .= ‘</div>’ . “n”;

    $r .= ‘</fieldset>’ . “n”;

    $r .= ‘</form>’ . $after;

    I thought the problem might be the div after the fieldset, so I changed it to span, but that did not correct the problem. I can not read or understand the function.

    Is it possible to get the move option on the same line as the delete, close and stick options?

    nood
    Member

    Doesn’t matter as long as they are not the default ?post=2

    The structure affects posts but page permalinks are always in the format url/slug

    I always use the year/month/title option.

    #77151

    In reply to: Topic paging issue

    e-motion
    Participant

    The theme, basically, is default “Kakumei” with altered header and footer.

    #77127

    In reply to: Topic paging issue

    _ck_
    Participant

    Okay I see the problem now with the next page link on page 4, which takes it to an empty page.

    That in theory is a slightly different problem.

    We can see that bbpress thinks there are 81 posts (visible) in the topic.

    And there are 20 posts per page on the default setup.

    So yeah, there should be a page 5.

    Somehow post 81 is showing on page 4

    page 1: 1-20

    page 2: 21-41 <<<< mistake, post-position 24 is missing

    page 3: 42-61

    page 4: 62-81

    Something started going wrong on page 2 I think?

    It should start at 21 and go to 40.

    Let me go back and look at that.

    Yup, there is a gap for 23-25

    That means that number count is showing post-position and 24 has been deleted.

    So the example I show above with the pages, imagine post 24 is post 4 from the example.

    bbPress is being stupid and rounding up for some reason.

    There aren’t 81 posts in the topic, there are 80.

    #77124

    In reply to: Topic paging issue

    _ck_
    Participant

    Here’s a simplified example of what I think is happening internally.

    Let’s say for ease of understanding there are TWO posts per page.

    And there are 7 posts in this particular topic example

    |1 2| – |3 4| – |5 6| – |7|

    so there are 4 pages (each | | is a page)

    In this example, the post numbers are also the post-position.

    Now let’s say a mod deletes post number 4

    |1 2| – |3 5| – |6 7|

    Should only be three pages.

    But bbPress is stupid by default, post-position is never recalculated so those post numbers still represent post position in this example.

    bbPress DOES track number of posts in a topic, even when deleted.

    So requesting a link to the last post in the topic, regardless of post-position, WILL be calculated correctly, and return page 3.

    However, if it specifically asks for a direct link to post 7 and not the last post in the topic, this is what happens.

    Post 7 is post-position 7

    posts per page is 2 per page

    ceil( $post_position / $per_page )

    7 / 2 = 3.5, ceil of 3.5 = 4

    So it will ask for page 4

    Page 4 does not exist in the topic.

    The link may be created but the link is bogus and will not work, it will either return you to the first page of the topic, or maybe the front page of the entire forum.

    #94018
    milkyWim
    Member

    What i wanted to do is change the order of the topic comments and this is what worked for me:

    edit the file:

    bb-includes/functions.bb-topics.php

    and then change on line approx. 431 function get_thread()

    $defaults = array( ‘page’ => 1, ‘order’ => ‘DESC’ );

    //$defaults = array( ‘page’ => 1, ‘order’ => ‘ASC’ ); =>was the original line

    and then change on line approx. 436 function get_thread()

    //$defaults = ‘DESC’; //

    $defaults = ‘ASC’;

    #94015

    For anyone else that wants to set the default avatar… I eventually found this plugin that did work for me: https://bbpress.org/plugins/topic/bb-avatars/

    yahoo!

    now just to solve that pesky website link vs profile link issue.

    #35352

    is there a way to change the default gravitar to something custom? i’m not talking about a member’s gravitar, but the one that shows up if they have not personalized it. there is a plugin to do this in wordpress, but i haven’t found one in bbpress yet.

    also something i noticed is that under the gravitar… where the member’s name shows up, when you click on it the link takes you directly to their website instead of to their member profile……….. has anyone come across that and figured out a way to change that?

    does bbpress have a permalinks option like wordpress does?

    thanks!!!!! :)

    #93679

    In reply to: avatars

    ah… no wonder i couldnt find it. is there a way to do this with the uploadable wordpress gravitars though? and to customize the default?

    thanks for your help!

    #93703
    _ck_
    Participant

    @RedBull, if you were previously using the option to enable images via bbcode-lite, make sure you uncomment the first line that enables them again (by re-installing the plugin as default you’ve disabled them).

    #93689
    _ck_
    Participant

    Oh frack, it’s bbcode-lite.

    I run through post-text so the bbpress parser never fires.

    Fortunately img is disabled by default but I bet people turn it on.

    Working on a fix.

    #93684

    By default, bbPress does not allow using the img tag, it needs a plugin for this functionality. Of course, the given attributes style and any kind of JavaScript handler is highly unwanted, but it is a weakness in the plugin’s code, which has to be patched asap.

    #93248

    In reply to: bbpress vs the others

    Ricardo
    Participant

    @ Chrishajer

    Thanks for your advices

    @ Fernando

    About the localization, bbpress (1.02) its not available in Portuguese (Portugal), i wanted to translate just the “bits” that the user sees, ive tried poedit but its take time as i cant copy all strings from the “original area” to the “translated area” with one click, need to copy paste one by one, i installed glotpress and it copied all strings as i wanted with one click… all i have to do is edit the ones i want (what the user sees)

    Off topic:

    one question about glotpress….how can i change the admin password? I couldnt find any reference on how to do it, i wanted to make “my glotpress” available to anyone to contribute but without changing the password anyone can login as a admin and erase all the work done. Anyone know how to change the admin password on glotpress from the default one?

    Thanks to everyone for your advices

    #93676

    In reply to: avatars

    I think it is gravatar, although I uploaded a custom default gravatar that is local and the users avatars will be saved locally as well. :)

    #35272

    Topic: avatars

    in forum Plugins

    i tried one of the avatar plugins, but haven’t had much success with it. is there a way to change the default avatar… either via the code or is there a plugin that actually works?

    thanks much!

    minervaa
    Participant

    It doesn’t give any error messages, it just present you an empty white screen.

    tried with the default theme too, still it gives you an empty white screen

    After activating the plugin, you can’t access the forum. Actually it is more like you will see just an empty white screen.

    Great, much better info, thanks.

    Now what’s the error message please?

    bbPress version = 0.9.0.6

    This is probably the reason, but I’m sure I have it working on a bb0.9 version. i’ll double check.

    Theme is Hybrid but a little bit customised.

    And does it work on the default theme?

    Also, is this plugin suppose to give any option to set up on the admin side?

    No.

    #93296
    Avram
    Member

    I have the same problem, I just haven’t used BuddyPress. Fresh WP 3.0.1 multisite and bbPress installed from svn trunk (as suggested by friend). I’ve integrated bbPress with WP and since then I can’t go to /bb-admin/ (being redirected to the root of the forum) nor I can reply on default topic (created by installer). I’ve checked with other users and everyone can log in but noone can reply or create new topic.

    I’ve checked the database and wp_roles_map in bbPress db is:

    array (

    ‘administrator’ => ‘keymaster’,

    ‘editor’ => ‘moderator’,

    ‘author’ => ‘member’,

    ‘contributor’ => ‘member’,

    ‘subscriber’ => ‘member’,

    )

    In WP database (table wp_usermeta) wp_capabilities for my user:

    array (

    ‘administrator’ => ‘1’,

    )

    There is also wp_2_capabilities field which contains same serialized array.

    #35224
    ratracegrad
    Member

    I am helping a friend get bbpress installed with his wordpress site at http://www.sealgrinderpt.com and http://www.sealgrinderpt.com/forums.

    I have it installed. I have added a link on home page to get to the forums.

    My wordpress integration seems to not be working. He has an admin account on wpress that is not recognized on the forums. I created an default admin account in the bbpress installation. That account is not recognized when logon to wpress. The wp_config file does not have a $table entry so wondering if that is my downfall on the integration.

    Next question is how to get the header and look and feel of wpress site to carry over to the forum? I want at least the logo at top and the navigation menus.

    Thanks for help on these 2 issues. I am sure I will have more as I work on this site for my friend. Thanks in advance for all of the assistance.

    Jennifer

    #92933

    In reply to: bbpress.org theme

    Paul
    Member

    Looked again and found this post ->

    https://bbpress.org/forums/topic/bbpress-default-theme-1

    Why wouldn’t this theme be available?

    #92736
    RAAB
    Member

    I have already done this. Matter fact I went back in and changed all the key’s in my default template and then in my bbpress default template. Then I went into my bbpress admin and changed all keys once again.

    #92694

    In reply to: Problems with theme

    RAAB
    Member

    Thank You ashfame. I have been reading alot on bbpress trying to get answer’s and it seems that there is not much information that has been volunteered on solving some of these minor problems. I use google in trying to find much of my information and I keep getting 2 main website’s. This one (bbpress.org) and bb showcase.org.

    I was reading on one thread were it stated not to upload any themes in the bbpress template file that I had downloaded and to make my own file path (my-templates). Well when I decided after a couple of days of problems to go ahead and upload file’s in the bbpress templates location the themes started working.

    I had also changed the css on the Kakumei to Kakumei-blue because I was trying to get a certain look, but them disturbed the css which then altered the template. Also I can not find a download link to either of the default template’s for some reason? If someone could help me this is the look I would like to have http://www.seanbluestone.com/forums/

    I love the simple and easy flow of this forum and that is not what either one of my default template’s looked like when I received them.

    Also on another note: Can anyone help me out with my forum logging me out of wordpress when I’m logging into bbpress? I have checked all of the wordpress Integration, cookies, and blog url’s and I even changed all of them in my default template and then in my bbpress default template as it was suggested on another site that had a tutorial.

    Hope this is not too much and it makes since.

    Thank You for the help.

    #92788

    Pastor Bob,

    I’m sorry, i’ve gotten it wrong.

    I thought you wanted notification of a first post (or a new topic) and not every reply. So i’ve caused some confusion, sorry.

    It seems to me that everything is working well, just not in the right order for you.

    The way it works:

    1) New Post

    2) A plugin Email’s you

    3) Checks and makes spam.

    The way you want it to work:

    1) New post

    2) Check and make spam

    3) A plugin Email you if first time poster.

    To that end, what you’re looking for is something called “add_action”. It’s the plugin API call. It looks like this:

    add_action('action_name','function_to_fire',priority);

    priority can be left empty (and is then classed as 9? by default) and the lower number is fired first.

    The theory is, if you make sure that your “mark as spam” plugin fires before your email plugin (give them numbers 7 and 8), then you should be ok.

    So go through each plugin, looking for the add_action line. See if there’s a time when they both fire at the same “action name”, and then add/change the priority.

    Other than that, it seem slike a custom plugin would be the way forward.

    #35068

    Hello.

    I want to start by thanking the following developers: _ck_, Nightgunner5, Yu-Jie Lin, Olaf Lederer and michelwppi; for their time and effort in bringing about some very useful plugins.

    I have a few comments of my own, and in some cases, very important questions as well.

    Even though I have very few genuine users on my forum – four to be more precise, I have decided to (try to) offer as good of a service as I can. I have had a couple of spam posts (5.88%), which Akismet handled impeccably so far.

    Also, in the last few days I have had about 20-25 new users that only registered, and considering some of their email addresses, have no other intention but to spam. In this case, another useful plugin came to my rescue, Enhanced Registration, which appears to be doing the perfect job. In conjunction with this plugin, I am using New User Notification Email, so I am always notified whenever a new user registers and if in X hours he/she doesn’t login, then their username is removed and my database kept clean. A very good combination in my opinion.

    Further on, a common plugin for moderation that I am also using is bbPress Moderation Suite, and I am sure that it would prove its worth when people will be more interested in what I have to say on my forum. Anyway, I think it’s missing a very useful feature, provided (luckily enough) by Moderate new members’ first posts. Now, I have no doubt that this last plugin is working fine with some people, but not with me. What I wanted was to be notified once at an email address of my own choice (other than admin_email), whenever a new member made his first post (or after two). After that, he/she would post unhindered.

    So, I (think that I) have identified the section in the plugin that needs attention, where the post count is made:

    if(!is_moderator($bb_current_user->ID)) {
    $sql = "
    SELECT COUNT(*)
    FROM $bbdb->posts
    WHERE poster_id = $bb_current_user->ID AND post_status = 0
    ";
    $userpostcount = intval($bbdb->get_var($sql));
    }

    And where they are marked for moderation (as spam):

    if($userpostcount <= POST_NUMBER_MODERATION) {
    $sql2 = "
    UPDATE $bbdb->posts
    SET post_status = 2
    WHERE poster_id = $bb_current_user->ID
    ";
    $markedasspam = $bbdb->get_results($sql2);
    }

    Now, I wouldn’t know what or where to edit in order to have it do what I want, and that is why I would appreciate it if someone who does know it would assist me. No matter how many times my dummy user called “testing” makes a post, I always get a notification, at the default email address.

    I only want to be notified of the first post because I am using xili New Post Notification (xnpn) for the rest of them, at a different email address. What I like about this plugin is that it gives me the possibility to assign an email address of my own choice. It’s true that I would get an email twice when an user would post for the first time (2 plugins), but I can live with that, since they are at different email addresses (the default and my choice).

    Thank you,

    Bob

    #92723
    kai920
    Member

    I am using the default theme Kakumei (sp?). I don’t see any other errors of note in my MAMP log, and the Bluehost error log I don’t see anything useful either…

    You know what, I disabled nicer permalinks (on localhost) and it seems to work now, so this plugin may be the culprit.

    Could it be a conflict because my bb-press is installed in /forum?

    Here is what my .htaccess looks like when Nicer Permalinks is enabled:

    # BEGIN bbPress

    Options -MultiViews

    <IfModule mod_rewrite.c>
    RewriteEngine On

    # /forum/ and bb_get_option( 'path' ) must match
    RewriteBase /forum/

    Options +FollowSymlinks

    # admin stuff, not processed
    RewriteRule ^bb-admin/.*$ - [L,QSA]

    RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]

    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)$ profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)$ profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/$ profile.php [L,QSA]

    RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)$ rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&topics=1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)$ rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)$ rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)$ rss.php?view=$1 [L,QSA]
    RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/?$ rss.php [L,QSA]

    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)$ tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ tags.php [L,QSA]

    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)$ view.php?view=$1 [L,QSA]

    # forums
    RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # tailed '/' is mandatory for forum URIs! Props: Mohta

    # topics
    RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
    RewriteRule ^([^/]+)/([^/]+)$ topic.php?id=$2 [L,QSA]

    # other pages
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ index.php [L]
    </IfModule>

    # END bbPress

Viewing 25 results - 5,176 through 5,200 (of 6,778 total)
Skip to toolbar