Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,076 through 24,100 (of 32,431 total)
  • Author
    Search Results
  • #77354
    chrishajer
    Participant

    These folders do not exist:

    http://roadtoanimation.com/forums/my-plugins/

    http://roadtoanimation.com/forums/my-templates/

    These do:

    http://roadtoanimation.com/forums/bb-plugins/

    http://roadtoanimation.com/forums/bb-templates/

    (BTW, you should turn off directory indexes by putting this in your .htaccess:

    Options -Indexes )

    Since that server appears to be running Apache/Linux, the directory names are case sensitive. Are you sure they’re lowercase? Also, using hyphens, not underscores? Can you take a screenshot of the directory listing, using a shell or FTP, and post a link to that? Or, find someone local who you trust that can log in and check this out for you.

    #77332

    In reply to: Role = Main?

    Mark / t31os
    Member

    I’ll have a fiddle with the documents and see if switching to Mac or Unix format helps. I just assumed i’d run with what i use on WordPress…

    What concerns me is why these role lines seem to be required for template files to function correctly, and that in keeping them there invalidates the pages…

    I suppose the question now is, does anyone else have the issues i mentioned when editting or creating bbPress themes? … If anyone is to report they do not, then i’m happy to accept that it’s likely my mistake and look back over what i’m doing, and where i’m going wrong…. but i’d like a little feedback beforehand….

    Admittedly i’m using a custom theme that i converted from a WordPress theme, however i’m not incapable of managing code, so i’ll happily accept that i may have fudged something unintentionally if that’s really the case.

    I’ll let you know if using Unix or Mac format makes a difference….

    #77381
    chrishajer
    Participant

    If this is shared hosting, I think it’s overloaded. If it’s your own box, you can do something like this to see how many files are open:

    ulimit -a

    There are many reasons for too many open files, but I don’t think it’s related to bbPress since 0.9.x is pretty stable and I have not seen this error reported for it before.

    If you post a link to your domain, someone can check and see how many virtual hosts are living there. Maybe one is just behaving badly.

    #59832
    piedpiper21
    Member

    I like ck’s method of displaying the dates and I tried applying her code to the front-page.php file. But when I change the code under ‘$super_stickies’ and ‘$topics’ from

    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>

    to

    <td class="num"><a href="<?php topic_last_post_link(); ?>"><span class=timetitle title="<?php echo date("r",strtotime($topic->topic_time)); ?>"><?php topic_time(); ?></span></a></td>

    There is no change.

    If I change it to

    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php echo date("r",strtotime($topic->topic_time)); ?>"></a></td>

    I get a properly formatted time description. But I can’t get the title to work. What am i doing wrong?

    #77171
    anandasama
    Member

    Yeah Its kind of an ugly workaround but its the only way i know that works. :)

    Id also like a native rss syndication. In time it will come i think!

    Thank you very much for your replies.

    #77350
    _ck_
    Participant

    It’s less common but it’s not invalid at all. There are many installs that do it.

    To just move forward so you can work on other things I would simply try putting the copy of kakumei under bb-templates and see if even that works. Name it maybe mykakumei for example.

    deadlyhifi
    Participant

    Have a look here on how to exclude a forum from the front page loop, whilst keeping the post limit intact.

    limit forums included in latest discussions

    Note the core hack required to keep the paging numbers correct.

    Maybe you then need to write another small custom query to bring out just forum 17, as I’m not sure you if you can have two loops. (perhaps the WP multiple loop info would give some insight into this: https://codex.wordpress.org/The_Loop#Multiple_Loops)

    r-a-y
    Participant

    Just looking at your code, it looks like you’re ending your “if” statement a little early.

    Try this:

    //Show latest discussions with all forums except id 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id != 17 ) : ?>
    <!-- your output stuff here -->
    <?php endif; endforeach; endif; // $topics ?>

    //Show latest discussions but only forum 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id == 17 ) : ?>
    <!-- your output stuff here -->
    <?php endif; endforeach; endif; // $topics ?>

    Not sure if that’s causing your problems… but try it out and see what happens.

    #77348
    _ck_
    Participant

    You can rename the sub-folder anything you want and yes you can even put it into bb-templates though that’s not how it’s supposed to be done.

    It’s just a bad sign that my-templates doesn’t work and very mysterious.

    There might be something else going on like multiviews interfering.

    #77272
    ArnyVee
    Member

    Very nice work! Keep it up! :D

    anandasama
    Member

    One thing I have an issue with is the first page; I want to make an own “Latest Discussions” loop with all forums EXCEPT one forum. And then an own “latest discussions” With only the entries on that one forum (It’s linked in RSS posts) on the same page.

    Problem is When i used this inside the loop

    //Show latest discussions with all forums except id 17

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <?php if( $topic->forum_id != 17 ) { ?>

    codeblock

    <?php } endif;?>

    <?php endforeach; endif; // $topics ?>

    //Show latest discussions but only forum 17

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <?php if( $topic->forum_id == 17 ) { ?>

    codeblock

    <?php } endif;?>

    <?php endforeach; endif; // $topics ?>

    The pagination gets an error (Shows me fewer posts than the actual limit), and I cant use the same loop (With different conditions) twice.. Then I get a blank page. :S

    So how should I do? Have any Idea? Im not so used to the bbpress loop yet..

    #77169
    anandasama
    Member

    R-a-y: Thank you! The theme is a heavily modified version of Scoun.

    Although I am soon to write a new template because of the css/html isnt that great on it. ;)

    Just my way of learning the ropes.

    About the RSS feeds: I use feedwordpress plugin to feed it into my wordpress. In wordpress then, I put in some arguments to filter out the RSS feed so it won’t show up there. Somehow it still shows up in my WordPress RSS so I need to find a way to filter it out from the RSS too.

    The RSS syndication plugin can hold a number of RSS feeds with alot of options and automatically post articles.

    Then I use BBpress WordPress Synchronization plugin and when bbpress finds a new post in WordPress it automatically syncs and creates a post in one of my bbpress subforums.

    Somehow i dont want all my stuff to go into BbPress so when I write some new article in WordPress I can choose manually wether to sync this to BbPress or not.

    One thing I have an issue with is the first page; I want to make an own “Latest Discussions” loop with all forums EXCEPT RSS. And then an own “latest discussions” With only RSS forum.

    Problem is When i used this inside the loop

    //Show latest discussions with all forums except id 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <?php if( $topic->forum_id != 17 ) { ?>
    codeblock
    <?php } endif;?>
    <?php endforeach; endif; // $topics ?>

    //Show latest discussions but only forum 17
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <?php if( $topic->forum_id == 17 ) { ?>
    codeblock
    <?php } endif;?>
    <?php endforeach; endif; // $topics ?>

    The pagination gets an error (Shows me fewer posts than the actual limit), and I cant use the same loop (With different conditions) twice.. Then I get a blank page. :S

    So how should I do? Have any Idea? Im not so used to the bbpress loop yet..

    #77271
    Detective
    Member

    I like it, it’s beautiful :)

    #31336

    Topic: Custom Theme

    in forum Themes

    I am looking to have a custom BBpress theme made. The goals are fairly simple:

    1. Optimized for 1024 pixels with a 571 pixel content area on the left and a 339 pixel sidebar area on the right.

    2. Designed to have similar looking header to http://tastyminstrelgames.com with the same navbar + login

    3. Place for me to easily update the navbar (a separate PHP file or knowing where the code is is sufficient)

    4. Lightweight theme.

    5. Do follow links inside of the forums (I think)

    I think that is all I am looking for. Please contact me with proposals.

    Thanks,

    Michael

    #77270
    Sam Bauers
    Participant

    ps. avatars look a tad huge?

    Yes, they do :)

    TonyVitabile
    Member

    I really like the sidebar that appears to the right of a post while you’re viewing it on the WordPress.org forums. Here’s a screen shot of said sidebar:

    Image

    I’m a complete noob to bbPress themes. I’ve been able to get my WordPress them modified to work with bbPress, basically by taking a bbPress theme & modifying the stylesheet and pasting code from the WordPress theme into the bbPress files. But I don’t know how to create that sidebar. I figure there have to be functions you can call to do it, but what are they? Where are they?

    Thanks for any help

    Tony

    #77369
    dan90036
    Member

    I need to add the emails addresses (thus the domains of my sites) in gravatar and that solves the issue. It is elegant and beautiful bbPress :)

    Thank you

    Dan

    anandasama
    Member

    I posted this elsewhere but this works for me on the frontpage:

    <a href="<?php user_profile_link($topic->topic_last_poster) ?>" ><?php topic_last_poster(); ?></a>

    #77167
    anandasama
    Member

    Yes you can mark parts of a quote, multiquote and it goes directly into tinyMCE.

    It even works with editing posts. I needed to uninstall every kind of bbCode plugins though.

    You can see the quote in action here :

    http://matsuri.moai.se/topic/the-great-off-topic-thread

    Just need to fix the Quote from another page (when multiple pages).

    TonyVitabile
    Member

    Not exactly a problem except I don’t know how to do this.

    WordPress MU is in http:// <my domain>/worship/ folder.

    BBPress is in http:// <my domain>/forums/ folder.

    I have a page in my WordPress MU site that is called Forums. Right now, it displays a link to http:// <my domain>/forums/. What I would like to have happen is that users get taken to http:// <my domain>/forums/ when they click the link for Forums on the navigator bar.

    This sounds like some kind of a redirect to me. Is that how this is done? How do I code it?

    Thanks

    Tony

    #77343
    _ck_
    Participant

    I believe wordpress is trying to process the request because you have bbPress nested underneath WordPress which is a less common method of integration.

    Try changing that .htaccess to this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^forums/
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Not quite sure I have that right but give it a go and let’s see.

    If it doesn’t work try replacing the forums/ line with this one:

    RewriteCond %{REQUEST_URI} !^forums/

    #77341
    _ck_
    Participant

    That file is not there like you think it is:

    http://roadtoanimation.com/forums/my-templates/kakumei/style.css

    It’s a 404.

    But it might be wordpress interfering with the forums directory since WP is in your webroot.

    Strange that it would happen with a static file though.

    Triple check that you have

    /forums/my-templates/kakumei/style.css

    via FTP, make absolutely sure it’s there.

    If it is indeed there, download your .htaccess file in your top directory (where WP is) and post it here.

    #77359
    Gautam
    Member

    Also, don’t forget to donate for the plugin, it takes a lot of hardwork & time to make it: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6590760 :)

    #31332
    Gautam
    Member

    Hi Guys..

    I have just made a new plugin named Social It. The plugin is inspired from the wonderful plugin SexyBookmarks created by Josh & Norman for WordPress (and is almost the same like that)

    It automatically inserts itself below the first post of the topic, but you can insert it anywhere on the forums. It will automatically fetch the appropiate feed link, description, etc.

    It supports a variety of short URL sites to shorten links, I will improve this feature in the upcoming releases, like managing the links within the plugin itself, etc.

    Please report any bugs you face, or request new features.

    Here is the link for the plugin:

    http://bbpress.org/plugins/topic/social-it/

    :-)

Viewing 25 results - 24,076 through 24,100 (of 32,431 total)
Skip to toolbar