Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,176 through 28,200 (of 32,462 total)
  • Author
    Search Results
  • #63108
    chrishajer
    Participant

    No, it is JUST .htaccess – the . indicates it’s a hidden file, and there is no file extension. The Apache webserver looks for that file for direction on some hosts.

    #63036
    hitec7
    Member

    i like the way u think :)

    ill try your plugin and post feedback.

    #62189
    benbeltran
    Member

    Sure thing… Right now I use a different database, but I’m going to change it to work with users_meta. Nothing hard. I’ll send you a message when I do ;)

    #63035
    _ck_
    Participant

    >> are u sure _ck_ ?

    >> how about the hired Chinese ? :)

    That gives me a great idea to spell the numbers out as words in captcha-like graphics, which would be an interesting variation for non-english speakers.

    #63032
    hitec7
    Member

    are u sure _ck_ ?

    how about the hired Chinese ? :)

    #62464
    hitec7
    Member

    Correction its not the plugin’s fault its when i call the bbpress/functions api from wp-config coz i want to use them in the wp site :

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

    also i get a bozo.php related error :

    Error:
    Warning: Missing argument 2 for bb_bozo_pre_post_status() in /home/xxxx/xxxx/xxxx/community/bb-includes/bozo.php on line 173

    I think they are all come from upgrading to WP 2.3.3 …

    if anyone can help it will be cool

    tnx

    #62463
    hitec7
    Member

    I have exactly the same problem the wp plugin “bbPress Integration” causing it somehow when i disable it wp editing works as normal when i enable it i get slashes “” everywhere when i edit post / comment / theme from wp administration all plugins / bbpress / wp are the latests versions…

    also my server php.ini config are:

    magic_quotes_gpc Off Off

    magic_quotes_runtime Off Off

    magic_quotes_sybase Off Off

    can anyone help? :)

    #63101
    Alex
    Member

    Also, when I install any plugin I get this and a blank page:

    Warning: Invalid argument supplied for foreach() in /path/to/forum/bb-settings.php on line 294

    Warning: Invalid argument supplied for foreach() in /path/to/forum/bb-admin/plugins.php on line 7

    #63100
    Alex
    Member

    Well I used the current trunk version of WP, and 1075 of BB, installation went fine (nice new installer helped integration along nicely). Thanks for the help!

    But, I am getting an error at the top of each page in bbPress:

    Warning: Invalid argument supplied for foreach() in /home/path/to/forum/bb-settings.php on line 294

    (Path to bb-settings.php removed)

    Is this a known issue? What could I do to resolve it?

    #57726
    hans3
    Member

    That may have come across wrong…. The posts don’t matter because I am using your plugin, and that feature is already working for me. :) However I feel two profile pages is a bit confusing for users. Do you think a link in the wp profile page would suffice since its rather difficult to have only one profile page?

    #63028
    _ck_
    Participant

    The throttle is right in each user’s profile page.

    It’s based on username.

    If you want to tinker with increasing it, try this plugin I whipped up to avoid core hacks:

    function post_regulation($text) {
    global $bb_current_user;
    $wait=45; // seconds between posts

    if (isset($bb_current_user->data->last_posted) && time() < ($bb_current_user->data->last_posted + $wait) && !bb_current_user_can('throttle'))
    bb_die(__('Slow down; you are posting too often.'));

    if (strlen(trim($text))<10)
    bb_die(__('Your post is too short, please say something meaningful!'));

    if (strlen($text)>2500)
    bb_die(__('Your post is too long!'));

    return $text;
    }
    add_filter('pre_post', 'post_regulation');

    In theory it would be possible to hack that further to regulate based on IP by doing a mysql query for the last post time that has the current user’s IP.

    #63039

    In reply to: I’m ready to give up

    deesdogcare
    Member

    Yes, thanks. vbulletin is actually who I found. Their base forums and blog with a month of phone support was what I quoted above ~~~ the blog is an add-on. However, I found that one of their members created a hack that SEEMS TO BE a ‘click to install’ type thing andwill integrate with wordpress ~~~ so I may only have to rework my forums template. Also, their base template has everything I want for now, except a blog. I never was trying to build any massive forum structure ~ just good working forums that people could upload their pics to and PM each other and that gave each user a title based on number of posts =)

    I was just surprised, given that several people here don’tmind taking very small donations that no one wanted to make a couple of hundred to help. No issues though. I’ll do as you suggested and go buy the vBulletin.

    #62788
    kernow
    Member

    If you make it too easy then everyone will have one, and what will happen then? :)

    Before long it will be possible to talk to bbpress instead of type….

    #2870
    _ck_
    Participant

    I am beginning to test some code I have written to pre-configure a CPANEL based website to auto-install bbPress. Barring any extreme problems (or unforseen events in my life) I should have an early beta to test by the weekend.

    It will only require a few simple inputs such as your username and password (same as you’d use on FTP or cpanel access) and from there it will do everything – create the database and tables, download bbPress, install it and take you to it’s configuration options.

    It may be possible to eventually get it working with other types of hosts. I plan to investigate doing it on dreamhost and perhaps a couple of the other most popular hosts.

    #62608

    In reply to: TalkPress

    lenen
    Member

    Looks like a lot of trouble to fix in the future. I never had any problems with bbPress, but that’s probably because there aren’t a lot of users active :)

    #63024
    chrishajer
    Participant

    I guess you’re working on it now because there are syntax errors and no site visible.

    Hopefully you’re working with your own template, not the default one. If that’s the case, just use the default template until you figure out what change caused the problem.

    If you are working on the default template, then I would just install a new copy of it and start over with your modifications, this time in a template of your own name.

    The create your own template, create a my-templates folder at the same level as bb-templates, then in there create a folder that will be for your template (call it dogs or something.) Then copy over all the files from the kakumei template into this new dog folder, and then open the style.css file in this folder and make the appropriate changes there to give this theme a new name. Then, select it in your admin panel. Right now, it will look just like the stock theme, but you can make changes here instead of in the stock theme, and if something goes wrong, you can just select the stock theme and fix the problems in the new theme.

    #2915
    #63012
    deesdogcare
    Member

    I’m not surprised . . . I know so little about php that trying to use code snippets and paste them into my pages, the deleting them if it didn’t work is creating havoc for me. The code you left in the paste bin fixed my problem! =)

    This is whyI made the offer I did last night ~~~ I feel bad always having to have you do more than you would have to for someone who is well-versed in the language and design of the forums ~~~ and there are a lot of issues that I don’t know how to resolve. If I post them all, I’m going to bust the boards! LOL

    Thanks for the code, _ck_!!!! Now my subforums are showing when I click the main forum from my front page =)

    D

    #63011
    _ck_
    Participant

    Somehow you removed the sub-forum code from your theme.

    Here’s a guess at the correctly inserted code:

    http://pastebin.com/m33722e18

    #63010
    deesdogcare
    Member

    I don’t know whether I did it or if it was in the template I modified, but posting a topic in the main Dog Breed Forum didn’t correct the issue. I posted my forum.php code in the pastebin:

    http://pastebin.com/m61cf1802

    Thanks,_ck_ ~ I only hope that I understand php and bbpress forums as well as you do one day!

    D

    #54862
    helpy
    Participant

    Quoto from simpler integration with wordpress:

    Do so by defining WP_BB as true in either config.php or wp-config.php. Also, WordPress will have to be loaded first.

    I use WP and BB with german language! If I include wp-blog-header.php in the configuration file (config.php) of bbpress, the following error occurs:

    Fatal error: Cannot redeclare class streamreader in /homepages/.../www/forum/bb-includes/streams.php on line 26

    If I uncomment the lines 122 + 123 in bb-settings.php:

    // include_once(BBPATH . BBINC . ‘streams.php’);

    // include_once(BBPATH . BBINC . ‘gettext.php’);

    No error occurs … but the forum is in english!

    I use WP 2.3.3 and bbpress 0.8.3.1 … WP is installed in web root and bbpress in the subfolder “forum”.

    Is there a documented way to fix this … or a workaround?

    cu, helpy

    #63008
    deesdogcare
    Member

    OH ~ and I had actually tried a copy & paste of the code that you changed through finding it in another thread, but there was some kind of error in his syntax, cause it just gave me error messages.

    #63007
    deesdogcare
    Member

    That did exactly what I was wanting on the front page, but now you can’t find the subforums at all. I had thought that when I clicked the parent forum it would automatically show the subforums ~ either on the front page or on a new page. Instead, it just goes to an “Add a topic” page. Any ideas?

    Please forgive my bad spacing at times. When I’m in firefox, this doesn’t happen because of auto-spellcheck, but in IE, I miss fixing some of it. I messed up the spacebar on this keyboard and it doesn’t alway space like it should =(

    Thanks _ck_!

    D

    #63006
    _ck_
    Participant

    If you are asking what I think you are asking, I think I have made the subtle change you need. The sub-forums will no longer be shown on the front-page.

    http://pastebin.com/m5ce19f4b

    Line 53 is really all that’s needed.

    if (!$forum->forum_parent) {

    This is untested however.

    Topics from within the sub-forums will still showup in the latest discussions however.

    #2912
    deesdogcare
    Member

    I have tried a variety of codes that have been offered up in these forums in an attempt to hide subforums on my main page because one of my parent forums is dog breeds~~~ can you imagine how HUGE my front page will beonce I add in all of my subforums?

    All of my attempts to utilize code offered in the forums has failed. One piece looked likeit MIGHT do what I wanted, but I could never figure out where to paste it!

    Please forgive me for my lack of knowledge ~~~ I am learning as I go.

    I have pasted my code for my front-page.php into the paste bin. If you could look at it and give me a clue, I’d appreciate it!!!

    http://pastebin.com/m4e612460

    Thanks!

    D

Viewing 25 results - 28,176 through 28,200 (of 32,462 total)
Skip to toolbar