Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,926 through 28,950 (of 32,491 total)
  • Author
    Search Results
  • #58134

    In reply to: bbSync

    joe12south
    Member

    And this when trying to leave a comment via WordPress:

    Warning: array_filter(): The second argument, 'Array', should be a valid callback in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php on line 271

    Warning: Invalid argument supplied for foreach() in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php on line 275

    Warning: array_filter(): The second argument, ‘Array’, should be a valid callback in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php on line 271

    Warning: Invalid argument supplied for foreach() in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php on line 275

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php:271) in /home/content/a/d/m/adminsportzzz/html/wp-includes/pluggable.php on line 390

    #58133

    In reply to: bbSync

    joe12south
    Member

    Got this when saving a post after replacing my “bbsync.php” file:

    Warning: array_filter(): The second argument, 'Array', should be a valid callback in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php on line 271

    Warning: Invalid argument supplied for foreach() in /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php on line 275

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/a/d/m/adminsportzzz/html/forum/bb-includes/capabilities.php:271) in /home/content/a/d/m/adminsportzzz/html/wp-includes/pluggable.php on line 390

    hrivard
    Member

    Hello,

    I need to make a special CD-version of some site that relies on bbPress (the rest is static).

    Those snapshots have to be placed onto CDs (or DVD-ROMSs or usb keys, it’s to be decided)

    so that http server and bbPress start directly off that read-only media. Web server with bbPress and DB server have to start off CD (or DVD) once CDROM is inserted into computer on Win and MacOS X. It seems that this special web server can be used for such task:

    dvd web server

    Have anybody done smth simliar with bbPress and CDROMs?

    #61073

    In reply to: CSS

    kahm1
    Member

    Yes, I added all of the code to the style CSS, but it looks exactly the same.

    #50217

    I copied the above plugin text to my html editor, saved as reverse.php and uploaded it to /my-plugins and activated it – but nothing happened! Ideas? :/

    #61087

    In reply to: about the license

    Sam Bauers
    Participant

    bbPress is released under the GPL v.2

    Unless you plan to redistribute (i.e. give away or sell) your modified code, you are under no obligation to release your modified source code.

    #61072

    In reply to: CSS

    Graeme
    Member

    Did you copy all of the rules?

    You should have copied all of these rules:

    /* Default table structure
    =================================== */

    /* 100% is a good starting width for most tables - this is a forum! */
    table { width: 100% }

    /* Login form (header.php)
    =================================== */

    .login {

    }

    .login p {

    }

    .login label {

    }

    .login #submit {

    }

    p.login {

    }

    form.login input {

    }

    /* Breadcrumbs (most templates)
    =================================== */
    .bbcrumb {

    }

    /* Notice (profile.php)
    =================================== */

    .notice {

    }

    .notice p {

    }

    /* Front Page
    =================================== */

    #front-page #hottags {

    }

    #front-page #discussions {

    }

    /* hot tags! */
    .frontpageheatmap {

    }

    #front-page #main h2, #forum-page #main h2, h2.post-form, #userlogin, #currentfavorites, #register {

    }

    #front-page #discussions ul {

    }

    .sticky {
    background-color: #ffffd0;
    }

    /* Topic Page (topic.php)
    =================================== */

    /* wrapper for topic */
    .infobox {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    }

    ul.topicmeta {
    display: block;
    margin-left 1.0; padding-left: 0em;
    }

    .topicmeta li {
    display: list-item;
    list-style: square inside;
    }

    #topic-info h2 {
    border: 0px;
    margin: 0px;
    }

    #topic-info {
    float: left;
    }

    #topic-tags {
    top: 1.0em;
    margin-top: 2.0em;
    float: right;
    }

    /* .nav used by topic.php & tag-single.php */
    .nav {

    }

    .nav span {

    }

    .nav span, .nav a {

    }

    #thread {

    }

    #thread li {
    margin-bottom: 1.0em;
    }

    #thread li ol, #thread li ul {

    }

    #thread li ol li, #thread li ul li {

    }

    /* following are used by post.php */
    .threadauthor {
    margin-left: -0px;
    overflow: hidden;
    width: 115px;
    position: absolute;
    }

    .threadpost {
    margin-left: 130px;
    width: 370px;
    background-color: #f5f5f5;
    padding: 10px;
    }

    .poststuff {
    font-size: 0.8em;
    border-top: 1px solid #e5e5e5;
    }

    .num, #forumlist small {

    }

    .postform {
    background: #f0f0f0;
    padding: 1em;
    margin-bottom: 1em;
    }

    .postform textarea {
    height: 12em;
    margin: 5px 0;
    padding: 5px;
    width: 96%;
    display: block;
    }

    .postform label { display: block; }

    .rssfeed { line-height: 20px; padding-left: 23px; background: url( "images/feed-icon-16x16.png" ) center left no-repeat; }

    #manage-tags {

    }

    #manage-tags li {

    }

    .submit {

    }

    .topiclink {

    }

    .topictitle {

    }

    #topic-move {
    margin-bottom: 1.0em;
    }

    /* Content - specific to the main content div
    =================================== */

    #content .frontpageheatmap a {

    }

    #content .infobox li {

    }

    #content .nav a {

    }

    #content .nav a:hover {

    }

    #content a:visited {

    }

    /* Profile Page
    =================================== */

    #profile-menu {
    padding-top: 0.5em;
    list-style: none;
    border-bottom: 2px solid #ccc;

    }

    #profile-menu ul {
    }

    #profile-menu li {
    font-size: 1.1em;
    background-color: #eee;
    padding: 4px 7px;
    margin: 0px;
    display: inline;
    position: relative;
    top: -3px;
    }

    #profile-menu li.current {
    background-color: #ccc;
    }

    #userinfo {

    }

    #userinfo dt {

    }

    #userinfo dd {

    }

    #useractivity {

    }

    .user-recent {

    }

    .user-recent .alt {
    background-color: transparent;
    }

    .user-recent ol {

    }

    .user-recent ol li {

    }

    /* Profile Edit
    =================================== */

    fieldset {

    }

    legend {

    }

    fieldset table {

    }

    fieldset table td {

    }

    fieldset p {

    }

    /* Other
    =================================== */

    #front-search {

    }

    #latest td, #forumlist td, #favorites td {
    border: 1px solid #f5f5f5;
    }

    #forumlist tr td div.nest {

    }

    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover {

    }

    #latest th, #forumlist th, #favorites th {
    background-color: #e9ede8;
    border: 1px solid #f5f5f5;
    }

    #latest, #forumlist, #favorites {

    }

    .alt {
    background-color: #f9f9f9;
    }

    .bozo {

    }

    .alt.bozo {

    }

    .deleted {

    }

    .alt.deleted {

    }

    #60976
    tbronson
    Member

    It seems to be a user thing. I’d been posting from a user that’d been established in WordPress. I updated it to Key Master in bbPress, so it should have all powers. But I found that, apart from tags, I couldn’t delete a post either, same no permission message (same as noted by Jolaedana above). So I logged out and logged in as Superadmin, the default account from bbPress installation, and voila, I can do everything, add tags, delete posts.

    That doesn’t solve the problem. I haven’t tested to see what happens with other users, both already registered from WP and registered through bbPress. But it’s a workaround for me, and a…clue. :)

    #61083
    chrishajer
    Participant

    The error might not be on line 18, it might be before that, and 18 is just where it shows up when PHP parses it. Can you post the prior lines as well? Maybe there’s a problem with the $bb_table_prefix = line if you happened to edit that.

    Thanks.

    #2493
    jaysays
    Member

    I receive the following error after install:

    Parse error: parse error, unexpected T_VARIABLE in …/forum/config.php on line 18

    The code relevant to line 18 is:

    // The full URL of your bbPress install

    $bb->uri = ‘http://thebigo.ejoculation.com/forum/’;

    I’ve tried editing this to:

    // The full URL of your bbPress install

    $bb->uri = “http://thebigo.ejoculation.com/forum/”;

    … as suggested in similar instances, but receive the same error.

    It’s official, I don’t know the answer and I’m forced to admit there are smarter people out there than me. Can someone please help?

    #61081
    jaxxx
    Member

    thanks, but that wasn’t exactly what I meant. I’m less concerned about wanting to change the wording of the text, and more interested in replacing the <h2> tags around it with something else.

    #58128

    In reply to: bbSync

    slexaxton
    Member

    I love the plugin fel. It takes a while to get used to what file is doing what, but to anyone who is using it along with the integration scripts you might realize that the posts on the forum show up as comments and visa versa, but the comment count on the main page only counts the comments made via wordpress, and doesnt take into account the comments that show up, but were originally made in the forum.

    I added a function in the plugin that just recieved the number of posts (since this data is correct).

    function bbreplycount() {
    global $id, $opshuns;
    $posties = 0;
    if( !$opshuns )
    $opshuns = get_option('bbsync');
    require_once( $opshuns['bbpath'] );
    $topic_id = felwptobb( $id );
    if( $topic_id ) {
    $topic = get_topic( $topic_id );
    $posties = $topic->topic_posts;
    }

    return $posties - 1;
    }

    Using this I was able to modify the comments_popup_link(...) to accept another variable (the number of posts returned by the new function). Then instead of getting the number of actual comments via the wordpress method, I simply replaced my new variable with that function call. Viola, works like a charm.

    Its nothing serious, but could be helpful to some. cheers. Thanks again fel.

    #60593

    In reply to: Danish translation

    Daniel Juhl
    Participant

    Hi SMU,

    Yes, I’ve tried to find the .pot or .po files for the plugins – but I couldn’t.. What I did instead was to make a few more lines in the main translation, and that worked. It’s probably not the right way, but it works for now :)

    Thanks for your time and help!

    #61080
    Graeme
    Member

    Try editing topic.php in the default template and replace:

    <?php post_form(); ?>

    with:

    <?php post_form('Reply to this topic:'); ?>

    This is a simple way to make the change you want.

    Note that rather than editing the default template, you can make use of the powerful templating behaviour of bbPress if you create your own theme. With custom themes, bbPress will always pick up missing template files from the default kakumei theme! That means custom themes can be quite simple!

    1. Create a directory called my-templates.
    2. Create a directory in that directory called myfirsttheme.
    3. Copy style.css, screenshot.png and topic.php from bb-templates/kakumei to your my-templates/myfirsttheme directory.
    4. Edit my-templates/myfirsttheme/style.css and change:
      Theme Name: Kakumei

      to

      Theme Name: myfirsttheme

    5. Change my-templates/myfirsttheme/topic.php with the change described above to topic.php.
    6. At this point you should see your own custom template in the admin backend.

    That allows you to setup your own theme. Then when new versions of bbPress come along you may not have to reedit the default templates – just copy your custom theme into the new/upgraded bbPress installation.

    I hope that makes sense.

    Note:

    Sometimes new functionality in bbPress will mean that it is best to copy the default template files and re-apply your changes in your custom theme.

    #61055
    outchy
    Member
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^playground.manonfire.cc$ [OR]
    RewriteCond %{HTTP_HOST} ^www.playground.manonfire.cc$
    RewriteRule ^(.*)$ http://www.manonfire.cc/playground [R=301,L]

    it seems to be working now…

    #2492
    jaxxx
    Member

    I’m currently editing the default theme template for the latest version. Everything is going well, except I can’t find the code reference for the “Reply” label (it shows up as <h2 class='post-form'>Reply</h2> in the HTML output. The rest of this section is editable in post-form.php. Where do I need to look to find the section (basically I just want to either remove this label and add a new one separately, or else be able to wrap some more code around it). The only other thing which may shed some light on this is the preceeding code: do_action( 'post_form_pre_post' ); but I have no idea what this function does.

    #60592

    In reply to: Danish translation

    smu
    Member

    Hi Daniel,

    Being relatively new to bbPress I am not sure how to do just that. Have you tried finding the relevant .pot or .po files for the plugins that you have installed? I think you need to have a separate translation file (.mo) for each plugin – similar to WordPress.

    Alternatively, there is the hard way. Translate directly in the source code! ;-)

    #60972
    chrishajer
    Participant

    I just did a fresh install of 0.8.3 and I can add tags to existing posts just fine. Maybe it happens only with upgrades? I noticed that on this install, my username is something I chose, rather than the old default of admin, so maybe that is messing up the keymaster somehow.

    #61059
    jolaedana
    Member

    No worries! I’ve done it a million times myself and I do it for a living- you live and learn. ;)

    #2491

    I would like to add topic text to the frontpage where I use

    <?php topic_title(); ?>

    Is there a variable for this?

    #61070

    In reply to: CSS

    Graeme
    Member

    You appear to be using identical style.css files for the wordpress and bbpress sections of your site. You can fix this by copying some CSS rules from one of my theme downloads.

    I have just updated the blank bbPress themes at bbpressraw.com with new versions that have a forum-like tabular style.

    You can see them in action via the theme switcher at the bottom of the bbpressraw.com forums page.

    To solve your problem, I suggest you download one of the themes and copy all of the rules below:

    /* Global Styles

    =================================== */

    hr {

    display: none;

    }

    into the bottom of your bbPress theme stylesheet. This will allow you to pick up all the bbPress CSS rules that are applied by these themes. Tweak these CSS rules in order to change the appearance of the forums.

    Enjoy!

    #61021

    In reply to: bbPress Site

    drtech
    Participant

    Firefox displays the page correctly. Webkit and safari ( the same) have the format problem. Its only on the bbPress Extend page ( on this site) that firefox and safari disagree on how the site looks. I have a pic of the problem, just need to know how to post or send it for you to take a look at it. It could be the code on the page or a problem with Webkit.

    #61058

    Yeah I’m an idiot. I’m using Safari so there’s no such thing as ctrl+shift+F5, so I felt like a right idiot when I clicked as to what I was doing wrong. I just presumed it was my ineptitude lol.. Thanks for the reply :)

    #61068
    chrishajer
    Participant

    Can you add this line to config.php:

    $bb->debug = 1;

    You can put it near the top after the database details. That should give you some useful information.

    #2487
    Anonymous User 179266
    Inactive

    After installing the bbPress, i can’t see my topics, forums, tags… (everything) i tried everything but i cant fixed :(

    http://www.bilgisinema.org/forum

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