Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,276 through 24,300 (of 32,432 total)
  • Author
    Search Results
  • #76194

    In reply to: Can I edit my tags?

    deadlyhifi
    Participant

    I’ve just had a look at your site. Your tags show in the bottom right corner of the page, as if it’s included in your footer.php file.

    In your topic.php file all the tag code

    id="topic-tags" etc.

    needs to be put inside

    div class="infobox"

    then you can start styling it correctly.

    #76069
    _ck_
    Participant

    See where it says “Compatible up to: 0.9”

    I won’t be fixing plugins for 1.0 until December at the soonest.

    Make sure you have the terms-of-service.html file in the same directory, that’s all I can suggest.

    #76193

    In reply to: Can I edit my tags?

    /* Structure

    =================================== */

    #wrapper {

    width: 1023px; /* controls the main width of the page, if changed also change #content and .sidebar */

    margin: 0 auto;

    padding: 0px 0 25px 0;

    border: 1px solid #FFFFFF;

    border-top: none;

    background: #333333;

    text-align: left;

    }

    ul#tags-list li { display: inline; }

    #spacer {

    height: 25px;

    background: white;

    }

    #title {

    height: 0px;

    background: 222222;

    margin-bottom: 1px;

    }

    Ok that’s how i’ve placed the code in my style.css

    I use Firefox and tried a hard refresh, but the updates are still not showing. So i’m guessing it’s a problem with the placement of the code. That’s the only code i’ve put it. The above is exactly how it is in my style.css

    #15341
    lamentira
    Member

    I have discovered that there is a very easy way to integrate a BBPress forum inside of a WordPress blog. I havent found anyone in the forums doing it in this way so I will explain it here.

    1. Asumed that you have instaled wordpress and bbpress, and you have integrated bbpress with wordpress following the steps showed in bbpress installation process.

    2. You have to go to the administration pannel in your wordpress (wp-admin)

    3. Create a page named Forum. Chose HTML and include the following code:

    <iframe id=”forum” name=”forum” src=”http://your_url/bbpress_folder&#8221; frameborder=”0″ framespacing=”0″ scrolling=”auto” border=”0″ style=”width:925px; height:1000px; ” >

    Sorry, your browser doens’t support iframe. Please upgrade your browsers.

    </iframe>

    replace the bold characters for the apropiate values in your web. The number in bold is the with of your blog. In that case (I use primepress theme) it is 925

    4. Now we only have to add the widget to show the page, or like in my case, the theme shows all the pages in the blog as options in the header. We only have to remove the header and the footer of the forum.

    5. In your bbpress directory go to bbtemplates and make a copy of kakumei directory. You could call it noheader directory and open it.

    6. Open header.php and replace this

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    <div id=”main”>

    <div class=”search” align=”right”>

    <?php search_form(); ?>

    </div>

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

    with this

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    <div id=”main”>

    <div class=”search” align=”right”>

    <?php search_form(); ?>

    </div>

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

    7. Open footer.php and delete this section

    <div id=”footer” role=”contentinfo”>

    <p><?php printf(__(‘%1$s is proudly powered by bbPress.’), bb_option(‘name’), “http://bbpress.org&#8221;) ?></p>

    <!– If you like showing off the fact that your server rocks –>

    <!– <p class=”showoff”>

    <?php

    global $bbdb;

    printf(

    __( ‘This page generated in %s seconds, using %d queries.’ ),

    bb_number_format_i18n( bb_timer_stop(), 2 ),

    bb_number_format_i18n( $bbdb->num_queries )

    );

    ?>

    </p> –>

    </div>

    <?php do_action(‘bb_foot’); ?>

    8. Open style.css and delete this

    #wrapper {

    background: #fff url(‘images/page_header_tile.png’) repeat-x 0px -15px;

    }

    9. You can add the reference a bbpress.org in the wordpress footer.

    Hope this help

    You can see the result here http://www.lamentiraestaahifuera.com

    This is the forum page:

    http://www.lamentiraestaahifuera.com/?page_id=45

    #76235
    _ck_
    Participant

    Both bbPress and WordPress can be integrated so the login is shared.

    With bbPress 0.9 you will need special plugins to use WP 2.7 or 2.8

    bbPress 1.0 can share the login with WP 2.7 or 2.8 without plugins.

    However many plugins do not yet work with 1.0, so keep that in mind.

    Real names as an option is nice but I’d hate to see it mandatory as some countries are trying to do. My experience is that people either have manners or they don’t, real names, in person, online or otherwise won’t stop rude people much. The problem is once your real name is online, your employer or in the USA your health insurance can use anything you say against you, no matter how innocent it might be.

    But that doesn’t change the fact you should be able to use your native characters in bbPress and WordPress if you wish ;-)

    I’m curious if the user login plugin above will also allow you to use your name with the login and not just the Display Name.

    Note that bbPress 1.0 also allows you to login via your email address once you are registered. There is a plugin for 0.9 that does the same thing.

    #76192

    In reply to: Can I edit my tags?

    deadlyhifi
    Participant

    after you have made the changes you need to a do a hard refresh, to force the browser to read the updates stylesheet – it has the old one cached.

    May I suggest you use Firefox, and get the Firebug extension so you can look at all the code correctly.

    #76156
    grassrootspa
    Member

    @andywilliams244 Try this for a nifty nav bar that shows at the very top of your site (maybe use this at the very top of both your WordPress and bbPress site?):

    1) Check this link out: http://www.bleepingcomputer.com/forums/topic55647.html

    2) What you want to do is make a really simple PHP file, lets call it “andybar.php” (if you have trouble making one copy one of your .php bbpress files and rename it)

    3) Copy the code from that page into the php file. (you probably want to open with Notepad or Wordpad)

    4) Fill in the links how you want them to be, like:

    <li><a href="http://www.andywebsite.com">ANDY_WEBSITE</a></li>

    5) Save the php file and upload it into the folder of your theme.

    6) Put this in the header where you want the bar to display:

    <?php bb_head(); ?>
    <?php include('andybar.php');?>
    <br>
    </head>

    7) The bar should appear at the very top of your bbPress site. You can easily change the colors with the CSS inside that one php file.

    8) You might need to play with the bbPress CSS if there is a spacing issue above or below the bar. Hope this helps!

    #76121
    birdy404
    Member

    oh and in your response you’d mentioned something about wanting to show codes…no, i don’t want to show the codes. All i want is for the ads to show on the pages i want them to.

    thanks!!

    #76147
    deanes02
    Member

    I put define( 'WP_AUTH_COOKIE_VERSION', 1 ); in bb-config, but I still have the same problem.

    I can log into WPMU, BuddyPress and bbPress all with the same credentials. Logging into any of them doesn’t log me out of any of the others.

    When I log into WPMU or BuddyPress, I am logged into both of them but not bbPress. IF I am logged out of all three, when I log into bbPress I am only logged into bbPress. I can log into bbPress and WPMU seperately and I remain logged into both.

    If I am logged into both WPMU and bbPress, I can log out of one but remain logged into the other.

    I am presuming I should just be able to log into any of the three and be logged into ALL three?

    Thanks for your help above (I’ve cleared the cache and checked my settings again and again :-(

    Any more ideas?

    #15339
    anti-sec
    Member

    Hi bbpress staff and coders ,

    I want to ask u the bbpress 0.9.x latest pack ( 0.9.5 ) . Currently I need to study the code of this previous version for security pourpose , and I would be very glad to u if can provide my request .

    Sorry for nuisance .

    Regards.

    #76128
    dz7
    Member

    Oh, last post was a mistake. :)

    I finally figured it out. I was right with the last thing I tried…the function to change was validate_auth_cookie, which should return an integer representing the user ID. (It wasn’t working because I hadn’t yet set that user’s capabilities in the database.)

    So, for anyone trying to do the same thing: the function that needs to be rewritten is validate_auth_cookie in class.wp-auth.php. Write your own function to validate the cookie, and return a user ID (int).

    #76223
    katastrov
    Member

    Grblrlblrlblll… now it works but i had to recreate database with different names, password is all diferent etc etc. Forum is installed but that was quite something :)

    thanks again for your help Ipstenu

    #76221

    Don’t rename bb-config-sample.

    Finally, I have also created the database in phpMyAdmin. Of course there’s 0 tables.

    That’s fine :) You have to create the DB before bbPress can connect to it. bbPress doesn’t make the DB for you (any more than WordPress does so this should be familiar).

    You should be able to run the install now, though make sure bbPress can write to the bbpress folder, so it can create the bb-config.php file as it goes (you can remove the access later).

    #76210

    In reply to: Closed registrations

    I put this in my .htaccess for my forums:

    Redirect /forums/register.php http://mysite.com/wpmu/wp-signup.php
    Redirect /forums/bb-reset-password.php http://mysite.com/wpmu/wp-login.php?action=lostpassword

    Not so much a disable but ‘Ignore the man behind the curtain’.

    #76142

    In reply to: Step two questions

    All that means is you should go into your wp-config and copy the whole lines for AUTH and SALT. Then paste those into bb-config, but name ’em BB_AUTH and BB_SALT :)

    Example:

    In wp-config.php I have

    define('AUTH_KEY',        'blahblah');
    define('SECURE_AUTH_KEY', 'blahblah');
    define('LOGGED_IN_KEY', 'blahblah');
    define('NONCE_KEY', 'blahblah');
    define('AUTH_SALT', 'bliddyblah');
    define('LOGGED_IN_SALT', 'bliddyblah');

    In bb-config.php I have

    define('BB_AUTH_KEY',        'blahblah');
    define('BB_SECURE_AUTH_KEY', 'blahblah');
    define('BB_LOGGED_IN_KEY', 'blahblah');
    define('BB_NONCE_KEY', 'blahblah');
    define('BB_AUTH_SALT', 'bliddyblah');
    define('BB_LOGGED_IN_SALT', 'bliddyblah');

    #76155

    I cannot find any tutorials online, i’ve been looking all afternoon. :(

    Any chance somebody could give me a step by step guide? :(

    #76190

    In reply to: Can I edit my tags?

    deadlyhifi
    Participant

    sorry, it’s actually

    ul#tags-list li (missed the s off)

    I think you need to do some reading about stylesheets and how they work. It’s quite straight forward and will stand you in good stead.

    #76188

    In reply to: Can I edit my tags?

    No, we just need to include CSS.

    Take a look at the page source, its tags-list not tag-list

    try ul#tag-list li { display: inline; }

    #75835
    citizenkeith
    Participant

    Yeah, it’s too late to go back now, huh? :)

    Like I said, this isn’t a mission critical forum… it’s a place for my friends to chat and hang out. My other site, which is a public forum that gets decent traffic, is still on 0.9.

    Just hoping my posts are helping development, and not just wasted bandwidth…

    #76187

    In reply to: Can I edit my tags?

    I put the code in style.css and it’s not refecting the change.

    Is there a specific area in style.css where the code has to go?

    #76179

    In reply to: Adventure Canoe Forum

    Utilize the space on the right properly. How about expanding the width of tables? ;)

    #76185

    In reply to: Can I edit my tags?

    I can’t seem to find exactly where to put that code?

    Any help?

    #15333

    Topic: Can I edit my tags?

    in forum Themes

    At the moment my tags are in a list, which causes a lot of empty space on my page when a lot of tags are entered. Is there any way I can change the coding to make it go in a line? Or Limit the amount? Or both?

    Thanks guys. :)

    #76173
    johnhiler
    Member

    I sometimes see plugins patched by people other than the original developer… usually they just upload the patch to a private server or to pastebin, and then submit a link to the path on the plugin comments page. The original author then often releases a patched version using the code fixes. :-)

    If the plugin is completely abandoned, there have been cases where a new developer has taken things over. Those situations are pretty rare though…

    You should definitely submit your patches in the comments of the plugin pages, if you’re willing!

    #76171

    If WordPress is any indication, people just spin-off the abandoned plugins and make newly named ones with credit given. A branch, if you will.

    Go ahead and submit them as ‘new’, but be a mench and credit where it’s due :)

Viewing 25 results - 24,276 through 24,300 (of 32,432 total)
Skip to toolbar