Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,951 through 28,975 (of 32,491 total)
  • Author
    Search Results
  • #61051

    In reply to: bb-Bluesands

    Jim S.
    Participant

    I also notice there is a LOT of extra whitespace at the bottom that doesn’t belong there. I’m betting it has something to do with the presence of the theme switcher button interfering, but I can’t say for sure without seeing what code you’re using for the switcher.

    #58126

    In reply to: bbSync

    fel64
    Member

    Hey Joe,

    try adding $bb_cache and $bbdb to the list of globals in your config.php file (as outlined earlier in this topic, or ask if you’re unsure). That seems to cause the error publishing articles. That said, right now I also get an error publishing but it seems to work fine – I’ll look at that when I’ve got my dev machine again.

    The error for comments I don’t understand. Line 105 seems to be a function declaration: https://plugins-dev.bbpress.org/browser/bbsync/trunk/bbsync.php#L105, so how it could be missing an argument I don’t know. Are you using the latest version of bbsync, too?

    #61064
    jolaedana
    Member

    Hi Sam! Thanks for the reply.

    I’ve already tried to chmod the files- I get a “you do not have permission to modify these files” on all the files, no matter what permission level I tried. I’ve got pretty extensive web experience, so that was the first thing I tried.

    I guess for now I’ll go back to the non plugin install- I was just curious if there was something written into the Plugin Manager that caused the file permission settings to be locked. Seems odd that I can’t even overwrite a .gif file!

    Thanks for the overview and clarification. :)

    #61063
    Sam Bauers
    Participant

    The files and folders need to be writable by the webserver user. You may have changed the permissions when you edited the files that exist there already.

    The easiest approach (but insecure on shared hosting services) is to chmod the files.

    chmod -R 777 bbpress-root/my-plugins

    .

    Or you can change ownership on those files to the webserver user, usually “www” or “apache” depending on the setup.

    chown -R www:www bbpress-root/my-plugins

    .

    Remember that the upgrade facility of the plugin browser won’t maintain your manual changes to the plugins. You will need to re-edit the new versions.

    Plugins that are installed normally will happily co-exist with those installed by the plugin-browser. Just keep them outside of the pb–xxxx folder structure.

    #58125

    In reply to: bbSync

    joe12south
    Member

    Would very much love to use this plug-in, but even after moving heaven and earth to find my absolute path on a Godaddy hosting account :-) I am still getting errors.

    When I try to publish a new article I get this:

    Fatal error: Call to a member function on a non-object in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/functions.php on line 997

    When I try to submit a comment I get this:

    Warning: Missing argument 2 for felsynccomment() in /home/content/a/d/m/adminsportzzz/html/wp-content/plugins/bbsync/bbsync.php on line 105

    Fatal error: Call to a member function on a non-object in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/functions.php on line 1216

    This is a completely fresh install of both WP (2.3) and BB, btw. Any help would be greatly appreciated.

    #2486
    jolaedana
    Member

    Hello all,

    I’m using the Plugin Browser by SamBauers.

    I have a few plugins that I was using, and installed through this plugin (great stuff, btw) that I had modified the files on slightly. Main example here is the Page Links plugin- I had changed the page icon graphic to be different colors. I would like to overwrite the file in the Plugin Browser installation of the file, however it tells me I don’t have permissions to overwrite the file- or change permissions on the folder or files inside it.

    Is there an easy work around for this, or should I just go back to the non Plugin Browser version? :) Thanks!

    #61060
    chrishajer
    Participant

    Did you actually use the line path/to/wp-blog-header.php or did you change it to the ACTUAL path to wp-blog-header.php? Something like /home/thewayev/public_html/wordpress/wp-blog-header.php.

    The “path/to/” part is illustrative and should be changed to your actual path for your installation.

    #2485
    andajus
    Member

    When I add the line

    require_once(‘path/to/wp-blog-header.php’);

    to my bbpress “config.php” file in order to give access to WordPress’ functions: my forum doesn’t load and I get the following message instead:

    Warning: require_once(path/to/wp-blog-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/thewayev/public_html/forums/config.php on line 12

    Fatal error: require_once() [function.require]: Failed opening required ‘path/to/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/thewayev/public_html/forums/config.php on line 12

    It doesn’t seem to matter what line I put the code on, and as far as I know I’ve carried out every other integration procedure listed with no problems. Does anyone know what I’m doing wrong?

    #61033
    jthomps
    Member

    I deativated all plugins in WP and reactivated them one by one. Event Calendar 3 is causing the error.

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

    SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_post2cat ec3_post2cat ON ec3_post2cat.post_id=id LEFT JOIN wp_ec3_schedule ec3_sch ON ec3_sch.post_id=id AND ec3_sch.end>=’2007-10-08 00:00:00′ WHERE 1=1 AND (((post_title LIKE ‘%hello%’) OR (post_content LIKE ‘%hello%’))) AND post_type = ‘post’ AND (post_status = ‘publish’ OR post_status = ‘private’) AND (ec3_sch.post_id IS NOT NULL OR ec3_post2cat.category_id!=3) ORDER BY post_date DESC LIMIT 0, 10″

    I am working to resolve.

    Thanks

    #60934

    In reply to: Jump to last post

    mazdakam
    Member

    did not work foe me :(

    #49515

    In reply to: sample plugins?

    Leo Plaw
    Member

    When I figure out how to use Trac, then I WILL fix it. 8รพ

    Unless some one else beats me to it. ;-)

    And seeing as you appear to be familiar with the inner workings of all of this, perhaps you might be the person to do it.

    #61036
    Leo Plaw
    Member

    Thanks Fel64.

    That’s what I ended up doing. I figured out the changes to the function names ect from WP to BB.

    So now I’ve successfully converted the Tiger Sytle Admin and the Admin Drop Menus to BB.

    When I’m finished the last details on them, I’ll make them publicly available. ;-)

    Where should I announce these plugins?

    #61048
    chrishajer
    Participant

    Did you add anything related to cookies in your config.php or wp-config.php? Line 37 of pluggable.php deals with cookiedomain so I am just wondering if you are doing anything with cookies at all, for that to error out like that. The “cannot modify header” errors are coming because something printed an error that was unexpected.

    #61035
    fel64
    Member

    Not much documentation for bb, but it works exactly the same way as writing plugins for wp. So grab an existing bb plugin or look at the wp documentation: https://codex.wordpress.org/Writing_a_Plugin

    It’s often trivial to convert a plugin; you just need to use a slightly different API and change the hooks and filters that you use.

    #61047
    fel64
    Member

    Please copy huuuuuge swathes of code to http://pastebin.ca and link to them instead of filling the forum.

    wp_home and wp_siteurl are different in the same way that “WordPress address” and “blog address” in your Options in WP-Admin are different. Check if you need to change that.

    jschleifer
    Member

    thanks for trying to solve this chris! I went and tried your options..

    “are there any underscore plugins in the plugin directory?”

    nope, there’s nothing at all in the plugin directory.

    “What if you put an underscore plugin in that orlder, if there are none now?”

    well I’ll be.. I simply touched my-plugins/_test.php

    and it worked.

    that’s just crazy weird.. huh. thanks for the help! :)

    #49513

    In reply to: sample plugins?

    Leo Plaw
    Member

    Why have the authors of BBPress been so daft as to not add a “my-plugins” directory to the default installation of BBPress?

    It was my first question, just like everybody else on the forum, “where’s the plugin folder”.

    Hey, it might seem obvious to those of you who know the BBPress, but for heaven’s sake make it easy for the newbies. You did it for WordPress, so why not BBPress?

    Get with it and think of the users you programmers! 8)

    #60871
    fel64
    Member

    Yup.

    require_once('path/to/bb-load.php');

    in your wp config file.

    #60933

    In reply to: Jump to last post

    fel64
    Member

    Pop this in a new .php file in your plugin directory.

    <?php
    /*
    Plugin Name: Page &raquo;
    Plugin URI:
    Description: Adds &raquo; to the end of topic titles, linking to latest post.
    Author: fel64
    Version: 0.7
    Author URI: http://www.loinhead.net/
    */

    if (!function_exists('is_tags')) {
    function is_tags()
    {
    return is_tag();
    }
    }

    if (is_front() || is_forum() || is_tags()) {
    add_filter('topic_title', 'fel_addlatestlink', 101);
    }

    function fel_addlatestlink($title)
    {
    global $topic;
    $felgtlpl = get_topic_last_post_link($topic->topic_id);
    $title = $title . '</a> <a href="' . $felgtlpl . '">&nbsp;&raquo;&nbsp;';

    return $title;
    }
    ?>

    #61030
    fel64
    Member

    Yeah. Take out the bit that says

    <?php pm_fp_link(); ?>

    because the function you’re trying to call with that is undefined.

    [Edit] Or, you know, make sure the function is defined by activating the plugin, as per Chris.

    #50472
    chrishajer
    Participant

    Sounds like that pm plugin is not working or not activated, but it’s still being called by the template?

    It’s a good practice to call plugins like so, to prevent these sort or fatal errors if the plugin is not available:

    if ( function_exists('pm_fp_link') ) {
    // then call the function
    }

    Then there won’t be a fatal error if the plugin is not available.

    #60659

    In reply to: dutch translation

    chrishajer
    Participant

    I know of this list of translations, but it does not appear complete to me:

    http://www.bbpulp.org/wiki/Translation_files

    There is also a Dutch forum at WordPress.org for bbpress:

    https://nl.forums.wordpress.org/tags.php?tag=bbpress

    I think there have been a couple mentions of a dutch translation in this forum, but I can’t find a link to one right now. Maybe you can search this forum for dutch and contact the posters to see if they’ve ever solved their problem with the translation.

    https://bbpress.org/forums/search.php?q=dutch

    #51693

    Hmmm if I got it right, you mean the flickr Notification Style? Maybe it would be better to provide this as an extra plugin, because it would be a tooo big feature for mine (even in the upcoming, feature-loaded version :))

    The best posibility I can think of at the moment, is doing this with a cronjob, but not everyone has cronjobs on his webspace account. So the more simple version would be a visit-based cronjob…

    Anybody in for this? Or should I get my hands dirty? :D

    chrishajer
    Participant

    These are completely wild guesses, just stalling and bumping the thread until someone knowledgeable comes along.

    Are there any underscore plugins in the plugin directory? What if you put an underscore plugin in that folder, if there are none now?

    Is it possible glob is disabled in your php.ini, and the conditional in this file is not working properly when glob is disabled (create a phpinfo file and look for the disabled_functions section to see if glob is there.

    That’s all I’ve got right now :-)

    jschleifer
    Member

    I checked file permissions & tried it both with files in it, and without.. permissions were fine, and the number of files in the directory made no difference to the error. I even tried it w/out the directory there, same error. :(

Viewing 25 results - 28,951 through 28,975 (of 32,491 total)
Skip to toolbar