Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,276 through 30,300 (of 32,522 total)
  • Author
    Search Results
  • #57523
    fel64
    Member

    1. Unfortunately there’s nothing I can find. No-one on these forums has posted about switching from vBulletin yet, presumably because they’ve invested in it. I can’t help since, well, it’s licensed. Maybe you can look at the data structure yourself and write a converter?

    2. No idea, but my guess is far better for performance. That’s one of the main reasons for bb’s existence – to provide even faster forum software than the best the WordPress people could get their hands on. :)

    #57521
    fel64
    Member

    You certainly need an absolute path like GTim said. Now your forum seems to work, how’d you get it to be so?

    I should also say that in my config.php I have the path to wordpress’ wp-config.php, nothing else.

    #57518

    In reply to: Profile Permalinks

    fel64
    Member

    That’s easy enough to do; it’s implemented already in the bleeding-edge not-officially-released version of bbPress (which is actually perfectly stable and bug-free for me). This direct link will give you the currently newest version, revision 817. To activate these super-pretty permalinks, open your config.php and set the pretty permalinks option to 'slugs' instead, then if applicable (you’ll probably know if it is) change the contents of your .htaccess file to whatever /bb-admin/rewrite-rules.php tells you to.

    #1837

    Topic: Plugin: lotsolinks

    in forum Plugins
    fredvee
    Member

    Hello!

    I’ve been working on my first plugin for a while, and I don’t even know if it’s useful! It deals with users with websites to promote for fun or for profit. The concept is this: users can specify tags in their profiles possibly related to their website. Then, in the topics they start, everytime another user use one of those words in their posts inside the topic, these words are wrapped in a link to the topic poster’s website.

    Am I clear? Now you too can have annoying intellitxt’s on your forums =) without the thousands of visitors! And you’re not referring to big advertising companies but to your dudes with a web presence. It is a give and take thing. Cause you might raise their pagerank like this, but they have to come to your site and post good topics and take care the discussion goes along etc. It might even be a socializing exercise in tricking the posters to type the tags you’ve specified! Cause they are not visible to the public.

    And here comes the reality check part. I’ve been just “hacking around ” with this thing and I’m aware things should look prittier than they are now. First things first, it requires the ra_custom_profile_keys plugin as an easy way to add a field in the registration. Which is not a so bad thing after all. Good plugin. But more importantly I needed a way to hide the tags field in the profile view and I only managed to do it by modifying one of the template-functions, which I know is absolutely an ugly thing to do, even if I just added a line.

    It’s all in the code

    and you can see it in function here. (I was hunting for a marketable domain name, sue me).

    Btw, if you happen to try it out and things go wrong… I really hope I could help you about it but don’t hold your breath.

    Ciao

    #57520
    gtim
    Member

    I think that you need need to require bb-settings.php, too. However, that doesn’t explain your error messages. The //../ part is odd. What if you try an absolute path? E.g.

    require_once( '/home/ceciliabjerling.com/www/wordpress/wp-blog-header.php' );

    #57034
    fredvee
    Member

    Alright! Somehow I had to do like this to get to it:

    global $topic_id;

    $topic = get_topic($topic_id);

    $topic_poster_id = $topic->topic_poster;

    #57033
    fel64
    Member

    What do you mean, no go?

    This code should do it! At a wild guess, remember that globals have to be declared as globals again in each function.

    global $topic;
    $topic_poster_id = $topic->topic_poster;

    It may also be helpful to know that the attributes or whatever they are (things after the ->) correspond to the columns of data in the table.

    #57231
    fel64
    Member

    You do need to use that table, but if you installed WP yourself it should also be created when you activate the plugin. Maybe de-activate and re-activate.

    However I’m working on a plugin that will do the entire thing (complete integration hopefully) based on a different, IMO much neater system. I don’t want to promise anything before it’s done, but if this plugin doesn’t work for you there’ll be a simpler alternative soon. :)

    #57511
    bruz
    Member

    Hu :-) I’ve been searching this forum before posting, so I thought I had really missed something in first place :-)

    Yea, the plugin is for WordPress, I think I will try if I can make it work for bbPress…

    #57230
    lira
    Member

    Erm… hey guys, could you tell me what I’ve done wrong?

    I’ve just installed “bbPress Post”, and WordPress is telling me there’s no table called “wp_bbpress_post_options” (which is true). I reckon I should solve this problem before hacking wp’s comments.php template… but how?

    ps.: Oh, and you guys are doing a great job here, congratulations :)

    #57503

    In reply to: My dream theme.

    Nola1974
    Participant

    bah with your PCBoard.. :)

    wwiv sysop here for 7 years until 2000. been thinking about putting up another.

    a theme like this would be so freakin’ cool. :) if someone can get the commands working, I’d be happy to theme it to look like whatever board package. I’m better with html than i am with php.

    #57064

    In reply to: Plugin: bbPortal 1.2

    Null
    Member

    YEah some dude fixed it, but never mailed me the solution :(

    #53433
    fel64
    Member

    I did :) Should every affected topic be tagged modlook or is it better to tag just one?

    #1829

    Topic: My dream theme.

    in forum Installation
    Nola1974
    Participant

    Anyone see the CLI theme for WordPress?

    testing here: http://fearandloathingbbs.com/wordpress/

    My dream would be a theme like this for bbpress that would turn it into an old school BBS a la WWIV, VBBS or teleguard. I’ve been trying, but I suck. :(

    No really. how cool could that be?

    #57194
    fel64
    Member

    Okay, I promise in future I’ll be all mature and responsible and test these things first. Sorry for the inconvenience. This works on my forum now; just copy and paste this into a new plugin file. Then put <?php aposttime(); ?> for default time output, or <?php aposttime( 'DATE FORMAT' ); ?> for your own time formatting.

    <?php
    /*
    Plugin Name: Accurate Post Time
    Plugin URI:
    Description: Outputs an accurate post time in, optionally, your choice of formatting. Use <?php aposttime( 'DATE FORMAT' ); ?> in your template, <a href="http://uk3.php.net/date">date formatted according to PHP standards.</a>
    Author: fel64
    Version: Phi
    Author URI: http://www.loinhead.net/
    */

    function aposttime ( $dtformat = "jS F 'y" ) {
    global $bb_post;
    $aposttime = date( $dtformat, strtotime( $bb_post->post_time ) );
    echo $aposttime;
    }
    ?>

    #57356

    In reply to: Plugin: Move It

    gh3
    Member

    i have just released the 0.12 version.

    in this new version i added the merge topic feature :)

    you can download it on bbpress svn or my site.

    hope it could be useful :)

    ps. sooner i’m planning to add split topic feature, but ‘ll have to work on it…

    #1832
    bruz
    Member

    Hi there,

    nowadays everybody is using twitter for everything – so why don’t use it for something useful? :-)

    I think it would be nice to announce a new topic to a specific twitter-account so that people will know when to visit the forums.

    #51236

    In reply to: Anonymous post

    gh3
    Member

    i had a look at code trying to do something in this way, but i wasn’t able to find the right function to hook… i can find the pre_post_form and post_form, this one allows me to work only after the post form so i think that in this very moment there is no way to do it, or better there is no way using a plugin…

    #57507
    fel64
    Member

    I really do :) This Patrick Ehrlund? He’s great – even if he does have a flash website :P

    I’d argue that the coolness of appearance is worth it, since the login form’s not exactly rocket science. I think it’s still pretty distinguishable anyway. Mockups:

    http://img513.imageshack.us/img513/5090/ochreblackuf9.jpg

    http://img338.imageshack.us/img338/5758/ochrewhiteyh4.jpg

    That’s just suggestions if you’re interested, no need to give it further thought :)

    Test account to see the problem with the HTML, didn’t realise Chris had already fixed it. My bad. :)

    #57506
    csl749
    Member

    Aha – thanks very much chrishajer! I’ve just noticed that there’s a surplus /div in footer.php. I’ve removed it and all is now well, as far as I can tell. Though it’s strange how it only affected that one page (?!). Thanks for pointing me in the right direction.

    Thanks fel64 – glad you like the design of the site! :) The header pic was designed by a friend of mine, Patrick Ehrlund. I’m torn about the login background – it does look much better without the white background, but also more difficult to read. I might play with some font colours to get something that displays nicely over the header pic colours.

    A test account? What do you mean? I’ll help if I can.

    csl749
    Member

    Hmm. I tried the path (it’s thrown up in the error anyway so I assume it’s the correct path!) but it’s still not working, providing me with an error.

    Everything works anyway, as I built the forum theme up around the main site, but it’d be nice to know that I could call BB and WP functions if I wanted, without worrying. Oh well…

    Thanks very much for the kind help though Fel64! :)

    #51234

    In reply to: Anonymous post

    Duchemin
    Member

    Users on my forum posted 1 or 5 messages, they don’t need registration. But in bbpress database there is no field of Name (post linked with user by poster_id). :( How to make ‘Anonymous post’?

    #57505
    fel64
    Member

    It’s a really nice site and I love the header. The login form would fit in more if you remove the background: #FFFFFF property in the CSS. :)

    Could you make a test account please, so we can see the HTML?

    #57394
    fel64
    Member

    Yes. Put the Secondary in Main, get rid of its margin, add the CSS float property to both Secondary and Discussion – one float: right, one float: left. That will make it work.

    #57192
    fel64
    Member

    I see. Sorry, I thought that was just an example for the format.

    How’s this instead?

    <?php global $post;
    $lalaposttime = date( 'D M Y', strtotime( $post->post_time ) );
    echo $lalaposttime; ?>

Viewing 25 results - 30,276 through 30,300 (of 32,522 total)
Skip to toolbar