Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,876 through 19,900 (of 32,517 total)
  • Author
    Search Results
  • #94206
    Gautam Gupta
    Participant

    All you need to fix this is to have a display:inline; for the select box.

    #94205
    KentonMr
    Member

    I find all this SCN TRAC TRUNK all a bit gibberish and well beyond what I need to know.

    I find the version control of bbPress also confusing and always thought that the most stable version was on the main download page.

    The “bug” being discussed is not a show stopper (there are more irritating things) but it is fairly obvious in the code what is breaking this.

    Two things in functions.bb-template.php

    The use of <fieldset> and <div> inside the form – comment them out in bb_get_topic_move_dropdown() and add the lines

    $r .= bb_get_topic_delete_link($args);

    $r .= bb_get_topic_close_link($args);

    $r .= bb_get_topic_sticky_link($args);

    after the initial <form> line.

    commenting out the original lines in the bb_topic_admin() as

    // ‘delete’ => bb_get_topic_delete_link($args),

    // ‘close’ => bb_get_topic_close_link($args),

    // ‘sticky’ => bb_get_topic_sticky_link($args),

    This is by no means an elegant solution but it appears to work.

    I’m sure something more elegant could have been done in css.

    #94459
    Ryan Gannon
    Member

    I’ve been watching the action unfold on the trac… and in my spare time I also like to watch paint dry. But no, it’s great to see stuff happening. :)

    #94457

    (at least that is my understanding)

    Correct. Looking more like October 17 now, to be exact.

    On Sunday at WordCamp NYC I’ll be presenting a 5 minute lightning session on the plugins progress so far. Worked on it a little today, and will be doing more until then to have something presentable. :)

    #94248
    auphoria
    Member

    I’m using 1.0.2, I think the problem for me is because I use BBcode Buttons Toolbar

    #35642

    Topic: topic_tags()

    in forum Troubleshooting
    blahman29
    Member

    I’m trying to find this function cuz I need to change the HTML it outputs.

    According to this.. http://xref.yoast.com/bbtrunk/nav.html?_functions/index.html it should be located in includes/functions.bb-template.php but maybe that is a different version or something cuz I can’t find it.

    Does anyone know of some other sources of documentation where I can look up?

    Also, I am trying to setup gravatars for each post and grab the posters email something like this..

    <?php echo get_avatar( bb_get_user_email($bb_post->post_author), $size = '70'); ?>

    Does anyone know how to get the current posts author email?

    #101391

    In reply to: WP Nonce problem

    blahman29
    Member

    Sorry, I post this and I immediately find the solution here..

    http://phpxref.ftwr.co.uk/bbpress/nav.html?_functions/index.html

    I edited my code like this..

    <button id = 'postformsub' type = 'submit' name = 'Submit' tabindex = '4'></button>

    <?php bb_nonce_field( bb_is_topic() ? 'create-post_' . $topic->topic_id : 'create-topic' ); ?>
    <input type="hidden" value="/forum/topic.php?id=<?php echo get_forum_id(); ?>" name="_wp_http_referer">
    <input type="hidden" value="<?php echo get_forum_id(); ?>" name="topic_id">

    And it seems to work now. If anyone is making their own forms then try this solution out for nonce.

    #96291

    In reply to: WP Nonce problem

    blahman29
    Member

    Sorry, I post this and I immediately find the solution here..

    http://phpxref.ftwr.co.uk/bbpress/nav.html?_functions/index.html

    I edited my code like this..

    <button id = 'postformsub' type = 'submit' name = 'Submit' tabindex = '4'></button>

    <?php bb_nonce_field( bb_is_topic() ? 'create-post_' . $topic->topic_id : 'create-topic' ); ?>
    <input type="hidden" value="/forum/topic.php?id=<?php echo get_forum_id(); ?>" name="_wp_http_referer">
    <input type="hidden" value="<?php echo get_forum_id(); ?>" name="topic_id">

    And it seems to work now. If anyone is making their own forms then try this solution out for nonce.

    #35634

    Topic: WP Nonce problem

    in forum Themes
    blahman29
    Member

    Hey guys, first off thanks for this awesome forum solution!!

    I have been able to customize it pretty well with my wordpress installation, take a look here..

    http://www.designsaga.com/forum

    I am having some problems with nonce verification with my forms. I couldn’t find where the hidden form fields are being output so I was adding them in manually like this..

    <button id = 'postformsub' type = 'submit' name = 'Submit' tabindex = '4'></button>

    <?php if ( function_exists('wp_nonce_field') ) { wp_nonce_field('_wpnonce', '_wpnonce'); ?>
    <input type="hidden" value="/forum/topic.php?id=<?php echo get_forum_id(); ?>" name="_wp_http_referer">
    <input type="hidden" value="<?php echo get_forum_id(); ?>" name="topic_id">

    </form>

    The form was working great but after the nonce expired I keep getting this message when trying to submit the form..

    Your attempt to create this topic has failed.

    Please try again.

    Back to Support Forum.

    I’m just not sure what I should do.. any help is appreciated!

    Mealin
    Member

    Hi,

    I’ve some strange trouble with my bbpress forum (host with 000webhost) :

    Sometimes, after posting something i’m not able to join it again. Can’t access to it even if i empty cache, cookie …

    It go back normally few times after each times but it’s very very unpleasant…

    2 forum with the same issue and pretty much same plugins

    Allow Images

    BBcode Buttons Toolbar

    BBcode Lite

    bbPM

    bbPress Polls

    bbPress signatures

    bbPress Smilies

    bbPress Suite de la Modération

    bb Topic Views

    BBVideo

    Hidden Forums

    Hidden Forums Tag Filter

    Human Test for bbPress

    Live Comment Preview

    Post Count Plus – Dynamic.Titles & More!

    Post Notification

    Super Search

    Terms of Service

    Topic Icons

    Unread Posts

    Any ideas ?

    Ps : my english is ugly so if something isn’t understandable say it please ;-)

    #96006
    3sixty
    Member

    After reading the whole of that thread you linked, I think my use of “fork” was a poor choice of words. All I was trying to say is that the standalone code isn’t going away. It does seem from reading the thread that the intent (at least the original intent) was to officially release 1.1 as a “solid stand alone” (JJJ’s words).

    #101106
    3sixty
    Member

    After reading the whole of that thread you linked, I think my use of “fork” was a poor choice of words. All I was trying to say is that the standalone code isn’t going away. It does seem from reading the thread that the intent (at least the original intent) was to officially release 1.1 as a “solid stand alone” (JJJ’s words).

    #96005
    3sixty
    Member

    Thanks! Clearly, bbPress is officially going to be a plugin for WordPress going forward (but as you note, the code is there to fork for those who still want a standalone version).

    #101105
    3sixty
    Member

    Thanks! Clearly, bbPress is officially going to be a plugin for WordPress going forward (but as you note, the code is there to fork for those who still want a standalone version).

    #101227
    deadlyhifi
    Participant

    the bbPress community in a bit of a transition period while it gets rereleased as a WordPress plugin.

    But, yes you can put advertising on your site using OpenX – it would require editing your forum’s theme files by placing the code generated in OpenX in the spots you want them to appear.

    Any web developer/designer should be able to do quite easily.

    #96127
    deadlyhifi
    Participant

    the bbPress community in a bit of a transition period while it gets rereleased as a WordPress plugin.

    But, yes you can put advertising on your site using OpenX – it would require editing your forum’s theme files by placing the code generated in OpenX in the spots you want them to appear.

    Any web developer/designer should be able to do quite easily.

    #101384
    deadlyhifi
    Participant

    I’m running v1 so not sure if this works in 0.9 – but you follow the same pattern as WordPress.

    In your forum theme’s functions file deregister then register your new scrip.

    e.g.

    wp_deregister_script('jquery');
    wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', false, '1.4.2', true);
    wp_enqueue_script('jquery');

    See https://codex.wordpress.org/Function_Reference/wp_enqueue_script for more details

    #96284
    deadlyhifi
    Participant

    I’m running v1 so not sure if this works in 0.9 – but you follow the same pattern as WordPress.

    In your forum theme’s functions file deregister then register your new scrip.

    e.g.

    wp_deregister_script('jquery');
    wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', false, '1.4.2', true);
    wp_enqueue_script('jquery');

    See https://codex.wordpress.org/Function_Reference/wp_enqueue_script for more details

    #35623

    Topic: Can't Login!

    in forum Troubleshooting
    miiduu
    Member

    1. I seem to be having trouble logging in at all in bbpress. I integrated it successfully with WordPress, but I can’t login with my wordpress user name and password. I figured, something must be up, so I registered a new account in bbpress to try it out – password was mailed and everything – and when I went to login, still nothing. The page refreshes but goes nowhere and doesn’t say I’m logged in. Seems like a mod rewrite issue, but I can’t figure out what it is. During the initial install I set the config to clean urls, then used an .htaccess like the following:

    # BEGIN BBPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /location_of_install/

    Options +MultiViews

    </IfModule>

    # END BBPress

    After doing so I kept getting 404’s when clicking on topics, etc (only to find out later I needed to fix my url at the beginning of config). Now everything is working except logins. Any ideas?

    besides if you are interested in running a free online shop, what’s more, you can also put your shop on facebook, please sign up at the following site http://www.miiduu.com/facebook-store?source=fb

    #100991

    In reply to: Google Adsense

    pnyxe1
    Member

    to be on the safe side, i have disabled click tracking for adsense as they’ve said not to mess with the code, are you sure it is not going to be a problem if i enable tracking? i was going to email adsense support but if someone has the answer here it would be nice.

    comments system

    #95891

    In reply to: Google Adsense

    pnyxe1
    Member

    to be on the safe side, i have disabled click tracking for adsense as they’ve said not to mess with the code, are you sure it is not going to be a problem if i enable tracking? i was going to email adsense support but if someone has the answer here it would be nice.

    comments system

    #35584
    frooyo
    Member

    I just installed a fresh copy of bbpress 0.9.0.6

    Since the default installation does not create a my-plugins directory, I created such a directory at the root of the bbpress install.

    However, when I go to put some PHP files for 0.9.x plugins in my-plugins directory, it doesn’t appear those plugins are getting loaded.

    I know the *.php files located in my-plugins directory are not getting loaded because I have inserted the following code at the topic of the php files and nothing happens

    die('ALERT: my-plugins loaded');

    And I never see the message.

    Any ideas why my-plugins directory is not loading the .php files within it?

    #101214
    zaerl
    Participant

    Dear “Random Guy Says” let me write in in more simple words. bbPress is a free software, free as in freedom and free as in “free beer”. Maybe you don’t know what this means. Now we will see what the GPL states. I will only report the short form cause the entire license is too long.

    <one line to give the program’s name and a brief idea of what it does.>

    Copyright (C) <year> <name of author>

    This program is free software: you can redistribute it and/or modify

    it under the terms of the GNU General Public License as published by

    the Free Software Foundation, either version 3 of the License, or

    (at your option) any later version.

    This program is distributed in the hope that it will be useful,

    but WITHOUT ANY WARRANTY; without even the implied warranty of

    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License

    along with this program. If not, see <http://www.gnu.org/licenses/&gt;.

    This is the base of the entire open-source movement of the last 21 years. You get the software _as it is_. You don’t like the software? The developer stop supporting it? Then modify it, you are free to do it. (addendum: Automattic doesn’t provide any kind of official support for bbPress and when someone has a problem he comes here and ask with the hope that someone will solve the problem and as you clearly can see I’m trying to do my best and I’m not one of the official developers).

    If you have a web domain I assume that you have an FTP client as well as phpmyadmin as well as a text editor. You don’t know how to change the default number of forums? Write a couple of lines here and someone will answer you back.

    But like I said, these are basic forum elements that are missing – for instance, if you have more than 10 topics, by default your forum is now 2 pages long … And to a degree, I agree with that, where the ability to customize the software’s appearance to suit almost anything is a huge reason why I considered it

    You know what? There is a feature, a big one, called “templates”. In a template you can change everything you want and there are gazillion of functions that you can call. Why should a forum software must have an option for changing the number of forum displayed? It’s one of that “set it and forget it” option. Change a line (an operation that can be accomplished in nearly 20 seconds) on the template and enjoy your board.

    But as Kawauso said, even if the bbPress team made their own optional plugins supporting these basic features (again e.g. polls), at least we wouldn’t have to worry about them losing support.

    Akismet and PollDaddy are two service that have premium account.

    The plugin idea is what drives the modern days cause it’s far more simple to add a plugin to a repository than sending a core patch to the official dev teams. Plugins are the key features of all successfull modern software. Some example:

    1) WordPress

    2) Movable Type

    3) The entire Mozilla software line (Firefox, Thunderbird, etc)

    4) Joomla!

    5) Drupal

    5) and many, many other

    Modular design is the present and the future and thanks God a lot of bloatware are disappearing.

    I don’t say that bbPress is an easy to use software. It’s not an “upload and run” software. It suffers the fact that it’s a pretty young software and you must know a bit of php in order to set up it for being the base of a medium-sized community. That’s true. But I think that an administrator must be bit skilled in php/mySQL/mambo-jumbo. I choosed bbPress cause I was frustrated by phpBB and then I was frustrated by bbPress as well but this is the damnation of the system administrator. I have written 7 plugins in order to accomodate my needs and the needs of the community (zaerl Editor, zaerl Visibility, zaerl Post Permalink and zaerl WordPress 3 fix over all) and then I am happy with my system.

    Conclusion: it’s ok if you don’t want to use bbPress. I understand your difficulties with plugin/themes and in general the personalizations at code-level. But I can assure you that once you do that couple of changes you will enjoy a great system.

    Have a nice day.

    #96114
    zaerl
    Participant

    Dear “Random Guy Says” let me write in in more simple words. bbPress is a free software, free as in freedom and free as in “free beer”. Maybe you don’t know what this means. Now we will see what the GPL states. I will only report the short form cause the entire license is too long.

    <one line to give the program’s name and a brief idea of what it does.>

    Copyright (C) <year> <name of author>

    This program is free software: you can redistribute it and/or modify

    it under the terms of the GNU General Public License as published by

    the Free Software Foundation, either version 3 of the License, or

    (at your option) any later version.

    This program is distributed in the hope that it will be useful,

    but WITHOUT ANY WARRANTY; without even the implied warranty of

    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License

    along with this program. If not, see <http://www.gnu.org/licenses/&gt;.

    This is the base of the entire open-source movement of the last 21 years. You get the software _as it is_. You don’t like the software? The developer stop supporting it? Then modify it, you are free to do it. (addendum: Automattic doesn’t provide any kind of official support for bbPress and when someone has a problem he comes here and ask with the hope that someone will solve the problem and as you clearly can see I’m trying to do my best and I’m not one of the official developers).

    If you have a web domain I assume that you have an FTP client as well as phpmyadmin as well as a text editor. You don’t know how to change the default number of forums? Write a couple of lines here and someone will answer you back.

    But like I said, these are basic forum elements that are missing – for instance, if you have more than 10 topics, by default your forum is now 2 pages long … And to a degree, I agree with that, where the ability to customize the software’s appearance to suit almost anything is a huge reason why I considered it

    You know what? There is a feature, a big one, called “templates”. In a template you can change everything you want and there are gazillion of functions that you can call. Why should a forum software must have an option for changing the number of forum displayed? It’s one of that “set it and forget it” option. Change a line (an operation that can be accomplished in nearly 20 seconds) on the template and enjoy your board.

    But as Kawauso said, even if the bbPress team made their own optional plugins supporting these basic features (again e.g. polls), at least we wouldn’t have to worry about them losing support.

    Akismet and PollDaddy are two service that have premium account.

    The plugin idea is what drives the modern days cause it’s far more simple to add a plugin to a repository than sending a core patch to the official dev teams. Plugins are the key features of all successfull modern software. Some example:

    1) WordPress

    2) Movable Type

    3) The entire Mozilla software line (Firefox, Thunderbird, etc)

    4) Joomla!

    5) Drupal

    5) and many, many other

    Modular design is the present and the future and thanks God a lot of bloatware are disappearing.

    I don’t say that bbPress is an easy to use software. It’s not an “upload and run” software. It suffers the fact that it’s a pretty young software and you must know a bit of php in order to set up it for being the base of a medium-sized community. That’s true. But I think that an administrator must be bit skilled in php/mySQL/mambo-jumbo. I choosed bbPress cause I was frustrated by phpBB and then I was frustrated by bbPress as well but this is the damnation of the system administrator. I have written 7 plugins in order to accomodate my needs and the needs of the community (zaerl Editor, zaerl Visibility, zaerl Post Permalink and zaerl WordPress 3 fix over all) and then I am happy with my system.

    Conclusion: it’s ok if you don’t want to use bbPress. I understand your difficulties with plugin/themes and in general the personalizations at code-level. But I can assure you that once you do that couple of changes you will enjoy a great system.

    Have a nice day.

    #101212

    I understand what you’re saying. But like I said, these are basic forum elements that are missing – for instance, if you have more than 10 topics, by default your forum is now 2 pages long as opposed to giving the option to choose what’s visible so you can prevent this problem from happening the way other bulletin boards do – without having to edit code. Polls and the like are also standard forum material that are absent with bbPress. As I’ve said before, I understand the premise of the bbPress software – less code is more. And to a degree, I agree with that, where the ability to customize the software’s appearance to suit almost anything is a huge reason why I considered it. But as Kawauso said, even if the bbPress team made their own optional plugins supporting these basic features (again e.g. polls), at least we wouldn’t have to worry about them losing support.

    And rjeevan, you’re right, there’s always a risk. Say I install bbPress and one day they stop development. I already have the risk of whether or not a plugin providing a basic accustomed feature will just get discontinued one day, now I have to worry about losing the entire forums too. You’re argueing that there’s always risk, but missing the fact that with software like bbPress (and to a lesser extent, phpbb) there’s more risk. Things like this are in my opinion what’s holding open source software back, when Kawauso provided a simple solution that could in turn please everyone (provided the plugins are developed and maintained by their respectable counterparts).

    Ben – For the record, you not reading the EULA on any forum you joined is exactly why an EULA is needed.

Viewing 25 results - 19,876 through 19,900 (of 32,517 total)
Skip to toolbar