Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,551 through 10,575 (of 11,584 total)
  • Author
    Search Results
  • #61550

    In reply to: How Do I Do This?

    chrishajer
    Participant

    > 1. I’d like to add our logo with either a button

    > that says “Home” or something indicating back to

    > the main page. I tried to add the logo included

    > in a banner, but it wasn’t aligned correctly.

    Try inserting it again so people can see it and help you get it aligned properly

    > 2. I’d like to make the green lettering a bolder

    > Color, maybe even change the size of the font.

    In your theme, find this around line 21 and change to whatever you like:

    a { color: #2e6e15; text-decoration: none; }
    a:hover { color: #006400; }

    You can change the color and font weight and size there.

    > 3. I’d like to eliminate “Latest Discussions”

    > entirely.

    In front-page.php, on line 11, change this:

    <?php if ( $topics || $super_stickies ) : ?>

    to this

    <?php if ( 0 > 1 ) : ?>

    That originally said “if there are topics or super_stickies” then do the rest, which is show the latest discussions. Changing it as shown will cause it to never show “Latest Discussions” because zero is never greater than one (the statement always evaluates false so the code block is skipped). If you want to actually rip out the code that would display the Latest Discussions, you would delete lines 12 to 41 in the file front-page.php in your theme. Those are the line numbers in the stock file, your line numbers might be different. Delete from

    <?php if ( $topics || $super_stickies ) : ?>

    to

    <?php endif; // $topics or $super_stickies ?>

    inclusive.

    > 4. This message board is huge…Is there a way

    > to anchor each city so we can put links on a

    > page on the main site. Example: “Click Here To

    > Go To the Chicago Forums” and they are taken to

    > the Chicago part of the board.

    I have to think about that one. I imagine there’s a way to do it, but I haven’t ever done it. Since the name of the city is not a link, you’d have to make that a link to that category, and then suppress the listing of the child forums on the front page. Or, you could just create a new front-page.php that links to only those parent forums. Can you post a link to a screenshot of how you accomplished the different cities like that? Something from your admin panel, or a link to the post here that guided you toward separating things into cities like that?

    WAIT: is it this that allowed you to separate the cities? I think livibetter could probably help you do what you want there since that was their code initially.

    #58209

    In reply to: bbSync

    vafaaaan
    Member

    Yess .. i did it..

    Wrote some lines that gets a posts TAGS .. how do i proceed ?

    <?php
    //
    // Fetch a WP posts tags by Kent
    //

    $db_type = 'mysql';
    $db_host = 'localhost';
    $db_name = 'xxxxx';
    $db_user = 'xxxxx';
    $db_pass = 'xxxxx';

    // Just picked one, for testing.
    $post_id = "6";

    @mysql_connect($db_host,$db_user,$db_pass) or die ("Couldnt connect to database!");
    @mysql_select_db($db_name) or die ("Couldnt select the requested MySQL table!");

    $fetch_post_tags = mysql_query("
    SELECT
    wp_posts.ID AS POID,
    wp_term_relationships.object_id AS RELID,
    wp_term_relationships.term_taxonomy_id AS TAXID,
    wp_term_taxonomy.taxonomy AS TAXONO,
    wp_term_taxonomy.term_id AS TAX_TERID,
    wp_terms.term_id AS TERID,
    wp_terms.name AS HOT_TAG_NAME
    FROM
    wp_posts,
    wp_term_relationships,
    wp_term_taxonomy,
    wp_terms
    WHERE
    (wp_posts.ID = wp_term_relationships.object_id AND wp_posts.ID = '$post_id')
    AND
    (wp_term_taxonomy.taxonomy = 'post_tag' AND wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id)
    AND
    (wp_term_taxonomy.term_id = wp_terms.term_id)
    ORDER BY wp_terms.name ASC
    ") or die ("Cant fetch data!");

    if (mysql_num_rows($fetch_post_tags) > 0)
    {
    $rowid = 1;

    echo "<table border="1">";
    echo "<caption>WP posts tags</caption>";
    echo "<tr style="background-color: #DDEAD5;">";
    echo "<th scope="col">Post ID</th><th scope="col">Tag</th></tr>";

    while ($blog = mysql_fetch_array($fetch_post_tags))
    {

    if ($rowid == 1)
    {
    echo "<tr><th scope="row">" . $blog['POID'] . "</th>";
    }
    else
    {
    echo "<tr><th scope="row">&nbsp;</th>";
    }

    echo "<td>" . $blog['HOT_TAG_NAME'] . "</td></tr>";

    $rowid++;
    }

    echo "</table>";
    }
    else
    {
    echo "Found nothing!";
    }
    ?>

    Please dont kill me.. im no pro coder.. :)

    #61548

    In reply to: How Do I Do This?

    chgogrrl99
    Member

    Ok…I’m Stuck.

    This is what I feel I have left to do to my forum…if anyone can help.

    1. I’d like to add our logo with either a button that says “Home” or something indicating back to the main page. I tried to add the logo included in a banner, but it wasn’t aligned correctly.

    2. I’d like to make the green lettering a bolder Color, maybe even change the size of the font.

    3. I’d like to eliminate “Latest Discussions” entirely.

    4. This message board is huge…Is there a way to anchor each city so we can put links on a page on the main site. Example: “Click Here To Go To the Chicago Forums” and they are taken to the Chicago part of the board.

    I know I have a lot of questions, but if I can get the answers to them, I can go to bed.

    Oh, and check out the forums some of you have been so great about helping me with….

    #58197

    In reply to: bbSync

    vafaaaan
    Member

    hmm.. posts gets n´s all over them…

    projects. Please check back later for for more news regarding this.
    n
    nCode test
    n n< ?php n// Testing.. n if (function()) n { etc...

    [code='php']
    n< ?php
    n// Testing..
    n
    if (function())
    n
    {
    etc…

    #61601
    chrishajer
    Participant

    If you post the URL maybe someone can help.

    If you create another user and log in / log out, does the same thing occur. or is it only as admin that the problem occurs? If it’s only as admin, it’s going to be hard to test by anyone other than you. If it happens to other users (like if you create a test user) then it can be seen by others as well.

    #61648

    In reply to: Suggestions and misc

    vafaaaan
    Member

    hmm seems working .. have wp cats and stuff to the right .. same theme :)

    forum root is.. ehh.. root :( cant find where to change that to forums.php

    Update: Found at the top in my-templates/topic.php and forum.php .. changed <?php bb_option(‘uri’); ?> to forums.php and it works fine :) i feel happy

    Update2: changed in my-templates/footer.php. Removed almost all code

    <?php do_action('bb_foot', ''); ?>
    <?php wp_footer(); ?>
    <?php
    include($_SERVER['DOCUMENT_ROOT'] . '/myname/wp-content/themes/themename/footer.php');
    ?>
    </body>
    </html>

    So it runs with my WP theme footer :)

    Need to slice up my WP header so i can do the same

    Im just hacking and testing so if there is something i can do better say it ;)

    Looks a bit weird to have two admin/logins at my top right corner :D

    Update3: Since i had forums.php i change in config.php

    // What are you going to call me?

    $bb->name = ‘Forum index’;

    Looks better :)

    Keep up the good work developers!

    #61632
    guerroloco
    Member

    Perfect, that’s it!

    I thought I’d tried this statement already, but evidently not.

    Thank you!

    #61631
    livibetter
    Member

    Try forum_name($topic->forum_id);

    #61624

    In reply to: bbPress on localhost

    Sam Bauers
    Participant

    Better to use the latest version from trunk than those diff files if possible.

    #2620
    guerroloco
    Member

    Just wondering if there’s an easy way to add the forum title for each topic on the “latest discussions” list on the front page. i.e. I want to add an “In forum”: column to the latest discussion list table.

    Something in the topics loop in front-page.php ought to do it…. but what? I tried get_forum_name(), but that takes the forum ID. Is the forum ID available anywhere in the $topic var inside the loop?

    #56053
    diniscorreia
    Participant

    Ah, great! I’ve been translating bbPress to portuguese to use on my WPMU+bbPress project and when I try to set the language I get the error as well….

    Anyways, I guess I’ll have to try merging the two PO files.

    @ganzua, I don’t think you really need to define BBLANGDIR – it works because you have already defined the .mo file in WP config file. You get the error *if* you try to define BBLANG. However, if you leave BBLANG as ”, you won’t get the error.

    I actually haven’t tried yet, but I think it make sense.

    #61622

    In reply to: bbPress on localhost

    chrishajer
    Participant

    I think you were bitten by an error that has been fixed in the latest trac release, but still exists in the production release. Take a look through the threads tagged 745:

    https://bbpress.org/forums/tags/745

    745 is the trac ticket where this was discussed. There are lots of workarounds listed in the forums and on trac.

    https://trac.bbpress.org/ticket/745

    Good luck.

    #61531
    joeby
    Member

    That was a good lead, but I downloaded the plugin, and although it shows up (unlike the display-name plugin) activating it has no impact on old registrations.

    I also tried to register a new account “Test User” — the confirmation screen says, “Your registration as TestUser was successful.” No space.

    Although in a wacky twist of fate, the registration did also carry through to WP. And assigned the correct role once the user logged in, albeit with a changed username as indicated above.

    #61503

    In reply to: get some trouble …

    antman313
    Member

    so – tested a lot.

    my blog has now an error:

    WordPress database error: [Table ‘summerdb.wp_post2cat’ doesn’t exist]

    SELECT p2c.category_id AS cat_id, COUNT(p2c.rel_id) AS numposts, UNIX_TIMESTAMP(max(posts.post_date_gmt)) + ‘1’ AS last_post_date, UNIX_TIMESTAMP(max(posts.post_date_gmt)) AS last_post_date_gmt FROM wp_post2cat p2c INNER JOIN wp_posts posts ON p2c.post_id=posts.id WHERE 1 = 1 AND posts.post_type = ‘post’ AND posts.post_status = ‘publish’ AND posts.post_date_gmt <= ‘2007-11-18 15:26:18’ GROUP BY p2c.category_id ORDER BY numposts DESC

    if i try to login in bb-admin like: http://www.summer-breeze-fanatics.de/forum/bb-admin/admin-base.php

    i was redirectet to http://www.summer-breeze-fanatics.de/forum/

    i can login with all my users from wordpress into bbpress.

    i have all things done that was sayed in zhe docu and in this forum.

    in my config.php under bbpress and in the wp-config.php.

    but it doesn’t work very well and i don’t know how to figure out what i do wrong.

    anyone has a tip or a little workaround?

    thanks

    Andy

    #61525
    joeby
    Member

    OK… Here’s the latest. You should know, I’m one step above clueless and very dangerous because of it…

    went to myadmin to play with the database. I searched for capabilities and it returned all my user listings… Since I was nervous about deleting anything, I created a second account and gave it admin access.

    I deleted the entry for the capabilities admin… and it deleted my admin access to wp. It changed that username (admin) to ‘no role on this system’ or something similar. (so I logged in with the other admin account and went back to give the original access again).

    So the net result of that is that I still can’t get at a dashboard with either admin accounts in bb.

    The other file issue was corrected when I changed prettylinks to false. Now I can read posts, edit profile etc. although as mentioned above, still no dashboard access.

    Oh, yeah… Still confused about what I need to edit in the wp plugin to make it work correctly… Unless it IS working correctly since all my wp users could in theory log in and use the bb.

    One other new thing that I didn’t realize was happening… WP usernames with spaces (test user) are not able to log into bb, however WP names without spaces (testuser) are able to log in without difficulties.

    Thanks for the help… Perhaps someone can help me figure out where I went wrong?

    #61477
    mrflowerpot
    Member

    tested again.

    The new post will appear on the main page, but can’t view.

    #2603
    antman313
    Member

    Hi all,

    i’ve installed bbforum (latest version).

    i use WP Version 2.3.1 DE-Edition.

    now – i don’t know how to integrate my bbpress with my wordpress.

    i can’t login into the admin page to crate a now forum topic.

    i don’t know how to set up bbpress into my wordpress.

    i want a link to integrate bbpress.

    can anyone help me?

    how i can set up a new forum topic, integrate it with my wordpress?

    thanks.

    (info.: wordpress Version 2.3.1 DE-Edition

    bbpress: latest.

    www: http://www.summer-breeze-fanatics.de/

    forum: http://www.summer-breeze-fanatics.de/forum/)

    Andy

    #61480
    chrishajer
    Participant

    I didn’t think you could put bbPress and WordPress in the same folder.

    $bb->uri = ‘http://www.areamom.com/test&#8217;;

    $bb->wp_home = ‘http://www.areamom.com/test&#8217;;

    $bb->wp_siteurl = ‘http://www.areamom.com/test&#8217;;

    And http://areamom.com/test/ points to a WordPress installation. So, where’s the bbPress? I did find this:

    http://areamom.com/test/bbpress/ which results in this error:

    Parse error: syntax error, unexpected T_VARIABLE in /home/areamomc/public_html/test/bbpress/config.php on line 29

    That’s right after the mod_rewrite line in the config. Maybe you have an extra single quote there or you forgot the semi-colon in your config? Oh yeah, check this:

    $bb->mod_rewrite = false <– no semi-colon.

    That means this you should add the semicolon to the mod_rewrite line line and then this line should be changed:

    `$bb->uri = ‘http://www.areamom.com/test/bbpress&#8217;;

    #2596
    spacecat4
    Member

    Hi,

    I am running a WP site and trying to install BBpress, but when I run the install.php file, I keep getting the “already installed” error.

    Here are some things I’ve already tried:

    I created a new test directory and installed a fresh WP out of box, and then tried installing BB press–same error

    I checked my databases–the only two I have are my two Word Press DB’s none of which seem to have any “bb_” references to them.

    Any other suggestions? Thanks in advanced!

    Here is a copy of my config.php file that I am using in my test directory:

    <?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘areamomc_wrdp2’); // The name of the database

    define(‘BBDB_USER’, ‘areamomc_wrdp2’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘**************’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.areamom.com/test&#8217;;

    // What are you going to call me?

    $bb->name = ‘Area Mom Forums’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘*********’;

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

    $bb->mod_rewrite = false

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = -5;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘********’; // Example: ‘0123456789ab’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave it as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.areamom.com/test&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.areamom.com/test&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    require_once(‘/public_html/test/wp-blog-header.php’)

    ?>

    #61418
    pwdrskier4
    Member

    You may use my site Snownation. However, it is only a week old and does not have a lot of traffic yet. It is the latest wordpress integrated with the latest bbpress. Let me know if you have any questions.

    #58699
    cyrillsneer
    Member

    I am not exactly proficient at php, I managed to get this working after about 11 attempts more guesstimating more than anything else.

    However the opening of front-page.php just doesn’t look right I have what looks like a statement about topics and stickies opening and closing without anything contained, which makes me think I have done something wrong.

    It would be great if someone could show exactly which lines to move so it is displayed like on http://cutline.tubetorial.com/forums/

    Anyway here is the text….

    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id=”hottags”>

    <h2><?php _e(‘Hot Tags’); ?></h2>

    <p class=”frontpageheatmap”><?php bb_tag_heat_map(); ?></p>

    </div>

    <div id=”discussions”>

    <?php if ( $topics || $super_stickies ) : ?>

    <?php endif; // $topics or $super_stickies ?>

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

    <h2><?php _e(‘Forums’); ?></h2>

    <table id=”forumlist”>

    #58186

    In reply to: bbSync

    fel64
    Member

    Yo Dreamstruck. When you say that you also have bbPress Post 0.41 installed, I hope you realise that bbsync (intentionally) kills its functioning? If it didn’t, you would get duplicate topics.

    I recommend pressing that Migrate button in the bbsync admin, as it will mean that bbsync will work on all topics previously synced with bbPress Post. It would, however, also stop bbPress Post working with that old data, so if you’re (understandably; I am :P) hesitant about bbsync you probably wouldn’t want to do that.

    Cheers muchly, if you hadn’t pointed that out I would have had that error for all time – I entirely forgot to test if the topic was synced before replacing comments. I’ll upload .91 in a few minutes.

    There is unfortunately no way to bulk sync old topics (unless they were done using bbPress Post), as topics can only be posted at the current time (while still using the API) (so you could sync them, but it would flood the forum with out-of-date stuff). But maybe that can be made to work; not in the immediate future, but it’s something that I would also like for my setup so I’ll give it a shot at least.

    Custom fields don’t show up right now, but I could come some functionality to do it for sures. What specifically would you want to happen?

    #58184

    In reply to: bbSync

    dreamstruck
    Member

    I really like this plugin, but I am getting an error on all of my older WP posts. I’m using bbSync 0.9 and bbPress Post .041 with WP 2.2.3.

    What’s happening is that all of my old WP posts have this error showing up right above the comment section:

    Warning: Invalid argument supplied for foreach() in /home/public_html/test/wp-content/plugins/
    bbsync.php on line 465

    All new posts that I make to WP are posting fine to bbPress and this error message doesn’t show up for these new posts. I have about 500 old posts that existed in WP before I installed bbSync or bbPress Post and the error message is showing up on all of these old posts. Is there a way for me to bulk add all of these old post to my bbPress forum? It seems that this error is showing up because these old posts don’t exist in bbPress.

    Thanks…

    #2571
    mikeygyse
    Member

    I’m using the latest version of bbpress, the ‘SuperBold’ theme and I have a problem! The forums all appear on the same line… no indentation separates the ‘containers’ from the forums. From what I can see with FireBug there is NO difference between the containers and forums no difference in terms of CSS at any rate. However with the Kakumei theme it works.

    #60519
    Jaithn
    Member

    i call it like this:

    if ( !defined('BBDB_NAME') )
    require_once(ABSPATH.'forum/bb-load.php');

    the problem started after the integration of wordpress and bbpress…so i don’t know what the problem ist.

    mdawaffe do you have a idea how i can fix this?

    i have one more problem…i can’t add links to my posts…when i post a link in the entry it shows only <a>test</a>…any idea?

    jaithn

    i’m running now bbpress.83 and wpmu 1.3…

Viewing 25 results - 10,551 through 10,575 (of 11,584 total)
Skip to toolbar