Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,626 through 28,650 (of 32,500 total)
  • Author
    Search Results
  • #61375

    Go to Content > Forums and “Add Forum” there. That will give you another “category” (actually another forum) to post in.

    Esta bien, voy a explicarse lo que él dijo en el español :) . Vaya usted al Content>Forums, y clicka ¨Crear Forum¨, y se puede crear un catagoría con el nuevo foro :) . Hay un opción :D . Espero que usted sepa ahora :) .

    #61743

    In reply to: 1970 issue

    livibetter
    Member

    Could you post the search.php in your template? and check database to ensure the time is correct in database.

    #61796

    In reply to: Information

    chrishajer
    Participant

    Use the same database and just use the $bb_table_prefix = bb_ table prefix as suggested in the config.php. No need for a whole new database just for a few new tables.

    #57152
    chrishajer
    Participant

    AndrewMac, did you try the test in this post:

    https://bbpress.org/forums/topic/registration-email-not-being-sent-new-issue?replies=15#post-6931

    That will confirm if you can send mail from your server. It’s odd that WordPress works but bbPress does not. Is it possible the $bb->admin_email needs to be a real email address for the mails to be sent by your host? Is that a real email account?

    Also, are there any mail logs or error logs? Maybe that would provide a clue.

    #57149
    Trent Adams
    Member

    I can’t see how bbPress would be any different than wordpress in terms of the mail usage, so:

    Emailed passwords not received

    Description: When users try to register with your blog or change their passwords by entering their username and email, WordPress says that their password has been emailed to them, but it’s never received.

    Reason and Solution: WordPress uses the standard php mail function, which uses sendmail. No account information is needed. This is not generally a problem if you’re using a hosting service, but if you’re using your own box and don’t have an SMTP server, the mail won’t ever send. If you’re using a *NIX box, you should have either postfix or sendmail on your machine; you’ll just need to set them up (google for how-to’s). If you don’t want to go through setting up a complete mail server on you *NIX box you may find ssmtp (http://packages.debian.org/stable/mail/ssmtp) useful – it provides “A secure, effective and simple way of getting mail off a system to your mail hub”. On a Windows machine, try a sendmail emulator like Glob SendMail (http://glob.com.au/sendmail/).

    More help can be found on the forums at: https://wordpress.org/support/topic.php?id=24981

    Translation, there are posts in the normal wordpress.org forums as well that even dreamhost for whatever reason doesn’t send the passwords out through sendmail. I would look in the dreamhost support as well, maybe an answer is right there for you to grab ;)

    Trent

    #61730
    livibetter
    Member

    @Trent and everyone, this plugin intercept login process, if the logging user hasn’t activated the account, then it will be redirect to bb-activate.php. After successful activation, the user will be redirect to bb-login.php.

    And when new user is registering, this plugin doesn’t interfere the normal registering process but add an additional usermeta and send the activation code right after bbPress send the password mail.

    So, there is no way this plugin will break the password being sent.

    Edit: Currently, user gets TWO mails after registration, one is for password, another is for activation code. I am not planning to merge them into one, because that would have to touch many things and I don’t like that.

    Edit: I knew there are some topics about mail problem, but I can’t find them now.

    #61793

    In reply to: Search function

    Trent Adams
    Member

    Should work with:

    <?php search_form( $q ); ?>

    Trent

    #61729
    livibetter
    Member

    Did you mean password or activation code? Your forum is quite new, so I guess that your server can’t send any mail for your forum. And this isn’t a plugin’s problem.

    Please deactivate this plugin, and register new account, then see if you can get the password mail. If you can’t, then you have to fix mail problem.

    #61728
    Trent Adams
    Member

    If the plugin is disabled does this work because for the first part of the registration, the plugin really doesn’t do anything (at least I don’t think). The user gets their password by email, they head to the login page, put in username and password, get another screen (bb-activate.php) which then asks for the “activation” code emailed to them in a second email. So I am wondering if users are getting the password emails with the plugin disabled first I guess!

    Trent

    #2650

    Topic: Search function

    in forum Themes

    Hey.

    I would like to insert a Search Function into my theme, but I couldn’t find the right code anywhere.

    Does anyone know the php-call to insert into my template?

    #61786

    In reply to: Can’t login

    chrishajer
    Participant

    Maybe there are problems with the mod_rewrite rules with your forum? If this line is set to true, or slugs, try setting it to false in your config.php

    $bb->mod_rewrite = false;

    As for the other sites, I have no clue. Let’s fix your site.

    #50390
    Beau Lebens
    Participant

    Any updates on this being handled “properly” to avoid having to hack core code (or add filters just to do “normal” stuff)?

    I’m still seeing it in 0.8.3 with WP (MU) integration.

    #2648

    Topic: Can’t login

    in forum Troubleshooting
    #61608
    vafaaaan
    Member

    for rss ? ok..

    the remove_filter “plugin” works :)

    Thank you very much

    #61784

    In reply to: Create a blank page

    livibetter
    Member

    You need to format the return array of bb_top_topics() on your own.

    <?php
    /*
    Page Name: Highest rated
    2007-11-29 14:47:26
    */
    $sidebar_area = "forum";
    // $sidebar_ibox = "topic";
    require_once('./bb-load.php');
    bb_get_header();
    ?>
    <div id="content" class="narrowcolumn">
    <h2>Most highly rated topics</h2>
    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>
    <?php if ( $topics = bb_top_topics() ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    </div>
    <?php
    bb_get_footer();
    ?>

    #2647

    Topic: Create a blank page

    in forum Themes
    vafaaaan
    Member

    what do i need to do that?

    <?php
    /*
    Page Name: Highest rated
    2007-11-29 14:47:26
    */
    $sidebar_area = "forum";
    // $sidebar_ibox = "topic";
    require_once('./bb-load.php');
    bb_get_header();
    ?>
    <div id="content" class="narrowcolumn">
    <h2>Most highly rated topics</h2>
    <?php
    // Display top rated
    bb_top_topics();
    ?>
    </div>
    <?php
    bb_get_footer();
    ?>

    Cant display topics so something is missing..

    #61770
    livibetter
    Member

    Just a note, if you want to send a http response code, you need to use bb_init action (check init action for WP). If you use bb_head, you will get error since there is something has been sent to client side before your own header. And your own response code won’t be effective.

    I suggest you send header, bb_load_template and then exit in the action hook.

    #61707
    richsad
    Member

    Here’s where I’m at. if I modify the function get_profile_info_keys in /wpmu/bbpress/bb-includes/functions.php and change the definition of get_profile_info_keys to what I want, it’s all good. I changed the text to make it fit and apologize for poor formatting. The downside here is I am changing bbpress code, not my own template. There was no documentation indicating get_profile_info_keys is eligible for being plugged in, but it seems like it is. So I tried hardcoding first to see if this obtained the desired results. It did. The profile info prompts displayed correctly on registration page, the data was written the appropriate usermeta table, and viewing the profile displays the newly named fields and shows correct data. So far so good. Below is the code (sorry for poor formatting). Of course, the fatal flaw here is this NEEDS to be done in a plugin. So now I will tackle this. If anyone has a plugin sample for bbpress that shows modification of profile_info_keys I would be very grateful to take a peek. I believe by tomorrow I will have this hashed out and working properly as a plugin with no changes to core bbpress code. I will share that code here when I get there. In the meantime, feel free to flame, compliment, empower, disempower, or any other useful feedback! I am heading into no man’s land…

    //meta_key => (required?, Label). Don’t use user_{anything} as the name of your meta_key.

    function get_profile_info_keys() {

    return apply_filters(

    ‘get_profile_info_keys’,

    array(

    ‘user_email’ => array(1, __(‘Email’)),

    ‘tip’ => array(0, __(‘A tip you would like to share?’)), ‘favorite’ => array(0, __(‘Favorite products?’)),

    ‘more’ => array(0, __(‘How are you getting more?’)),

    ‘interest’ => array(0, __(‘Hobbies/interests?’))) );

    /* original array follows

    array(

    ‘user_email’ => array(1, __(‘Email’)),

    ‘user_url’ => array(0, __(‘Website’)),

    ‘from’ => array(0, __(‘Location’)),

    ‘occ’ => array(0, __(‘Occupation’)), ‘

    interest’ => array(0, __(‘Interests’))) );

    */

    What I’d love is to see someone has tread in these waters and knows how to use a plugin to implement an overridden get_profile_info_keys. I’m getting old for these all night programming marathons. It was fun the first three decades, but now the arthritis flares up and I have to break to take my Centrum Silver… So all help will result in admiration from me to you! Ships ahoy.

    #61768
    chrishajer
    Participant

    Doesn’t every template/theme header call bb_head();? So then you could write a plugin that calls something like add_action('bb_head', 'blah_maintenance_mode'); right? I think the header supplied should be a 503 header('HTTP/1.0 503 Service Unavailable');

    One of these days I’ll learn how to write a plugin :D

    #61783

    In reply to: Forum WIthin WordPress

    chrishajer
    Participant

    I think you might be better off with a WordPress plugin then, if you really want them always in WordPress.

    https://codex.wordpress.org/Plugins/Forums

    Trent Adams
    Member

    The regular uses still have the option to post in the hidden forum and get the error or on all forums? Not quite sure the exact problem. Could you explain a little more for us people that need to be explained things like we are 5 years old? :) For example, what plugin are you using. What exactly do you see versus the regular users, etc.

    Trent

    #61778
    Trent Adams
    Member

    Good deal ;)

    Trent

    #61774
    Trent Adams
    Member

    From the FAQ:

    Create a file called .htaccess in bbPress’ root directory. Put only the following line in that new file.
    Options +MultiViews

    Just upload a file like htaccess.txt with the line mentioned above and then use the FTP program to name it to .htaccess versus htaccess.txt (notice the dot before name).

    WordPress is just thinking right now that you have a URL that doesn’t have an assigned page or post to it and it is getting screwed up! Try that one out!

    Trent

    #61765
    Null
    Member

    I was thinking of a check in the header, since this is always loaded. If maintenance is true -> load maintenance page, else load forum. Very simple to do (if there is an hook in the header.php) . I’ll try to cook something up :)

    _Null

    #53059
    Null
    Member

    Think those 2 plugins use the same “values” in the forms. …. no, value is the wrong word, they use the same names in the code (ok sounds vague I know :)) or the forms have the same name.

    You could check this in the code and if this is the case rename the doubles in 1 form…

    _Null

Viewing 25 results - 28,626 through 28,650 (of 32,500 total)
Skip to toolbar