Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,976 through 29,000 (of 32,458 total)
  • Author
    Search Results
  • #60747

    In reply to: WP 2.3 breaks bbpress?

    oledole
    Member

    Thanks. I’ll just sit back and relax then ;-)

    #55807
    chanzero
    Member

    I second nolageek’s request :)

    #58410
    neyoung
    Member

    Kahil, your method works well if your users use their login name as their display name. However if a user who’s login is user23 changes his display name to John Doe then your code looks for this image. /forum/avatars/John Doe.jpg instead of the correct avatar image which would be /forum/avatars/user23.jpg. I couldn’t figure out a clean way to fix this (I’m using wpmu, not wordpress). But here’s a dirty hack.

    <?php
    $comment_author_dn = get_comment_author();
    $comment_author = $wpdb->get_row("SELECT <code>user_login</code> FROM <code>wp_users</code> WHERE <code>display_name</code> = '$comment_author_dn'");
    echo '<img id="comment-avatar" height="50" width="50" src="/forums/avatars/' . (empty($comment_author->user_login) ? "default" : $comment_author->user_login) . '" alt="avatar" />';
    ?>

    That code should find images for a user if they use a display name or not.

    /shrug

    I haven’t fully tested it, but it seems to work ok.

    #60632
    _ck_
    Participant

    Oh sorry for misleading. Nothing I do really helps the codebase other than to nag about bugs ;) I don’t consider myself experienced enough in that regard.

    But I do try to write my share of plugins and themes and I hope to help attract other coders for the actual codebase.

    #60733
    chrishajer
    Participant

    Sounds like permalinks are creating a problem. Turn them off in your config.php and see if you can view posts.

    Make this line in your config.php look like this:

    $bb->mod_rewrite = false;

    (maybe it says true or slugs now)

    I don’t believe an .htaccess files comes with a default install. You would need to create one, so there won’t be one anywhere unless you created it, and it goes in the root folder of your forum. You can take care of that later, once you can at least see your posts.

    #60515
    Jaithn
    Member

    hey folks,

    i even found a new problem!

    i can’t add links to my posting in my mainblog. i succesfully integrated wpmu with bbpress and now the links don’t work anymore.

    when i add a link, the post only shows <a>words</a>.

    did i allready tell you guys that i’m using wpmu?

    any ideas?

    thx,

    jaithn

    #60514
    Jaithn
    Member

    hey folks,

    i even found a new problem!

    i can’t add links to my posting in my mainblog. i succesfully integrated wpmu with bbpress and now the links don’t work anymore.

    when i add a link, the post only shows <a>words</a>..

    did i allready tell you guys that i’m using wpmu?

    any ideas?

    thx,

    jaithn

    #60732
    warmechoco
    Member

    this whas kinda my persuasion to choose for bbpress, so I could login from Iframes.. I knew nothing about forums (only phpBB: but this wasn’t easy to work with in iframes)… what a shame :)

    #60731
    warmechoco
    Member

    hmmm but Iframes is so handy :) I also use it for my photo albums… Thanks btw!

    #49635

    In reply to: Emoticons For bbPress?

    neyoung
    Member

    If you’d like emoticons to show up in your private messages here’s how. Open up bb-emoticons.php . After line 242 which contains

    bb_add_filter('post_text', array(&$bbemoticons, 'convert_smilies'));

    Add the following.

    bb_add_filter('pm_text', array(&$bbemoticons, 'convert_smilies'));

    This will display the emoticons within your your private messages

    #60728
    warmechoco
    Member

    good idea, but it didn’t work … :/

    how else do you integrate a forum in a site?? very curiouse

    #60727
    chrishajer
    Participant

    Can you change the iframe source to a page name rather than relying on the index page of the directory called “forums”? So, instead of this:

    <iframe src="forum"

    Try this:

    <iframe src="forum/index.php"

    I have no idea if that will work. It’s an interesting way to get an integrated look. I don’t think I’ve ever seen that before.

    #60501

    In reply to: Unread Topics

    neyoung
    Member

    ok, I figured out that “Sticky” is not part of the topic title. But the poll and support forum plugins hook the topic_title function. To make the [Poll], [Resolved], [Unresolved] parts of the topic_title to show up as bold I modified one line in your plugin on line number 14 of bb_unread_topics.php . I changed

    add_filter('topic_title', 'utplugin_show_unread');

    to

    add_filter('topic_title', 'utplugin_show_unread', 100);

    By adding the 100 at the end of add_filter the utplugin_show_unread function will execute after the other functions that book topic_title. While there may be functions that use a number higher than 100, I doubt it, so you should be safe.

    #2408
    #60631
    fel64
    Member

    _ck_, are you saying that you will also contribute to the bb codebase or are you just talking about something unrelated?

    > The rush job on the WP 2.3 release is suspect.

    Maybe something for the WP forums.

    I think there might be reduced bb activity for a while as mdawaffe will be working on backPress if I understood that right. The work will also be useful to bb, but bb is not the sole aim of the project.

    [Edit] Thanks for taking care of that duplicate for me, Trent.

    #2407
    kehlers
    Member

    I have a site in which I’m using bbPress for user login/registration, but I also have Gallery2 installed for photo gallery. Gallery is configured in “embedded” mode, so that bbPress login is used – i.e. a unified login.

    When I try to type quotes in a text field in the embedded Gallery, I get escaped quotes (i.e. ” turns into /”). This doesn’t happen in bbPress, but it also doesn’t happen in the NON-embedded Gallery. So, it has to be something to do with the interaction of the two applications.

    The thing is, I am out of ideas. bbPress turns off magic quotes w/in the code, and so does Gallery2, plus it’s off in my php.ini. Is there some code within bb-load.php or other included files which parse all text fields? Any thoughts?

    #2404
    warmechoco
    Member

    In order to get the forum running, I removed the forums where testing posts have been in. Now I have put new forums in the admin section.. But there are none of them showing!!

    Not a single forum :/ help me :)

    #60628
    _ck_
    Participant

    I’ll be getting back to bbPress, devoting much more time to my bbPress showcase/plugins/themes in October and hopefully that will help in it’s own little way to promote bbPress adoption (and therefore my original scheme of attracting more coders to it).

    The rush job on the WP 2.3 release is suspect. I personally felt it was way too soon and could have benefited from much more. I recently installed 2.3 for a new site and kept asking myself why are there the same problems/limitation I encountered with my first 2.0 setup? I notice 2.3 just happens to coincide with the release of the new “WordPress for Dummies” book and I believe the author is a close friend of Matt’s? Hmm. But oh well, enough ranting about WP and back to nagging about bbPress :-)

    #55748

    In reply to: Anonymous posting

    matt123
    Member

    Thanks for the code! Tried it out and it works. Right now akismet is catching a large percentage of the spam. If that changes I’m going to implement your solution!

    #60698
    mikecicc
    Member

    if u take a look at that bug tracking page

    https://trac.wordpress.org/ticket/3882

    you will see the exact problem i am having..has something to do with the “realpath” function of PHP … the way this guy explained the bug is my problem 100%…i replaced my tiny_mce_gzip.php file with the revised one from that site, still no luck…this is very frustrating..

    i have an error console running on my firefox, and i get this error every time i render the admin write page in WP

    Error: tinyMCE is not defined

    Source File: http://www.figmentrolling.com/wp-includes/js/tinymce/tiny_mce_config.php?ver=20070225

    Line: 36

    which is this line of code….

    tinyMCE.loadPlugin(“NextGEN”, “http://www.figmentrolling.com/wp-content/plugins/nextgen-gallery/js/&#8221;);

    which kind of makes since because that specific plugin (nextGen gallery) actually adds its own little button to the visual editor in order to add photos from your gallery to your posts….

    #52551
    outchy
    Member

    I can’t figure out how to hack this :/ Does anyone feel like helping me? :)

    #60694
    chrishajer
    Participant

    Did you take a look in the source of the rendered page for writing a new post, to see if the block of code with images from tinymce is actually there? Since this is an admin panel issue, it will be hard to help since no one can see what you’re seeing.

    I don’t use the visual rich editor in my WP install, so I’m not sure what I would see that could help you. I do have a tinymce directory in my install: ./wp-includes/js/tinymce

    #56558

    In reply to: Strut Your bbPress!

    Hi All:

    I just launched http://forums.apple2games.com/ using BBPress. Apple 2 Games Forum is a site dedicated to retro gaming on the Apple 2 systems.

    I’m super happy with bbPress… very clean code, super easy to “hack” and the price is right! Can’t say that about other bloated systems :)

    #60704
    chrishajer
    Participant

    Thanks Allen && Allen :) (please mark as [resolved])

    #60692
    chrishajer
    Participant

    What line from your wp-config.php? I don’t think I’ve ever added a line there, but my install is getting a little old. What line of code are you referring to?

    Can you check the source of the WP admin write page, to see if the icons SHOULD be there on display, or if anything else looks weird, maybe the path to the javascript?

Viewing 25 results - 28,976 through 29,000 (of 32,458 total)
Skip to toolbar