Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 8,976 through 9,000 (of 11,591 total)
  • Author
    Search Results
  • kickerman360
    Member
    <td class="num">
    <?php
    function gs_get_topic_last_poster_profile_link() {
    global $topic;
    if ($topic)
    return sprintf('<a href="%s">%s</a>', get_user_profile_link($topic->topic_last_poster), get_topic_last_poster($topic->topic_id));
    return false;
    }
    ?>
    </td>

    grassrootspa
    Member

    Thanks for your help, Detective. How would I implement your code with:

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

    Which is in Forum.php and Front-Page.php

    #52180
    anandasama
    Member

    I still dont know if you people managed to fix this but here is what worked for me after alot of trial and error:

    From the first-page:

    This code will generate a link to the original author’s profile and that one’s username.

    <a href="<?php user_profile_link(($topic->topic_poster)) ?>"><?php topic_author(); ?></a>

    And this code will make a link to the last user who posted and that one’s username.

    <a href="<?php user_profile_link($topic->topic_last_poster) ?>" class="latest-disc-last-poster"><?php topic_last_poster(); ?></a>

    Hope it helps!

    Detective
    Member
    function gs_get_topic_last_poster_profile_link() {
    global $topic;
    if ($topic)
    return sprintf('<a href="%s">%s</a>', get_user_profile_link($topic->topic_last_poster), get_topic_last_poster($topic->topic_id));
    return false;
    }

    grassrootspa
    Member

    Hmm, this doesn’t seem to work. Anyone else have any ideas?

    #74866
    Göran
    Member

    Thanks Tommie! My forum looks better and better thanks to you and plrk.

    A small suggested change in the registration form: “Position” should be changed to “Plats”.

    I use bbPress 1.0.1. To make it possible for users to register with Swedish or other non-acii names I use Cyrillian Nickname http://bbpress.ru/downloads/plugins/

    To prevent spam robots I also use Human Test available at https://bbpress.org/plugins/topic/human-test/ I have translated the few phrases in the plugin. Write me a pm if you want it (I tried to make it available at my site but could not place a php-file there. Should it be zipped?)

    #74863
    Göran
    Member

    Dear plrk I downloaded your latest .mo-file and it solved my problem with ugly letters for Swedish characters. Thank you!

    It is still “sullat” but I now know how to change that. And did so. However I also have English words for months. I do not know how to change that.

    My almost good enough forum is at http://www.32astolf.se/forum/

    #76664
    Kar-l
    Member

    Tested, not working right with Kakumei, all plugins disabled, v1.01.

    #17646
    Dreamcolor
    Participant

    Make bbPress fonts of backend minimum to 12px. And fix fonts style from inherit to normal. So bbPress can display chinese (not only chinese) better.

    该插件主要的用途,是那些将 bbPress 后台汉化为中文或其他双字节语种的用户。它将会把后台的字体大小控制在最小 12px,并且将原有的斜体文字变成正常字体。这样,后台在现实中文的时候就不会出现字体过小看不清楚的现象了。

    现在将该插件做成了两种方式。一种是以正常的 bbPress 插件的形式发布。下载后需要将插件目录上传到 bbPress 根目录的 my-plugins 目录中,然后在后台插件管理页面进行启用。这样,即使后台为英文状态下,也可以把后台中出现的中文进行美化。另外一种是做成随语言包自动启动的方式。下载后,将 php 文件上传到语言包目录中。这种方式只有激活了相应的语言包时才会生效。

    由于 bbPress 每次更新,也许会涉及到 CSS 样式表的修改。所以该插件存在一定的针对性。也就是说不是总向下兼容的。所以,插件发布的时候,会把对应的 bbPress 版本标识出来。各位可以从插件的版本号上看出来。例如:1.0.1-1 标识针对的 bbPress 版本为 1.0.1,而后面的“-1”标识是第一个修订版本。以后发布的“1.0.1-2”,“1.0.1-3”等等都是对应的 bbPress 1.0.1。只是插件作出了某些修改。只有前面的版本号变了,才表示对应的 bbPress 版本发生了变化。

    http://dreamcolor.net/2009/07/bbpress-admin-beautifier-testing/

    You can download it here:

    http://dreamcolor.net/project/bbpress-admin-fonts-beautifier/

    Anybody can translate this topic to english? THX…

    sonnygahir
    Member

    The physical directory structure is as follows:

    Directory of D:InetpubNewwwwrootforums

    20/07/2009 10:59 <DIR> .

    20/07/2009 10:59 <DIR> ..

    19/07/2009 15:14 <DIR> bb-admin

    19/07/2009 12:32 <DIR> bb-cache

    19/07/2009 12:32 <DIR> bb-plugins

    19/07/2009 12:32 <DIR> bb-includes

    19/07/2009 12:32 <DIR> bb-images

    19/07/2009 12:32 <DIR> bb-templates

    20/07/2009 13:17 1,691 bb-config.php

    05/03/2008 04:32 816 bb-load.php

    12/02/2009 00:21 1,037 bb-login.php

    24/04/2008 19:06 1,673 bb-config-sample.php

    23/04/2008 11:29 1,647 bb-post.php

    30/12/2008 23:14 445 bb-reset-password.php

    26/08/2008 20:15 13,433 bb-settings.php

    12/02/2009 00:21 822 bb-edit.php

    26/02/2007 22:48 651 edit.php

    12/02/2009 00:21 1,076 favorites.php

    22/01/2007 08:40 449 forum.php

    22/01/2007 08:40 450 index.php

    03/01/2008 00:57 17,986 license.txt

    12/02/2009 00:21 308 profile-base.php

    17/12/2008 07:57 4,782 profile-edit.php

    15/03/2008 02:40 851 profile.php

    03/01/2008 00:57 855 readme.txt

    05/03/2008 04:32 1,623 register.php

    25/04/2008 14:09 4,349 rss.php

    29/01/2008 20:11 1,402 search.php

    05/03/2008 04:32 238 statistics.php

    12/02/2009 00:21 574 tag-add.php

    12/03/2008 07:46 661 tag-remove.php

    22/01/2007 08:40 433 tags.php

    19/07/2009 15:46 3,293 testdb.php

    03/01/2008 00:57 1,312 topic.php

    03/01/2008 00:57 756 view.php

    27 File(s) 63,613 bytes

    kickerman360
    Member

    Maybe this will work:

    <a href='<?php bb_uri(); ?>/profile/<?php topic_last_poster(); ?>"><?php topic_last_poster(); ?></a>

    Not 100% sure it would work since <?php topic_last_poster(); ?> grabs the display name, not the user name I think. Well there’s a start.

    #76345
    Gautam
    Member

    I think, for the front page, where all topics are shown, you should put this:

    <?php
    $limit = bb_get_option('page_topics');
    $offset = ($page-1)*$limit;
    $all_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE topic_status = 0 AND topic_sticky = 0 ORDER BY topic_id DESC LIMIT $limit OFFSET $offset");
    $all_topic_posts = get_thread( $topic->topic_id);
    $topics = $all_topics;
    ?>

    Haven’t tested it, but should work.

    #76598
    bb-gian
    Member

    crackpixels,

    In bbPress Comments are generally called Posts.

    I think the Posts column is set up by default.

    In the Latest Discussions table, look for this cell: <th><?php _e(‘Posts’); ?></th>, which is the title of the column, and this:<td class=”num”><?php topic_posts(); ?></td>, which is the content of the comuns, displaying the number of Posts (Comments).

    #15404

    On both Chrome and Safari (latest stable on both, and up-to trunk on Chrome) these do not work for me:

    – Adding/Removing from favorites ajax script within a viewed topic: Clicking on the span wrapped anchor shows animation but state unchanged.

    – keymaster removal of posts: input box and animation plays, upon refreshing page (Manual F5) posts re-appear.

    These situations do not occur with FireFox or I.E.

    I’ve also replaced jQuery 1.2.6 with jQuery 1.3.2 (without errors, and requires a few php changes to the script loader) but this does not work. I had thought maybe there were fixes to 1.3.2 ajax code.

    Still not discounting my own server config, and I haven’t fully debugged the javascript yet. I have jQuery debug up and running, just going to be a while.

    Stack is: WPMU 2.8.1 >> BBPress 1.0.1

    Anyone have similar issues?

    #76516
    bb-gian
    Member

    Cool, Gautam! Thank you.

    I can’t go and test it right now, as I am too busy on a development, but will definitely install it tonight and let you know.

    Thanks!

    #76339
    deadlyhifi
    Participant

    I do this on one of my forums (a classified forum that I didn’t want users ‘bumping’ on constantly.) Just add

    <?php
    if ($forum_id == 3) {
    $limit = bb_get_option('page_topics');
    $offset = ($page-1)*$limit;
    $forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id AND topic_status = 0 AND topic_sticky = 0 ORDER BY topic_id DESC LIMIT $limit OFFSET $offset");
    $forum_one_topic_posts = get_thread( $topic->topic_id);
    $topics = $forum_one_topics;
    }
    ?>

    to the top of the forum.php file in your template. Take out the if ($forum_id == 3) { and trailing } if you want to apply it to all your forums.

    To show topic creation date instead of freshness replace topic_time(); with get_topic_start_time(); in the forum.php, and front-page.php template files – though I haven’t tested that bit.

    #76512
    johnhiler
    Member

    This plugin seems to have some compatibility issues, but might be worth checking out:

    https://bbpress.org/plugins/topic/live-comment-preview/

    As an fyi, plugins are generally made by users and aren’t necessarily supposed to work with version 1.0.1; they work with whatever version each developer has tested the plugin on. In most cases, that’s version 0.9.

    Right now, very few plugins are officially compatible (i.e. tested) with version 1.0 and 1.0.1. But a number of them are unofficially compatible – they worked on 0.9 and still work (inadvertently) on 1.0.

    Good luck!

    #76338
    blah
    Member

    After posting a reply. I know it’s normal for the topic to be bumped to the top along w/ the “Freshness” but I would like the Freshness to be replaced by the exact date when topic was created and for it not to bump to the top when someone replies.

    I’m using the latest 1.0.1.

    grassrootspa
    Member

    Hey fellow bbPress enthusiasts,

    I have just spent forever playing with PHP trying to get the name generated by “Last Poster” in Latest Discussions on Forum or Front-Page to link to THAT user’s bbPress profile.

    My apologies if I am missing an easy “<a href=” command to surround the php in:

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

    Nothing seems to work.

    Many thanks as my brain has been fried working on this.

    #15391

    My Swedish language files doesn’t seem to translate any time -related stuff like weeks, months, days, seconds etc. When i check the .po-file for it there doesn’t seem to be any problem at all with the language file. The file is taken from the latest trunk of language files.

    Does anyone have any idea why it doesn’t work as it should and is there any language file for Swedish that does?

    #15387
    still giving
    Member

    Hi

    I have language problems with with v.1.0.1.

    bbpress is installed and working in English.

    installed directory my-languages

    installed ja.mo and ja.po

    But when I write ‘define(‘BBLANG’, ‘ja’);’

    I get an error …

    Fatal error: Call to undefined function __() in /usr/home/vegan/public_html/chat/bb-includes/functions.bb-core.php on line 26

    I have spent hours on this now, download a few different MO and PO files. Tried user language switcher plug in etc … I am getting nowhere.

    Anyone had any luck or is it a bug in the latest release?

    Thanks.

    #76380

    In reply to: admin panel warning

    Elias
    Member

    I think that this problem occurs in forums w/o posts, when the various numbers are divided by the number of posts, which is zero. But it is a bug, the code must test for zero as denominator…

    #76355
    johnhiler
    Member

    Akismet looks at a number of factors – ranging from email addresses to IPs and the texts of posts.

    _ck_ also suggested not trying to test Akismet with spammy comments:

    I don’t recommend trying to purposely cause spam to test it because akismet might flag you globally as a spammer and you’ll end up being bozo’ed across multiple forums/blogs.

    https://bbpress.org/forums/topic/what-do-your-posters-see-when-their-posts-as-flagged-by-akismet#post-31467

    I’ve marked a few posts as spam on my forum, and noticed that every subsequent comment by that user got flagged by Akismet. Your mileage may vary… but you’re welcome to take your chances. :-)

    #15376
    bigspottcom
    Member

    hi

    i have installed latest version of bb press. but my dashboard is incomplete.

    pls suggest and help.

    http://fanclub.bigspott.com

    http://www.bigspott.com

    #76353
    johnhiler
    Member

    If you’re not getting spam, then you don’t have to worry too much if it’s working or not!

    What I usually do on a new install is set it up with Akismet and then wait a week or so… for it to catch its first piece of spam! :-)

    Definitely do not try and “test” Akismet, as you don’t want to get blacklisted from all sites that use Akismet!

Viewing 25 results - 8,976 through 9,000 (of 11,591 total)
Skip to toolbar