Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,526 through 31,550 (of 32,431 total)
  • Author
    Search Results
  • #52945
    mistainu
    Member

    an earthquake that has “broken” some cables. so Australia, East and South-East Asia are having a hard time connecting. depending where the website’s server is, loading time takes ages. this site itself is taking me a whole half minute to load a page. (we’re drifting off topic here) =P

    #53077

    In reply to: Problem?

    kahloesque
    Member

    /home/aless/public_html/forum/ –> bbpress

    /home/aless/public_html/blogs/ –> WPMU

    /home/aless/public_html/projects/ –> WPMU

    /home/aless/public_html/ –> TXP

    Okay, so missing files was the program, go figure. Now I have a totally different problem. Now, everytime I click on something in BBPress (i.e. go to create a new topic) it brings up a TXP error page. I can get to the screen where I can write my title and the body of the message but when I go to add it, it brings up the TXP error page. I’m not entirely sure what to do. Thanks. :)

    #53076

    In reply to: Problem?

    chrishajer
    Participant

    Sorry, I just meant, where are the forum, WPMU and TXP all installed?

    Is it like?

    /home/aless/public_html/forum/ for bbPress

    /home/aless/public_html/txp/ for TXP

    /home/aless/public_html/wpmu/ for WPMU

    Can you verify that all the files made it up when you uploaded them? Like, when you FTP in, can you get a listing in the forum folder that looks like:

    bb-admin

    bb-cache

    bb-edit.php

    bb-images

    bb-includes

    bb-load.php

    bb-login.php

    bb-post.php

    bb-reset-password.php

    bb-settings.php

    bb-templates

    config.php

    edit.php

    favorites.php

    forum.php

    index.php

    my-plugins

    my-templates

    profile-base.php

    profile-edit.php

    profile.php

    register.php

    rss.php

    search.php

    sitemap.bb.xml

    statistics.php

    tag-add.php

    tag-remove.php

    tags.php

    topic-resolve.php

    topic.php

    view.php

    Maybe something is missing there? (you might not have my-templates or my-plugins – those were created later)

    Does the bb-includes directory have permissions of 0755 or

    drwxr-xr-x ?

    #52332
    willdayble
    Member

    Yeah, I needed about 80 megs of memory for this particular script, luckily my host upped it while I ran it.

    jaim3, perhaps note that somewhere in a readme, for the not-so-smart users like myself. :)

    #53074

    In reply to: Problem?

    chrishajer
    Participant

    Sounds like your path is wrong in config.php maybe. Can you describe your directory structure, and then what does this line in your config.php say?

    $bb->path = '/forum/';

    It should have the preceeding and following slash there.

    #1192
    #52751
    bbolman
    Participant

    I understand. I look forward to the codex.

    #53054
    Trent Adams
    Member

    That will be it. I will have to see what code you add to bb_head and manually put the php function I thinks!

    Trent

    #52056

    In reply to: users’ email address

    spencerp
    Member

    Yeah, I’m not sure why, but while I was talking with GaMerZ on Live Messenger, he said my blog spit out an error:

    failed to open stream: No such file or directory in /home/blah/username/public_html/wp-content/plugins/

    bbpress-integration.php on line 28

    I had opened that file, and that was the line .. =/ Not really sure what, or why it was doing that, but.. after I fixed that line.. GaMerZ said there wasn’t anymore errors displaying..

    spencerp

    /I never seen that error on my site, but some how he did lol.. =/

    #52750
    Trent Adams
    Member

    We have a bbPress docs (codex) in the works and that will be something that we can expect early this year. Right now, it is just getting all these projects rolled out. bbPress has only ‘officially’ been released for a couple of months now!

    Trent

    #53048
    Trent Adams
    Member

    So10, did you see my post (2 up from your last one)? :-)

    Trent

    #53068
    ardentfrost
    Member

    get_top_tags($recent, $limit) will return an array of tag objects… each object contains the tag ID, tag (tag all lower case), raw tag (tag how it was typed), and tag count (how many times the tag is used). To get the link to a specific tag, you use get_tag_link(). You’d want to use the get_top_tags function like this: get_top_tags(false, X) where X is the number of tags you want displayed.

    You can also pull the tags straight from the database. Here’s the code used in functions.php:

    $tags = $bbdb->get_results("SELECT * FROM $bbdb->tags ORDER BY tag_count DESC LIMIT $limit")

    I’d take out the limit part if you want all the tags. Then, if you want a drop down menu, you can just do this (this is from my head and untested, so it might not work if copy and pasted):

    if(!empty($tags) ) :

    echo '<select name="userid" id="userid">';

    foreach( $tags as $tag) :

    echo "<option value='$tag->raw_tag'>$tag->tag</option>";

    endforeach;

    echo '</select>';

    else:

    echo "No tags exist";

    endif;

    Then you just gotta figure out how to either redirect to the desired page using POST data or something like that. Not exactly sure how I’d go about it.

    #52943
    ardentfrost
    Member

    An earthquake in Taiwan knocked out my box in Atlanta? :)

    Run a tracert on the server and paste it to me ( tracert www.rayd.org ). A lot of China is blocked off at the firewall due to spammers, so if you give me that info I should be able to make it available to you.

    #52292
    d3x7r0
    Member

    I just found a small issue with this plugin: when no title for the message is given it still sends the message but the link to read it is invisibe (since it’s just <a></a> with nothing in between.

    #52942
    mistainu
    Member

    @ardent: i can’t access your forums, i’m cut off from certain servers due to the Taiwan 7.1 Quake. :( i’d love to try your plugins but i can’t, maybe in 3 weeks…

    #52995
    d3x7r0
    Member

    I just took a look at both codes and noticed that in the onlinelist plugin you’re using – 300 and on this one – 3600, notice the diference? :P

    #1189
    spencerp
    Member

    The suggestion for this came up on the wp-forums list a while back, but.. nothing was posted on the “How-To” for it..

    I was just wondering, what would be the tags “call” for making this possible? Here’s an example of what I’m talking about…

    <li><h2>Browse By</h2>

    <select name="archivemenu" onChange="document.location.href=this.options[this.selectedIndex].value;">

    <option value="">Tags</option>

    <?php tag_heat_map(); ?>

    </select>

    What’s the actual “call” for the tags, to have them all be listed there? Thanks in advanced.. ;):)

    spencerp

    #53064
    Trent Adams
    Member

    Why not run an absolute path?

    require_once(/var/www/html/mysite_function.php);

    Does that work?

    If it is root bbPress folder, you could use what is in config.php

    require_once( BBPATH . 'mysite_function.php' );

    Should be pretty easy……?

    Trent

    #1188
    mouse8b
    Member

    On my site, I have a file of general purpose functions in the site root called “mysite_functions.php.” I have WordPress installed in /wordpress, and bbPress installed in /wordpress/bbpress. I have altered wp_setcookie() and wp_clearcookie() in a WordPress plugin. In those two functions, I use require_once('../mysite_functions.php');, and then the function call. It works fine.

    The problem comes in the bbPress plugins. I have a plugin overriding bb_login() and bb_logout(). In each of those functions I use the exact same code to call mysite_functions.php, but I get “failed to open stream: No such file or directory in [file path] [line number]”

    In either case, the functions are unchanged with the exception of appending:

    require_once("../mysite_functions.php");

    call_my_function();

    #53046
    willdayble
    Member

    Alrighty, just to be a dumbarse, I’d love to use this plugin but I’ve NO idea how to do the “Upgrade the installation of bbPress to the latest version from the code repository” bit.

    I’ve recently migrated from phpBB over to BBpress, with all my posts and topics thankfully intact… but I’ve some forums I need to hide.

    Is there no way to hide forums based on the user level at all?

    #49797
    willdayble
    Member

    … the problem here is you can delete a forum but not the post entries in the database that are in said forum… :/

    #52051

    In reply to: users’ email address

    satellio
    Member

    Cool! But how come some users’ email addresses show as just “1”?

    </tr> <tr id='user-3'>

    <td>3</td>

    <td><a href='http://sostomates.fr/bar/profile/3'>Kronenbourg</a></td>

    <td><a href='mailto:1'>1</a></td>

    <td>2006-12-21 10:54:46</td>

    <td><a href='http://sostomates.fr/bar/profile/3/edit'>Edit</a></td>

    </tr> <tr id='user-25'>

    <td>25</td>

    <td><a href='http://sostomates.fr/bar/profile/25'>Oliv</a></td>

    <td><a href='mailto:1'>1</a></td>

    <td>2007-01-01 18:32:56</td>

    <td><a href='http://sostomates.fr/bar/profile/25/edit'>Edit</a></td>

    #52595

    I’m not sure, but it looks like a bad .mo file. The Plural-Forms line of the .po file should end with a semicolon (;).

    #52993

    If you are inactive for more than 5 minutes, you’re marked as offline. So if you go to the forum again later your last_visit is the time when you were there the time before.

    (ehm .. sry… it’s hard for me to describe in english)

    d3x7r0:

    Strange … for me it works at the moment. Maybe some time problems … try removing the -3600 from line 53.

    Just remember, this is beta! (maybe… alpha :D )

    #51833

    In reply to: Plugin – Member List

    ardentfrost
    Member

    yeah, so, this is what’s in functions.php (core file)

    function bb_get_option( $option ) {

    global $bb;

    switch ( $option ) :

    case 'uri' :

    return $bb->domain . $bb->path;

    break;

    ...

    So, all it does it return those exact two things you posted concatenated together. It makes no sense for the developed link to have a /forums/ in it.

Viewing 25 results - 31,526 through 31,550 (of 32,431 total)
Skip to toolbar