Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,826 through 23,850 (of 32,481 total)
  • Author
    Search Results
  • #78450

    In reply to: bbPress MU

    johnhiler
    Member

    Sam mentioned a year or so ago that:

    There will be a sort of super plugin that you will be able to integrate into bbPress to get most of the functionality of TalkPress. The working name for the project is “bbPress Channels”. It will be released after TalkPress.

    https://bbpress.org/forums/topic/talkpress-suggestions

    TalkPress is their hosted “bbPress MU” – so it sounds like eventually, we’ll have the ability to host multiple bbPress sites from a single install. :-)

    #78442

    In reply to: / in usernames?

    johnhiler
    Member

    The only way I know of to allow unusual characters in usernames is to use display names… but that wouldn’t change the URL of user’s profile.

    Yah I definitely recommend using the 0.9.x branch. If you’re using a lot of plugins, it’s going to be really frustrating to be on 1.0. :-(

    Glad you’re liking bbPress better than phpBB3!

    #78297
    anandasama
    Member

    Ah gerikg! Thanks alot! This works perfectly! :)

    #69762
    dudenas
    Member

    Sorry, cannot agree.

    1. Ive done a little survey, and it showed that often people dont participate in forums only because they have to register, and they don`t like it.

    2. Most of my users are not very computer-literate.

    3. Also you have to keep an ugly technical sticky post for as long as the last user changes password.

    Not so nice imho.

    #31589

    Topic: / in usernames?

    in forum Installation
    jeffhiggins
    Member

    Is it possible to allow for / in usernames?

    I recently converted my phpbb board to bbPress, but one of my members had a username that looked like ///Abcd.

    So as opposed to forcing him to change his username, is it possible to dig into the code and allow /’s for usernames?

    Any help would be greatly appreciated!

    Edit: Sorry if this thread is in the wrong forum!

    #78432
    dbone
    Member

    Not sure if this is the best method but I don’t have more time to research and here is what I came up with:

    1. Create a new file; /my-plugins/bb-template.php

    2. Code:

    add_filter('bb_template', '_bb_template');

    function _bb_template($template)
    {
    if (preg_match('/login.php/i', $template))
    {
    header('Location: /myurl/');
    exit();
    }

    return $template;
    }

    3. Activate in bb-admin

    #78399

    In reply to: Integration Problems

    Randolf
    Member

    I´m very very stupid….

    I solved the problem…

    When I copied the hashes (AUTH_KEY, SECURE_AUTH_KEY, etc…) in the bb-config, I replace the name of the variables… AUTH_KEY instead of BB_AUTH_KEY…..

    I corrected the name of the variables and NOW all work perfectly..

    Sorry for your time spent and thanks very very much for your help… :)

    Best Regards…

    #78429
    dbone
    Member

    Which file did you edit? I was not able to find it in the default theme.

    I did find the code that creates the link in /bb-includes/function-bbtemplate.php, post_form(), line 311 for version 1.0.1.

    #78174
    Olaf Lederer
    Participant

    The tags are created inside the templates files, the style sheet might use some more “advanced” classes and attributes

    There are more ways to style html, not just simple pseudo classes ;)

    #78423
    frooyo
    Member

    @klimatyzacja-katowice

    You’re not alone on this.

    Lot’s of discussion about this at: https://bbpress.org/forums/topic/covert-wp-super-cache-plug-in-for-bbpress

    Currently, no caching plug-in exists :(

    #78397

    In reply to: Integration Problems

    Randolf
    Member

    Nothing…. :(

    – bb-config:

    define( ‘COOKIE_DOMAIN’, ” );

    define( ‘SITECOOKIEPATH’, ” );

    define( ‘COOKIEPATH’, ” );

    – wp-config: (if I define as ‘/’, browser says that cookies aren´t activated…)

    define( ‘COOKIEHASH’, ‘kjdfkjhdsflhjnmnbvyuy65487dsfg521f’);

    define( ‘COOKIE_DOMAIN’, ” );

    define( ‘SITECOOKIEPATH’, ” );

    define( ‘COOKIEPATH’, ” );

    Cookies created when logging in the blog: (5 and logged_in)

    Name: wordpress_kjdfkjhdsflhjnmnbvyuy65487dsfg521f

    Content: user_test%7C1251372800%7Cbae6f2f4158922d4a5ea6fe7129c0b4f

    Path: /bbpress/bb-admin ; /bbpress/bb-plugins; /bbpress/my-plugins; /wp-content/plugins; /;

    Name: wordpress_logged_in_kjdfkjhdsflhjnmnbvyuy65487dsfg521f

    Content: user_test%7C1251372800%7C1425663f4d407424cbf508fd0dd88c92

    Path: /

    Cookies created when logging in the forum: (5 and logged_in too)

    Name: wordpress_3f168778f6e6312b9251800266faf17d

    Content: admin%7C1251373200%7C04e7ddf6961e483e878f87f5708e2437

    Path: /bbpress/bb-admin ; /bbpress/bb-plugins; /bbpress/my-plugins; /wp-content/plugins; /;

    Name: wordpress_logged_in_3f168778f6e6312b9251800266faf17d

    Content: admin%7C1251373200%7Cd494b562a6afe3aac0cd9bfb3993a3a6

    Path: /

    Now, I can stay logging with different users in blog and forums…

    Anything is wrong, but I don´t know what… :(

    More ideas…??

    P.D: Always delete all cache+cookies to test it…

    P.D2: Testing…. from this form, I can´t access to the dashboard….. damn…

    #31521
    Chris2
    Member

    Hi.

    I have added a bbpress to a wordpress. Everything works fine, but now I would like to change how the appearance is in the forum list on the front page. Right now I am not fully happy with that. I can see that the class is

    either: <tr class=”alt”> or only <tr> which affects how each row is presented. But I can not find this in the style.css file. It drives me nuts… :)

    Also where forums is presented I get the <bb-precedes-sibling bb-follows-sibling bb-root> and alt at the end. But where is it controlled how they look like?

    Regards,

    Chris

    #69760
    dudenas
    Member

    Hi once again,

    could you please give us a hint on non-working passwords? Is it a real issue, or did we do something wrong?

    As I see, we dont need to do anything with md5 insecurity for bbpress plugin - its already integrated?

    phpbb3 password plugin is autoloaded.

    Could it be problems with mysql version? Mine is 4.1.22

    Thanks in advance,

    Justas

    #78421

    In reply to: Profile edit URL

    chandersbs
    Member

    You mean to make it show on every page?

    This is the code located in logged-in.php that’s being called:

    <p id=”inloggen”>

    • <?php printf(__(‘Fawaka, %1$s’), bb_get_profile_link(bb_get_current_user_info( ‘name’ )));?>
    • <?php bb_admin_link( ‘before= ‘ );?>
    • <?php bb_logout_link(); ?>
    • </p>

    This is what I have in my header.php

    <div id=”inloggen”>

    <?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>

    <?php if ( bb_is_profile() ) ; ?>

    </div>

    However, if you are on the frontpage (/index.php) or any other page, apart from profile.php

    you don’t see the “edit” link.

    Got?

    #78296
    gerikg
    Member

    anandasama here’s acouple of codes that will help you. I think I know what you’re planning.

    This will put the user’s name with link to their buddypress profile:

    <?php echo post_author_link();?>

    This will get the user’s login name:

    <?php echo get_user_name( get_post_author_id() ); ?>

    This is you can send message like PM but it uses message in Buddypress:

    <a href="<?php echo get_option('home') ?>/members/
    <?php global $current_user;get_currentuserinfo();echo($current_user->user_login);
    ?>/messages/compose/?r=<?php echo get_user_name( get_post_author_id() ); ?>">Send Message</a>

    #31577
    chandersbs
    Member

    I want to add an “edit” button right next to the “log out” button, but i’m not sure what calls this the page. I checked the logged-in.php and found this:

    <?php printf(__(‘Welcome, %1$s’), bb_get_profile_link(bb_get_current_user_info( ‘name’ )));?>

    That generates “Welcome, username”

    What code generates the “edit” button?

    I checked the profile.php and I found that this code outputs an EDIT button:

    <?php if (bb_current_user_can( ‘edit_user’, $user->ID )) : ?>

    <?php printf(__(‘You may edit this information.’), esc_attr( get_profile_tab_link( $user_id, ‘edit’ ) ) ); ?>

    <?php endif; ?>

    The downpart of this code is, the output is only visible when you actually are on the profile page. I need something like this which is visible no matter which you page you are.

    Ideas?

    pikatore
    Member

    ok, cookie found.

    PHPSESSID

    and i have a value for it.

    is it a simple matter of subbing that value into the line of code in the first post?

    what will that do? does it make the chat function use your login name?

    #31575
    EmileGoss
    Member

    Hey everyone,

    I recently installed bbPress and thought I was finally done with everything, but now, I get the error

    Fatal error: Call to undefined function bb_get_header() in /usr/home/


    /public_html/forum/forum.php on line 1

    whenever I go to one of the forum categories. I’ve checked over the code in the file and everything seems fine (and this is the only thing that has an error on the forum, as far as I can tell), so I’m not sure why it’s saying the function is undefined…if anyone could help me resolve this problem, I’d greatly appreciate it; I’ve been looking forward to having a functioning forum for quite a while!

    Some additional information, if it helps: I’m using the blank 3 column theme (modified, of course), and the Post Count Plus plugin with bbPress 1.0.2

    Thanks in advance,

    Emile

    #78336
    gerikg
    Member

    _ck_ they did it to your theme too.

    https://bbpress.org/forums/topic/theme-hybrid-kakumeibbpressorg-template#post-56316

    it’s that website adding codes to the header and removing the original author’s footer.

    #78335
    suzkaw
    Member

    I am the person that ported the theme I have to HIGHLY recommend you download it again from my release page: http://ericlbarnes.com/projects/inove-for-bbpress/

    Just to confirm I did download it from their site and it does in fact have this code. More than likely that whole site is a scam site.

    #78394
    chrishajer
    Participant

    I have the same trouble. The feed is invalid. The &raquo; in the feed description is the problem. This came up here recently:

    https://bbpress.org/forums/topic/all-rss-feeds-broken#post-55730

    #31573
    Randolf
    Member

    Hi all,

    Recently, I installed WordPress (2.8.3) and bbPress (latest stable 1.0.2). The integration of users works correctly, but not the single sign on not work.

    I can register in blog and the user it´s created in both and viceversa.

    But i can´t logged in in both at the same time.

    I have installed the plugin bb Integrationi in WordPress, and AUTH KEY, AUTH salt, etc… same in both config files, same in admin dashboards and add the COOKIEPATH in the wp-config…

    When I login in, in any of them, 6 cookies are created: (????? are letters and numbers, same in all the cookies)

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /bbpress/bb-admin

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /bbpress/bb-plugins

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /bbpress/my-plugins

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /wp-content/plugins

    Name: wordpress_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
    Path: /wp-admin

    Name: wordpress_logged_in_3f168778f6e6312b92518?????faf17d
    Content: admin%7C1251289349%7C636047d6d7482fbd45
    1a89aeb9 (different hash)
    Path: /

    With the steps of this post, all is same… :(

    Any idea about what its wrong?

    #78360

    In reply to: WP header integration

    techWALLGuru
    Member

    No, i think its possible with any theme, but you must have some extendet php skills to do that. But check your post and may be some not-lazy like me will explain you how to do that :)

    #78228

    OKTeaRoom, I’ve figured out how to get it *mostly* working from copying the stickies and topics view code from the kakumei theme but the actual numbers that display for pagination are ugly which is probably due to some lacking CSS code. I haven’t determined what that code is yet but when I do I’ll reply.

    Coming from a sys engineering background to work with more web stuff so this is interesting :D

    pikatore, please relax. This is a VOLUNTEER forum, and you have to be patient or you’ll piss everyone off and no one will help you. Okay?

    It sounds like, since your TOOLS menu doesn’t have options, you’re on a Macintosh, which means you need to go to Firefox -> Preferences -> Privacy.

    Finding out where cookies are stored in your browser is pretty standard stuff. You could also google it :)

Viewing 25 results - 23,826 through 23,850 (of 32,481 total)
Skip to toolbar