Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 6,526 through 6,550 (of 6,773 total)
  • Author
    Search Results
  • #57181

    In reply to: custom roles?

    fel64
    Member

    No problem. Are you using the default theme? That should certainly show a changed user title. Have you checked the database to see if it’s there? You would use phpMyAdmin to look into the usermeta table (look for the ID of that particular user).

    #57136
    benbeltran
    Member

    yeah :O it should … li uses display:list-item and uses different properties … like line-height instead of height and it behaves differently in some contexts.

    In some cases using the default display mode it would overlap with other items, but with display:block; it stretches properly

    #56881

    In reply to: Outlet

    fel64
    Member

    In MCE it always assumes the next paragraph to be b-quoted too, unless you specify otherwise. I think it’s default behaviour.

    You could probably modify the Quote plugin so that instead of returning <blockquote> quoted stuff </blockquote> it attached a newline character or two. Something like <blockquote> quoted stuff </blockquote>nn might be enough as a modification, I’m not sure. MCE should interpret the two new lines as a new paragraph, hopefully without blockquotage.

    #56880

    In reply to: Outlet

    AphelionZ
    Participant

    It’s a hard problem to explain – if you go into a thread and quote somebody, it shows up in the MCE as <blockquote> quote </blockquote>

    In the editor, it kind of locks you into blockquote mode – first, the quote is indented, which isnt so much of a problem as it is just a display discrepancy as the quotes aren’t indented in posts..

    however, when you hit return, the next paragraph shows up as a new blockquote and doesnt default back to plain text inside the editor, and you have to hit tinyMCE’s ‘outdent’ button.

    More or less a pain, but one that might get people to stop posting :(

    #57176

    In reply to: Display Username

    fel64
    Member

    <?php echo bb_get_current_user_info( 'name' ); ?>

    Drop that into HTML wherever you want it. :)

    The default theme puts a “Welcome, USER! View your profile (Log out)” at the top left of every page, right where the login box would be otherwise.

    Edit: strange, is the overflow: hidden property gone again?

    #56151
    eddd54
    Member

    Hi,

    i’m having the same problem with my WordPress and bbPress integrated install – (href tags getting stripped and extra slashes getting added)

    See here: https://bbpress.org/forums/topic/641 and here: https://bbpress.org/forums/topic/670

    I’m running:

    WordPress 2.1.3

    bbPress 1.0-alpha

    The 2 fixes worked for me but rather than editing the bb-includes/default-filters.php file.. i put the temporary fixes in a quick bbPress Plugin so that i don’t end up forgetting about the modifications after an upgrade and can now easily deactivate the plugin should this issue get permenantly resolved.

    I put the plugin up online. If you’re interested, you can download it here: http://indyish.googlepages.com/fix-href-slashes.php

    Sam Bauers
    Participant

    Can you create a ticket for this here. You can login with the same user/pass you use on this forum.

    Sjon
    Member

    Hope this is the right place. I just installed the latest svn version on my local pc, and got the forementioned error twice (also with topic_slug field). Running mysql 5.0.

    Patch:

    Index: upgrade-schema.php
    ===================================================================
    --- upgrade-schema.php (revision 805)
    +++ upgrade-schema.php (working copy)
    @@ -4,7 +4,7 @@
    $bb_queries = "CREATE TABLE $bbdb->forums (
    forum_id int(10) NOT NULL auto_increment,
    forum_name varchar(150) NOT NULL default '',
    - forum_slug text NOT NULL default '',
    + forum_slug text NOT NULL,
    forum_desc text NOT NULL,
    forum_parent int(10) NOT NULL default '0',
    forum_order int(10) NOT NULL default '0',
    @@ -31,7 +31,7 @@
    CREATE TABLE $bbdb->topics (
    topic_id bigint(20) NOT NULL auto_increment,
    topic_title varchar(100) NOT NULL default '',
    - topic_slug text NOT NULL default '',
    + topic_slug text NOT NULL,
    topic_poster bigint(20) NOT NULL default '0',
    topic_poster_name varchar(40) NOT NULL default 'Anonymous',
    topic_last_poster bigint(20) NOT NULL default '0',

    Regards,

    #56689

    In reply to: Plugin: Avatar Upload

    fel64
    Member

    Now if only there was a way to display a default image if the user hasn’t uploaded one.

    That’s the point of the identicon jobbie, it assigns everyone a unique and easily distinguishable image when they sign up. :)

    Louisedade, bb_init is called before bb_head I think. In your avatar.php template file it should also be class="bbcrumb" rather than id="breadcrumb", at least if you want the same styling as everything else.

    #56686

    In reply to: Plugin: Avatar Upload

    smurfdude
    Member

    W00t! I’ve figured out how to display the avatar next to comments in wordpress. Though the way I have done it i’m worried it’s going to cause problems.

    Now if only there was a way to display a default image if the user hasn’t uploaded one. Not that it’s a big deal. Thanks :D

    #1557

    Topic: Hooks & Filters Docu

    in forum Plugins
    fel64
    Member

    Rather than just keeping private notes on the hooks and filters I found, I thought it best to maybe start a list here with everyone, just as a rough working documentation of the hooks and filters.

    For future ref/for people that don’t know, a hook is a means of bbPress making your plugin run every time a certain thing happens. To get that to work, put this code at the very bottom of your plugin:

    add_action( 'hook_name', 'functionname' );

    Filters are very similar to hooks, only it gives your plugin some data, you can then do something with the data (filter it), and then pass it back. To register for filters, put this code at the bottom of your application; remember to accept the parameters in your function and return them as appropriate.

    add_filter( 'filter_name', 'functionname' );

    Note that in both cases you want the name as a string and the function’s name as a string, no brackets or parameters at the end of it! An optional third parameter is the priority of your function; default is 10, so set this higher if you want it to execute last or lower if you want it to execute earlier.

    Some Filters

    topic_title – this passes the topic title to your function when the threads are being listed, like on the (default) front page.

    bb_allowed_tags – this is the array of HTML tags you can use in your posts. Hang a filter on this and add elements to the array if you want to allow more tags.

    Some Hooks

    bb_head – this is called when the HTML <head> element is being filled, so you can add stylesheets or javascript and the like.

    bb_user_logout obviously gets called when someone logs out.

    bb_init when someone logs in?

    bb_new_user when someone registers; passes the ID along I think

    bb_profile_menu – haven’t figured out how it works; I think it’s to do with the tabs at the top of the profile.

    If you know any more hooks or filters, or find ’em, please post them here with a quick description if necessary!

    #56887
    gtim
    Member

    I doubt that this is the most efficient way, but it seems to work. Add the following code in post.php in the default theme (/bb-templates/kakumei/post.php), you probably want it within the .threadauthor div.

    <?php
    $puser = bb_get_user( get_post_author_id() );
    if ( isset( $puser->from ) ) {
    echo $puser->from;
    }
    ?>

    It is not possible to do this with a plugin yet because there is no hook there, but there is a Trac ticket for it.

    Also, I compiled a list of all template functions.

    #56912
    chrishajer
    Participant

    I’m not worried about fixing it for me. I’m worried about fixing it for every new person who comes along and installs it and has a problem immediately. If the above works, that should be the default and that should be released. Anyone who downloads the latest.tar.gz should not have to edit out anything to fix the bozo problem. The default doesn’t work, so it should be changed until it’s fixed. No patches: a new release.

    #56866
    Trent Adams
    Member

    Have you taken a look at this thread? As well, http://kaespace.com/bbpress/ doesn’t show up for me at all. Is that the correct address? As for the link just having “style.css” in the address, it is because it is referenced off the theme folder and not the root directory. I can’t access your site, so what is your theme as well? The default one?

    Trent

    #56848
    slozano
    Member

    Thank you for the help. I tried the plug in proposed by Tren

    and the solution at https://bbpress.org/forums/topic/988?replies=4#post-6373. Only Charly54’s solution worked (Thank you Charly54), but only partially. The solution works with the default theme (Kakumei). I downloaded Bloody Gray 1.1 by Aditya Naik, removed Tren’s patch-to-URL plugin, Kakumei still works, I can see the preview of “Bloody Gray” in the Admin/presentation page. Once “Bloody Gray” is selected as the theme Firefox 2.0 show nothing and no code. When looking at the same page in IE 7.0 I get `<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>

    <HTML><HEAD>

    <META http-equiv=Content-Type content=”text/html; charset=utf-8″></HEAD>

    <BODY></BODY></HTML>`

    An empty page!. Thank you for you help, I will get another theme and try to understand what is happening, looks like many have struggle with this issue.

    #56865
    minkuei
    Member

    Actually I know I have to make my-templates folder and I do have it.

    But before I put css file in the root, the forum don’t even read the default theme.

    I do try to change it in admin panel, but somwhow it just don’t work.

    #56857

    In reply to: login form wordpress

    fel64
    Member

    To change where the user is redirected, add a hidden field to the login form called redirect_to, with a value of where-ever you want the user to end up (default is in the dashboard).

    #56864
    fel64
    Member

    You have to do it differently. To apply a css file, make a new folder in /bbpress/ called my-templates, open it, make a new folder for your “theme”, and put in your css file called style.css. Now go to the Admin Panel > Presentation and pick your theme.

    Note that you can change the HTML output of files as well. If you do not have a file for a particular page (such as forum.php) bbpress will look for the default file (located in /bbpress/bb-templates/kakumei) and use that instead. If you wish to use a modified file, copy the default into your theme’s folder and change it there.

    #56641

    In reply to: Plugin: BB-Ads

    wittmania
    Member

    UPDATE: The sample ad file now includes the code necessary to display different ads based on the context. For example, if it is a topics page, it will display one ad and if it is a forum page, it will display a different one.

    The code is something like this:

    <?php
    if ( strpos($_SERVER['REQUEST_URI'], 'topic.php') ) { ?>
    <div>An ad for a topics/posts page</div>
    <?php
    } elseif { another specific page;
    } else { default ad;
    } ?>

    The sample file includes elseif checks for topic.php, forum.php, profile.php, and a “default” if none of the above pages are detected.

    This would allow you to have one file per sponsor/advertiser, with a different context-based ad for each situation.

    #56838

    In reply to: Candy!

    fel64
    Member

    I can’t find the Category Patch plugin, sorry. That plugin browser is annoying. >_<

    The statistics are included by default, but not linked to in the default theme. Just go to www.example.com/forums/statistics.php and it’s there. The file for it is in your root forum folder.

    #56593
    archasek
    Member

    it works in my default template so i have right files in my-plugins folder.

    whats wrong? maybe i missed something in scripts/template files?

    #56592
    archasek
    Member

    in wordpress ofcourse yes. in bbpress there is not polish lang file (as i know).

    yes i have plugin and js in my-plugins folder. tomorrow i’ll check it in my default.

    in my wordpress, in adminpanel i also don’t have quicktags panel in visual mode in my adding post site. may it has something in common with bbpress plugin?

    #56591
    Trent Adams
    Member

    The quicktags plugin should work automatically if you drop the plugin file and the JS file into your /my-plugins/ folder. That should bring up the buttons you requested. If it doesn’t, it might be a problem with it displaying in your theme. Quick way to test that is test it out on the default template and not your custom template.

    As for the translating, are you using the language files for your chosen language?

    Trent

    #55011
    Trent Adams
    Member

    You cannot click a checkbox that says “turn off registration”, but you can do it indirectly through the following steps by editing your theme files. If you have the default template, please upload the changed files to a new folder off the root of /my-templates/

    1) Remove the following file out of your root directory, register.php.

    2) Edit your template file login-form.php and remove the following:

    <p><?php printf(__('<a href="%1$s">Register</a> or log in'), bb_get_option('uri').'register.php') ?>:</p>

    3) Put something like the following in register.php from your template folder:

    <?php bb_get_header(); ?>

    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Register'); ?></h3>

    <h2 id="register"><?php _e('Registration Turned Off, Sorry!'); ?></h2>

    <?php bb_get_footer(); ?>

    Unless I am missing something, that should do it!

    Trent

    #56671

    In reply to: Plugin: Avatar Upload

    LMD
    Participant

    If you are using the default template, ‘kakumei’, then yes, you can put ‘avatar.php’ in the default ‘bb-templates/kakumei’ folder.

    If you are using a custom template, then you need to upload it to your custom template folder (which is how I’m using it) – it does not cause problems if the file does not exist in the default template.

Viewing 25 results - 6,526 through 6,550 (of 6,773 total)
Skip to toolbar