Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 11,376 through 11,400 (of 11,611 total)
  • Author
    Search Results
  • #53453
    davidbessler
    Member

    So I abandoned the whole idea of modifying the plugin: private-forums, and instead made a makeshift plugin from scratch which serves my needs for restricting certain forums to specified individuals. Where can I post it so people can start making fun of me?

    What it does and doesn’t do:

    Does:

    1) require that you edit the plugin file and add individuals’ names to an array consisting of restricted forums.

    2) Adds a little [x] next to forums from which the current user is restricted

    3) In true-ghetto fashion removes the link to the forum for those restricted forums

    4) Does the same (X and link removal)for topics listed in “latest discussions” belonging to restricted forums.

    5) Attempts to directly acess the forums via forum.php and topic.php redirects you (again … really ghetto) to the front-page

    Doesn’t (kind of a wish list).

    1) Have any sort of GUI to add and remove users from restricted forums

    2) Hide the forum and its associated topics from being listed at all on the front-page

    3) Load an actual page with an actual message stating that you are not allowed in the forum, during attempts to directly access the forums, rather than redirect you back to the front-page.

    So, this is my first attempt at a plugin. Please help me improve it. Now where can I post it?

    Download it here.

    #52106
    Null
    Member

    Okay I have an idea, it is possible (with a plugin) to add an anchor as soon as some one adds a first reply?

    So when replying, it checks first if there is 1 post in the topic. If it is, it adds a anchor (or get its anchor) if it isnt (there are 0 or >2 more posts) it does nothing. Then it can generate a first-reply link…

    Well in theory…

    #51594

    In reply to: Google Adsense

    disier
    Member

    im using the latest version 0.75, and the only plugin the i have is allow image.

    I uninstalled right now because when my friend register in my board and try to login we get that error and can´t login i will delete allow image to see if that plugin is the one of the trouble

    #53478
    davidbessler
    Member

    OK look at this:

    $forum_restrict_keys = array(

    "1" => "davidbessler,testman",

    "3" => "davidbessler,",

    );

    function forum_restrict_check_name() {

    global $bb_current_user,$forum_restrict_keys;

    if ($bb_current_user){

    $allowed = strpos($forum_restrict_keys[get_forum_id()], get_user_name( $bb_current_user->ID ));

    if ($allowed == "") {

    echo "[blocked]";

    add_filter( 'get_forum_name', 'forum_restrict_blank_name');

    } else {

    echo "[Not blocked]";

    }

    }

    }

    function forum_restrict_blank_name (){

    echo "";

    }

    add_action( 'get_forum_name', 'forum_restrict_check_name');

    ?>

    That puts [blocked] instead of the forum name in a forum that user is not allowed to see, and [not blocked] on a forum he is allowed to see. How do I get the forum name back in there instead of [not blocked]?

    Trent Adams
    Member

    By default, the bbpress-integration.php plugin that you are using in WordPress brings over the registrations from bbPress and gives them the default role that you have for WordPress. That would mean that if they are given author status then that would be the default role for new members in WordPress. Maybe check that out.

    I tested this on my test forum and then changed the default role from subscriber to admin and sure enough the new user that I created came across in WP as an admin.

    Trent

    #51960
    Staffan
    Member

    Yeah, I’ve got that. Seems like this might be something to add to the next version of that plugin.

    Anyway, thanks again Atsutane for your great plugin and the fast updates!

    #52339
    ateale
    Member

    i believe it is the latest version – i downloaded it today – .75 i think

    it would be so so so nice if this works!

    Cheers Trent

    #53442

    In reply to: RSS links not working

    Trent Adams
    Member

    Short of the obvious stupid answer (upgrade or quit using IE :-) I think we need to test this out with more IE6 users. I think I have one old PC kicking around and will do some testing on this.

    Trent

    #51959
    Atsutane
    Member
    #51691
    davidbessler
    Member

    I tested it out and it sent me an email when I posted a new topic. That works for now. But, like we said, an “add forum to favorites” plugin is needed. For anyone reading this, what we are talking about is strictly for the plugin called notification_all.php which can be foun here:

    https://bbpress.org/forums/topic/313?replies=34#post-1784

    #53426
    flaerpen
    Member

    hehe, of course it’s that simple :P. Thanks!

    #53425
    Trent Adams
    Member

    You can actually edit rss.php to get it to 50 if you want as well! Just search for the number ’32’ in that file ;)

    Trent

    #51958
    Staffan
    Member

    Alright. I’ve done some investigations and I think I know why I get a blank space: when a new user registers through bbPress it seems like he’s not given any “display name”.

    #53424
    flaerpen
    Member

    i found how to make the 32 latest topics in the forum! just link to rss.php!

    #1247
    flaerpen
    Member

    Hello, is there any way to subscribe to an rss feed for the top 50 latest topics?

    I don’t find any plugin and I’m not that good in php to create one by myself. Maybe I/we could change a existing plugin to fit our purpose?

    #51957
    Atsutane
    Member

    Correct me if i wrong .. by default when a user is regis. WP will set the “display name” equal to “username”. I try the code already and i dont get a blank name :) Anyway maybe i will change the code to do a double check.

    #53009
    Null
    Member

    Does any one has a template test page already up? or is there a plugin, so you choose a template from a ddlb and the page shows the forum in the chosen template…

    #51956
    Staffan
    Member

    Great. Thank you! There’s only one little problem: if the user haven’t entered a nickname no name at all is shown. I guess it should be written so that if the user has a nick name – show nick name; if the user dosen’t – show username.

    #51955
    Atsutane
    Member

    I update the plugin already .. Now it gonna show “display name” instead of “username” like before. Tell me how it going :)

    #52105
    Null
    Member

    Any other ideas?

    #51954
    Staffan
    Member

    Does anybody know how to combine this great little plugin with the Use display name plugin? I want the it to show my nickname instead of my username.

    #53255
    Staffan
    Member

    I updated to 0.75 and that made it work! I thought I had the latest version, but, you know… I didn’t.

    Thank you!

    #51978
    skrimpy
    Member

    great plugin, it cleaned up my front page quite a lot. Thanks :)

    #53251
    Staffan
    Member

    I have encountered exactly the same problem!

    I have the latest version of bbPress (downloaded only a few hours ago), php version 4.4.4 and apache server.

    Link to my forum: http://www.thecalmingseas.com/forums/

    /Staffan

    #50170
    spencerp
    Member

    Oh nice!! Thanks for the link Michael! ;) :) I just manually adjusted the “latest” svn files lastnight, for .80 alpha, which is currently running on my forums now.. I manually implemented the [Resolved] codes back into the files, now I won’t have too! :) ;) :D

    Thanks again!

    spencerp

Viewing 25 results - 11,376 through 11,400 (of 11,611 total)
Skip to toolbar