Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,701 through 10,725 (of 11,589 total)
  • Author
    Search Results
  • #59851
    so1o
    Participant

    here is the hacked code.. this will show the favorites on profile page in the admin section of wordpress. I haven’t tested it but this is the basic idea.

    please note that the wordpress must be integrated both ways before you can do this. visit this for more

    add_action('show_user_profile',
    'my_plugin_show_favorites');

    function my_plugin_show_favorites() {
    $topics = get_user_favorites( $user->ID, true );
    ?>
    <br clear="all" />

    <table width="99%" border="0"
    cellspacing="2" cellpadding="3">
    <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>

    <div class="nav">
    <?php favorites_pages(); ?>
    </div>
    <?php

    }

    #59713
    _ck_
    Participant

    s010, that’s very clever.

    Unfortunately it doesn’t work.

    Not certain if slugs would translate either,

    ie. /action/listplugins

    I think the shortest shortcut is a universal loader could be made for all future extensions, ie.

    /forums/option/listplugins

    where option is really option.php in the bbpress root and it just passes to the template listplugins.php

    This would have to be made in the the bbpress core of course.

    ooooh I just had an idea… where is the hook for bbpress’s internal 404…

    er, no i guess that won’t work either…. BUT

    take a look at view.php in the bbpress root

    you can hook bb_custom_view

    basically since there will not be any view name, it won’t do the mysql call, then after you catch it on the do_action(‘bb_custom_view you can exit() after your own custom page load.

    ie. /forums/view/listplugins

    Let me try to code something working…

    #2185
    _ck_
    Participant

    I decided last night after seeing some bug reports from people testing my plugins that I needed a more conventional bbpress install that I could test my plugins as well as other people’s.

    So I started this little site:

    http://bbpress.nfshost.com/forums/

    I purposedly used low end (slow) hosting since my other sites are on high end setups. This way I can get a feel if anything is slowing bbpress down.

    On the site you can preview my

    bbPress Signatures and bbPress Polls plugins

    by making a test account.

    I’ve also activated “My Views” (which only works on 0.8.2.x for now)

    The goal was to stay as close to bbpress’s default template as possible but after a few hours the bright white was burning my eyes so I had to tone it down. I’ll probably have to revisit that and work on the colours a bit, it’s far too flat right now, sorry.

    Since this host has no web compression options, I’ll be releasing another mini plugin today after some more testing: bbpress gzip. It will let you compress bbpress pages via php and save on bandwidth, even if your host doesn’t have mod_gzip or other options available.

    #59425
    _ck_
    Participant

    Yeah you should always create a non-moderator test user to see how other things interact compared to mod/admin. It’s important to see what’s hidden from regular members and sometimes admin can do things we take for granted that regular members cannot (ie. like my admin-can-post-anything plugin)

    #59788

    In reply to: plugin: bb-Polls

    Null
    Member

    No wait I think what is wrong here.

    I am also testing a highly alpha new cool plugin here, that why I have edited post.php. I think it’s in conflict with your hook. Brb uploading original post.php

    Edit:

    Lol that fixed it…. darn that fixed all bugs I’ve had version 0.24 is fine

    Now how to prevent this in the future when I am going to release my plugin hmmmmmmm

    ps. You see the bbmenu tabs? i dont see them :S

    #59786

    In reply to: plugin: bb-Polls

    Null
    Member

    No, I have a special test site for this stuff: http://www.sourceskins.com/bbpress go take a look if you have it there too…

    I also run the latest stable release, no trunk versions

    #59785

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Null, I am testing using opera 9 on windows.

    I am using 0.24 of the plugin on the bbpress trunk.

    I am able to create a new poll & vote with no alerts.

    There is no problem with the css layout.

    Make sure you create a NEW poll for testing with 0.24

    Wait I just thought of something.

    Are you using a personal firewall like Norton?

    They sometimes filter javascript in bad ways.

    I am also starting to think that php 5 is doing something weird with the data escaping since you say you get it in all browsers. Unfortunately I do not have a php 5 server to test on.

    Can anyone else reproduce what Null is reporting or does it work?

    ps. you can turn off ajax if you want to test it normally by changing the “use_ajax” option near the top of the code. Set it to “false”.

    pps. Null, is this off the site in your profile?

    Can you create a poll for me to see off one of the pages so I can see the bug in action?

    #59783

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Ah I think I see the problem.

    Unlike all the other browsers, Opera has taken it upon itself to cache the javascript request instead of actually fetching it each time (this is one way it cheats for speed).

    Will add some code for a unique URL to force it to work.

    okay, here you go, v0.24

    http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v024

    should fix the issues with opera (and anything else caching)

    I’ve also now added hidden near the top of the code a “test_mode”

    If you change “test_mode” to “true” it will allow you do keep voting on any poll for testing purposes. You can switch back and forth to view/vote etc. Obviously change it back on a live site with members or people will be able to stuff the ballot box.

    Keep in mind that previous poll data may have been made invalid by the bug in opera so start with a fresh poll. Do not keep re-using the old polls for testing with v0.24. I have not changed data structures but if the data got inserted wrong, it could be invalid for that topic.

    (I’ll make a “delete poll” option soon for administrators.

    The space it takes is trivial, so don’t worry about that)

    #59777

    In reply to: plugin: bb-Polls

    Null
    Member

    Poll version 0.21

    Got the same results in:

    Ie7

    FF

    Safari

    Opera

    All latest versions

    OS Windows XP

    Server for website Linux

    Server API Apache

    PHP Version 5.0.4

    #59776

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Null, so that is v0.21?

    What OS are you on windows/mac

    What version of opera is that?

    Can you do a quick test in IE / Firefox for me and see if it does the same?

    Yes I was thinking the same about the cancel button, will add shortly in future version. Working on the ajax-ish voting right now.

    ps. all the button text, actually ALL the text is completely editable at the top

    #59773

    In reply to: plugin: bb-Polls

    howtogeek
    Member

    I’m using php 5.1.6 on my test system, which is where I was using it.

    #59772

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Please try again with v0.21

    https://ckon.files.wordpress.com/2007/08/bb-polls.txt?v021

    Many little bug fixes.

    mysql_real_escape_string requires php >= 4.3.0

    is this a problem for anyone?

    php prior to 4.3 has lots of security issues

    v0.21 looks/works fine in my opera 9.0

    Many thanks for all the beta testing, I think we’re stable now in all modern browsers…

    #59769

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Whoops, I finally considered testing it in internet explorer and I can see it has a few issues – sorry about that. Working on the bugs now…

    #59424
    howtogeek
    Member

    Ohhhhh

    My test site has nothing but posts from me, no wonder I didn’t see it =)

    And to answer your question at the very top of this thread, I’m trying to use bbPress for a serious forum… I just opened my forum a little over a week ago. Not as much traffic as I’d like, of course, but decent.

    #59421
    _ck_
    Participant

    I’ve tested this now up to the bbpress trunk and it seems to work fine.

    Try the latest:

    https://bbpress.org/plugins/download/report-post.zip

    Make sure you are editing post.php in your bb-templates or my-templates?

    Unfortunately there is no hook for me to place it automatically in post.php on that info line. Wish there was.

    #59768

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    I am pleased to announce that v0.19 now supports ajax-ishâ„¢ behaviours on all actions except form submits (saving data). The view poll results actually happens with a real update, if votes happen while you are waiting to vote and you go check, they will increase. I might even add an auto-refresh to it (every 30 seconds?) to freak people out.

    http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v020

    You can also turn off ajax entirely in the settings and if there’s no proper javascript support it falls back to regular actions of course.

    I’ve only tested on firefox out of exhaustion right now, so I’ll need feedback from other browsers. Ajax on submits will take quite a bit more research for me, never done it before and I’ve heard it’s problematic on different browsers.

    @mazdakam, sorry about the float:left – I used it to try to make it behave with some other templates I was testing. I realise now how that would messup your configuration…

    #52679
    _ck_
    Participant

    Testing working in the latest 912 trunk.

    #59726

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Yeah I don’t have the default template running anywhere to configure it, lol!

    Working right now but will build a test account and do a trunk install tonight so I will be able to change it.

    If you have better css, please post.

    #59724

    In reply to: plugin: bb-Polls

    howtogeek
    Member

    Testing it now…

    #59722

    In reply to: plugin: bb-Polls

    _ck_
    Participant

    Make sure you are using v0.11 and then post a new test topic.

    The default setting is polls can be added to topics no more than three hours old (adjustable).

    You must be logged in as a moderator or higher to see the poll options or poll results for the beta. This is to prevent other members from seeing your testing & configuring.

    #59717

    In reply to: plugin: bb-Polls

    Null
    Member

    Some questions:

    Vote, more then 1 option possible option? (max setting like classic (just 1 option possible) 2 options, 3 etc :)

    If a topic is deleted, does it clean-up the poll as well? (since a real deletion isn’t happening in bbPress, this wouldn’t be a problem for now)

    What happends if a poll is deleted? (but topic still excists)

    Who can vote? All? Members?

    If a topic is closed, automaticly close voting aswell?

    Results are in horizontal bars? Perhaps option to show them like a pie (or even vertical bars) :D Even better if a user can choose this when seeing the results:

    Option result 1: ===============

    Option result 2: =====

    Option result 3: =========

    Show as bars | Show as pie

    Would like to see a demo, cause can’t test this at work :(

    Greetz

    #2206

    Topic: plugin: bb-Polls

    in forum Plugins
    _ck_
    Participant

    I am pleased to announce a new bbPress Polls plugin.

    Your members can now add polls to their topics, or optionally you can allow *anyone* to add a poll to *any* topic, within a specified time period (hours) since the topic was started.

    bb-Polls allows single answer or multiple answer polls.

    No template edits of any kind.

    There are no additional db tables added, it uses bbpress topicmeta only. Only one entry is created per poll, regardless of size or options (this allow very easy cleanup if desired for some reason).

    This is a *very* early beta, however should be functional except for:

    1. missing admin menu (coming soon – edit plugin directly)

    2. missing administrative editing of existing polls.

    3. missing some visual tweaks (plural case, etc.)

    4. missing some more deluxe options (poll ending time, etc.)

    5. missing multi-language support (coming soon)

    If you can live with these limits and would like to help test and give me some useful, constructive feedback, please download:

    http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v010

    (rename .txt to .php, install, activate, start a new test topic)

    The beta is set so only moderators and above can create/see the polls. This will allow you to test without disturbing visitors.

    Please note the visual styles may be WAY off for the default template or your own template. Unfortunately I am using a very customised template. You’ll probably have to edit the built in css which is kept clearly at the top. (the default styles will be fixed soon when I get a chance to do a trunk install this week)

    Upcoming features include the ability to display all polls and the ability to display a poll anywhere within bbpress templates.

    ps. I need to know if this works as in in the trunk version – I don’t see why it wouldn’t but you never know…

    #59551
    _ck_
    Participant

    Just out of concerned curiosity, what other plugins have you found that don’t support the trunk?

    I suppose I am going to have to break down and setup a testing account with the trunk this weekend or so.

    We need a developer plugin that injects a bunch of fake new users and fake messages for testing.

    #59492
    skipdaddyo
    Member

    Also in bb-includes/functions.php

    function get_latest_topics – added $now and tweaked $where

    $now = bb_current_time('mysql');
    $where = "WHERE topic_status = 0 AND topic_start_time <= '$now'";

    #59703
    Null
    Member

    I know that, this is just for testing purposes…

Viewing 25 results - 10,701 through 10,725 (of 11,589 total)
Skip to toolbar