Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,176 through 27,200 (of 32,463 total)
  • Author
    Search Results
  • #3730
    threevisual
    Member

    I started a post a while back asking if anyone here would be willing to code a bbpress theme for me (it’s already been designed). It will be a paid job (of course).

    I’ve still not had any luck finding someone to help me out and I’m now getting quite desperate.

    If you are able to help please email:

    daleanthony.com [at] gmail.com

    Thanks!

    #66531
    csseur3
    Member

    i think the doctype of default skin is bad,

    i use: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt; and i have no errors and no warnings :)

    ++

    #3728
    csseur3
    Member

    Hello,

    i want to have a listing of the forums and i try this:

    <?php if ( $forums ) : ?>

    <?php if ( bb_forums() ) : ?>

    <?php bb_forum_pad( '<div class="nest">' ); ?>"><?php forum_name(); ?><?php bb_forum_pad( '</div>' ); ?>

    <?php endif; // bb_forums() ?>

    <?php endif; ?> but doesn’t work. why?

    bye

    #66426
    795625
    Inactive

    hehe my theme is done for my site about Spellborn… i will spare it when it will be finish, but, at the moment i do many work on it… and far to be finnish…

    i’m not devellopper :D just a small graphist :D and it’s quite hard for me to modify the template :D

    but don’t worry, i’ll finnish it…. and i will make it Downloadable when it will be :D

    #66522
    timjamz
    Member

    Well… apparently, the hangup is in using the “wizard” installation (which results in some silly “duplicate table” error regarding wp_users – users_nicename).

    My fix was to perform a clean install, without checking the option for integration during the install ‘wizard.’ Once I was in with a standalone version, I went to the Forum admin page – wordpress integration settings. I input the WP URL twice, the secret from WP and the user table prefix. Added the two lines suggested for wp-config.php and bada-bing… that did it.

    Hope this helps someone else out there. :-)

    Used WP 2.5 & 2.5.1 – bbPress 0.9.0.2

    #3726
    RossB
    Member

    I’m using the Kakumei Blue theme. I can’t understand how this could happen, but without my doing anything, overnight the header on my forum has changed when viewed in IE – it remains as it should when using Firefox.

    A navigation button I positioned (by messing with some numbers in some CSS code that Chris kindly provided) has shifted to the right so that it is now too close to the User Name.

    But most strangely, the forum name has shifted so that it now overlaps the “Login” box. This was perfect until now, as you’d expect, since it’s part of the original design – I just typed in the name of the blog in the space provided in Admin.

    Here’s the link, which will make it clear what I’m saying (open with IE): http://ashb.proofreadercentral.com/bbpress/

    User: tester

    Password: testing123

    Can anyone offer any explanation for this stuff? More importantly, how do I get the header back to what it was yesterday given that I haven’t actually changed anything in the meantime? I’m afraid that if I start tampering with the CSS again, I’ll end up messing up the header in Firefox as well!

    Cheers

    #66532

    In reply to: No indexing:(

    chrishajer
    Participant

    The reason for this is that you bbPress/forum pages are returning a header of 404 (Not Found) instead of 200 (OK).

    Date: Fri, 01 Aug 2008 00:29:52 GMT
    Server: Apache
    X-Powered-By: PHP/4.3.9
    X-Pingback: http://www.sanzdrave.cz/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Last-Modified: Fri, 01 Aug 2008 00:29:52 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Keep-Alive: timeout=2, max=20
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    404 Not Found

     

    But the page is clearly there. You need this fix:

    https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load

    Also described here:

    https://bbpress.org/forums/topic/strange-404-report-i-firebug#post-9551

    #3717
    Null
    Member

    Hi,

    I have the following code that works in wordpress:

    <?php $homepage = get_settings('siteurl')."/search.php/";
    global $wp;
    $wp_received_argument = false;
    foreach ($wp->query_vars as $k=>$v) if ($v) $wp_received_argument = true;
    if ($wp_received_argument) require(TEMPLATEPATH . “/index.php”);
    else { wp_redirect($homepage);
    exit(); } ?>

    Now this wont work in bbpress, so I’ve made some modifications:

    <?php $homepage = bb_get_option( 'uri' )."/search.php/";
    global $bb;
    $bb_received_argument = false;
    foreach ($bb->query_vars as $k=>$v) if ($v) $bb_received_argument = true;
    if ($bb_received_argument) require(TEMPLATEPATH . “/index.php”);
    else { bb_redirect($homepage);
    exit(); } ?>

    It now crashes at the foreach. What am I missing?

    Thx

    #66484
    thion
    Member

    I’ve created something like this:

    function page_link( $page_number ) {
    echo apply_filters('page_link', get_page_link( $page_number ) );
    }

    function get_page_link( $page_number ) {
    $rewrite = bb_get_option( 'mod_rewrite' );
    if ( $rewrite ) {
    global $bbdb, $bb, $page;
    $page = $page_number;

    if ( $rewrite === 'slugs' ) {
    $table_name = $bbdb->prefix . "pages";
    $query = $bbdb->get_results("SELECT page_slug FROM $table_name WHERE page_id=".$page."");

    foreach ($query as $rk) {
    $column = $rk->page_slug;
    }
    } else {
    $table_name = $bbdb->prefix . "pages";
    $query = $bbdb->get_results("SELECT page_id FROM $table_name WHERE page_id=".$page."");

    foreach ($query as $rk) {
    $column = $rk->page_id;
    }
    }
    $link = bb_get_option( 'uri' ) . "page/" . $column;
    } else {
    $args = array();
    $link = bb_get_option( 'uri' ) . 'page.php';
    $args['page_id+id'] = $page;
    $args['part'] = 1 < $part ? $part : false;
    $link = add_query_arg( $args, $link );
    }

    return apply_filters( 'get_page_link', $link, $page_number );
    }

    Trust me, I don’t know what this is either ;). I’m working on this for a couple of hours (in total) and I’ve messed up. Could someone help me in this by explaining how this thing should look like?

    I mean – the above code is allowing me to type

    <?php echo page_link("1"); ?>

    and this will display url to static page with id=1, creating something like domain.com/page/1 or domain.com/page/about – so links are working. But now I want to send page ID to other functions that are selecting and displaying date from database – and I have no idea how to send this id in ‘rewrited’ version. Can anyone help?

    #66410
    chrishajer
    Participant

    I saw your comments on the comments page and figured it was being resolved there.

    This was the last I heard:

    https://bbpress.org/plugins/topic/bb-attachments/page/6/#post-1553

    I just tried the 0.1.9 version and the JavaScript is working; it inserts the bbcode. But when I resave, the image was renamed to this:

    [png] Error_Occurred_While_Processing_Request.png (17.7 KB, 0 downloads) [x]

    And it is not inserted into the post.

    #60769

    In reply to: PHPBB3 Converstion

    hhberthelsen
    Member

    I’m also looking for an update, and so far found these links:

    https://codex.wordpress.org/GSoC2008

    http://www.stealyourcarbon.net/2008/07/midterm-progress/

    http://www.stealyourcarbon.net/2008/07/bbpress-importer/

    and SoC ’08 discussions going on here:

    http://groups.google.com/group/wordpress-soc-2008

    Not sure if these are good signs … v0.1A seems a long way to a stable version 😮

    #66518
    _ck_
    Participant

    Note the names of the settings in bbPress and WordPress is slightly different. Also, never, ever, edit bb-settings.php, what you want is bb-config.php on the bbpress side and wp-config.php on the WordPress side.

    Follow ALL the steps here and you’ll get cookie integration in just a few minutes:

    https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101#post-17410

    Note step #8 is where you edit wp-config.php, the rest are for bb-config.php

    #3714
    Billy Wilcosky
    Participant

    Similar posts have been made about this subject, and I’ve read the documentation, but no matter what I do I can’t get the cookies to work. I’m sure you hate working with newbies like me because we’re always like, “gah, i can’t get anything to work” but, please, I don’t want to keep tweaking it because I don’t want to mess anything up… One solution here at this forum says to go into the wp_settings.php file and change something… do things like that have be to done, or is there an easier way? By the way, I did actually do that… I went into the wp_settings and changed that cookie_domain line from false to ‘.myurl.com’, if you know what I’m talking about… well, that tweak didn’t work for me either.

    I just want to be able to log into my blog, then go to my forum and still be logged in. Or log into my forum and go to my blog and still be logged in, then also be able to successfully log out from either location.

    I put

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    in my wp config and it is also in my bb press config.

    Now, some posts here say that for the cookie_domain, you have to actually put your domain, like:

    define(‘COOKIE_DOMAIN’, ‘.myurl.com’);

    is this true?

    If someone has the time and successfully has cookies working properly between their wordpress blog and bbpress forum, could you help me out?

    I’ve stayed up many nights trying to get this to work just right… it’s sad :( Whats weird is, when I first did the integration it worked BUT I couldn’t log out, so since then I’ve been changing things to fix that, but now, I’m back to square one. I can log into my forum. then, I can log into blog, and I can log out of both with the same username and password, but again, if I log into one and go to the other, I’m not logged in.

    I’ve just seen a few different posts and all the posts recommend doing different things. Then the actual documentation of course just says to use the built in integration feature in bbpress, which I used. Since there are so many different posts offering different solutions, can any one give me a step by step fix for this?

    #3713
    csseur3
    Member

    Hello,

    a update system for plugins is scheduled or not? :)

    bye,

    Fred

    #66469
    811568
    Inactive

    For what it’s worth, I think bbPress is a great piece of kit, and I send out a big thanks to the developers and members of this forum :)

    It’s just outright rude to complain about bbPress – it’s completely free for pete’s sake! If you haven’t got the guts or the knowledge to work with it (and reap the rewards I assure you!), go use another forum!

    #3710
    811440
    Inactive

    Hello,

    I was looking for a way to limit moderators in some way to only have moderation powers on specific forum/s. I have a forums where I need to have a set of moderators have access to only moderate a few forums and not every forum on the site. I did some searching and couldn’t find anything in the forums or plug ins that did this task. Is this something that could be handled by being able to add more roles, and then custom define the abilities of those roles? Thanks for your time, I look forward to hearing back from the community on this. :)

    #66449
    chrishajer
    Participant

    You might have https hard coded in something. Or, if you start with an https URL, your links are always https also. Search the source of your files for https and if it’s not there, then just be sure to use http to link to your website and forum. Users won’t normally use https unless they click on a link from somewhere.

    If you’re bothered by it, you could always create a rewrite rule in .htaccess to direct any https traffic to http.

    #66425
    Null
    Member

    Shouldn’t be too hard to copy, perhaps I” take a look at it IF I can take a brake from WoW this weekend :P.

    I’ll make a green version (bbPress like) too then…

    btw I love you theme, can we download it somewhere?

    #66421

    In reply to: Ning layout?

    gio500000
    Member

    I’m a newbie to the bbpress framework. Is there a function in bbpress that can call each forum and show the most recent topics for each one? Any help on how to getting started is appreciated. If you could provide some code to get started I feel confident to take it from there. I’m sure this layout isn’t for everyone but its a refreshing social-like layout that others may like.

    Thanks,

    Gio

    #66483
    thion
    Member

    That’s how I’m writing Static Pages plugin now ;).

    #66478
    _ck_
    Participant

    The (new) config.php name is bb-config.php

    You are getting the error because you renamed it to config.php when it should be bb-config.php

    #66481
    thion
    Member

    Hmm – documentation is really needed… :)

    #66480
    _ck_
    Participant

    There already is a function is_front()

    if (is_front()) {
    // do stuff
    }

    lots of related functions in template-functions.php

    if you need multiple pages, a trick I like to use is

    if (in_array(bb_get_location(),array('topic-page','tag-page','forum-page'))) {
    // do stuff
    }

    #66462
    wiseacre
    Member

    And bbpress has had many weeks of … nothing. And some funny old bugs.

    Look at WordPress. How many lines of code you can find? And how many tickets are closed for a week? This is “development time” for me.

    In other hand the bbpress development team does not give people timely versions … and news. For now this project looks like a hobby.

    #66477
    793412
    Inactive

    I used the version 0 9 0 2 that appears here like the lastest. I’ve upgrade it like it was an older version… nothing happens. :P

Viewing 25 results - 27,176 through 27,200 (of 32,463 total)
Skip to toolbar