neilogic (@neilogic)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @neilogic

    Member

    I did have the same problem but in different context where I never wanted to dive into the code because the theme I was making was to be used by someone else and thus I just wanted the person place it and activate it and it should worked rather then him diving into the code and replacing the files.

    In the end what I did was , as BBPRESS 1.0+ supports the use of functions.php in theme files . so i just copied the function from the function.bb-template.php and changed the funciton name a bit and then replaced it in theme files.

    Example : like “You must login to post.” is in post_form function in function.bb-template.php file. I copied the function to functions.php in my bbpress template. renamed the function from post_form -> post_form_edited and made the replacements I wanted and then in my theme files where ever it was using the old function of post_form() i replaced it with my new edited function post_form_edited().

    like in your functions.php after you copy the post_form function and change it to post_form_edited you can find the line “__(‘You must log in to post.’),” and change it to anything you want. And use the new function in your theme. Like this you won’t have problems upgrading the bbpress installation too in future.

    then I dived in the theme files and replaced all the post_form() with post_form_edited() and voila it worked. But in my case I knew what I was using like the plugins and stuff and thus i tested it with everything first.

    I hope this helps you out . Some of the stuff I told above has been applied to the postform in http://forum.ubuntu-in.info.

    @neilogic

    Member

    You mean the bottom float or something else. For the bottom facebook like bar here’s the code that we are using on Ubuntu India Forums.

    .fbar {
    background:#fff url("images/buttonbar.gif") top left repeat-x;
    border: 1px solid #aaa;
    border-bottom:none;
    height:26px;
    left: 5%;
    bottom: 0;
    position: fixed;
    width:90%;
    z-index:5;
    }

    If you wanna know something else please let me know I will paste it here. Cheers!

    @neilogic

    Member

    Thanks brother …

Viewing 3 replies - 1 through 3 (of 3 total)