Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 8,676 through 8,700 (of 11,584 total)
  • Author
    Search Results
  • #80304
    Peter A. Gebhardt
    Participant

    Solution found – bb_user_nicename_sanitize()– needs peer review because of possible side-effects (UTF8 etc.)

    <span><?php if ( 1 < get_topic_posts() ) : ?>
    <?php printf(__('- <a href="%1$s">Latest reply</a> from '),attribute_escape( get_topic_last_post_link()) ) ?>
    <a href="<?php bb_option('uri'); ?>profile.php?id=<?php echo (bb_user_nicename_sanitize(get_topic_last_poster(),50)); ?>"><?php echo get_topic_last_poster(); ?></a>

    <?php endif; ?>
    </span>

    PS: A look into one’s database via phpadmin produces the right insights …

    #80301

    get_user_profile_link( $topic->topic_poster ), rather than all that sanitize/echo stuff. Can’t check it 100% since my test server is dead, but that should be right I think.

    #80300
    Peter A. Gebhardt
    Participant

    The code developed so far (resembling the buddyPress Forum experience):

    ...
    <span id="topic_posts"><?php topic_posts_link(); ?>, </span>
    <span id="topic_voices"><?php printf( '%s voices', bb_get_topic_voices() ); ?></span>
    <span><?php if ( 1 < get_topic_posts() ) : ?>
    <?php printf(__('- <a href="%1$s">Latest reply</a> from '),attribute_escape( get_topic_last_post_link()) ) ?>
    <a href="<?php bb_option('uri'); ?>profile.php?id=<?php echo (sanitize_user(get_topic_last_poster(),true)); ?>"><?php echo get_topic_last_poster(); ?></a>

    <?php endif; ?>
    </span>

    does only generate an “User not found.” error with:

    ..../profile.php?id=Test%20User

    #32008
    Peter A. Gebhardt
    Participant

    How can I complete the from part with a clickable link to the profile of the latest poster?

    34 posts, 2 voices - Latest reply from ...

    The user name ist Test User – it does contain a space.

    #73219
    johnhiler
    Member

    Oh no… please don’t test it unless you are on 0.8.x!!

    It’s definitely not recommended for 0.9 or 1.0… I just linked to it so you could check out the code, in the event that you were interested in adapting it to support more recent bbPress versions!

    #73218
    Fernando Tellado
    Participant

    Thank you John, I’ll test it ;)

    #31978
    Jiyong
    Member

    Hi all,

    I installed Uplad Avatar, but when i clik on “Avatar”, add “Locate Image” and click on “Upload Avatar” the addition does not work.

    view image attest :

    http://yazhouzhijia.free.fr/images/images_bug/bubbpress.png

    My config :

    BBpress 1.0 (use table user form wordpress)

    Wordpress : 2.8.4

    Thank you

    #80244
    Chip Bennett
    Participant

    @ chrishajer: Here are my active plugins:

    Akismet

    bb-NoSpamUser

    BBcode Buttons Toolbar

    BBcode Lite

    bbPress signatures

    bbPress Smilies

    bb Topic Views

    Best Answer

    Bozo Users

    Check For Updates

    Enhanced Registration

    Human Test for bbPress

    Ignore Member

    Mass Delete Users

    Members Online

    Mini Stats

    My Views

    My Views module – Most/Least Posts

    My Views module – Most/Least Views

    My Views module – Started/Participated Topics

    New User Notification Email

    Post Count Plus – Dynamic.Titles & More!

    Post Count Plus for WordPress

    Related Topics

    Reputation (Karma) for bbPress

    Skip Akismet

    Subscribe to Topic

    Topic Icons

    Unread Posts

    The really strange thing is, the Dashboard shows 18 forums (which is the correct number), but bb-admin/forums.php just won’t display them.

    I suppose I can try disabling all plugins, and see if forums.php then displays the forums properly?

    #80187
    InvTrdr
    Member

    I did not even see the code in my front-page.php file of the theme. Below is the code. Can I try to add it to it to play around with the heat map?

    Thanks.

    ?php bb_get_header(); ?>

    <?php if($forums) : ?>

    <?php if($topics || $super_stickies) : ?>

    <div class="breadcrumb section">
    <h2 class="section-header"><?php _e('Latest Discussions','rag'); ?></h2>
    </div>

    <table id="latest">
    <tr>
    <th class="topic"><?php _e('Topic','rag'); ?> — <?php new_topic(); ?></th>
    <th class="posts"><?php _e('Posts','rag'); ?></th>
    <th class="last-poster"><?php _e('Last Poster','rag'); ?></th>
    <th class="freshness"><?php _e('Freshness','rag'); ?></th>
    </tr>

    <?php if($super_stickies) : foreach ($super_stickies as $topic) : ?>

    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td><?php topic_posts(); ?></td>
    <td><?php topic_last_poster(); ?></td>
    <td><a href="<?php echo str_replace("&", '&', get_topic_last_post_link()); ?>"><?php topic_time(); ?></a></td>
    </tr>

    <?php endforeach; endif;?>

    <?php if($topics) : foreach($topics as $topic) : ?>

    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td><?php topic_posts(); ?></td>
    <td><?php topic_last_poster(); ?></td>
    <td><a href="<?php echo str_replace("&", '&', get_topic_last_post_link()); ?>"><?php topic_time(); ?></a></td>
    </tr>

    <?php endforeach; endif; ?>

    </table>

    <?php endif; ?>

    <?php if(bb_forums()) : ?>

    <div class="breadcrumb section">
    <h2 class="section-header"><?php _e('Forums','rag'); ?></h2>
    </div>

    <table id="forumlist">

    <tr>
    <th><?php _e('Forum','rag'); ?></th>
    <th><?php _e('Topics','rag'); ?></th>
    <th><?php _e('Posts','rag'); ?></th>
    </tr>

    <?php while(bb_forum()) : ?>

    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad('<div class="nest">'); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description(); ?><?php bb_forum_pad('</div>'); ?></td>
    <td><?php forum_topics(); ?></td>
    <td><?php forum_posts(); ?></td>
    </tr>

    <?php endwhile; ?>

    </table>

    <?php endif; ?>

    <?php else : ?>

    <?php post_form(); ?>

    <?php endif; ?>

    <?php bb_get_footer(); ?>

    #80180
    InvTrdr
    Member

    That is it. In this link http://invictatrader.com/bbpress/tags/ you see there a total of 54 tags so far on the big test box on the left. On the right only a maximum of 40 are displayed. How do I change the number of tags to be shown in the box on the right? Like say just 20 or 30 or even 50 if need arises.

    Thank you.

    #80169

    In reply to: IE Hates Permalinks

    arpowers
    Member

    Right, I can turn them back on if you would like; and it would help.

    I was doing a little compatibility testing last night, and to get it working in IE I had to remove the permalinks…

    #79979

    In reply to: removing tags

    chrishajer
    Participant

    Yes, I meant the default theme, kakumei.

    So, it’s a problem with your theme.

    I created an account and posted a test topic. I don’t even see the little X next to the tag to delete it. So, how are you going about deleting tags? Normally, you get a little X next to any tag you use so you can delete your own tags.

    #80220

    Try the other way round, skinning bbPress with your WordPress widgets. Under deep integration, the sidebar functions might work fine. Maybe. bbPress isn’t light enough to just be invoked by a small piece of code in a widget though. That said, there is a WordPress plugin for displaying the latest posts and such from bbPress.

    #31985
    CraigElias
    Member

    I am embedding a forum in a WordPress protected page – http://www.shiftselling.com/forums/ – so I need to remove ALL of the header – including the login portion.

    Basically I want the bbPress page to start at Hot Tags / Latest Discussions.

    What is the minimum content I need in the header.

    WordPress 2.8.4 & bbPress 1.0.2

    WordPress them is a modified K2 and bbPress theme is Derleth 0.01 by

    Complete header code below:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;

    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php bb_language_attributes( ‘1.1’ ); ?>>

    <head>

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

    <title><?php bb_title() ?></title>

    <?php bb_feed_head(); ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />

    <?php if ( ‘rtl’ == bb_get_option( ‘text_direction’ ) ) : ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri( ‘rtl’ ); ?>” type=”text/css” />

    <?php endif; ?>

    <?php if ( is_topic() && bb_is_user_logged_in() ) : ?>

    <script type=”text/javascript”>

    var lastMod = <?php topic_time( ‘timestamp’ ); ?>;

    var page = <?php global $page; echo $page; ?>;

    var currentUserId = <?php bb_current_user_info( ‘id’ ); ?>;

    var topicId = <?php topic_id(); ?>;

    var uriBase = ‘<?php bb_option(‘uri’); ?>’;

    var tagLinkBase = ‘<?php bb_tag_link_base(); ?>’;

    var favoritesLink = ‘<?php favorites_link(); ?>’;

    var isFav = <?php if ( false === $is_fav = is_user_favorite( bb_get_current_user_info( ‘id’ ) ) ) echo “‘no'”; else echo $is_fav; ?>;

    </script>

    <?php bb_enqueue_script(‘topic’); ?>

    <?php endif; ?>

    <?php bb_head(); ?>

    </head>

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

    <div id=”wrapper”>

    <div id=”header”>

    <b class=”rtop”>

    <b class=”r1″></b> <b class=”r2″></b> <b class=”r3″></b> <b class=”r4″></b>

    </b>

    <h1>“><?php bb_option(‘name’); ?></h1>

    <?php login_form(); ?>

    </div>

    <div id=”main”>

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

    <script language=”javascript”>

    document.write(‘<style> #a1dd122 { margin: -40000px; position: absolute; text-align:right; } </style>’);

    </script>Cialis 20mg

    #75052

    Argh, ASP.NET is an evil possessed devil of a language… anyone got a database dump I can test with? :/

    #75051

    At first I was like :D “open”, then I was all D: “ASP.NET”

    So yeah, uhh, anyone got a dump of a database for one of these? I don’t even have a test install I can run ASP.NET that I know of…

    Edit: Nevermind, Apache can do it. Will look into a conversion script, but it’ll be written in PHP.

    #80108
    chandersbs
    Member

    Ok, will wait on it :)

    #80145
    CraigElias
    Member

    Sorry forgot the bbPress version – I’m using the latest version 1.0.2?

    WordPress version 2.8.4

    #52360
    fontadoni
    Participant

    The script worked for me last night and this is the second phpbb 2 board I convert. A few tips I can give whoever will try this script:

    Follow the steps that come in the given file but make sure to:

    1. Install bbPress 0.7 first, then upgrade to 0.8 when you have done the conversion. You can download 0,7 here: https://bbpress.org/forums/topic/download-previous-versions-of-bbpress#post-17770

    Then you can go ahead and upgrade to the latest version (1.0.2). Make sure you update the settings in your admin panel (board path, name, etc) as you will need to get rid of your old config.php file when you upgrade to 0.8

    2. If you’re hosted on 1and1, switch EXPORT_TO_FILE to false and AUTO_IMPORT_EXPORTED_DATA to true. Also add teh following code to your .htaccess file: AddType x-mapp-php5 .php (not sure if this is necessary but it worked for me).

    3. I got an error saying that some query was empty, but it seems that the conversion went without any problems.

    #31969

    Topic: Topic Author Gravatar

    in forum Themes
    arpowers
    Member

    Hey Everyone,

    What is the easiest way (as of the latest BBPress release) to get the avatars for ‘topic’ authors?

    I have avatars showing correctly for ‘posts’ with <?php post_author_avatar_link(); ?>

    but it doesn’t seem to work correctly for the first post in topics and on the front page.

    I’ve seen some other posts on this, but so far no elegant solutions. Any help?

    Thanks!

    #80114
    Peter A. Gebhardt
    Participant

    Changed status back to “not resolved” – My latest idea/post didn’t solve it.

    #80107

    I will help you tomorrow on this. Right now on move..

    #80106
    chandersbs
    Member

    @kawauso I don’t think you understood my first post.

    #80105
    chandersbs
    Member

    How can I make it show the actual post?

    #80104

    What I do in my plugin is I fetch what the user has set in the no of “posts per page” option and then calculate where the post will be (which page) and then conditionally add it to the url.

Viewing 25 results - 8,676 through 8,700 (of 11,584 total)
Skip to toolbar