Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,851 through 31,875 (of 32,423 total)
  • Author
    Search Results
  • #52139
    Trent Adams
    Member

    That is where I got it from. Completely from Ardentfrost! :-)

    Trent

    #52137
    Trent Adams
    Member

    Try this code:

    <?php if (bb_current_user_can('edit_users')) : ?>

    *some code here*

    <?php endif; ?>

    #51878

    In reply to: Problem with my Domain

    Trent Adams
    Member

    Make sure your akismet line is:

    $bb->akismet_key = '40b50b4582b5';

    and not:

    $bb->akismet_key = 40b50b4582b5;

    Trent

    #52145
    Null
    Member

    Need more help, still cant get this. Cant get the menu it self working either (tried copying the code fromt this site and css, but it wont work).

    Thx

    #52163

    In reply to: get_row

    ardentfrost
    Member

    Hmm, when I logout and go to the same like with the afore mentioned output, it says this:

    Object id #22

    It seems to be doing this similarly to everyone else. Logged in it gives #6, logged out it gives #22. I never tell it to do anything, it must be get_row that’s doing it.

    Arrgghhhh

    #1071

    Topic: get_row

    in forum Troubleshooting
    ardentfrost
    Member

    Anyone know why when I use get_row it prints this

    Object id #6

    It fills my variable correctly, it just prints this and I don’t want it to :)

    #49534
    pilkster
    Member

    I have done a fresh install of the latest WP (2.0.5) and latest bbPress (0.73) earlier today and installed the WordPress plugin as described. I have also added the code described above to bbPress’s config.php.

    Wordpress is installed on my root domain, and bbPress in a folder named /forums/

    User registration integration is not working, is there something I have missed?

    Thanks – pilks (AWSpress.com)

    #51231

    In reply to: Anonymous post

    steven19
    Member

    I need this mod too! :D

    #51412
    topiq
    Member

    i get this error with the new version:

    Fatal error: Call to a member function query() on a non-object in /srv/www/httpd/phost/c/com/pytalhost/cessi/web/bbpress/my-plugins/onlinelist.php on line 26

    #1052
    arrariv
    Member

    Hi there all,

    I have to moderate posts!

    Is it possible to do in bbPress, I have no idea. I found out that vBulletin does that, but I use WordPress on my blog, don’t need any other php script interfere with my blog. I just add a simple forum in it. Not a shiny thing!

    =)

    Anything will be too helpful.

    Thanks in Advance!

    #51179

    In reply to: Private Forum script

    topiq
    Member

    ok. uploaded the new version of private forum. then there was this message that i have not installed the newest version of bbPress. i downlaoded the 3 new files and uploaded them. now i get this kind of error if i want to access the forum:

    Fatal error: Call to undefined function is_serialized() in /srv/www/httpd/phost/c/com/pytalhost/cessi/web/bbpress/bb-includes/functions.php on line 364

    greets topiQ

    PS: since this is as far i can guess not related to your plugin i posted it here and not on your site…

    EDiT: i solved the problem by installing the new version of the site options plugin. thanks a lot!

    but if i install the 3 new files in the bb-include i get this error:

    Fatal error: Call to undefined function option() in /srv/www/httpd/phost/c/com/pytalhost/cessi/web/bbpress/bb-templates/header.php on line 44

    #51176

    In reply to: Private Forum script

    Can I make another feature request for any private forum plugin, please? I want to have a private forum but still have the RSS feeds accessible. At the moment, if I use the plugin, the feeds become inaccessible without being logged in – i.e. services such as bloglines can’t see the feeds. I know that making the rss feeds available, in effect, makes the forum “public again” . . . . I guess the ideal solution is another plugin to give the feeds a randomised code in their URL . . . . but even if this isn’t possible, not being able to find the feed address without being logged in provides an adequate level of deterrent for my purposes.

    Can anyone help?

    #52160

    In reply to: Admin problems

    malak
    Member

    I have just add

    require_once('admin.php');

    to .php files (in bb-admin)

    and it works now

    #52159

    In reply to: Admin problems

    malak
    Member

    same problem when I try to Move topic to other:

    Fatal error: Call to undefined function: bb_current_user_can() in /forum/bb-admin/topic-move.php on line 10

    Close topic:

    Fatal error: Call to undefined function: get_topic() in /forum/bb-admin/topic-toggle.php on line 5

    #1070
    malak
    Member

    when I try (0.73 with WP, login as Key Master or Administrator) to set “not spam” in “Akismet Spam” section I got:

    Fatal error: Call to undefined function: bb_current_user_can() in /forum/bb-admin/delete-post.php on line 6

    same if I try to check some post as “spam”.

    Thanks.

    #1069
    andrabr
    Member

    So, I uploaded bbpress, configured config.php, punched bb-admin/install.php in my browser and saw… nothing. Not even an error message.

    Ok, I went poking around. Deleted config.php and got the error message as expected.

    Next line in the code is: require_once(‘../config.php’);

    I do not believe I get over this hurdle (if I recall correctly, require_once dies quietly).

    I changed it to require config-sample.php, and got as far as database error message. config-sample.php and config-php sit next to each other with exactly same permissions.

    I cannot think of a reason for require_once to see one but not the other…

    Mystery…

    Any ideas?

    #52147

    I know the yellow is default color of the FAT Library. But I like it in yellow … think this looks nice. =)

    If you want to change it by yourself:

    – Open /bb-includes/js/fat.js

    – Go to Line 32 and replace #FFFF33 by #E4F3E1

    Now it will be green everywhere.

    #52096
    ardentfrost
    Member

    then add this in front of your plugin.

    if ( is_front() ) {

    *plugin I mentioned here*

    }

    #52095
    Null
    Member

    Well I am working on a new page where I want to have this reply function on. If I do this your way or use it as a plugin, it would effect everypage using this option. I only want this on my alternitive index/front-page.php file. Lets call it index2.php.

    So I want this only on my alternitive index page, thats why I want to hardcode it for that page only…

    Thx

    #52021

    In reply to: Site Options Plugin

    so1o
    Participant

    https://bbpress.org/documentation/faq/#customization-folders

    do the default plugin installation routine..

    please note that you need site-options plugin and the latest code from the bbpress repository

    #52103
    Null
    Member

    Yeah, thats why I ask that here :) I have no clue how to do that!

    #52094
    ardentfrost
    Member

    Why wouldn’t you want to use it as a plugin? There’s a filter applied to the reply count call specifically so you can do something like what you’re asking for.

    If you want to hardcode it, you have to go to template-functions.php and find the “get_topic_posts” function and do the -1 there.

    #52143
    Null
    Member

    About the placing, where ever i placed it in the header it never turned out right. Sec I dont know how to build sugh a menu like this, i am a compleet retar…. noob :)

    #52093
    Null
    Member

    If I don’t wanna use it as a plugin, but hardcode it? Then I put it in index.php? and where in the index.php?

    Thx for the help

    #52092
    ardentfrost
    Member

    this is untested…

    make a file in your my-plugin directory and call it whatever you want. Insert the following:

    global $topic;

    add_filter ( 'get_topic_posts', ($topic->topic_posts)-1, $topic->topic_id );

    That should work

Viewing 25 results - 31,851 through 31,875 (of 32,423 total)
Skip to toolbar