Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,026 through 30,050 (of 32,491 total)
  • Author
    Search Results
  • #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.

    #58021

    In reply to: bbSync

    sneakym
    Member

    Fix for the check boxes worked. I can see the options now in the post.

    with regards to the backing up of databases/error logs, it isnt that serious. The posts still post to WP and all, but, there is no post confirmation page, the page just goes blank. It seems like there is an interruption between the post being published and confirmed that is caused by bbsync. The interruption is probably somewhere in the code where the post is picked up by bbsync and sent to bb.

    WP 2.1.2 and 1.o BB.

    Thanks again!

    #58303
    jaruff
    Member

    Thanks mate. This is really the first time I’ve dug into the bbPress code, so I’ll definably take a look at the GREP command.

    #58302
    howtogeek
    Member

    It’s in bb-includes/pluggable.php somewhere around line 116 (in the version I’m using)

    You should read up on the grep command =)

    #58019

    In reply to: bbSync

    fel64
    Member

    Did you back up your databases? Then you can restore them until it’s figured out :)

    Have you checked your error logs? I’d expect a fatal error if it goes blank. That could really help.

    No problem, did it for myself. Just sorry it’s not working for you yet!

    #58295
    Trent Adams
    Member

    In my opinion it would require less bandwidth as this was the first thing I noticed when I switched over from phpBB to bbPress myself. I would imagine this is due to the fact that bbPress is less ‘bloated’ with code in the core, but if you use a bunch of plugins, this can get you back up again. The database structure is less and the number of calls is less, but that has nothing to do with bandwidth.

    The data served is about the same.

    I think it is less, others have a comment on this?

    Trent

    #49945

    In reply to: En español

    ganzua
    Member

    Unos links en castellano sobre wordpress;

    http://www.planetawordpress.org/

    y aquí un nuevo foro sobre wordpress hecho en bbpress :) a ver si ponen un apartado específico;

    http://www.anieto2k.com/foro/

    #49944

    In reply to: En español

    ganzua
    Member

    Hola otra vez!

    “Opino que… si te falla una función: añade otra tuya o arréglala a tu gusto, los “hacks” son chungos y muy al estilo de phpbb pero a falta de pan…”

    -> ya me gustaría saber hacerlo :) Como mucho llego a arreglarmelas para modificar código ya hecho.

    “”Pero que bbpress ni wordpress traigan nada “de casa” me parece perfecto, porque lo único que se consigue es ensuciar el sistema… croe yo, por muy bien hecho que esté se hace complejo y se engorda con cosas que los mismo otro no necesita.”

    -> si, opino que es un foro muy para geeks ;-) A mi se me está haciendo infernal

    “hay muchos CMS completos y complejos, Joomla, Drupal, Xoops..”

    en estos no se pueden integrar los logins ¿no?. En el Drupal he visto soluciones duplicando los logins pero eran para el phpbb.

    He probado esto;

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

    y da el mismo error de streams;

    Fatal error: Cannot redeclare class CachedFileReader in D:wampwwwwordpressbbpressbb-includesstreams.php on line 163

    #49943

    In reply to: En español

    Covi
    Member

    Por cierto…

    Personalmente, me niego a traducir “archivo por archivo” un sistema :P , no es nada profesional gg y me recuerda a los tiempos de php-nuke, que asco :)

    Opino que… si te falla una función: añade otra tuya o arréglala a tu gusto, los “hacks” son chungos y muy al estilo de phpbb pero a falta de pan…

    MISMA TRADUCCIÓN:

    No lo he probado, pero imagino que:

    Abrir el .po, por ejemplo, de WordPress y añadir la traducción del .po de bbpress.

    Cambias las rutas a los archivos de referencia de uno u otro sistema.

    Generas un nuevo y único .mo.

    Usas el mismo .mo desde ambos sistemas cambiando las rutas de la variable $mofile o la constante BBLANGDIR, ruta:

    /* bb-includes/languages/l10n.php, Línea 72: */
    $mofile = BBLANGDIR . "$locale.mo";

    En WordPress:

    /* wp-includes/... */
    $mofile = ABSPATH . LANGDIR . "/$locale.mo";

    ->Hola! ¿Como se configura bbpress para que lea el archivo .mo de wordpress?

    Sustituye la constante BBLANGDIR por la ruta al archivo .mo de WordPress:

    /* bb-includes/languages/l10n.php, Línea 72: */
    $mofile = BBLANGDIR . "$locale.mo";

    o

    define la constante en tu config.php, por ejemplo y si tienes el foro dentro del directorio de tu wordpress:

    define('BBLANGDIR', '../wp-includes/languages');

    El mayor problema o trabajo es lo dicho anteriormente, hay que cambiar las rutas de los archivos de referencia de cada definición (nada que una macro de reemplazo no deba poder hacer ^^).

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