Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 29,101 through 29,125 (of 32,499 total)
  • Author
    Search Results
  • #60191
    neyoung
    Member

    I found this to trace functions. But I don’t have access to the php.ini file so there’s no way I can install it :(

    #60190
    neyoung
    Member

    I’m using wordpress mu so I’m sure that there is a big discrepancy :(

    Is there a way that I can trace which functions are called when a post is made? That why I can follow the execution with and without the wordpress functions loaded and find out what the difference is?

    #60470
    chrishajer
    Participant

    regarding your setup

    1. did you install phpMyAdmin yourself, or is it part of a control panel?

    2. did you edit any config files by hand?

    3. what do your installation directories look like (i.e. where did you install phpMyAdmin in relation to the other directories you have for your WP and bbPress installations?)

    is it something like

    /home/llab/public_html/wordpress/

    /home/llab/public_html/wordpress/forums/bbpress/


    (why the extra directory here ^?)

    /home/llab/public_html/phpMyAdmin/

    Is your config file for bbpress in the forums directory or the bbpress directory? (IMPORTANT)

    I think the forums directory is extra, and maybe that’s causing problems?

    #60456
    benbeltran
    Member

    Try Using XAMPP, it works for windows :)

    #60188
    neyoung
    Member

    ok. I’ve figured out whats causing the problem. It comes down to the Default Role Plugin. There is nothing wrong with the plugin itself other than the fact that it relies on wordpress functions. Thus you need to load wp along with bbpress. To do so I have the following added to the top of my config.php file.

    require_once('../wp-blog-header.php');
    define('WP_BB', true);

    With the two lines in the config.php file the allow images plugin does no work. I even tried disabling the Default Roles plugin and leaving the 2 lines in config.php to make sure the plugin wasn’t the culprit. If I remove the two lines the Allow Images plugin works as expected.

    I don’t know much, but I could take a stab at whats happening. Is it possible that when a reply/topic is made, bbpress is calling wordpress functions instead of bbpress functions?

    #60411

    In reply to: Inline Images?

    kdma
    Member

    Would you mind giving me a quick instruction on how to do that? I mean, are we talking a simple search and replace get_option() to bb_get_option() in particular files? or even one file? If that’s the case, easy enough, so be it. but..? :)

    In all honesty, I really just want to be able to have people upload a zip file and have it extract and post thumbnails to a thread. Anyone should/would be able to do this. Sadly with NGG, you can only have the admin do it. :(

    Are there any other mods out there that allow this?

    #60445
    chrishajer
    Participant

    And, the previous one, 20 seconds :)

    #59909
    benbeltran
    Member

    @_ck_: Wasn’t there a plugin already to change the style unread posts? I think it could be easily adapted.

    but then again,

    @Trent: Good work :P

    #59882
    benbeltran
    Member

    Practice makes perfect and you have a great headstart. I’ll talk with my associate about shell access and everything and see if we can reach a nice agreement :)

    #60092

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    I don’t want any kind of “phone home” plugin as that can be accidentally considered spyware as that’s not my style at all. I’d rather do it passively. I’ll eventually make a way for people to submit new sites or manually update stats if they need to.

    I’ve taken the fake numbers game into account.

    Anyone with a sharp increase in members or posts after each month will be examined carefully ;-) I’ll remove anyone permanently that I catch “faking”. It’s kinda silly anyway, it’s not like you get anything for being higher.

    #60090

    In reply to: top 100 bbPress sites

    fel64
    Member

    posts and users over time is the only thing you don’t have – and all I meant was since launch, anyway. Everything else you do have.

    #60435
    wpitn2shape
    Member

    It works now to style login.php in my template folder, NOT login-form.php, but I swear it didn’t work before. I had put the same code in both of those template files. Weird.

    #60434
    wpitn2shape
    Member

    If when I put my WP log in form into bb-login.php and when that redirects to wp-login.php but shows a 404 (when the file is there), should I go to WordPress MU forums to ask for help?

    >>>>

    OK It also happens when I put bb-login.php into the code instead of wp-login.php, but I’m sure it’s still a WP/MU thing.

    Putting my WP login box on the sidebar of the main page of the forum works however, so what I really need is to be able to change the log in message at the bottom of those pages.

    #51642
    henrybb
    Member

    This is still happening. If a user is marked a bozo once, there’s some nook in the system that never allows him to post again without yelling “spam” unless you remove the meta record from bb_usermeta. Really annoying.

    Also anyone know why bozo status isn’t just a checkbox in the Kakumei theme??

    EDIT: Removing the meta tag didn’t work either :(

    #59908
    Trent Adams
    Member

    From our fearless leader!

    /*
    Plugin Name: Recent Stickies
    Author: Micheal Adams
    Description: Adds a class to recent sticky posts
    */

    function recent_sticky_class( $class, $topic_id ) {
    $topic = get_topic( $topic_id );
    if ( !$topic->topic_sticky )
    return $class;

    if ( get_topic_start_time( 'timestamp' ) < time() - 604800 )
    return $class;

    $class[] = 'recent-sticky';
    return $class;
    }

    add_filter( 'topic_class', 'recent_sticky_class', 10, 2 );

    Trent

    #60085

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    @Trent Oh that’s weird, how did I miss that one! Thanks!

    @chrishajer right now it’s ranked based on activity, not prettiness but user voting for 1. style 2. content will come eventually

    @fel64, I might release it under creative commons after I fix it up some more. There are some problems – excluded sites, repeated sites, etc. Plus I want to add more stats to them like tie them to alexa data, etc. I’m just low on time and have too many projects going on :-(

    I need to figure out an anonymous donate system too, all this is starting to chew into my regular work!

    #56553

    In reply to: Strut Your bbPress!

    fel64
    Member

    You administrate/use keys on the technorati forums? Anything particular you had to do? The auth and cookie code you could just plug, obviously, but did you do any other major work?

    #60081

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    Congrats you made the top 100 ;-)

    Is anyone seeing the snap icons in the top100 list? Are they just blocked for me or for everyone? I think snap decided they didn’t like me :-( Worked for a few hours and then disappeared.

    #60184
    fel64
    Member

    Does disabling the plugins one by one not work?

    The image plugin seems to be somewhat messed up right now; it breaks use of code on my forum and sometimes I have your problem, too. Not sure why. Hopefully mdawaffle will update it soon.

    #60080

    In reply to: top 100 bbPress sites

    fel64
    Member

    If you’re going to list Loinhead, you might as well put in some numbers. :)

    http://forums.loinhead.net/statistics.php

    #59881
    _ck_
    Participant

    *blush* definitely not the best. Most active at the moment, but in a year with 10,000 bbPress users and 100+ developers, no one will even remember my nickname. Heck I can’t even get “admin can post anything” to work right, it’s driving me crazy.

    Actually I was going to put a call out for free hosting as my dreamhost account expires sometime near the end of this month.

    But I need an account with shell and a decent server so it’s tricky to find cheap & stable. I hate moving my site ever other month but I always learn something from the move when it breaks code.

    #60079

    In reply to: top 100 bbPress sites

    _ck_
    Participant

    I am pleased to have something to finally show for all my searching efforts.

    This list is obviously unofficial and just in beta test, I am still adding features and making corrections:

    http://bbshowcase.org/forums/view/top100

    http://bbshowcase.org/forums/view/top1000

    There are roughly 1,000 sites listed, with the top 100 to showcase either sheer number of members/posts or user votes for style, etc.

    Right now they are listed in order of total members (but you can sort). I will have it eventually list by a weight between members, posts and votes for style.

    Also there will be user voting and preview thumbnails of the sites. (I was trying to use snap previews but it suddenly stopped working for me, so they might not have liked hundreds of links on a page, LOL – they are slow anyway and I want to learn to do snapshots via crawling code anyway)

    Some interesting observations/conclusions from all my work on this (whew):

    1. There are roughly 1000 public bbpress sites in existance

    2. A great deal (>~80%) of these sites have less than double-digit members, hence I consider them “micro forums”

    3. bbPress is being adopted worldwide in an impressive variety of countries and languages

    4. SEO’er/search engine spammers/made-for-adsense makers seem to have found and love bbPress (unfortunately)

    5. There are some really amazing designs out there

    6. Apparently the people that participate on bbpress.org are a very small fraction of the people using bbPress!

    7. At least several dozen sites had installed bbPress and uninstalled it a few weeks later :-(

    #60430
    neyoung
    Member

    1.) The easiest way to prevent the user role from displaying is by adding the following to your style.css file

    .threadauthor small a {
    display: none;
    }

    2) No idea… :)

    #60429
    Sam Bauers
    Participant

    Using this plugin:

    https://bbpress.org/plugins/topic/50

    You can customise what appears under the user’s name.

    Don’t worry about the first section of the plugin, just skip to the last field. Entering a single <br /> tag in that field will stop anything displaying.

    Unfortunately the plugin can’t change “keymaster” to something else, for that you will need to hack or use a new language file as Detective suggests.

    #60124
    chrishajer
    Participant

    In your admin panel, under the Content tab, is there something for Bozos (I can’t remember since I turned off the bozo thing on my forum, it was a big PITA)? Mine admin panel under content shows topics, posts and forums, but I thought there used to be one for bozo.

    If so, look there. If not, in the first page of the admin panel, is there a “recently moderated” section on the right sidebar? Are the posts there?

    I know the users are NOT bozos, but I still suspect they are marked as bozos, so the post shows when they look at it when they’re logged in, but no other users will be able to see their post. To them, it looks normal, to everyone else, they’re invisible.

    Here is something I posted earlier this year about bozos:

    https://bbpress.org/forums/topic/fix-or-remove-bozo-function-before-it-kills-bbpress?replies=5

    Related:

    https://bbpress.org/forums/topic/problems-with-posting?replies=3#post-5151

    That’s my story and I’m sticking to it. :D

Viewing 25 results - 29,101 through 29,125 (of 32,499 total)
Skip to toolbar