Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,326 through 25,350 (of 32,468 total)
  • Author
    Search Results
  • _ck_
    Participant

    edlvg you want something like

    echo "Posted by $result->topic_poster_name";

    I just realized I completely missed explaining how to get forum names via WordPress, I was telling people to use bbPress functions which is of course impossible from WordPress. Let me know if anyone still needs the help.

    #70340

    Perfect video, couldn’t do the integration with out it.

    Just 1 minor problem:

    – I’m using wordpress 2.6.5 (I think) with bbPress 1.0-Alpha-6. I could fully integrate the logins, but not the Admin panel.

    There’s that plugin (showed over the last minutes off the video) to make possible login at WordPress and get access to the Admin panel. Unfortunately, it sais that you need to use at least WP 2.7 for it to work.

    Well, I actually tried to install and activate it in my WP 2.6, it worked and generated me the “define(‘COOKIEPATH’, ‘/’);” code.

    But in the end, it doesnt work like expected. Probably because of the 2.7 minimum requirement.

    Is there any solution to make this work out? I just need this last step working to keep it 100% integrated.

    Best regards.

    edlvg
    Member

    Hello, so how’s the code if we’d like to add posteb by… in …

    I get the topic and forums list but’d like to show the author.

    Tried the codes at the beginning but doesnt seem to work, fatal errors :S

    thanks in advance

    ernesto

    #72794
    adeboy
    Member

    @swaymedia – you make a php page in the bb template folder and put that code in, you get the topics which you can loop through as normal.

    @chrishajer – sure, the full bbpress forum is not in an iframe in a WP page, just the recent posts, although i just realised for something else that a micro bbpress forum in an iframe/widget could be very interesting

    #72791
    swaymedia
    Member

    @adeboy

    where would you put the code:

    require_once('../../bb-load.php');
    $topics = get_latest_topics( );

    edit: @kevinjohn: i wont read all of that but “thumbs up”

    #72790

    Swaymedia,

    Ipstenu made some great points, to show you the thoughts of someone with a different perspective. While you might not see his point of view, he was kind enough to lay out his view point for you.

    As much as Ipstenu and _ck_ are making generalisations, so are you. You have no proof that “the majority” want what you want. You keep using the phrase “the majority” to back up your points, and while i mostly agree with your premise, i’m not overly confident that randomly adding in your guess on how many people might possibly maybe agree with you is helpful.

    “the majority” is the same as “deep integration will crush a shared server if you get a surge in visitors”, there’s not facts or figures, just someone’s massive assumption, laid out to attempt to prove a point.

    Ipstenu is wrong about integration not being mentioned on this site, it’s on the homepage (https://bbpress.org/), the about page (https://bbpress.org/about/features/) and on the documentation page (https://bbpress.org/documentation/integration-with-wordpress/) and this is what confuses people who are new to BBpress. But, every time someone mentions it, it’s shot down.

    And yes, while using an iFrame is a hack, hacks are far from uncommon in the web industry, let alone wordpress or BBpress. Making things work has always been the way websites have been built, and while i understand and support your desire for a different method, there’s very little need for the ‘OMG’ simply because you dont like the solution presented (not to mention, i think very few 13 year old girls read this website so wont be too impressed ;-] ).

    There’s loads of things wrong with BBpress, and many are trying to work to make it better. Getting up tight becuase you dont like a solution or because you want others to code a better one for you isn’t going to make BBpress a better fit for you. Take a deep breath my friend.

    Kevinjohn

    p.s. And if you were using an iFrame back in 1995 then my hats off to you, as Microsoft didn’t invent them until 2 years in later, so kudos for driving that delorian up to 88 miles an hour and going back in time to work as a microsoft dev in building IE 4.

    ===============================================================

    _ck_: “If you don’t know what I know about bbPress it just means you are lazier than me”

    #72789
    adeboy
    Member

    @chrishajer – Its not quite ready for primetime but you just make a very basic page with the bb-load.php include and then you can get the latest topics/comments and create some links. You need some simple css in the page to match your site styling for the links and target the top frame in the links

    require_once('../../bb-load.php');
    $topics = get_latest_topics( );

    Your homepage might have adverts, widgets, maps etc which will often load in an iframe, as well as images, so the latest topics appear as part of the page build up.

    One day i might get round to proper integration but until then, it works fine

    @swaymedia – grow up

    #71913
    _ck_
    Participant

    Hey I made this today just for you ;-)

    https://bbpress.org/plugins/topic/members-online/

    (well, I’ve been meaning to make it since my Mini-Track is broken)

    I’ll make some custom views for it over the weekend to show who is most active or least active. It will be easy now because the last time is tracked in their metadata.

    #72846
    adammann33
    Member

    So . . . I just got on amazon and bought three books on php and mysql. Hopefully soon I’ll be one of the cool kids! Thanks for the help!

    #72845
    _ck_
    Participant

    Any template editing guide for WordPress should still be helpful for bbPress.

    The header and footer parts are somewhat similar, just some slightly different names inside.

    You are also going to need to change that link on your WordPress side for the forums to the proper link but that might be tricky since it’s not an internal wordpress page.

    #72784

    Ah. Yes, but no. Read https://bbpress.org/about/

    bbPress is a simple forum software. Full stop. The fact that it integrates better with WP than other forums is … a bonus. In fact, none of the about pages mention wordpress except in that WP was the reason for tBB to be made.

    The reason people come to BBPress is becuase of the intergration possibilities

    Yes, most likely this is true. Heaven’s knows it was for me!

    limiting the deep integration is the most Counter-Intuitive thing against its own selling point

    Except it’s not a selling point. If it was, I’d agree with you, but it’s clearly not. Even in the documentation on how to to shallow and deep integration, it suggests not doing it because of load and overhead and other things.

    I have no need for deep integration and I never will. I use four totally separate tools for my website: MediaWiki, bbPress, WordPress and Gallery2. ONLY WP and BB are integrated and even then, it’s just users so people can comment and post. I could, if I wanted, integrate WP+BB+MW, but even then I’d just want logins.

    Why? Because while I want the site to look the same on each one, each tool I use is slightly different and needs customization. I feel that I can give my users a BETTER level of cross-tool integration if I take the time to customize each of my tools to that it is consistent with my site design AND consistent with the intended use of the tool itself. And I’m not the only person who thinks that way.

    Some people want a silver bullet, a tool that does it all. Some people want the right tool for the right job and will customize as needed. Neither is right or wrong, it’s just preference.

    By keeping bbPress NOT deep-integrated with WordPress, bbPress leaves itself open to be integrated with any other application, or not. It allows itself to be customized based on the needs of the client. And that is, in my opinion, a fantastic selling point :)

    #72844
    adammann33
    Member

    Thanks for the fast replies!

    Could you guys point me to a kind of Editing “PHP Stuff For Dummies” — I’m embarrassed to say that I really don’t even know what all that code is in those files — what language it is and all that. I mean I’ve been a pretty savvy user of all manner of software for years but never gotten under the hood. But I’m willing to attack that steep learning curve because I dig it! Where do I start?

    #72782
    swaymedia
    Member

    yeahs but BBPress is for coders to hack it together and make it suitable for a WP theme… that’s what its selling point is… its not just “another forum”… otherwise people would go for Vanilla or phpBB or other light forums.

    The reason people come to BBPress is becuase of the intergration possibilities… and limiting the deep integration is the most Counter-Intuitive thing against its own selling point… utterly contradictory and frankly stupid… The majority will want deep intergration either now or later on… Regardless what type of user you are… there will be a point in that users time when he/she wants deep intergration.

    #72770

    _ck_ – I’ve seen it on pretty much every site since I upgraded to FF 3 :/

    But yeah, good point. You could do this <?php echo getlastmod('style.css'); ?> (filemtime is cached which would kind of defeat the purpose)

    #72779

    seriously guys, deep intergration is probably the most essential feature an “intergratable forum” has to have.

    All this talk about…. well… Not everyone wants it.. is utter garbage.

    Wow. Harsh. So my not wanting it means I’m garbage or my site is garbage? Nah, I know you don’t mean I’m crap, no worries, but really think about what you just said.

    I agree that SOME people want deep/full integration. And some people don’t. Should full integration be offered? Yes, but only for people who are totally hard-core hackers. Because it’s so hard, because it’s so complicated, and because it’s something that, if done wrong, will seriously jack you up.

    Shallow integration, of users and db, is what most people need. If you can theme WP, you can theme BB. If you can make a theme in WP, you can make it work in BB too with about an hour of work and make it seem seamless.

    A pain? Yes. But IMO better than having to re-code everything.

    And I too would rather sit on a cactus than use iframes.

    #72769
    _ck_
    Participant

    You don’t want to change that number on every page load, or the CSS file will never ever cache at all and slow down page load / render.

    In theory the best number to append would be the timestamp of the CSS file itself, meaning if the CSS file was edited/saved, the number would change, hence force the cache to update. filemtime gives you the file date. The problem with using it is that on some systems it can be relatively slow and add overhead to the page load time.

    Alternately you could use today’s date, or even the current hour, ie ?".date('G');

    If you are seeing overly aggressive caching of certain files, it probably means the server has been setup that way and can be changed, at least on apache via htaccess

    #72768

    Actually that’s an old trick from IE and it’s moronic ‘You have to delete everything to get IE 6 to dump css cache!’ days.

    I update that v number every time I make a change to my code, which is a pill, but … yeah, that would do it.

    I can’t believe that FF has devolved like that. BAD FF! No cookies!

    FYI, for those who are lost, you’d do something like this:

    <link rel="stylesheet" href="style.css?v=<?php echo mt_rand(); ?>" type="text/css" />

    #72843
    chrishajer
    Participant

    To answer your last two questions: you need to edit the header.php file in your template folder.

    #72842
    _ck_
    Participant

    bbPress doesn’t yet have the ease of use that WordPress has

    but it can be customized in pretty much the same way.

    The problem is bbPress is much younger than WordPress so there is virtually no documentation and it’s also evolving so any changes you make today may have to be updated somewhat in a few months.

    The best bet is to study existing plugins and themes however if you are not a coder that may be problematic.

    You got this far though, I dare say you probably have the required determination to get it done.

    adammann33
    Member

    Hi all,

    First off, I’d like to say wow, this stuff is awesome! Thank you for the effort that has gone into it.

    I’d also like to pat myself on the back for having done two successful install/integrations of bbp and wp by following the integration screencast. Both have worked very well — I did have to use the fix admin login plugin on one, but it has worked since. The trick for a non-coder like me is to have the screencast in a separate window and pause it at every step.

    For the site in my profile, http://www.herbalremedyforum.com , I’m using the tarski theme on the wordpress side, and the matching geneologies theme on the bbpress side. The two look fantastic together!

    So my question is this: what’s the most effective way for me to get the knowledge/skills I need to pimp out my bbpress site like I did with my wp site as a non-coder? I’m not lazy — it just seems like I’m missing some basic information like how to get link into the bp sidebar with a widget as in wp.

    As a bottom line, is there a suite of plug ins that gives the an approximation of the intuitive interface of the WP admin area? Or do I (gulp) need to go back to school and get a computer science degree? Somewhere in between? It seems like given the hand holding from the screencast that there must be other handholding that I’m not finding for the other basic stuff.

    So two of the basic hand holdy questions: how do I put a link from my forum back to my wp blog? And how do a put an image in the header of the forum to match that of the wp blog?

    ps — I just posted this a few minutes ago, then realized I needed to edit a typo, so I hit the edit button and when I tried to save, it saved as a blank post?

    adammann33
    Member

    Hi all,

    First off, I’d like to say wow, this stuff is awesome! Thank you for the effort that has gone into it.

    I’d also like to pat myself on the back for having done two successful install/integrations of bbp and wp by following the integration screencast. Both have worked very well — I did have to use the fix admin login plugin on one, but it has worked since. The trick for a non-coder like me is to have the screencast in a separate window and pause it at every step.

    For the site in my profile, http://www.herbalremedyforum.com , I’m using the tarski theme on the wordpress side, and the matching geneologies theme on the bbpress side. The two look fantastic together!

    So my question is this: what’s the most effective way for me to get the knowledge/skills I need to pimp out my bbpress site like I did with my wp site as a non-coder? I’m not lazy — it just seems like I’m missing some basic information like how to get link into the bp sidebar with a widget as in wp.

    As a bottom line, is there a suite of plug ins that gives the an approximation of the intuitive interface of the WP admin area? Or do I (gulp) need to go back to school and get a computer science degree? Somewhere in between? It seems like given the hand holding from the screencast that there must be other handholding that I’m not finding for the other basic stuff.

    So two of the basic hand holdy questions: how do I put a link from my forum back to my wp blog? And how do a put an image in the header of the forum to match that of the wp blog?

    #72778
    adeboy
    Member

    @swaymedia, ouch! :)

    Ipstenu is right, it would be a world of pain with upgrades, they need to stay apart. The profile integration is great and if you work on it a user would never know where WP ends and BBPress starts. Check out http://www.columbusunderground.com/forums/, best example i’ve seen

    #69725
    matiaspunx
    Member

    Ok, i will send you my edited file, use it under your own risk, it’s works like a charm but, nobody knows…

    Examine the file and see the changes made by me :)

    PD: PLEASE, back up your db first!

    DOWNLOAD: http://www.mediafire.com/?nmmymgg0z0j

    Hope this works for you!

    Best regards!

    #72822
    bruinfelix
    Member

    If one ‘opensource’ project has a lack of communications, then bbPress, may take a look at his self ;)

    #72825

    A quick view-source shows this li’l gem: ver=1.0-alpha-6 as well as <form class="login" method="post" action="https://healthexpert.talkpress.com/bb-login.php">

    Looks familiar, no? ;)

Viewing 25 results - 25,326 through 25,350 (of 32,468 total)
Skip to toolbar