Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,201 through 23,225 (of 32,468 total)
  • Author
    Search Results
  • #80116
    ggwarpig
    Participant

    I tried =( i cant even find bb_generate_password. Where is it!?

    If I do figure out how to encrypt the password correctly and add it to the user table am I going to run into any other issues?

    #80115

    Why not just use bbPress native functions and adapt code? :)

    #76545

    Any chance of a user/password login for the demo? :)

    #76543
    Gautam
    Member

    Sorry for the “month long” late reply as I forgot about this topic after writing my previous reply.

    Here it is:

    http://gaut.am/uploads/live-comment-preview.zip

    Now as the user types, the preview will also refresh itself (I have jQueryised the js code)

    #80103

    Both the “Freshness”/latest reply and normal links in the Search function should be including the page number in links, as that’s allowed for in the function used, get_topic_link() .

    Sort’ve worrying if it’s not including it! bbPress.org includes the page number…

    It’s not included for any page 1 links though.

    #73217
    johnhiler
    Member

    There was a great plugin called “Move It” that did a lot of what you described:

    https://bbpress.org/plugins/topic/move-it/

    But it was designed for bbPress 0.8x I believe… ck recommended that 0.9 and 1.0 users not use it.

    But if you’re interested in coding something similar, her code might be a good place to start.

    Good luck!

    #80076
    johnhiler
    Member

    Line 48 in the plugin has the following setting:

    $bb_attachments=true; // auto insert uploaded images into post49

    source: https://plugins-dev.bbpress.org/browser/bb-attachments/trunk/bb-attachments.php

    Is that set to true? I noticed that the image wasn’t showing up in your post at all (only in the list of attachments at the end of the post).

    Also… you mentioned, “I modify the line in both folders, in the root and the other in my-plugins folder, and nothing happend”.

    What do you mean, both folders… the code should only be in the /bb-attachments/ folder under /my-plugins/.

    The bb-attachments folder over the root is meant to hold the uploads… the one in /my-plugins/ is designed to hold the code. :-)

    #78339

    In reply to: snowski theme released

    chandersbs
    Member

    Its looking good. However, I do think you have make some changes in this area:

    .num, #forumlist small {
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
    white-space: nowrap;
    }

    Ben L.
    Member

    error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED should actually remove those errors. Something must be wrong with your server configuration.

    Mark Kehn
    Member

    Hmm, okay that isn’t working.

    Using error_reporting = E_ALL & ~E_NOTICE still shows the warnings for my bbPress

    How do I do this properly?

    I’m not even sure php.ini is the place to do this because even if I totally remove the error_reporting line from the php.ini file it still shows the errors. Even if I set: display_errors = Off it still shows errors.

    So what file am I supposed to be editing?

    Mark Kehn
    Member

    Hi Nightgunner5,

    Can you tell me how to turn that off? Is there a file somewhere in the PHP folder that I would change this?

    EDIT:

    I found this in the php.ini file.

    So all I have to do is change –

    error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

    to this –

    error_reporting = E_ALL & ~E_NOTICE

    Would that be correct? Anything else I should do? Also, does this mean that I can turn ON error logging again via my .htaccess file for everything else? I like to have the error logging enabled in case I install a plugin or something this way I would know when it is broken.

    This is the code I use in the .htaccess –

    # SUPPRESS PHP ERRORS FROM SHOWING PUBLICLY:

    php_flag display_startup_errors off

    php_flag display_errors off

    php_flag html_errors off

    So again I would like to turn the switches back to ON but at the same time not show the errors in bbPress regarding the DEPRECATED stuff.

    Thanks

    #79973

    In reply to: removing tags

    InvTrdr
    Member

    Where is the function code to delete tags? Maybe I can look at that and check to see if it right or missing.

    Thanks.

    #80082
    Peter A. Gebhardt
    Participant

    Thx! Shall give it a try.

    OT: Nice Avatar. Especially with tagline “Being active since …” ;-))

    #80057
    subtlegusto
    Member

    So I see that bb_logout_link handles the href for logout links (for the Admin panel, admin-header.php, ln 44). I’ve commented out the bb_get_uri bit that adds re=http://example.org/forums/ to the href, and this fixes the logout problem.

    What’s the redirect for?

    I have another install that IS integrated, and I don’t have problems with the redirect there. I’ve been comparing files but haven’t found anything yet. Could this be .htaccess related?

    I did see another post in the forums about re=, but it didn’t go anywhere. Anyone have suggestions?

    Thanks!

    #80039

    @mwaterous

    Ok! You got the <h1> tag. Happy? More suggestions..

    #80062
    johnhiler
    Member

    There’s a link on the bottom of the search page that says something like, “Search on Google”… I usually click on that. :-)

    #80031
    chrishajer
    Participant

    If the creator of that theme is not going to update it, I think I would compare the stock kakumei front-page.php and the front-page.php from this theme to see where the differences lie. There are lots of differences, but only a few that apply to your count issue.

    #69783
    diegozaks
    Member

    First of all, thank you for a great script, I have run into a problem, it seems when I try to transfer the 60k posts it reads:

    Data too long for column 'post_text' at row 1 [1406]

    What can I do about this? Please help it is very urgent.

    Also, in order for it to work, since I installed phpbb with a different table prefix, I had to define the prefix on the script file just under the bbPress prefix, then I worked:

    $table_prefix = 'phpbb3_';

    #80011
    gerikg
    Member

    The way I did it was to duplicate kakamei theme (not the blue) and put it in the my-template.

    Then started with the BB header, I copied what was in the WP header. I took everything out after the body tag except for the “main” div. The BB footer I did the same. I just made sure there were enough div closing tags. Then copied over the codes that apply for the header and footer from the WP css. Most WP theme has two column one main and one sidebar. I treated BB like it was wordpress, one side the main section and the other sidebar. I treated the MAIN div as the main section and View/Hottags as the sidebar. I know this is not the best explanation but I hope you get the idea. It just takes a lot of css work.

    #79763

    In reply to: WordPress Integration

    gerikg
    Member

    try adding define( 'COOKIE_DOMAIN', '.mnenie.dp.ua' ); to bb-config

    #80029
    chrishajer
    Participant

    That theme is missing this:

    <?php if (bb_get_forum_is_category()) : ?>

    That skips the counts when the forum is a category. Looks like they need to update their theme.

    #79953
    pigmonkey
    Member

    Thanks for the replies!

    I wouldn’t mind installing a plugin to accomplish this, but I tried out Role Manager and it didn’t have any option for displaying emails.

    Ashfame, I just went with your method of putting it in profile.php. It’d be nice to not have it as a per template thingy, but it works fine for now. You’re right about it needing to check to see if the current user is an admin to prevent duplicates. I’m new to bbpress so I don’t know if there’s a proper way to do this or not, but I figure the admin is the only one who can edit users, so I plopped in this little guy:

    <?php

    if ( bb_is_user_logged_in() && !bb_current_user_can( 'edit_users' ) ) {

    echo 'user_email .'">' . $user->user_email . '';

    }

    ?>

    It seems to work.

    #31945
    #80048

    <?php bb_profile_link( array( 'id' => $user->ID, 'text' => get_user_display_name( $user->ID ) ) ); ?>

    I’d guess… not really sure on the context where you’re putting it though, so I can’t really test

    #64197

    I guess the most simple (and painless) way to do this will be to redirect/rewrite the profile URL from bbPress to point to the profile URL in WordPress.

    You can reference the profile by the ID – in bbPress it goes like http://example.com/bbpress/profile.php?id=1 and it is equivalent to http://example.com/wordpress/?author=1

    You just need some .htaccess magic :)

Viewing 25 results - 23,201 through 23,225 (of 32,468 total)
Skip to toolbar