Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 20,601 through 20,625 (of 32,481 total)
  • Author
    Search Results
  • #34740

    Hello.

    Why would one table come up ok (latest), but forumlist would look like this? http://i896.photobucket.com/albums/ac166/nobody5973/screenshot_003.png

    This is what I have in style.css

    #latest, #forumlist, #favorites {

    background-color: #f7f7f7;

    margin-bottom: 3em;

    width: auto;}

    Isn’t the wrapper in the body supposed to *wrap* things up nicely?

    #wrapper {

    margin: 0 0 0 0;

    background: #fff;

    width: 850px;

    padding: 0 20px;}

    I hope that people have been confronted with this issue before and successfully overcame it,

    Thank you.

    Bob

    #90621
    mr_pelle
    Participant
    #90915

    In reply to: bbPress Plugin is Born

    _ck_
    Participant

    @gswaim, except history is about to be repeated with nothing learned. “Very near” is also not likely this year. Completely different people worked on 0.9/1.0 and now the plugin version. There is going to be a learning curve.

    The plugin version is going to have the same tumultuous development pattern that bbPress 0.7, 0.8, 0.9, 1.0 did and probably take a couple years to get stable and feature rich. It will probably also suffer from what I call the “kitchen sink” syndrome of WordPress where massive chunks of code are added as features which should have been plugins. But Automattic in general has a “not invented here” attitude towards plugins – if it’s not in the core, it doesn’t count.

    There is also the problem that anyone on a shared host will unlikely be able to run WP 3.0 with the bbPress plugin unless they have a very small forum/memberbase. The resource demand is going to be massive and require hours of fine tuning which most novices will not be able to do. Forums cannot be heavily cached like blogs can.

    Then you are right back to the same old WP problems which will be introduced into bbpress after avoiding them previously, plopping regular users into confusing WP admin menus to change settings and completely different than the site theme.

    For the casual WP user that has a few dozen members and wants a simple forum, the bbpress as plugin will be very handy. For those with thousands of members and end up with a very active forum, they will spend a great deal of time dealing with the resource loads.

    Remember, there are already a couple of plugins for WordPress that bring forum functionality – go look at their problems to foresee what is going to happen. That’s how I ended up adopting bbPress standalone in the first place, I decided it was the best way to deal with the problems (work AROUND wordpress, instead of through it).

    #91061

    Good Morning Dan,

    It definately sounds like a conversion issue. It’s not one i’ve heard of before, but it shouldn’t be too hard to fix (though there is no existing pluign that I know of).

    Baiscally you’re going to need a Title to Slug function, then iterate through every forum & topic and update the database accordingly

    Basically, something like this:

    $sql = "SELECT * from $bbdb->topics WHERE topic_slug ='' LIMIT 100";
    $rows = $bbdb->get_rows($sql);

    foreach($rows as $row)
    {
    $topic_slug = bb_sanitize_with_dashes($row['topic_title'],200);
    $sql = "UPDATE $bbdb->topics SET topic_slug='". $topic_slug ."' WHERE topic_id=". $row['topic_id'] ." LIMIT 1; ";
    }

    So i’ve not tested this code at all, just guessing at it really.

    It should update 100 topics at one page load.

    (I do this incase i made a horrible mistake)

    Then do the same for bb_forum table.

    Kev

    Earthman Media
    Participant

    I just found a huge file “core” (no extension) in my bbpress root folder…

    it is a binary file which has a lot of unreadable characters, interspersed with segments of code from bbpress and what appears to be log entries…

    Is this supposed to be there, or is this some kind of viral invasion.

    any advice would be most appreciated, before I delete it.

    Thanks!

    #90914

    In reply to: bbPress Plugin is Born

    gswaim
    Participant

    At the end of the day it’s free, open source software. Polarized or not, bbPress has a team now. If this can just be summed up as a years worth of pent up frustration coming out, I can understand that, but we’ve all been going at this for almost 3 days now, and I’d rather write code and fix stuff and make progress than rehash bbPress’s tumultuous existence.

    Exactly. There comes a time when it is time to move on. IMHO that time is very near.

    JJJ has patiently articulated, to this group, the mission he was commissioned to handle and IMHO it is time to code. As I watched this thread, I feared that he would get bogged down and burnt out trying to make everybody happy. However, he seems to be keenly aware of this and has done a good job of keeping his eye on the prize.

    I am a WordPress user that has been waiting for a core forum plug-in for well over a year. As soon as it is available I am installing it, and I suspect I will not be alone.

    If only 10% of the WordPress.org-powered websites install this plug-in, the bbPress plug-in user base would dwarf the stand alone bbPress user base. Making bbPress available to a much larger audience cannot be a bad thing, in the long run.

    #90913

    In reply to: bbPress Plugin is Born

    Looking back through a lot of this discussion, I can see how some of my posts in here sound a little crass; and that isn’t my intention or goal.

    So, let me apologize to each of you for that, if it came across that way.

    My intentions with bbPress are to be helpful, provide guidance, be a sounding board, commit patches, and make the bbPress plugin something everyone here can be proud to use.

    I don’t want anyone to fork anything; to feel left out, pushed out, forced out, any of that stuff. I very badly want everyone to feel comfort that we’re putting bodies and eyes on something that’s needed it for a long while, even if it isn’t exactly the way everyone agrees it should be.

    You all have my word that I’ll be combing the trac, and helping things around and about as much as I can. My concentration is on bbPress the plugin, and BuddyPress, but any place else I can spread some bandwidth, I’m glad to do it. If anyone else wants to help out, I’m happy to have you aboard.

    Pete Mall stepped up right away to help several months ago when this idea first cropped up in IRC and at a few WordCamps, so naturally he’s on board. The existing committers aren’t going anywhere, and everything is going to be A-okay. :D

    #90911

    In reply to: bbPress Plugin is Born

    Peter Westwood
    Participant

    Westi didn’t comment on it in my email to him, though he did say that he didn’t know that bbPress was dependant on BackPress – and he’s the BackPress lead!! really lovely guy, but it hardly bodes well.

    That isn’t a fair representation of what I said in reply to the email which was:

    I was unaware that BackPress was blocking bbPress release this is the first I have heard of it.

    Which is perfectly true – no one had tried to contact me directly about it before you.

    I was and still am surprised that a point release of bbPress would be running with a floating external as trunk of BackPress is never guaranteed to be perfect code.

    I would actually expect it to be run against the last revision that bbPress was release / against a branch with specific fixes as required.

    If anyone want to be sure to get my attention for a BackPress issue then the extremely quite BackPress-dev mailing list is the best way – I read every email to that list promptly – https://lists.wordpress.org/mailman/listinfo/backpress-dev

    #90910

    In reply to: bbPress Plugin is Born

    Anonymous User
    Inactive

    Hi John JJ,

    thanks for your long statements here. For me – it’s great to hear about the future von bbPress. And even greater – bbPress has a team now!

    Yeahhh… :D

    #90909

    In reply to: bbPress Plugin is Born

    All this has been said, and answered before. I just downloaded 2 plugins from the repo, and they worked fine enough. I am also of the opinion that this iteration of bbPress.org is the best looking and working one so far. :)

    In Matt’s defense, I haven’t seen anything that Matt said qualify as berating, and the people he disagrees with, are people already on a verbal or moral offensive. Having been able to see through both sides of that looking glass, I can tell you with first hand experience that Matt is almost always on his A game, even if you don’t understand it at the time. But, this isn’t something I really want to get into because it just isn’t classy to do.

    I get that everyone wants to hear from Matt and/or Jane. It sounds to me like you really want an apology more than you want anything else, because you’ve answered your own questions about how gaps in development have been filled in.

    At the end of the day it’s free, open source software. Polarized or not, bbPress has a team now. If this can just be summed up as a years worth of pent up frustration coming out, I can understand that, but we’ve all been going at this for almost 3 days now, and I’d rather write code and fix stuff and make progress than rehash bbPress’s tumultuous existence.

    P.S. – BuddyPress uses bbPress internally, so I’ve lurked for the past year+ and paid attention to the goings on. I just didn’t have the time or energy to have these discussions then. Now, I do, but there’s not much more I can say; it comes down to what we do about it. Like it or not, this is the hand we’ve been dealt… Time to make the best of it. :D

    #90987

    Indeed mate,

    this is what I use, and it really is awesome.

    I’ve managed to get my whole JS down to about 1-2% of what TinyMCE is.

    A well written post too!

    #91034
    pagal
    Participant

    @kevinjohngallagher which keyword you’ve used for google to find this solution?

    Why are you begging? I did not send you invitation to help me!

    Sorry I don’t want to say any more, otherwise cris will close this topic. :-)

    #90986
    chrishajer
    Participant

    Rescued this post from Akismet

    #91033

    OFC!

    Thats daft of me.

    if (! bb_is_user_logged_in() && basename($_SERVER['PHP_SELF'] != "bb-login.php")
    {
    header( 'Location: bb-login.php' );
    }

    Pagal, please mate, i beg of you.

    Google for 5 minutes before posting these requests and telling everyone they don’t understand what you want, and never saying please or thank you.

    We want to help bro, help us by using Google first :)

    #91032
    mr_pelle
    Participant

    You would get into a redirection loop with that. Add a filter to ignore bb-login.php in the if and it should work.

    #91031
    if (! bb_is_user_logged_in() )
    {
    header( 'Location: bb-login.php' );
    }

    Ok, so i’m guessing here, but whouldn’t those 2 lines of code work?

    btw, i used google and that solution was the first one, i’m just copy and pasting

    #91030
    mr_pelle
    Participant

    In the script you linked, usernames and passwords are stored in clear in the php file: why do such a bad thing when bbPress has a database and encrypts passwords for you? Just login using its login form and that’s it. =)

    I browse the net with javascript disabled, and JS is disabeld as standard on every PC at my current client (4th biggest uni in UK). All it does is slow people down who want to help :)

    #91042

    Hi Joe,

    There is (or was) a TinyMCE editor back in the day, but TinyMCE is so far from Tiny it’s unreal.

    I tink you’re also giving you users too little credit. A large percentage of people who use forums are used to seeing bbCode (though they may not know it themselves), but I always like to give my users buttons to press.

    Latest update on my old plugin can be seen here:

    http://www.fellowshipoftheding.org/forums/topic/shammy-changes

    Please excuse the awful defualt theme and Play around with the text area.It’s 2k of code, or just uner 1% of TinyMCE.

    I’d also advise to stay clear of WYSIWYG editors. People like to go absolutely nuts on those things. Everything bold and red and big fonts because “the world NEEDS to hear them” ;-)

    and then ofcourse someone responds…

    #91027
    pagal
    Participant

    Oops! you are still confuse to understand my question :)

    I also know very well that bb-login.php need for access the forums.

    Let me tell you!

    I’ve deleted the

    bb-reset-password.php

    register.php

    xmlrpc.php

    bb-admin/

    rss/

    from swirl-unknowns.php: lines 72-77.

    Then I add this code in template’s login.php

    http://pastebin.com/raw.php?i=MdzzJc3T

    That what exactly I want :)

    #34734
    Joe Gibson
    Member

    Greeings, all –

    First off, I installed bbPress yesterday and I admit I’m impressed. A very well-thought-out piece of work. It dovetailed perfectly with WP without a hitch.

    The one thing it obviously needs is a slightly better editor. Asking the readers to use actual code to italicize or bold a word is decidedly old-world.

    I’ve just spent an hour on Google (and here) searching for relevant terms, such as ‘WYSIWYG’ and ‘TinyMCE’, and while there seems to be lots of chatter about the subject, I haven’t found anyone with a definitive “Do this, this and this” page that’ll replace the stock editor with something like TinyMCE Advanced or NICEdit.

    Anyone know what the latest scoop is?

    Thanks,
    Joe

    #91026
    mr_pelle
    Participant

    Just remove the pages you do not need from swirl-unknowns.php: lines 72-77. You may add pages too.

    Remember, though, that you’ll NEED bb-login.php to be swirl-immune in order to actually be able to access your forum! ;-)

    #91025
    pagal
    Participant

    thanks pelle :)

    I know very well .htacess really easy, but for some reasons, I don’t want to use it.

    Second your plugin also great, but need some functionalities, can you update it?

    I need following action,

    Complete protection not even show

    bb-login.php

    bb-reset-password.php

    register.php

    xmlrpc.php

    bb-admin/

    rss/

    there should just a protect.php page for asking user name and password, If i enter correct user, pass then the forums should display, then I can access the bb-login.php and other Swirl-immune pages. otherwise not!

    Thanks

    #91024
    mr_pelle
    Participant

    Why not using .htaccess? It’s easy!

    By “I want to protect my forums directory”, do you mean you want to turn all your forums private? If so, use this plugin.

    #90997
    Rich Pedley
    Member

    No the error is more likely to be in your CSS.

    I tried adding

    position: absolute;
    width: 75%;

    to your mainContent. This seems to on the right track, at least in Firefox.

    Your disabling of right click doesn’t work in Firefox. If it had then I wouldn’t have been able to help.

Viewing 25 results - 20,601 through 20,625 (of 32,481 total)
Skip to toolbar