Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,876 through 23,900 (of 32,481 total)
  • Author
    Search Results
  • #78216
    eclipsenow
    Member

    Oh, and WYSIWIG and images and all that basic stuff… are there still plugins for that? I’ve got people very nervous with code…

    #53115
    pikatore
    Member

    this problem seems to only be occuring in google Chrome. But not in IE 8.

    Is this the first time IE WORKED, and Chrome didn’t? Oh my god.

    And this is definetely only occuring on the ‘edit-post’ page, and I have tried messing with the code of the edit-form.php and troubleshooting it, and making it identical to the post-form.php in practically every way, and the problem still happens.

    #78213
    antoniobon
    Member

    Problem solved with the bb-video plugin. Strangely it only converts video link (URL) and not the EMBED code. Instead the issue with the bb-smiles of _ck_ remains an outstanding …

    No, you don’t have to permit people their own blogs on BP :)

    mpesgt01
    Participant

    yeah, I tough of it… but thanks for remering it to me :-) But if I use PB,do I have to have everybody able to blog ?

    I am more looking into : the admin is blogging, the members are commenting and chatting or the forum (and be nice to add their own photos to share their moments)

    MPESGT01 – That would sort of fall under the realm of BuddyPress, I would think. Still, yes, it’s possible to make a plugin. WPMU/bbPress/BuddyPress would probably do it better :)

    mpesgt01
    Participant

    If we use bbPress as a forum… and WordPress as a blog… and that we can add a way that the members can upload photos to their own profile… we would then almost get a social software/php script and that would be awsome !!!

    I am not a coder (i’m a web designer) but I do know that it can be possible to create this plug in.

    I just saw your next look, the bbpress 2.0 and with that plugin, a profile album, it would be it !!

    Than maybe later another plugin for same thing, but videos (either upload or grab via youtube), but this can be invented later… photos first !!

    Any chances ??? :-)

    #78198
    JesperA
    Member

    If someone can hack into my devserver that have no access to internet, the person is more than welcome to do it ;)

    apbai: Nice, so everything is working now?

    #72366

    In reply to: Bulgarian translation

    да, за заповедната форма си прав, но не се сещам дали съм следил за това…

    оправих и другата дреболия :) всичко е в SVN вече

    #77485

    In reply to: Latest Comments?

    I’d be lazy and take something like Tom (db)’s WPNews and flip it around :)

    For RSS, you can google around for solutions. I’m not sure there are any bb specific ones.

    #31528
    Marius-
    Member

    I’ve asked this question in another topic without getting any answers, so I’ll try again.

    Is it possible to embed Youtube videos in a post? If so, how do you do it?

    I also want to make this a button in BBCode Buttons!

    #78169

    In reply to: Changing Topic ID

    johnhiler
    Member

    From one coding novice to another, I can try to answer that question. :-)

    Plugins that need to keep track of topic_id include topics that tend to “attach” something to a topic, or track data tied to a particular topic. _ck_’s examples above mentioned file attachments and polls… I’m guessing that at some of the following might work similarly:

    * Best Answer (since a post within a particular topic is selected as the Best Answer)

    * Unread Topics (which tracks if a topic has been read by a particularuser)

    * bb Topic Views -(which tracks views for each topic)

    Just a guess though…

    #78050
    maxbmx
    Member

    Next question :-)

    If i had a special “dedicated” server only for MySQL is 256MB Ram is enough for my forum??

    (200k topics, 100users online in one moment, 12k all users)

    Sorry for this questions, but i cant test it.

    #77604
    gerikg
    Member

    Did you….

    -have the Cookies & Salt all the same? example BBpress side define('BB_AUTH_KEY', 'ABCDEF'); WordPress side define('AUTH_KEY', 'ABCDEF');

    -include $bb->bb_xmlrpc_allow_user_switching = true; in bb-config.php before the ?>

    -install BBpress intergration plugin to get the Hash and cookie information to paste in wp-config.php after the < ?php ?

    -Paste the same cookie information you did on the step before in bb-config.php (without the Hash line) after the < ?php ?

    -Enable Pinbacks, trackbacks, and XML-RPC on BOTH WPMU & BBpress?

    #78187
    johnhiler
    Member

    You definitely want to use the same users table for both installs. :-)

    I’ve had to eventually integrate bbPress and WordPress users after not integrating them upfront, and you definitely want to do it sooner rather than later. It wasn’t fun, but it’s definitely doable.

    There’s a good discussion on how to go about it here:

    https://bbpress.org/forums/topic/integration-of-established-wp-and-bbpress-installations

    #78166

    In reply to: Changing Topic ID

    johnhiler
    Member

    It all sounds good, but just out of curiosity – are you using pretty permalinks? Trying to figure out where the topic IDs might be visible to users… :-)

    #77069

    In reply to: bbpress and memcache?

    usera
    Member

    I think you may be confused _ck_. memcache has it’s uses like php op_code. It does not take alot for it to have a benefit and the same applies to memcache. However I am not asking for a suggestion on avoiding memcache. I would like to see a better handling of objects in the same way you create a prefix for a database. If you set a large pool for memcache say 1gb. The idea of setting another instance and monitoring it with startup script gets a little bothersome especially when an array can be used to mitigate the possibility of one failed instance to drive your site down. In short I should say you don’t usually start another mysql to house a database nor would it be useful to do that with memcache.

    Thanks samhaurs again. I just want to be sure there weren’t objects that are generically named that can be seen across bbpress installations like administrative or personal details that should be separate that some are improperly written to cache much like wordpress mu does at the moment.

    #77068

    In reply to: bbpress and memcache?

    _ck_
    Participant

    Because of mysql replication, using the mysql cache is probably impossible on wp.com

    Once you move beyond a single mysql server, things get complicated fast.

    But that’s specifically the environment memcache was written for, not single server systems.

    (by the way, how large is the wp.com memcache pool? I bet it’s massive)

    However I find the MySQL cache has not been turned on for many VPS/dedicated servers. That’s a performance showstopper and makes a huge difference when the same queries are being done over and over on a typical bbPress install. A PHP opcode cache is the next largest performance improvement.

    Here is the typical breakdown for MySQL vs Memcached performance:

    Cache Type 	 Cache Gets/sec  (higher is better)
    Array Cache 365000 (this is local memory, fastest possible)
    APC Cache 98000 (this is common memory via apc/eaccelertor/xcache)
    File Cache 27000 (this is using the local disk cache)
    Memcached Cache (TCP/IP) 12200 <<<<====---
    MySQL Query Cache (TCP/IP) 9900
    MySQL Query Cache (Unix Socket) 13500 <<<<===--- (local mysql server, with cache)
    Selecting from table (TCP/IP) 5100 (remote mysql server, no cache)
    Selecting from table (Unix Socket) 7400 (local mysql server, no cache)

    #77066

    In reply to: bbpress and memcache?

    _ck_
    Participant

    Let’s review this from scratch.

    WordPress and bbPress 1.0 has what we call an object cache. That is simply a pool of users, forums,topics, and posts and meta as they are passed between mysql and the application (wordpress/bbpress). It’s just another layer between mysql and bbpress.

    Typically these “objects” are lost after every page load because they are no longer in regular short-term computer memory and have to be fetched again from mysql.

    On a single computer system with a fast mysql server and fast disk cache, this typically is not a big problem. As a site has to scale this does become a problem because there is only one mysql source and everything has to be fetched from it.

    Using a poorly configured WordPress or bbPress system with badly written or improperly running plugins, if each page load requires 30-40 queries, and you have 1000 users connected simultaneously at once, that’s a huge problem.

    Memcache is a common pool of memory that doesn’t go away after each page load. It’s centralized on one server so multiple servers can all find it easily. It was invented by LiveJournal after they hit a growth limit with mysql.

    The Memcache to Object Cache interface plugin for WordPress/bbPress 1.0 allows the fetching from mysql to be skipped IF the user/forum/topic/posts happen to be in the previously accessed pool in that centralized memory. Every time a query is made, the resulting data is saved in the collective memory which is retained inbetween page loads. It’s a common, shared memory.

    However Memcache was written to talk over tcp/ip between MULTIPLE servers. For a single server setup it’s pointless and stupid and way too much overhead.

    Now, on a single server, you could still use a persistent object cache with one of the other lesser known plugins that mimic what the memcache interface does. There is one for Eaccelerator, one for APC and one for Xcache.

    However, all of these caches do almost the same thing as MySQL’s cache. They are all tied to the particular kind of query that is done and if it matches the previous set of data. The object cache still has to de-serialize data if it’s serialized.

    MySQL on a single server system does not use tcp/ip to communicate with bbPress if it’s properly configured (and most are unless your host is greedy and stupid and uses a central mysql server separate from your regular server). So MySQL with a properly configured cache is almost as fast on a single server setup than a persistent object cache (unless MySql is overloaded in the first place).

    So in conclusion, if you are on a shared host, object caching is not a viable solution for you because you can’t get any of the persistant memory options installed anyway. If you are on a single server setup but not dealing with a large number of connections, the mysql cache is probably going to be near the performance of a persistent object cache, and the real memcache would never be used in the first place.

    Memcache was meant for large, inefficient installs like WordPress.com

    WP.com serves many thousands of people simultaneously from many different servers. It uses several dozen queries per page load. It absolutely cannot just rely on the mysql cache, even with dedicated mysql servers. The average wordpress/bbpress user does not face these problems typically.

    If you have your own VPS or dedicated server you should be installing an opcode cache like Eaccelerator, APC or Xcache and turning on the shared memory pool option (typically during compile). Then you should make sure your mysql cache is ON and setup properly. Then you should make sure your pages are not using too many queries. If you’ve done all that and you have so many simultaneous visitors that your mysql is running too high a load and your pages are still too slow, then you can look at one of the persistent object cache modules for wordpress and port them to bbpress.

    None of the bbPress installs in the Top 10, are using memcache or any kind of object cache for that matter (including wp.org which is using bbPress 0.9). So I sincerely question the need of anyone else using an object cache just yet unless they have made their install extremely inefficient somehow or have a horrible host.

    #77160
    x_maras
    Member

    I did it.

    I thought it would be more difficult than it was.

    An old version of joomla and an old forum called joomlaboard.

    I dont know a lot as I m new to all this stuff, doing my internship here.

    Thanks for the tip,

    sometimes for people without experience (like me), it’s difficult to think even this :)

    #77793
    Sam Bauers
    Participant

    @DennisH

    I didn’t say “trivial” to be snarky. It is actually a trivial amount of code. Probably no more than a few lines.

    I’m working on a plugin that will do it comprehensively. Just waiting for the plugin repository to catch up with requests.

    #77064

    In reply to: bbpress and memcache?

    Sam Bauers
    Participant

    @usera

    You can setup a new memcached instance to avoid clashes with wordpress, but if you are sharing user tables then it shouldn’t matter.

    If you add another memcached instance on a different port you can point bbPress to it by adding this to bb-config.php (default IP and port shown here)…

    $memcached_servers = array( 'default' => array( '127.0.0.1:11211' ) );

    #31513
    pikatore
    Member

    I have a problem, i don’t know what to do. I am using the crystal theme, which instead of having:

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

    it has

    <?php if ($forums) : ?>

    compared to the default theme.

    I want subforums to be hidden on the front page. How do i modify code to do this?

    Olaf Lederer
    Participant

    right no session at all :)

    @rareexample, just use the cookies created by bbpress (using firefox it’s easy to discover the cookies)

    #15343
    Vannak Eng
    Participant

    Hi,

    I modified the default theme of bbpress and it worked fine at first but lately it shows the number like “6d53″ on the top of header. when i view the source code i see it is ‘<body id=”front-page”>6d53’. Please help to advise on that.

    Regards,

    Vannak

Viewing 25 results - 23,876 through 23,900 (of 32,481 total)
Skip to toolbar