Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,376 through 21,400 (of 32,481 total)
  • Author
    Search Results
  • #87688

    While Matt would appear to be burned out on bbPress, it would appear now that he’s working on a few things here and there for v1.1 which would be good. Yup, it sure is nice, and if you’re reading, let us know who’s got the new design going! :)

    Only time will tell…!

    #87687
    chrishajer
    Participant

    Ah yeah, good point. I saw the #wcsf code sprint, but figured it was WordPress only. I saw in Matt’s state of the Word that he was sort of burned out on bbPress. Nice to see someone interested in it again.

    #34184

    It took way too long to find the necessary instructions on how to install on Godaddy. The instructions listed with the download of this software was not sufficient. When people asked questions, it had an issue resolved there, one resolved here, but nothing complete. Finally I got it to run so I thought I would share a complete instruction manual on how to do this.

    First, I would like to point out that I installed it on their free hosting service if you buy a domain name through them. However you can install it on their paid hosting service the same way I am pretty sure. In fact, I installed it on their free service for now while I test things and will install it on their paid hosting service in a bit so I can edit this if it turns out to be different.

    1) download BBPress. Unzip it.

    2) Log in to Godaddy services. Click on the Home tab at the top left -> the sub-tab hosting -> then click on hosting under the “my products section” on the left. If you have already bought hosting or had the free version set up, you should see a list of your domain names that are set up for hosting.

    3) Click on manage account next to the domain name you wish to install this bad boy on.

    4) The first thing you need to do is create a database. So click on databases at the top and then mysql.

    5) The click on create database on the upper center right.

    6) Type in a description name (maybe forum or blah or whatever)

    7) Type in the same thing in mysql database user name box

    8) Type in a password that you can remember and then retype it in in the next box. Skip the last three boxes and click ok.

    9) It will take forever and a day for the database to set up. Not really but maybe 20 minutes. In the meantime, lets go ahead and load the files onto your godaddy server. So click on the content tab at the top next to the databases tab you just selected and then click on FTP client.

    10) Scroll down a bit and you will see two side by side panels. On the left is your desktop. On the right is the files on your domain name. Even if you just set up the hosting service, there will be files already on there.

    11) Now you have two options. Do you want to install it at http://www.yourdomain.com/bbpress or do you want to install it directly on your main domain name http://www.yourdomain.com? If you want it directly on your domain name, then you need to transfer all the files within the downloaded folder from BBPress and not the actual folder with all the files in it. So in the left panel, you will navigate to your BBPress folder and double click it to view the contents. When you see all the files within that folder, hold the control key down and select all the files and folders within that folder. Then hit the little arrow in the center that points to the right which should move those files to the right panel and onto your domain name. If you wanted it at the http://www.yourdomain.com/bbpress, then just upload the actual folder with all the files in it versus opening up that folder and moving each file over individually. Also, you can rename the folder BBPress to something different and it will give it a different extension on your domain. For example if you renamed it Forums and loaded the entire folder onto the server, then you would have http://www.yourdomain.com/Forums.

    12) Now we need to change some information in there. But first we need some information from the database you set up early. Probably it is still not set up yet and is pending setup. To check, click on databases tab at the top and then mysql. It will be listed as “setup” or “pending setup” under the status column. If it is pending setup, then grab some popcorn. Once it is ready, click on the pencil icon under the action column and you will then see the host name. It will likely start with yourdomain and then some numbers and dots and other stuff. Copy it.

    13) Now click the home tab at the top.

    14) Then click on the big button called “your files” under the tabs at the top.

    15) Now locate the file that is called bb-config-sample.php. Check the box next to it. Then click edit at the top. A new window should pop up.

    16) Scroll down and change BBDB NAME to the name you gave your database earlier. Change BBDB user to the same thing. Change mysql password to the password you set up earlier (if you used caps, you must use it here too). Then change mysql hostname (which is probably currently listed as local host) to the name you copied just a bit ago from the database pencil menu that had numbers and dots and other stuff. Then hit the save button at the top left.

    17) Now this step, I forgot to do and it still works. I was just building a test site anyways so I will fix it when I attempt to load it to my real site. But you need to change the name of the file you were just editing. You should still have bb-config-sample.php still checked. Up at the top, click rename. Rename the file to bb-config.php. Essentially you are just dropping the -sample part.

    18) Now navigate to your domain name where you installed the BBPress.

    19) It will prompt you with the installation (or should). It will tell you that it recognizes that it is the first time and needs to be installed and then ask you to proceed. You will then enter all your information including database name, mysql user name (which was the same as the database name), and the password (with the necessary caps if you used them). But ONE PART THAT IS HIDDEN AND NEEDS to be adjusted is in the advanced section. So click the little check box. Now paste that host name you copied earlier with numbers and dots and other stuff. Now proceed onwards.

    One thing I noticed is that I would proceed through the installation process at that last part and it would revert to the beginning again. I think this was because I was hosting it on Godaddy’s free server and they put ads at the top which was causing it to loop. After several times (probably 5) of clicking the buttons over and over again and retyping the information, it finally worked. Also the login screen is very basic on the free server. I don’t know if this is normal but I will let you know when I try on my paid server. But it was my understanding that the dashboard of the forum should be similar to wordpress. Maybe that is after integration between the two. Not sure.

    Anyways, hope that helped. Thanks

    #87686

    Yeah, cool, somethings happening! :D

    Could it be Matt himself, I read we could be looking at bbPress 1.1 RC very soon!

    #87682
    Geekaholic
    Member

    Thx, hab das gemacht und es hat funktioniert :)

    #76325

    In reply to: unescaped characters

    Samara
    Member

    Same issue here as well :( I’ve read through the forums with regards to a magic quotes issue, but he fixes listed are old and code has changed since they were posted. Any help from the devs would be super!

    #87625
    kikko088
    Member

    U found this topic https://bbpress.org/forums/topic/load-bbpress-into-wordpress it can be a solution but when I put require_once(‘/bbpress/bb-config.php’ ); i recive a blank page… :(

    any solution?

    kikko088

    #86682

    In reply to: Continuing Topic Icons

    paulhawke
    Member

    I took a look at the original plugin – if I read the code correctly it let you specify a series of keywords that get associated to a given icon, and if those keywords are seen in the name of a given forum then it (the forum) gains that icon?

    I am inclined to create an admin interface for that functionality rather than having you edit the plugin itself.

    If keyword matching against the topic/forum name is the way you want to go, then I will happily code something into my topic-icons plugin. This will come in three parts:

    1. a new “plugin” bundled with my topic icons one that adds a new admin interface for associating keyword lists to icon names
    2. A new rule-processor for my topic-icons plugin that reads these keyword-to-icon names rules and applies them
    3. a new icon-set (skin) that gives you access to the old icons that _ck_ used before.

    I believe that I can replicate (and improve upon, given that it had no admin interface) what the original plugin offered.

    #34176
    kevinator
    Member

    We’ve got a little problem. We use WP as our CMS with Salesforce on the backend. Usernames = email address. bbPress “Favorites” display a user’s username (email) when you go to look at any user’s Favorites. This is bad. You get…

    First Last (usersemail@domain.com) favorites

    So since the “Favorites” function is not very popular on our site, I thought we could simply deactivate that functionality, rather than having to write a bunch of code to hide the email address from this page.

    Anyone?

    #87653

    In reply to: Forum permission

    johnhiler
    Member

    I’m only aware of one conflict between Hidden Forums and 1.0 – I thought it was addressed with this fix?

    https://bbpress.org/forums/topic/ugly-error-on-main-page

    The code is definitely older, but when it comes to privacy-related code… tested and working code is worth its weight in gold!

    #87652

    In reply to: Forum permission

    zaerl
    Participant

    No admin interface, hasn’t been updated for over an year -> old

    No > 1.0 compatibility -> broken

    My plugin take code from the _ck_ one but it’s at another level of complexity.

    #87668

    In reply to: permalink doesn't work

    ghiboz
    Member

    ok, I removed from the .htaccess the row with

    Options -MultiViews

    Sincerely I don’t know what do this row, but seems to work fine everything

    thanks for the support and for the desturb!

    #87667

    In reply to: permalink doesn't work

    ghiboz
    Member

    ecco, trovato!

    forum/.htaccess: Option MultiViews not allowed here

    #87651

    In reply to: Forum permission

    johnhiler
    Member

    I have had a fantastic experience using “Hidden Forums”… I’ve used it on a number of installs over a long period of time, and have never had an issue.

    Zaerl-visibility definitely sounds intriguing! :-) I see you built on the Hidden Forums code for the plugin… would love to hear more about what drove your “old and broken” comment. Thanks!

    #87600

    :)

    #87642
    Terranb
    Member

    I just added the code I pasted above to my theme’s header.php file and that seems to have done it. Any reason this is a bad idea?

    #87641
    Terranb
    Member

    Yep, I have it integrated with wordpress. I’ll give those fixes a shot.

    Is there anyway I could add them without hacking core? Maybe as a plugin? This post (https://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes#post-12563) suggests adding this:

    if (function_exists('wp_head')) {
    // or another check to see if WordPress has been included
    add_filter('get_topic_title', 'stripslashes');
    add_filter('get_post_text', 'stripslashes');
    }

    to the “WordPress Integration” plugin. Since that plugin is in wordpress, not bbpress it didn’t seem like it would work, but I tried anyway and nothing. One person said it worked. Where might they have been adding it?

    Then there is hacking core files, which I’d rather not do since it makes updating more difficult.

    #87622
    kikko088
    Member

    my bbpress and wordpress ara just integrating, if i’m login with wp i’m login also with bbpress, but while the registration with bbpress the user must insert name, email, site with wordpress the user must insert only a nickname and email…I want to menage the registration only with bbpress….I try to put the html code for login but there is a little problem, until the user isn’t logged in the sidebar there is the login form, but when the user login in the sidebar remains the login form instead “Welcome, user, ecc…..”

    There is another way for put login form in the sidebar?

    thank you

    #87579
    chrishajer
    Participant

    I still don’t believe there is any truth to the existence of a cache. Does anyone have proof of this?

    I believe deleting either users or posts or topics, by whatever process, does not properly reset the last poster, number of voices, number of posts, number of replies, etc. Which is why I think this is related to either bugs or not fully developed or poorly performing plugins.

    The functions exist, as ashfame explained, to fix problems. It should not happen on a regular basis.

    From the “recount” page of the 1.1-alpha admin:

    To minimize database queries, bbPress keeps it’s own count of various items like posts in each topic and topics in each forum.

    If the plugin or even built-in functionality does not accurately update the count, then you need these recount functions. If the code were perfect (core and plugins) then these functions would need never be used.

    #87620
    kikko088
    Member

    thank you :)

    #87619

    Yes! Copy the code for bbPress login (html) and paste it into a widget, it should work.

    #87615

    In reply to: languages

    zaerl
    Participant

    Please notice that if you specify: define( 'BB_LANG', 'it_IT' ); then the mo/po must be called it_IT.mo/po. Take my italian translation. It is guaranteed.

    #87574
    chrishajer
    Participant

    @zaerl: “Cause bbPress uses a cache system in order to minimize database queries and sometimes it goes out of synch.”

    Really? Where do you see evidence of this in action?

    I think the problem with the negative counts here is a bug.

    I think the problem with the incorrect voices/posts is probably a bug.

    I think the need for recounting is because sometimes plugins don’t work cleanly when moving or deleting posts or topics or users. Maybe when you delete a topic that has posts the counts are not recounted or recounted properly. I think bozo and Akismet probably figure into it.

    I think the need for recounting is almost always because some code did not account for changing the count somewhere.

    In a perfect world, there would be no need for recounting functions. But as we all know, software is not a perfect world, so recounting helps clean things up. But I don’t think it has anything at all to do with caching. I’d love to see that I am wrong about this.

    AFAIK, there is no bb-cron equivalent of wp-cron, which seems like it would be a perfect place for cleaning up cached information, if it existed. Where is this cache of information? I thought the topic count, post count, voices, post count, etc, we all stored in the database. No caching involved (other that whatever is built in to MySQL.)

    Anyone know any different?

    #87614

    In reply to: languages

    kikko088
    Member

    is the same…:( I change the line but nothing…

    define( ‘BB_LANG’, ‘it_IT’ );

    kikko088

    #87613

    In reply to: languages

    Milan Dinić
    Participant

    You also need to edit file bb-config.php. Replace line define(‘BB_LANG’, ”); with define(‘BB_LANG’, ‘code’); where code is code of your langiage. eg. sr_RS.

Viewing 25 results - 21,376 through 21,400 (of 32,481 total)
Skip to toolbar