Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,751 through 25,775 (of 32,516 total)
  • Author
    Search Results
  • #71754

    Go to bb-admin/options-wordpress.php

    Scroll down to Manual bbPress config file settings

    Copy that stuff into your bb-config.php

    #4840
    rossmcd
    Member

    Ok, i have a mysql database and i added a karma section to users but no matter what i try i can’t get it to print. i do $karma = $bbdb -> get_results(then the tested normally sql select code here) then i put echo $karma->karma. but it prints nothing

    #4838
    Dwenaus
    Participant

    I have to integrate some sort of forum in a WPMU 2.6.5 website that will be going live in 20 days. I’d love to use bbPress but not sure which version I should use. the stable .9 release (which as far as I can tell does not integrate well) or the 1.0 alpha and hope for the best. any advice would be apprecated. It is essential for us to have unified login, other features are less important. thanks in advance :)

    #4810
    ginelle816
    Member

    Hi, I am new to wordpress and do not know why when I try to go to my website: http://www.lifeonholdmusic.com, all of the sudden this error message:

    Fatal error: Call to undefined function: get_header() in /home/content/l/i/f/lifeonhold/html/index.php on line 7

    appears! I don’t believe I made any changes and I suddenly got this error and don’t know what to do! any help would be greatly appreciated :)

    #63390
    mikeumus
    Member

    chrishajer, are you aware of the code in bbPress which takes the _wp table(required upon WordPress and bbPress integration) and somehow uses it in integration? If so, that might be a solution.

    I found a a program which takes two MySql tables and makes a table consisting of those two tables contents. Here it’s description:

    MySQL Join Two Tables Software 7.0 – Download

    Combine (horizontally) two MySQL tables into one based on a common column of data from each table. The original two tables are not altered but a new table is created with the results.

    Download here. Secure-order personal license for product here.

    Check out other software at http://www.sobolsoft.com

    _________________________________________________________________________________________

    I don’t think this will work however because of the multiple references to wp_users, and bb_users.

    I just thought of something, would it work if I changed apltest’s users table to be called wp_users(or bb_users)(along with changes all references to the users table in the APL code to wp_users)?

    Thanks for your input.

    8D

    #70328
    firstangel
    Member

    It all went well until…

    I can log into both as admin fine using the same username and password, so integration worked well, BUT, if I log into the forum I have to then log into the WP too, and vice versa, it doesnt do both at once.

    I try and go to the post thats there to read it and it takes me to my WP 404 page.

    The intial welcoming message that comes with BBPress is at http://1stangel.co.uk/art/friends/topic/your-first-topic

    My WP is http://1stangel.co.uk/art and the BBPress is at http://1stangel.co.uk/art/friends

    I followed the video really carefully :(

    So two problems. One pretty major lol

    #63389
    mikeumus
    Member

    Here are two links to the whole apltest database(2.jpg starts off down the table list where 1.jpg left off):

    http://i177.photobucket.com/albums/w220/mikeumus/2.jpg

    #63388
    chrishajer
    Participant

    Can you take a screenshot of the listing of tables in the two databases, or at least the database you want to integrate with?

    #63387
    mikeumus
    Member

    So I logged into phpMyAdmin and did not see anything that looked like table prefixes, but I’m new to this. I saw two databases and this is what one of their structures looked like:

    Table Action Records1 Type Collation Size Overhead

    benchmarks 6 MyISAM utf8_general_ci 2.3 KiB –

    _____________________________________________________________________________________________

    All I need to do is make it so that users don’t have to create two accounts to access the Tournaments section of the site.

    #63386
    chrishajer
    Participant

    If your _config.php does not have a table prefix specified, that means it’s hard coded in the software, or there is none. (oscommerce is like that: no table prefix.) Can you look at the database with something like phpMyAdmin and see if there are tables with no prefix, or if there are some for this software all with the same prefix?

    #63385
    mikeumus
    Member

    And how would you get that relationship?

    More direction please. 8)

    I’m trying to link my wonderful WordPress blog and bbPress Forum(live @ http://www.l4dt.com/) with some wonderful tournament management code(testing, but live @ http://www.a-mnow.com) and have already quite shyed away and scared myself at the thought of trying to connect any two databases, so direction at all would be great.

    Here’s what the tournament management _config.php file consists of:

    _config.php

    _______________________________________________________________________________________

    <?php

    //This is the new config file, almost all settings have been moved to the database.

    //You no longer need to edit this file,

    //unless the installer is not able to edit this file because of permissions.

    //Just run the installer at /install/install.php

    //Database server connection settings

    $database = ‘mysql’;

    $database = ‘apltest’;

    $database = ‘?????????????????’;

    $database = ‘apltest’;

    $database = ‘p50mysql71.secureserver.net’;

    //Do not change strict_mode, unless you know what you are doing

    $database = -1;

    ?>

    _______________________________________________________________________________________

    ^ There is no table specification!? wtf, but that’s not how you link databases, by giving them the same table prefix, right? But does it have to do with the table(s)?(I’d think so, but that’s all I can fathom)

    _______________________________________________________________________________________

    Here is the link to the site which gave me the tournament management code, “Autonomous LAN Party”:

    http://www.nerdclub.net/alp/

    _______________________________________________________________________________________

    Any hint at making that relationship would be most excellent.

    Thank you for your time and input.

    8D

    #4829
    stevedrum
    Member

    hello. i just want to check something… before i go and do it and mess everything up.

    askimet has caughts loads of spam comments on my forum, which is great, but they are still in the database. i would like to remove them completely.

    i reckon that this is the correct entry, but does anyone know for sure?

    delete from bb_posts where post_status = '2';

    #71832

    Hey!

    I just need a CMS and forum functionality with possible solution for added accounts where they can have access to certain content like download links and I want the login credentials to be same throughout the site. This way I will make everybody a account and they will then need to login into the account even for posting comments.

    Either I use some plugin (if it exists) or write my own code that can use the same username and password from the WP or bbPress database. I think that is pretty much feasible but I am concern about the security as I am not an advanced user.

    Please guide in some direction.

    #71570
    Malice
    Member

    Obviously I’m not sure, I’m just wondering :)

    #71698
    Malice
    Member

    That sounds like very good news!

    Always found the url.com/forum/forum/ a bit wicked :)

    #71697

    It would be nice if the /forum/ could be totally removed :)

    …and to be given the option to be changed to be the name of the forum you are viewing when viewing a topic, similar to WordPress…

    #71696
    ganzua
    Member

    The main difference that is coming is the ability to change the directory names, e.g…

    http://example.org/forum/first-forum

    Can potentially be…

    http://example.org/fora/first-forum

    It would be nice if the /forum/ could be totally removed :)

    #71826
    chrishajer
    Participant

    I disagree on the WordPress page function not being powerful enough to understand parent/child. It always seems to work for me. For example, check this page:

    http://www.woods-metal-shaping.com/machine-shop/machining/risers/

    Those are WordPress pages, grandparent is machine-shop, parent machining, child risers. Check the left nav for the current page highlighted, and check the top tabs for the grandparent highlighted. So, it’s certainly possible to do whatever you want with the current class in WordPress.

    On this site, when you are on the blog page, they are probably just using the WordPress current_page_item class to highlight (home, about, documentation, blog, download.) When you click forum, you go to bbpress. So, in your bbPress template, you hard code that nav item as current. I’m not certain how the extend section works, if it’s bbPress or WordPress.) But, basically, you hard code current for the forum/forums/bbpress tab since once you click it, you’re outside WordPress.

    Now, with integration, and including the WordPress nav, I have no idea how it would work. I always thought if you had a Page called “forums” and then you installed bbPress in a directory called “forums” that the directory will override the WordPress Page, so the forum is shown, but I don’t know what happens in the nav, i.e. if WordPress still thinks you’re on a Page called “forums”.

    HTH

    #4815

    I know this is a question geared more towards the WordPress.org forums, but because it also could be a bbPress integration question, I figured I’d post it here.

    Case:

    1.) When you are within the Blog area of the site, that the Blog tab always displays a “current” class.

    2.) When you are within the bbPress/Forum area of the site, the “Forums” tab also always shows “current.”

    To my understanding, the WordPress page function isn’t powerful enough to understand the parent/sub relationship. Curious if anyone knows of a way within WordPress to make this act in a similar fashion apart from hard-coding it. I don’t believe the WordPress.org site is hard-coded that way, but of course I could be wrong.

    #71229

    johnhiler, you are awesome. that is exactly what he is asking. =)

    #71812

    Oops! My bad :) When you said

    Would a BB version be helpful?

    I didn’t re-read the whole thing.

    #71695
    Sam Bauers
    Participant

    Well, for what it’s worth it doesn’t look like I’ll be changing any filenames. The main difference that is coming is the ability to change the directory names, e.g…

    http://example.org/forum/first-forum

    Can potentially be…

    http://example.org/fora/first-forum

    Or some other langauge. Also there are going to be a few additional permalink styles like…

    http://example.org/post/27/edit
    http://example.org/new

    And I’m experimenting with URL driven intersections, so…

    http://example.org/tag/ice-cream/tag/chocolate
    http://example.org/forum/support/tag/alpha/search/release+date

    …might be something we see in the future.

    The newer styles are very hard to detect with existing functions which are available to plugin devs, but I am trying to supply the tools required for easy detection and interaction with the new setup.

    #70087
    Stephanie Leary
    Participant

    I’m having the same problem with a new 0.9.0.4 installation. In addition, I have an error message in my Latest Activity box on the Dashboard:

    bbPress database error: [Unknown column 't.topic_id' in 'on clause']

    SELECT p.* FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_status != '0' AND t.topic_status = '0' ORDER BY p.post_time DESC LIMIT 5

    #71810

    Regarding anomaly #1, WP standard does have both URL and site URL, so that’s kinda ‘WPmu is bad’ in this instance.

    About the rest … MRH. I’m a little lost. Yes, please do tell us what BB version you’re using :)

    #4811
    MrPeteH
    Member

    I’m a not-quite-noob on WP/WPmu, and a total noob here on bbPress. I’m attempting my first integrated install, from scratch. WPmu latest (2.7 trunk as of a couple weeks ago) and bb 1.0 alpha 6. I thought I’d share a new-user experience… knowing that this kind of stuff is hard to remember later.

    I’m wanting integration of users and logins, and went through the install with that in mind.

    Anomalies, strangeness and bugs found:

    1) It asks for both the site URL and blog URL. WPmu doesn’t have both items, so that’s confusing. Should mention that the same value can be copied in.

    2) It doesn’t suggest the URL needs “http://&#8221; attached until after you save settings and get an error.

    3) [suggestion] why not ask for the location of the WP/WPmu install, and pull the keys etc from wp-config.php??? That would save a ton of typing and confusion.

    4) Once I got everything entered, it let me login ok… HOWEVER:

    5) It quickly LOST all my settings and the database appeared broken. Here’s how:

    * I clicked on “Admin” to go to the admin panel

    * Went to Settings->WordPress Integration

    * Set up role mappings and saved

    * Either at that point, or with one more click (Save in User Integration), I was suddenly locked out and getting mysql connect errors in the header.

    * Examining the page I was on showed the “advanced database settings” had defaulted to different info: apparently it used my admin login (user admin) rather than the WP db user/pass I had provided.

    * It was impossible to reset this info on that page due to the DB connect error. [suggestion: maintain ‘admin’ login/pw in a bb_* table for emergency admin use of the WP connection breaks!]

    * Confusingly, the DB info in bb-config.php is correct and I could not find the (wrong) wp DB info in any text file. Presumably it is stored in the bb-* database?!

    My workaround, which is now in use: hand code the settings ($bb->user_bbdb_user etc) into bb-config.php. That works.

    Bottom line: either the integrated installation process, or perhaps the settings->Integration page, is busted.

    Hope that helps!

    [PS: I’m the author of the wptuner performance analysis/debugging plugin for WP/WPmu. Would a BB version be helpful?]

Viewing 25 results - 25,751 through 25,775 (of 32,516 total)
Skip to toolbar