Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,451 through 28,475 (of 32,492 total)
  • Author
    Search Results
  • #55400
    mvh
    Member

    any luck so far djuggler?

    i’ve been trying the suggestions but so far, its still the same =(

    #58826
    livibetter
    Member

    Your rss2.php template possibly has additional space and a new line, <?xml version="1.0"?> should be send at first place (after http header), but it’s not on your forum.

    #55397
    djuggler
    Member

    livibetter: You are right. I reversed the modifications after testing. They are in place now. A side note, if the directory ‘youcantfindme’ does not exist then http://make2for1.com/redir returns:

    “Error 404 – Not found

    Your browser can’t find the document corresponding to the URL you typed in.”

    And shows http://make2for1.com/youcantfindme in the address field of the browser. If I create the directory ‘youcantfindme’ and put an index file in there then http://make2for1.com/redir does indeed show the index file and the address changes to http://make2for1.com/youcantfindme.

    The debug test shows the following:

    —-

    http://make2for1.com/forum.php?id=1

    REQUEST_URI: string(15) “/forum.php?id=1”

    should be: string(14) “/forum/general”

    full permalink: string(38) “http://www.make2for1.com/forum/general&#8221;

    PATH_INFO: string(10) “/forum.php”


    http://www.make2for1.com/forum/general

    Error 404 – Not found

    Your browser can’t find the document corresponding to the URL you typed in.

    [That was with the RewriteRule redir youcantfindme [R=301,L] .htaccess]


    http://www.make2for1.com/forum/general

    [with the actual .htaccess generated with http://make2for1.com/bb-admin/rewrite-rules.php%5D

    also

    Error 404 – Not found

    Your browser can’t find the document corresponding to the URL you typed in.

    —-

    I have returned the .htaccess back to

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteRule redir youcantfindme [R=301,L]

    </IfModule>

    so you can see the http://make2for1.com/redir work

    If anyone wants to play with this, I’ll happily setup an ftp account. Email juggler@gmail.com

    I have left the changes in place.

    Thanks.

    Doug

    #58825
    ajg
    Member

    So how did you fix this problem?

    My bbPress and WordPress run on the same server.

    WP RSS feeds do not have that problem.

    All I get is:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://www.ajakirigolf.ee/foorum/rss.php
    Line Number 2, Column 1:
    <?xml version="1.0"?><!-- generator="bbPress" -->
    ^

    I can not parse the forums RSS feed to other pages. :(

    #62171
    Trent Adams
    Member

    I haven’t tried this collatodo, but does this allow users to sort forum or posts on the front-page? I am a little slow ;)

    Trent

    #55023
    fel64
    Member

    Be careful with modifying code files unless you’re familiar with SVN, you’re going to have troubles upgrading. :/

    #55022
    colindb
    Member

    I don’t know how to write plug-ins, but I just installed bbPress and wanted to be able to approve new users. I messed around with the code just enough to get what I needed working, here are the changes I made:

    Starting with the function bb_send_pass function in bb-includes/registration-functions.php: I added an optional third parameters, so the function signature now looks like:

    function bb_send_pass( $user, $pass, $toAdmin = false ) {

    If the toAdmin flag is set I want this email to go to me, not the requesting user. So, just above the “$message = …” line, I added this:

    $recipient = bb_get_user_email( $user->ID );

    $rawRecipient = $recipient;

    if ($toAdmin)

    $recipient = 'myemail@example.com';

    I’m sure there is a better way to grab an administrator’s email, but like I said, I don’t know anything about bbPress… And what’s this about $rawRecipient? To make my life easier, I’m also including the email address in the email’s body (so I can forward it to the correct person without having to look up their info again). I did this by adding “Your email:” to the “$message = …” line:

    $message = __("Your username is: %1$s nYour password is: %2$s nYour email is: %4$s nYou can now log in: %3

    $s nnEnjoy!");

    And then including “$rawRecipient” as the 4th parameter to the sprintf call at the end of the function. Again, you could get fancy here (only include the email address if it’s going to an admin, for example), but whatever, this works. :)

    Okay, with that function done, we just need to change the registration code that calls it. I went to the bb_new_user function in bb-includes/pluggable.php. Just before that function returns there’s an “if ( defined (‘BB_INSTALLING’) )” check. The else case calls bb_send_pass (the function we just changed). Add a third parameter (sending ‘true’), and the registration code should now send an email to you instead of the newly registered user.

    As a final touch, I updated the registration success page (bb-templates/kakumei/register-success.php in my case), telling the user that an admin will verify their request and then email them.

    Hope this helps someone out.

    #62180

    In reply to: help please anyone…

    livibetter
    Member

    sub-domain? did you mean add-on domain?

    You just need to move (re-install) all bbPress files up a level. If you installed them into public_html/konpaforum.com/bbpress/, then mv public_html/konpaforum.com/bbpress/* public_html/konpaforum.com/

    If you want to integrate into WordPress, then leave them and install WordPress in public_html/konpaforum.com/, would be a good idea.

    #62147
    goldfiinger
    Member

    I never used the comic sans in the end :)

    #62176

    In reply to: help please anyone…

    chrishajer
    Participant

    Oh yeah, this doesn’t look right (the path is wrong):

    http://konpaforum.com/bbpress/

    :D

    #62174

    In reply to: help please anyone…

    chrishajer
    Participant

    My guess is that you are trying to use permalinks and they’re not supported by your current configuration. I would try this first. In your config.php, find the mod_rewrite line, and make it look like this:

    $bb->mod_rewrite = false;

    That should make your forum accessible and should take care of the 404 error as well, at least for the forum software. The actual error you have there is because when a page cannot be found (like your forum pages) Apache is configured to serve up 404.shtml, but that file is not present. You could create one so that is shown when a 404 file not found error occurs.

    You access your admin panel by logging in as the keymaster (user you created when you created the forum) and then click the “Admin” link next to your logged in name. If it’s not there, you are not logged in as the keymaster. I would post the direct URL to bb-admin but it just redirects if you are not already logged in as keymaster. Try that first.

    #62173

    In reply to: help please anyone…

    livibetter
    Member

    Set

    $bb->uri = 'http://konpaforum.com/bbpress/';

    in your config.php

    (edit: missing tailing semi-colon)

    #62144
    chrishajer
    Participant

    Sorry, still confused. From config.php:

    // Set to true if you want pretty permalinks, set to 'slugs' if you want to use slug based pretty permalinks.

    So, true, false and 'slugs' are all valid. Can you show an example of a slug based permalink vs. just a pretty permalink? I understand false pretty well since that’s what my forum uses.

    Thanks.

    #62169
    chrishajer
    Participant

    Just change it in config.php:

    // What are you going to call me?
    $bb->name = 'Totally New Site Name';

    #62167
    fel64
    Member
    #62166
    goldfiinger
    Member

    thanks but it’s still not working, i’ve changed both too

    font: “Comic Sans MS”;

    Still no joy :(

    #62165
    fel64
    Member

    Yeah. You need to have quotation marks around any font names containing spaces.

    (edited)

    That would be font-family: "Anything but Comic Sans MS for the love of god";

    Note you can also get a whole bunch of font declarations into one statement: http://www.w3schools.com/css/pr_font_font.asp

    #62143
    fel64
    Member

    The slug is why-my-kittens-suck.

    Slugs are used in pretty permalinks. That bb has two conventions, 1 and slugs, means nothing; they’re just used to denote the difference between using the topic id and the topic name in the url.

    #58671
    fel64
    Member

    No. Unlike '/bbpressfolder/' (I presume), 'wordpressuser' and 'wordpresspass' are not placeholders for your actual value: they are the literal values you will have there. Check your wordpress cookie; those are what they use. A part of the structure is:

    wordpressuser_site-unique hash=your username
    wordpresspass_site-unique hash=hash of your password

    With his settings, bb should now be using that too.

    #55395
    kaolin
    Member

    I just ran into this myself… Didn’t think to check here for a workaround. I have bbpress installed as /forum/ and my approach was to add an htaccess with the following:

    RewriteEngine On

    RewriteBase /forum/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteRule ^([^/]+)/(.*)?$ /forum/$1.php [PT,QSA]

    It seems to be working fine.

    #62160
    mvh
    Member

    OK, wait. I have changed the links to TRUE, so i am not on SLUGS anymore.

    And I am getting the Error 404 – Not found!

    Help! >.< please :)

    What am i doing wrong >.<

    #2736
    mvh
    Member

    I have tried to use pretty permalinks and am having no luck so far.

    Could someone please help me :)

    I tried using the

    Options +MultiViews

    and when I click on the links I get 404 Error.

    Then I tried using the

    rewrite-rules.php.

    and I get:

    blockquoteInternal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webadmin@kundenserver.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    blockquote

    If you go to http://www.328solutions.com you will see it! (That is with the rewrite-rules.php)

    Does anyone know what I am doing wrong? If you need more information please let me know! I really want to use BBPRESS as I love WordPress!!! And don’t really want to use any other forum. :)

    oh btw, seasons greetings :)

    #62157
    fel64
    Member

    You’d have to change some core code.

    #2733

    Topic: Got an Idea?

    in forum Plugins
    livibetter
    Member

    This is stolen from WordPress Extend Ideas. I made (or I should say I duplicated or pirated?) this for getting your ideas to be my motivations. But, while writing this I found out this not just “Ideas”, this actually is an application of how to have different themes for your forums and topics. And you can also have permalinks like /ideas/ or /ideas.php.

    No modifications on core files, but need to add two files. 1 plugin file, some modifications on theme.

    You can see this “Ideas” on my forums. Scroll down to the bottom, you will see it. Click on “Got an Idea?” or “Ideas for bbPress” (read the URIs, notice the differences?).

    This is not ready for a release, however you can download it from repository and read this draft documentation (if you want to play with it).

    And you can post your ideas for “Ideas” or others.

    #62127

    In reply to: stick/closed topics

    fel64
    Member

    Wouldn’t it be best to mark the entire topic link up? Sounds good, though.

    Anyway, for enhancements add a ticket on https://trac.bbpress.org/ and mark it as such. :)

Viewing 25 results - 28,451 through 28,475 (of 32,492 total)
Skip to toolbar