Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,001 through 27,025 (of 32,522 total)
  • Author
    Search Results
  • #67370
    brad_langdon
    Member

    I think for the target audience I have that is not ideal.

    It’s for a jet boating forum so the majority of my users are very outdoorsy and not that computer savvy.

    They are used to uploading pics on other forums and having them show up straight away. It makes sense. Why would you go to all of that trouble when other forums do it for you automatically.

    Is there a way to modify the plugin code?

    When you click insert it must do something so cant we just take that code and put it in the appropriate place ao that it does it straight after uploading?

    Sorry if that is a stupid question, I am far from an expert.

    #3931
    Jens Wedin
    Member

    Here is a function list for the v1.0 alpha one. As the developers do not add any documentation I found this on the net. You can you this by your own if you have an older or newer version of bbPress by doing this command in the terminal (linux or mac):

    grep -oe ^function.*) bb-includes/template-functions.php | sort > functions.txt

    This idea is Tims (http://timjoh.com), I used updated his idea.


    function _bb_list_tag_item( $tag, $args )
    function _bb_parse_time_function_args( $args )
    function _bb_time_function_return( $time, $args )
    function allowed_markup( $args = '' )
    function alt_class( $key, $others = '' )
    function bb_active_theme_uri()
    function bb_admin_link( $args = '' )
    function bb_current_user_info( $key = '' )
    function bb_feed_head()
    function bb_forum()
    function bb_forum_bread_crumb( $args = '' )
    function bb_forum_class( $args = null )
    function bb_forum_dropdown( $args = '' )
    function bb_forum_pad( $pad, $offset = 0 )
    function bb_forum_posts_rss_link( $forum_id = 0, $context = 0 )
    function bb_forum_topics_rss_link( $forum_id = 0, $context = 0 )
    function bb_get_active_theme_uri()
    function bb_get_admin_link( $args = '' )
    function bb_get_current_user_info( $key = '' )
    function bb_get_footer()
    function bb_get_forum_bread_crumb($args = '')
    function bb_get_forum_dropdown( $args = '' )
    function bb_get_forum_is_category( $forum_id = 0 )
    function bb_get_forum_posts_rss_link( $forum_id = 0, $context = 0 )
    function bb_get_forum_topics_rss_link( $forum_id = 0, $context = 0 )
    function bb_get_header()
    function bb_get_location()
    function bb_get_logout_link( $args = '' )
    function bb_get_post_delete_link( $post_id = 0 )
    function bb_get_post_edit_link( $post_id = 0 )
    function bb_get_post_ip_link( $post_id = 0 )
    function bb_get_post_time( $args = '' )
    function bb_get_posts_rss_link($context = 0)
    function bb_get_profile_link( $args = '' )
    function bb_get_stylesheet_uri( $stylesheet = '' )
    function bb_get_tag_heat_map( $tags, $args = '' )
    function bb_get_tag_link( $tag_name = 0, $page = 1 )
    function bb_get_tag_link_base()
    function bb_get_tag_name( $id = 0 )
    function bb_get_tag_page_link()
    function bb_get_tag_remove_link( $args = null )
    function bb_get_tag_rss_link( $tag_id = 0, $context = 0 )
    function bb_get_template( $file )
    function bb_get_theme_uri( $theme = false )
    function bb_get_title( $args = '' )
    function bb_get_topic_close_link( $args = '' )
    function bb_get_topic_delete_link( $args = '' )
    function bb_get_topic_pagecount( $topic_id = 0 )
    function bb_get_topic_sticky_link( $args = '' )
    function bb_get_topics_rss_link($context = 0)
    function bb_get_user_email( $id )
    function bb_get_user_id( $id = 0 )
    function bb_get_view_rss_link($context = 0)
    function bb_head()
    function bb_is_topic_lastpage( $topic_id = 0 )
    function bb_language_attributes( $xhtml = 0 )
    function bb_list_tags( $args = null )
    function bb_load_template( $file, $globals = false )
    function bb_location()
    function bb_logout_link( $args = '' )
    function bb_new_topic_forum_dropdown()
    function bb_post_admin()
    function bb_post_template()
    function bb_post_time( $args = '' )
    function bb_profile_admin_form( $id = 0 )
    function bb_profile_base_content()
    function bb_profile_data( $id = 0 )
    function bb_profile_data_form( $id = 0 )
    function bb_profile_link( $args = '' )
    function bb_profile_password_form( $id = 0 )
    function bb_related_tags_heat_map( $args = '' )
    function bb_sort_tag_heat_map( &$tag_counts )
    function bb_stylesheet_uri( $stylesheet = '' )
    function bb_tag_heat_map( $args = '' )
    function bb_tag_link( $id = 0, $page = 1 )
    function bb_tag_link_base()
    function bb_tag_name( $id = 0 )
    function bb_tag_page_link()
    function bb_tag_remove_link( $args = null )
    function bb_tag_rss_link( $id = 0, $context = 0 )
    function bb_template_scripts()
    function bb_title( $args = '' )
    function bb_topic_admin( $args = '' )
    function bb_topic_labels()
    function bb_topic_pagecount( $topic_id = 0 )
    function bb_topic_search_form( $args = null, $query_obj = null )
    function edit_form()
    function favorites_link( $user_id = 0 )
    function favorites_pages()
    function favorites_rss_link( $id = 0, $context = 0 )
    function forum_description( $args = null )
    function forum_id( $forum_id = 0 )
    function forum_link( $forum_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function forum_name( $forum_id = 0 )
    function forum_pages( $forum_id = 0 )
    function forum_posts( $forum_id = 0 )
    function forum_topics( $forum_id = 0 )
    function full_user_link( $id = 0 )
    function get_allowed_markup( $args = '' )
    function get_alt_class( $key, $others = '' )
    function get_favorites_link( $user_id = 0 )
    function get_favorites_rss_link( $id = 0, $context = 0 )
    function get_forum_description( $forum_id = 0 )
    function get_forum_id( $forum_id = 0 )
    function get_forum_link( $forum_id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function get_forum_name( $forum_id = 0 )
    function get_forum_parent( $forum_id = 0 )
    function get_forum_position( $forum_id = 0 )
    function get_forum_posts( $forum_id = 0 )
    function get_forum_topics( $forum_id = 0 )
    function get_full_user_link( $id = 0 )
    function get_page_number_links($page, $total)
    function get_post_author( $post_id = 0 )
    function get_post_author_id( $post_id = 0 )
    function get_post_author_title( $post_id = 0 )
    function get_post_author_title_link( $post_id = 0 )
    function get_post_id( $post_id = 0 )
    function get_post_ip( $post_id = 0 )
    function get_post_link( $post_id = 0 )
    function get_post_text( $post_id = 0 )
    function get_profile_tab_link( $id = 0, $tab, $page = 1 )
    function get_topic_author( $id = 0 )
    function get_topic_deleted_posts( $id = 0 )
    function get_topic_id( $id = 0 )
    function get_topic_last_post_link( $id = 0 )
    function get_topic_last_poster( $id = 0 )
    function get_topic_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function get_topic_posts( $id = 0 )
    function get_topic_rss_link( $id = 0, $context = 0 )
    function get_topic_start_time( $args = '' )
    function get_topic_time( $args = '' )
    function get_topic_title( $id = 0 )
    function get_user_delete_button()
    function get_user_display_name( $id = 0 )
    function get_user_link( $id = 0 )
    function get_user_name( $id = 0 )
    function get_user_profile_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function get_user_title( $id = 0 )
    function get_user_type( $id = 0 )
    function get_user_type_label( $type )
    function get_view_link( $_view = false, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function get_view_name( $_view = '' )
    function is_bb_admin()
    function is_bb_favorites()
    function is_bb_feed()
    function is_bb_profile()
    function is_bb_search()
    function is_bb_stats()
    function is_bb_tag()
    function is_bb_tags()
    function is_forum()
    function is_front()
    function is_topic()
    function is_view()
    function login_form()
    function manage_tags_forms()
    function new_topic( $args = null )
    function post_anchor_link( $force_full = false )
    function post_author( $post_id = 0 )
    function post_author_avatar( $size = '48', $default = '', $post_id = 0 )
    function post_author_avatar_link( $size = '48', $default = '', $post_id = 0 )
    function post_author_id( $post_id = 0 )
    function post_author_link( $post_id = 0 )
    function post_author_title( $post_id = 0 )
    function post_author_title_link( $post_id = 0 )
    function post_author_type( $post_id = 0 )
    function post_del_class( $post_id = 0 )
    function post_delete_link( $post_id = 0 )
    function post_edit_link( $post_id = 0 )
    function post_form( $h2 = '' )
    function post_id( $post_id = 0 )
    function post_ip( $post_id = 0 )
    function post_ip_link( $post_id = 0 )
    function post_link( $post_id = 0 )
    function post_text( $post_id = 0 )
    function profile_menu()
    function profile_pages()
    function profile_tab_link( $id = 0, $tab, $page = 1 )
    function search_form( $q = '' )
    function tag_form( $args = null )
    function tag_pages()
    function topic_author( $id = 0 )
    function topic_class( $class = '', $key = 'topic', $id = 0 )
    function topic_close_link( $args = '' )
    function topic_delete_link( $args = '' )
    function topic_id( $id = 0 )
    function topic_last_post_link( $id = 0 )
    function topic_last_poster( $id = 0 )
    function topic_link( $id = 0, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function topic_move_dropdown( $id = 0 )
    function topic_noreply( $title )
    function topic_pages( $id = 0 )
    function topic_pages_add( $id = 0 )
    function topic_posts( $id = 0 )
    function topic_posts_link( $id = 0 )
    function topic_rss_link( $id = 0, $context = 0 )
    function topic_show_all_link( $id = 0 )
    function topic_start_time( $args = '' )
    function topic_sticky_link( $args = '' )
    function topic_tags()
    function topic_time( $args = '' )
    function topic_title( $id = 0 )
    function user_delete_button()
    function user_favorites_link($add = array(), $rem = array(), $user_id = 0)
    function user_link( $id = 0 )
    function user_profile_link( $id = 0 , $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function user_title( $id = 0 )
    function user_type( $id = 0 )
    function user_type_label( $type )
    function view_link( $_view = false, $page = 1, $context = BB_URI_CONTEXT_A_HREF )
    function view_name( $view = '' ) { // Filtration should be done at bb_register_view()
    function view_pages()


    #66704

    In reply to: bbPress 1.0 alpha

    wiseacre
    Member

    @Thion – I think 2018-2019 ;)

    bbpress needs all (all current and all “release critical”;) bugs at least) bug fixes … and 3-4 relatively small enhancements.

    I think regular (every 4-5 weeks) alfa-s will be useful.

    #67357
    _ck_
    Participant

    The login form is so low because you specified position bottom -200px and that means for it’s parent element.

    .login {
    position: absolute;
    bottom: -200px;

    If you wanted it 200px from the bottom of the header, that means either the header is not being closed properly or the header needs a position:relative;

    #header {position:relative;}

    or you could just change it to position from the top:

    .login {
    position: absolute;
    top: 20px;

    I am also concerned that it takes nearly half a minute for a page to completely load on your site.

    #66070
    chrishajer
    Participant

    The wp-config-sample.php for WordPress 2.5.1 most DEFINITELY has that constant (line 13). Maybe you upgraded and used an old wp-config.php. You would never see the new constants unless you updated a wp-config-sample.php with your old database details.

    // Change SECRET_KEY to a unique phrase.  You won't have to remember it later,
    // so make it long and complicated. You can visit https://api.wordpress.org/secret-key/1.0/
    // to get a secret key generated for you, or just make something up.
    define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

    #3749
    bmc_webdev
    Member

    I have an installation of bbpress 0.9 (installed independent from WordPress).

    When I pull the rss feed, I get code that looks like this:

    <item>
    <title>Anonymous on "Hello"</title>
    <link>http://forums.brynmawr.edu/topic.php?id=2#post-8</link>
    <pubDate>Fri, 29 Aug 2008 21:45:22 +0000</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <guid isPermaLink="false">8@http://forums.brynmawr.edu/</guid>
    <description><p>test
    </p></description>
    </item>

    The <p> is a <p> tag that is entity-encoded (I presume so that <p> won’t be parsed as an XML tag by an XML parser).

    This is causing an issue with the feed parser that I am using (lastRSS): the parser is passing the <description> contents through unchanged, and so I’m getting literal “<p>” and “<p/>” on the pages that use lastRSS.

    I believe that the standard method of embedding HTML into an XML feed (or any XML document) is to use CDATA blocks:

    <description><![CDATA[<p>test
    </p>]]></description>

    and this is the way feeds from wordpress, blogger, etc are formatted. bbpress should really do the same thing so that feed parsers like lastRSS will pass through correct HTML (in this example, text wrapped by a paragraph tag, rather than text with character entities that cause the browser to display the literal characters)

    Can the feed generator code be changed to use CDATA blocks?

    Thank you.

    #67127
    benzilla069
    Member

    I’m just trying ghetto solutions at the moment just to see if I can actually get something to work.

    $SQLtopic_id = 3;

    $SQLtopic_title = 'Test';

    $SQLtopic_slug = 'topic-test-slug';

    $SQLtopic_poster = '1';

    $SQLtopic_poster_name = 'admin';

    $SQLtopic_last_poster = 1;

    $SQLtopic_last_poster_name = 'admin';

    $SQLtopic_start_time;

    $SQLtopic_topic_time;

    $SQLtopic_forum_id = 1;

    $SQLtopic_topic_status = 0;

    $SQLtopic_open = 1;

    $SQLtopic_last_post_id = 1;

    $SQLtopic_topic_sticky = 0;

    $SQLtopic_posts = 1;

    $SQLtopic_tag_count = 0;

    //$SQLtopic_id, $SQLtopic_title, $SQLtopic_slug, $SQLtopic_poster, $SQLtopic_poster_name, $SQLtopic_last_poster, $SQLtopic_last_poster_name, $SQLtopic_start_time, $SQLtopic_topic_time, $SQLtopic_forum_id, $SQLtopic_topic_status, $SQLtopic_open, $SQLtopic_last_post_id, $SQLtopic_topic_sticky, $SQLtopic_posts, $SQLtopic_tag_count

    // set database server access variables:

    $host = “”;

    $user = “”;

    $pass = “”;

    $db = “”;

    // open connection

    $connection = mysql_connect($host, $user, $pass) or die (“Unable to connect!”);

    // select database

    mysql_select_db($db) or die (“Unable to select database!”);

    mysql_query(“INSERT INTO bb_topics (topic_id, topic_title, topic_slug, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id, topic_status, topic_open, topic_last_post_id, topic_sticky, topic_posts, tag_count)

    VALUES ($SQLtopic_id, $SQLtopic_title, $SQLtopic_slug, $SQLtopic_poster, $SQLtopic_poster_name, $SQLtopic_last_poster, $SQLtopic_last_poster_name, $SQLtopic_start_time, $SQLtopic_topic_time, $SQLtopic_forum_id, $SQLtopic_topic_status, $SQLtopic_open, $SQLtopic_last_post_id, $SQLtopic_topic_sticky, $SQLtopic_posts, $SQLtopic_tag_count)”);

    mysql_close($connection);

    Adds nothing to the database.

    #67261
    meitershaker
    Member

    hi ck! i try to do that for the delete_link: http://pastebin.com/m1152200f

    but nothing happens :( why?

    #3928
    kannued
    Participant

    I run multiple forums using a single database. I successfully upgraded my first forum. Now, I’m trying to upgrade my second. In my install of the upgrade for the second forum, at the second step, it flipped out of the install to my first forum. In bb-config, I changed this line to my database name for this forum.

    $bb_table_prefix = 'clubs'; // Only letters, numbers and underscores please!

    Then when I called the url for the second forum, the install re-occurred at the second step which I was able to continue successfully to the end.

    When I called on the url for the second forum, it did appear. But when I try to login on the second forum, I get an error message “Could not determine site URI”. The url is suddenly my first forum “http://www.example.com/firstforum/bb-login.php&#8221;

    What do I need to change so I can login to my second forum?

    #67304
    eliza_ann
    Member

    Thank you so much ck! I hadn’t resolved a cookies issue and was still logged in without realizing it, so I didn’t realize I was still viewing it with admin privs. If I’d just stopped for the night like I knew I should, and looked at it fresh in the morning, I wouldn’t have troubled anyone. Lesson learned. Listen to your inner clock! :D

    Thanks again. Your plugins and support are top notch, and your hard work is greatly appreciated.

    #67339

    In reply to: All setting use cache

    _ck_
    Participant

    leoleoleo (and everyone) put this line into bb-config.php (before the “stop editing” part)

    $bb->load_options = true;

    That should slice at least 100ms off that time and reduce the queries by half. I still don’t understand why it’s not the bbPress default.

    “Forum is category” is not needed under bbPress 1.0 which does category forums internally.

    Also, the bb-gzip plugin is only necessary if your server does not already compress pages, which is rare these days, so make sure you are not duplicating the effort.

    Some of my plugins are still not optimized for 1.0 so they might be slower or cause more queries than under 0.9

    #67338

    In reply to: All setting use cache

    leoleoleo
    Member

    Because my bbpress “Page made in 0.317 seconds, 29 queries. ” . I am using bbPress 1.0 Alpha

    and installed plugins is

    bb-rating

    bbPress Polls

    BBcode Buttons Toolbar

    All Settings

    Allow Images

    bbPress Web Compression (bb-gzip)

    Forum is category

    BBPress Private Messaging

    BB-Ads

    Quote

    #67336

    In reply to: All setting use cache

    chrishajer
    Participant

    From the FAQ:

    serialized and boolean data (true/false) cannot be edited at this time for safety reasons - that may eventually change

    Based on that, I don’t think you can, at least not with this version.

    #67326
    kannued
    Participant

    What is this Add button for?

    <p>

    184<input name="tag" type="text" id="tag" size="10" maxlength="30" />

    185<input type="hidden" name="id" value="36" />

    186<input type="submit" name="Submit" id="tagformsub" value="Add »" />

    187</p>

    #3922
    kannued
    Participant

    I upgraded from 8.3 to 9.0.2. The main forum pages are fine but I have style sheet problems when I go to a topic. My style sheet is three columns. In IE6, in a post, the main column is wrapping onto my left column, and obliterating most of my right column. I never had this problem with 8.3.

    Firefox2 is readable. But there is a blank box with an “Add” button that is creating width problems. Otherwise the columns are sizing correctly.

    Here is my code:

    #main {
    position: relative;
    width: auto;
    margin: 0px 0px 0px 0px;
    color: #000000;
    background: #ffffff;
    padding: 10px;
    z-index: 3;
    }

    It appears that I need a special style now for the topics in my style sheet?

    #67274
    _ck_
    Participant

    This all comes down to the ldap so you are going to have to ask the author directly (apparently Sam who is very busy these days on bbPress 1.0 development) or hope that there are other ldap users who know. Personally I have to go lookup what the heck ldap is in the first place ;-)

    I will suggest this much – if you are using 1.0 alpha, the plugin has probably broken compatibility with it and is only meant for 0.9

    #67299

    In reply to: Is BBPress Any Good?

    _ck_
    Participant

    bbPress is also very young so expectations should not be as high as WordPress (ie. robust plugin library). It’s about equal to WordPress back in 2003. While it benefits from code development on WordPress, it’s still 5 years younger.

    But writing plugins for bbPress is as easy for WordPress (and in some cases easier because of improvements over WordPress’s legacy design). I’m definitely an example of this as I had never written a full PHP program or plugin of any kind before my bbPress plugins.

    #3919
    meitershaker
    Member

    Hi,

    like phpBB, i think it is interesting to open a wiki (with dokuwiki? :) )

    why? because for example, i have many ideas of plugins, but the documentation is too small for i can understand how to do that :/

    so, it is possible or not? :p

    please please please :p

    #67296

    In reply to: Is BBPress Any Good?

    thion
    Member

    For me it’s clear – bbPress puts user first, but it sucks without developer – I’m talking about board developer, not script developers ;). Someone need to set up forum first, and he is using this great engine-core as I’m calling it with additional plugins he need – if one is creating forum for php coders, then he don’t need bbcode or any form of editor, as users will know stuff. This forum for example don’t need editor because its target is people who are developing using bbPress.

    For me, it’s a library of functions ready to set up a great, huge and fast forum – if you want a board like “set up and forget about it” then go and use phpbb3 – huge, slow with thousands of useless options. But if you’re a developer, then there’s nothing better than bbPress for you.

    #67295

    In reply to: Is BBPress Any Good?

    lstelie
    Member

    Hello,

    Notice : there is no pun intended in what follow, no troll intended, no critic, no aggressive talk and so on.

    Pat1953 question is an interesting one, a question that I asked to myself sometimes.

    The « problem » with BBpress is that for an average user (perhaps it’s different for developers) there is no clear direction about where the software is going.

    I was very early WP user (and I’m still a very happy WP user) so when BBPress appears a lot of years (in internet time) ago, i tried it.

    Then I used several other package more polished, more feature packed and so on.

    I came back to BBPress learning that Automattic was founded hopping this could mean a strong development for the forum software and hopefully a real integration with WP.

    What is strange with BBPress is that despite it’s a rather old forum software, it is still (from a user perspective) far behind scripts that are developped by a single guy (for example in the WP world, Simple :Press is far more sophisticated and integrated) and it has a very strange way of describing it self.

    For example reading The Philisophy it’s written “Put the user first”… despite the fact BBpress is now probably the only forum script without any editor (even a BB code functionality requires a third part plug in), the only one which end users are supposed to know a little bit of HTML.

    The integration with WP is also a very strange aspect. By integration I’m not talking about sharing users base and connection, but real semantic integration.

    WP lacks a forum part. I maintain a personal website since now close to 10 years and it’s clear for me now (it was not clear at first) that comments, and forum discussions are not the same things, and that they address different needs.

    A comment will be buried in the weblog archives after a few days so finding it will be near impossible for a classic visitor.

    On the other hand, forum post are better ordered, easier and more natural to find out and son on.

    So if I write a blog post about my holidays and two readers answer “cool, it seem it was great”.. comments are exactly what I need.

    If I write a blog post about a very interesting thing that will be still of a great interest two years later (even two months later) its better to redirect people to a forum topic, because the discussion will be interesting and deserve to be kept and easy to find out.

    So after many years of WP use, I think BBpress is a required integrated part of WP.

    But nothing is very clear in BBpress documentation about where the project is heading.

    Luc

    #3915
    meitershaker
    Member

    Hi,

    with this plugin: http://bbpress.org/plugins/topic/live-comment-preview/

    with the 1.0 alpha, the ajax effect doesn’t work, i have only the button :/

    the author is here?

    i think it is necessary to put a “last visit” field in the profile of developers here lol

    Bye!

    #66702

    In reply to: bbPress 1.0 alpha

    thion
    Member

    So how do you think, when Official 1.0 will be ready? :)

    #67294

    In reply to: Is BBPress Any Good?

    thion
    Member

    > What do I get with bbPress?

    The most coder-friendly Engine Core I ever seen :P. If you know how to code of course – coding plugins for bbPress is a pure pleasure.

    #3913
    pab1953
    Member

    In vBulletin, if I want to pay $180, I could get the Porsche (reportedly) of message boards. In phpBB, if I want to grapple with a sizable infrastructure, I could get perhaps the most seasoned of the free forum systems.

    What do I get with bbPress? Is it secure? Will it get spammed to death? Is it stable? Is it designed for personal sites or can businesses use it with confidence?

    Here’s one very specific question: How do I add a link to bbPress to take people back to my WordPress home page?

    BTW, the installation was a breeze. :)

    #67275

    In reply to: Dreampush.com

    meitershaker
    Member

    very nice! bravo!

    little question: how to add “Joined: Apr ’08, Posts: 11” under the avatar in posts? thanks :p

    nice theme ;)

    ++

Viewing 25 results - 27,001 through 27,025 (of 32,522 total)
Skip to toolbar