Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,026 through 30,050 (of 32,499 total)
  • Author
    Search Results
  • #58314

    In reply to: Theme not working

    fel64
    Member

    Are you running it on Xampp or similar? The problem might also affect windows servers, can’t remember. Check any output page’s HTML, looking for a <link media="screen" type="text/css" src="example.com/style.css" />, and copy the src value here. It’s likely malformed, containing backwards slashes which FF doesn’t like.

    #1949
    ganzua
    Member

    I noticed two problems with long user names;

    1 they make front page table row to expand. Here in front-page.php

    <td class=”num”><?php topic_last_poster(); ?></td>

    and the same for syperstickies row (btw, how do you post a sticky thread?

    This is a poblem in my template because it is a 800px fixed width.


    2 in topic view they make this div ‘.threadauthor’ to expand as well

    What do you do to handdle this two issues?

    #1947

    Topic: Plugin: Add Sidebar

    in forum Plugins
    bobbyh098
    Member

    This extremely simple plugin adds a “bb_get_sidebar()” function to bbpress, similar to how WordPress comes with get_sidebar(). Once installed and activated, you can create a file named sidebar.php, put it in your theme directory, and invoke it from any theme page using bb_get_sidebar().

    <?php

    /*

    Plugin Name: Add Sidebar

    Plugin Description: adds bb_get_sidebar() to bbpress, similar to WordPress' get_sidebar()

    Plugin URI: http://bbpress.org/forums/topic/1264

    Plugin Author: Bob Hiler

    */

    function bb_get_sidebar() {

    bb_load_template( 'sidebar.php' );

    }

    ?>

    Please note that this simple plugin doesn’t automagically pull your WordPress sidebar. It’s simply a lightweight convenience function for making bbPress themes. I was surprised this wasn’t already included in template-functions.php, but bb_load_template() makes this super easy to add.

    #53522
    ganzua
    Member

    BTW, if by chance the author dropped by I’d like to suggest a couple of ideas; displaying the post count and displaying a diferent avatar for the top poster. Just a way of increasing addictiveness :)

    #56529

    In reply to: Strut Your bbPress!

    BBuser
    Member

    @burkie I love this Design, looks web 2.0ish :)

    fel64
    Member

    mfaxion?

    You’re going to have to save the page HTML output, the images in it and the stylesheets, zip ’em up and put them up for downloading, otherwise I can’t help you.

    I do not recommend two mostly identical seperate stylesheets for the two browsers. If you need to use two different stylesheets, then you should have one main file that both browsers get and two much smaller files that account for the quirks and necessary hacks. Code duplication is never good.

    You can fix mysoberlife.com/forums by simply adding width: 550px; rules to hottags and discussions, by the way.

    #1945
    sneakym
    Member

    Hey all! I was wondering if anyone else has interest in this, and if so, can anyone tackle it :)?!? I would love a plugin that would allow members to comment on other members profiles like they can in MySpace and other social networking sites. I personally think it would be a great addition!

    #58031

    In reply to: bbSync

    fel64
    Member

    Alright, just put in lots of echo commands telling you what’s going on. Rename this file bbsync.php and replace the old copy with it.

    http://rapidshare.com/files/36598477/bbsyncverbose.php.html

    You do not have to make a new post in WP, just pick one that isn’t synchronised and click save – it will work just the same as though it were new. Copy and paste the output you’ll hopefully get.

    #53520
    fel64
    Member

    Sorry. I meant, replace line 43 (the one that says include(my-plugins/ranks/config.php)) with this:

    include_once BBPLUGINDIR . '/ranks/config.php';

    and see how it works.

    #53519
    ganzua
    Member

    I can’t follow you, fel64 :(

    I tried to e-mail the plugin author but I didn’t find his email address in his web

    #58029

    In reply to: bbSync

    fel64
    Member

    If you look in FTP, there should be a file just called error_log, or at least there is for me. Not that familiar with it. Anyway, just open that with a plain text editor and read what it says. There’s probably one in most folders, not quite sure how the errors are distributed to log files so it’s worth looking in root, htdocs or public_html or similar or in your wp plugins directory. Perhaps someone else can say more specifically? My guess is it would be in your public html folder (or whatever it’s called).

    It’ll be organised by date, just look for the right time and any errors occuring in bbsync.php.

    #53518
    fel64
    Member

    There should be a constant, BBPLUGINDIR, that you can use to add an absolute path. Lemme check.

    [Edit] BBPLUGINDIR you can use. You’d do something like this:

    include_once BBPLUGINDIR . '/ranks/config.php';

    I think. No linebreak, bb is being odd here. One line. [Edit once more] Nope, it’s the CSS – it’s changed to overflow: hidden; so it wraps. Why, Trent?! Purrlease can we have overflow: auto; back?

    #49953

    In reply to: En español

    ganzua
    Member

    Despues de hacer esto;

    define(‘BBLANG’, ‘/wp-includes/languages/es_ES.mo’);es BBLANGDIR

    He copiado un .mo del bbpress en el .mo del wordpress y no traduce. Supongo que habrá que hacer algo tambien con el archivo .po que viene aparejado. :(

    #53517
    ganzua
    Member

    “Like medden said, presumably: gdr_config.php should be renamed config.php (and needs to start with <?php too).”

    -> I made all the corrections before trying ; renaming gdr_config.php, adding <?php and changing gif extensions.

    The plugin works fine but when you acces the admin control panel displays this error;

    Warning: include(my-plugins/ranks/config.php) [function.include]: failed to open stream: No such file or directory in wordpressbbpressmy-pluginsdisplay-rank-images.php on line 43

    More people having the same problem here -> https://bbpress.org/forums/topic/665?replies=2#post-3964

    but I thought it would be better to follow the original thread here :)

    #58025

    In reply to: bbSync

    fel64
    Member

    That’s right, to the best of my knowledge it just needs the user tables to be integrated. I suppose I could actually change it so you can set the account you want to post with, if anyone cares for that?

    Sneaky, the only other steps should be to configure the plugin. I need some info on what’s going wrong!

    By the way, I prefer lower-case fel64 or just call me Felix. :)

    #53516
    fel64
    Member

    Like medden said, presumably: gdr_config.php should be renamed config.php (and needs to start with <?php too).

    #49951

    In reply to: En español

    ganzua
    Member

    “aún no he intentado un “único login”, primero integración visual ^^”

    -> yo puse login único al configurar (estoy de pruebas aun en el servidor de mi ordenador) y es el menor de los problemas :) Los problemas vienen luego porque tienes dos formularios para hacer login y dos profiles. Además cuando haces login desde el wordpress te redirecciona al dashboard/profile del wordpress y esto es algo que quiero solucionar ya que mis usuarios no son precisamente geeks y si les sacas del interface los descolocas.

    Tengo ganas de ver que haras en tu web :) a ver si te copio.

    Gracias por la aclaración de la constante bblang

    #56528

    In reply to: Strut Your bbPress!

    Swap
    Member

    Blog: http://www.swaroophegde.com/

    Forums: http://www.swaroophegde.com/discuss/

    Lotsa useful plugins + custom coding = perfect bbpress :D

    #57011

    In reply to: like5.com

    like5
    Member

    Has been relaunched new design :) http://www.like5.com is in beta

    #49950

    In reply to: En español

    Covi
    Member

    Ya vi la web, está muy bien. ¿Estas poniendo los formularios de login del bbpress no?

    Están por defecto, aún no he intentado un “único login”, primero integración visual ^^

    Por cierto, emmm:

    -> ahhhh, no me fije, por defecto venia BBLANG sin el dir.

    BBLANG es una constante y BBLANGDIR otra ;)

    La primera indica el lenguaje a usar codificado como (ABREVIATURA_abreviatura) y la segunda indica el directorio donde está ese archivo, aunque si en la segunda no se usa la variable $mofile, que es la que guarda el lenguaje y se especifica el nombre del archivo da igual ;)

    S!

    #49949

    In reply to: En español

    ganzua
    Member

    ” Aquí: define(‘BBLANG’, ‘/wp-includes/languages/es_ES.mo’);es BBLANGDIR ;)

    -> ahhhh, no me fije, por defecto venia BBLANG sin el dir. Lo he probado y no da errores, tengo que copiar todavía algun .mo de BBPress en castellano a ver si funciona.

    “Conociendo los sistemas se pueden hacer bastantes cosas apañadas ^^, este es el sitio donde lo tengo integrado y en breve intentaré un único login:

    http://www.laguardiadejaen.com/web/foro/&#8221;

    Ya vi la web, está muy bien. ¿Estas poniendo los formularios de login del bbpress no?

    #58022

    In reply to: bbSync

    fel64
    Member

    Yes, I’m fairly sure that’s where the problem is. Anything in your error logs?

    Luckily once this is fixed if you simply edit any non-synced posts and save them they will be synced :) Unfortunately the topic time will be whatever time it is when you first saved that post.

    Grab 2.2, not only might it make things work for you but it’s always safer to upgrade anyway. I don’t think that the 2.1 branch will be maintained, and there’s a very serious XML-RPC issue in 2.1.2 that leaves you very vulnerable (note 2.1.3 isn’t worth upgrading to as I don’t think it’ll get more fixes).

    #56618
    fel64
    Member

    Pravin seems to have a solution. The moderators would have to add a section to the profile and then conditionally change the code to Pravin’s if that’s what the user set. If Pravin has the solution, everything else is trivial (in complexity), but it will mean some coding and modification of core files for someone.

    #58301

    In reply to: favorites in profile

    fel64
    Member

    I think that’s a tricky one. The code block that makes the output of favourites is below, but since it checks if( $topics ) the actual getting of favourites I guess happens much earlier on in bbPress’ execution. Can’t think how you’d get around that easily.

    <?php if ( $topics ) : ?>

    <table id="favorites">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    <th><?php _e('Remove'); ?></th>
    </tr>

    <?php 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"><small><?php topic_time(); ?></small></td>
    <td class="num">[<?php user_favorites_link('', array('mid'=>'x'), $user_id); ?>]</td>
    </tr>
    <?php endforeach; ?>
    </table>

    #49946

    In reply to: En español

    Covi
    Member

    Aquí: define('BBLANG', '/wp-includes/languages/es_ES.mo');es BBLANGDIR ;)

    Además la ruta debe ser la correcta a tu archivo, seguramente no tire ningún error para no caerse el sistema y solo: no te traduce.

    Anieto es un crack :)

    PD: Siento no poder mirar nada más detenidamente.

Viewing 25 results - 30,026 through 30,050 (of 32,499 total)
Skip to toolbar