Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,126 through 20,150 (of 32,517 total)
  • Author
    Search Results
  • #35272

    Topic: avatars

    in forum Plugins

    i tried one of the avatar plugins, but haven’t had much success with it. is there a way to change the default avatar… either via the code or is there a plugin that actually works?

    thanks much!

    #93589
    _ck_
    Participant

    I look forward to a static page for comparison on your graph.

    It will prove what I am saying about content caching.

    I have a test SMF install handy and I can see it uses less than a half-dozen queries on a 2nd page load which is a dead giveaway there is caching – I am sure every other 3rd gen forum package has it too. You have APC running and I know that SMF also takes advantage of that, so probably do others.

    bbPress never got content caching because Matt keeps having the core re-invented every couple years (backpress and now as WP plugin) so we keep getting back to square one for advanced features. Don’t be confused by versions 0.9 is a different program than 1.0 and 1.2 is a completely different program than 1.0 or 0.9 (that’s Matt’s fault).

    So I still insist this isn’t a fair comparison.

    But bbPress 0.9 should be about halfway between the 1.x and other forum software (ie. 50% faster) 0.9 will be continued to developed independently, so it’s worth benchmarking.

    If you are willing to put a couple of tweaks in the bb-config with 0.9 I think we can get a little closer to the rest of the pack at the bottom, ie.

    $bb->load_options = true;

    off the top of my head (note that does nothing in 1.0)

    #93585
    _ck_
    Participant

    I already know from my own benchmarks that 0.9 in many cases is 50% faster than 1.x, if only because it loads 50% less code, not to mention fewer queries out of the box.

    But as nice of an ideas as it is, your benchmark really cannot compare apples to apples.

    ALL the other forums you have listed already use a page cache, in part or whole, which is why they have such high numbers.

    What your benchmark should do is attempt to DEFEAT any page caching the forum is doing by generating new posts BEFORE every page load.

    ie. POST / READ / POST / READ / POST / READ / POST / READ

    The next version of bbPress will very much need a page cache just like most buddypress sites desperately need as they are very sluggish (because of the WordPress core).

    A few people have successfully deep integrated bbpress with wordpress and then used an exisiting wordpress page cache. That would give similar numbers to what you have posted for other forums.

    #93582

    A fork of the legacy version is on its way. Its runs very fast as compared to the 1.0 v and supports a large number of plugins.

    Trust me you won’t want to miss this in your benchmarks. I won’t be surprised if it topped the chart ;)

    #93572
    mr_pelle
    Participant

    Those plugin are way too old!

    I use:

    if ( $avatar = bb_get_avatar( bb_get_current_user_info( 'id' ), 80 ) ) {
    echo $avatar;
    unset( $avatar );
    }

    #93141
    minervaa
    Participant

    *Happy?*

    Yap ! this time it’s working perfectly! :) Thanks a ton to both of you.

    That means using this plugin, no html is supported at all on the topics?

    Is it possible to improve this plugin a little bit as –

    1. It will allow admin to post any clickable links(including outgoing) on the the topics

    2. It will allow anyone to post clickable links ONLY when the link is from the same domain as the forum? (internal links)

    To give an example, lets say this plugin is activated in bbpress.org.

    A member post a topic saying

    “Buy cheap Viagra from http://www.cheapest-vira-xyz.info&#8221; <– this link would be plain text.

    “A member post a topic saying “Has any one got this working? https://bbpress.org/forums/topic/cant-switch-themes-in-081&#8221; <– this link would be clickable

    again if any member post a topic saying “have you read this bbPress blog here ? https://www.bbpress.org/blog/latest/bla-bla-bla-bla&#8221; <– this link would be clickable as they are from the same domain as the forum

    If the above functions can be implemented on this plugin, that would be a brilliant tool to put off most of the spammers.

    #92975

    In reply to: Absolute URL

    zaerl
    Participant

    bb_uri('forum.php?id=' . forum_id() . '#postform');

    damagegroup
    Member

    Chrishajer! i need help… how do i hard code this file?..i dont have any coding experience this is my problem

    damagegroup.com/wp1/forum

    please help!

    #93139
    zaerl
    Participant
    <?php
    /*
    Plugin Name: zaerl No HTML
    */
    function za_nh_allow_tag($tags) {return array();}

    add_filter('bb_allowed_tags', 'za_nh_allow_tag',999);
    remove_filter('post_text', 'make_clickable');
    ?>

    Happy?

    #93137
    _ck_
    Participant

    Unfortunately that plugin isn’t working in my bbPress 0.9.0.6

    Does any one else have any other solutions?

    You need to post far more details about what you are trying to do and what exactly is “not working”.

    In theory that plugin should work fine and you can even make it conditional so admin can post html code but not members.

    Not sure why he does it after bb_init, so try it plain like this.

    <?php
    /*
    Plugin Name: zaerl No HTML
    */
    function za_nh_allow_tag($tags) {return array();}
    add_filter('bb_allowed_tags', 'za_nh_allow_tag',999);
    ?>

    Should be all you need.

    #35249
    _ck_
    Participant

    bbPress 0.9 is just about to break 150k downloads

    (that may include all previous versions too, I am uncertain if it was reset after 0.8)

    bbPress 1.x has been downloaded over 121k times!

    _ck_ plugins this weekend will break the 100k total downloads mark!

    These are the top 10 _ck_ plugins:

    bbPress Signatures

    BBcode Lite

    bbPress Smilies

    Human Test

    BBcode Buttons

    bbPress Attachments

    bbPress Polls

    Hidden Forums

    Post Count Plus

    Topic Icons

    minervaa
    Participant

    Just get working the meta description generator using Kawauso’s code on topic posts.

    Although it seems it garbled the forum home page description so I am guessing that has to be done manually.

    It also take tags as keywords (if provided)

    #93511

    It depends on what you’re after.

    If your forum needs a specific Mobile version, then you’ll need to scout around.

    If your forum needs a specific mobile stylesheet/theme, then creating one for bbPress is very simple, but there isn’t a public one out there that I know of.

    Forums are tricky things. Worth it, but tricky.

    Define your requirements, whats a must have and a nice to have, and you can make a decision alot easier that way :)

    #93136
    zaerl
    Participant

    I am not a professional programmer but I think if we can change the code (maybe on post.php file?) where it says “make” http:// and www. texts to hyperlink, maybe it will work?

    One question, one topic.

    #93134
    minervaa
    Participant

    **Keep in mind that, obviously, it is not retroactive. Preexisting posts aren’t affected.**

    Yap I know that, I posted few new posts (by non admin member) just to test it

    I am not a professional programmer but I think if we can change the code (maybe on post.php file?) where it says “make” http:// and www. texts to hyperlink, maybe it will work?

    Just a thought by the way

    #93423

    In reply to: I lost my admin pages

    chrishajer
    Participant

    There is no forum there http://noclassifieds.net/forum/

    [~]$ curl -I http://noclassifieds.net/forum/
    HTTP/1.1 404 Not Found
    Date: Thu, 02 Sep 2010 15:28:49 GMT
    Server: Apache
    X-Powered-By: PHP/5.2.14
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: PHPSESSID=h1rjpi92bf0u5i0lh6tnrrvmu0; path=/
    Vary: Accept-Encoding
    Content-Type: text/html

    #93475

    In reply to: It's over

    _ck_
    Participant

    Nothing is over unless you don’t know how to code and are in a rush.

    bbPress is very stable and very fast and there are literally ten thousand sites using it.

    Every month that goes by you’ll simply have more options.

    #87201
    Gautam Gupta
    Participant

    LOL x 2 :P

    #87199

    LOL at same comment, which I just ran across in the code.

    #93473

    In reply to: It's over

    Thanks Raize,

    I’ve not had a good laugh on these forums in months :)

    VanillaForums (v1) was a good effort, for a small few it matched their needs well, and certainly had a community that wanted to drive it on. v2 though, and it’s 2.5 year development cycle, has been quite disasterous with some brilliant spin.

    The plan to move to a custom built platform “Garden” (their equivalent of backPress) was re-written twice over 2 years, and just 3 months ago they also changed how all v2 forums are themed – by using an external templating system called Smarty instead of PHP.

    That said, it’s not like bbPress is without it’s issues either (people in glass houses etc…), but given the poor state of a just released and not brilliantly tested software thats taken over 2 years to throw together… I’d probably not make too many assumptions that it’s going to impact other software in the same vertical, ha, and I’d sure as heck not tell people to pack their bags ;-)

    #93490

    In reply to: Bavatar Image…

    hermann87
    Member

    Now I feel stupid :-P. I don’t know where Bavatar saves my avatars.. I suppose that’s the problem. There is no such file. But where should that be?

    My avatar is not stored, I can always upload a new one and it will still show up as empty.

    #35227

    Topic: It's over

    in forum Installation
    Raize
    Member

    Vanilla 2 is here (http://vanillaforums.org) and they are working on a full integration with WordPress.

    Even Matt M. is supporting it. Start packing your bags :P

    minervaa
    Participant

    Where would you paste the code? on the post.php file?

    chrishajer
    Participant

    You need to temporarily rename that config.php file to something else to allow the installer to continue, then change the name back. Or find the code that prevents bbPress from installing when it finds a config.php, and disable that so the installation can continue. I would just rename the file for a minute or two while you install bbPress, then change it back.

    I tried that and it would stack it on the end anyway… so i would get for example

    home/user/directory/forum/home/user/directory/blog/file.php

    out of desperation i tried the absolute path :)

    just tried something else… I took the important parts out of the header and footer files and put them into the bbpress template files. it is loading now… sort of.

    now onto the game of figuring out how to get some wordpress functions to work. I have the sliding door theme in wordpress, so ugghhh……..

    thanks for your help!

Viewing 25 results - 20,126 through 20,150 (of 32,517 total)
Skip to toolbar