Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,851 through 18,875 (of 32,499 total)
  • Author
    Search Results
  • Rodney
    Member

    I’m trying to make the user interface a bit more friendly in my bbpress install and I can’t seem to find the text “You must log in to post.”

    This is the text that shows up to guests when they are trying to start a new topic or if they want to reply to a post.

    I’d like to add a nice “Login” button there as a call to action so people easily know where to go.

    Anybody know where that text is in the code so I can edit it or add something to it?

    #37915
    Fyshi
    Member

    As you know there is some markup allowed in bbPress. This is pretty good but i think the allowed tags are not enough. So I’m asking if there are plans to integrate the <u> and the <i> in future releases of bbPress. I modified the “allow Images”-Plug-In. But I think there is nothing that speaks against the integration of these tags.

    #91972

    In reply to: Kakumei Black

    copperblade
    Participant

    Times change, WPExplorer, and so does the software I have installed on my site. I don’t think there’s any way for me to edit the old post to change the link. But you can still go here:

    http://kakumei-black.googlecode.com/

    wemaflo
    Member

    I just downloaded bbPress 1.0.3 to my webserver (Debian Lenny with ISPConfig) and unzipped it. After that I tried to reach the installation script in my browser on bbpress.example.com and got the following error messages:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/clients/client4/web8/bb-config-path.php) is not within the allowed path(s): (/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web8/web/bb-load.php on line 141

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/clients/client4/web8/bb-config.php) is not within the allowed path(s): (/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web8/web/bb-load.php on line 165

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client4/web8/web/bb-load.php:141) in /var/www/clients/client4/web8/web/bb-load.php on line 179

    PHP open_basedir is set to:

    /var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

    bbPress is located in “/var/www/clients/client4/web8/web/” none of the bbPress files is located in “/var/www/clients/client4/web8/”. So why should bb-config-path.php or bb-config.php be there?

    How can I solve this problem?

    #99873
    moogie1
    Member

    Actually, never mind, I figured it out.

    A simple note, such as “Hey stupid, all you need is a properly formatted readme.txt in your plugin folder.” would have made it even easier though :)

    #104973
    moogie1
    Member

    Actually, never mind, I figured it out.

    A simple note, such as “Hey stupid, all you need is a properly formatted readme.txt in your plugin folder.” would have made it even easier though :)

    #99872
    moogie1
    Member

    Thanks, just got the access today. For what it is worth, a notice on the request page stating that the requests are processed by humans might be useful.

    The bigger question at this point however is — now that I have the access, then what? :) Are there any instructions available anywhere?

    Note that I am not referring to instructions on how to use SVN; than I can do. But since there doesn’t appear to be any web UI to manage the plugin, information how to manage it using the SVN would be helpful.

    #104972
    moogie1
    Member

    Thanks, just got the access today. For what it is worth, a notice on the request page stating that the requests are processed by humans might be useful.

    The bigger question at this point however is — now that I have the access, then what? :) Are there any instructions available anywhere?

    Note that I am not referring to instructions on how to use SVN; than I can do. But since there doesn’t appear to be any web UI to manage the plugin, information how to manage it using the SVN would be helpful.

    #95066
    tooltrainer
    Member

    Hey John, welcome back. =)

    Re: unread posts, I actually had it created as a plugin and the basics work very nicely, just writing to wp_usermeta to keep track of what posts each user has read. Don’t know if that’s the best approach but it’s what myself and Pippin over at http://www.pippinspages.com came up with. He did the heavy lifting and gave me quite an education on WP plugin development!

    On to another question however… I see that bbP has options for “Allow users to mark topics as favorites?” as well as “Allow users to subscribe to topics” but they don’t appear to do anything. I hard-edited loop-topics.php to force those options to display and sure enouogh there are buttons for those things, but they never show up. Why is that? I’ve currently got two different plugins to try to achieve this functionality and it would be WAY better if it’s already built in, as it seems to be! Any insight on how to enable them?

    Thanks for what is definitely an awesome forum platform!

    Jonathan

    #57743
    aleskalex
    Member

    hey, thanks timskii

    it did great!

    i’m under wordpress 3.0.5 and the latest version of bbPress

    for defualt’s permalinks (standard profile.php?id=.. type)

    you can try this replacement:

    replace:

    $my_profile_destination = $my_forums_directory.”profile/”.esc_attr( str_replace( ” “, “-“, strtolower( $user_login ) ) ).”/edit”;

    with:

    $my_profile_destination = $my_forums_directory.”profile.php?id=”.$current_user->ID;

    isn’t there any WP plugin for this? we should take it into something more customizable. To make it easy to use, what do you think? I’m not experienced with lots of wp code but this could be helpful for others too.

    anyone willing to help?

    #95064
    Anonymous User 7670885
    Inactive

    I’ve try now latest plugin release and seems to works very good :)

    Why don’t start with a beta convert from standalone? ;)

    #37840
    moogie1
    Member

    Hi,

    I’ve tried adding a new plugin to the repository using the form at http://bbpress.org/plugins/forum/requests. This went fine, I got the request done, but then — nothing.

    If I’ve understood correctly, I should have received an email with instruction/link to the SVN. This didn’t happen though.

    I did this a couple hours ago. Am I just too hasty, or is something not quite working? :)

    #37836

    Topic: remove sidebar inove

    in forum Themes
    ajz
    Member

    Hi all! Im using the inove theme for my forum and i was wondering how to remove the sidebar from it and stretch out the front page..

    Like this.. http://dl.dropbox.com/u/11000500/gw2sverige/test.png

    I hope somebody will understand and help me with this :D

    regards,

    ajz

    #95063

    Sorry for being absent the past few days; was away at a team event and did not have much time to reply.

    I have the hidden topic/reply issue resolved, but will need to test it before committing.

    @tooltrainer – You can “close” forums without making them hidden, which should act the way you need. Regarding marking topics as ‘read,’ bbPress has never kept track of previously read topics, but it could be done either with cookies, or the last_activity of the user. Thinking this might make a better plugin than a core feature, but we’ll see how the next few weeks looks. In the meantime, feel free to create a ticket at trac.bbpress.org and mark it as an ‘enhancement’ and I’ll research it. :)

    #95061
    tooltrainer
    Member

    On thinking this through I don’t think it’s possible to know if a post has been read or not, it doesn’t look like the plugin even keeps track of that at all, does it? Since every forum topic is really just a post internally, I don’t think it’s even *possible* to track read/unread in the current state. Would require some sort of lookup table to match each user to the read state of each forum topic… bleh. =(

    I’ve put so much work into integrating the bbP plugin into my site, I really don’t want to switch gears now. If anyone has any suggestions on the best way to tackle this, please speak up!

    Thanks…

    Jonathan

    km
    Member

    Hi all,

    I am using BBPress 1.03 and WordPress 3.1.

    I have installed both, and BBpress successfully using my WordPress user database, with the relevant user roles mapped. I can log into BBpress using my WordPress user accounts.

    I have the following at the top of both my wp-config.php file and my bb-config.php file (note: I don’t have the COOKIEHASH defined in bb-config.php):

    define( 'COOKIEHASH', 'd36e8c873ff8f9c997d969ab483cd640' );
    define( 'COOKIE_DOMAIN', '.mydomain.com' );
    define( 'SITECOOKIEPATH', '/blog/' );
    define( 'ADMIN_COOKIE_PATH', '/blog' );
    define( 'COOKIEPATH', '/blog/' );

    I then have the unique keys specified in both wp-config.php and bb.config.php:

    define('AUTH_KEY',         'f3y#H_;s:WLry|<code>ja|$!|L%m0xbRE>:o@ N</code>(-Uv:,7WafXX,vR>=z>Uj c@[t>N');
    define('SECURE_AUTH_KEY', ':(S7I[u%v0K<!0HAQWP1vcop^4+,=4=jj.ceAmioE|Zo<UY|7g&w$5ntdG,=k;6!');
    define('LOGGED_IN_KEY', 'c<code>_Ce{WV{:OhB7in@>].^qb*-y=b@p|^K|_gx.%%^;</code>$2{:$X;eS5SJg<3nH.5)l');
    define('NONCE_KEY', '@C%3/EU?/O=Xt36b;Z@;McIeo7UP-|9sqi&gk/f]p?c|Jx0ZNEnCmYS-_T^?[W$');
    define('AUTH_SALT', '|++I0w;>^aBCc,eaUTRZxd+EUdj;H1q]_~1B7R blEql3lwt4#y-RziRyS&qVs5');
    define('SECURE_AUTH_SALT', 'l<i3+Y-JrYB<3rirFmNi*+>|~:NXPfI _xGzl)2?myj aY{f{%v+U#by5kfFBb5E');
    define('LOGGED_IN_SALT', 'Bk~2!XQR}_4H)qno#uTvH?+ }#h|F+KF&CSL5^a:eNM1_.aA]!~r(g|<cvl<;_@');
    define('NONCE_SALT', 'P|gX2|>ScAMaOZCrEKv#F*/yZ;Wy*a|uuVA!!ds]MUhE.U,ok+sJMe4dF0;+qft');

    (Note: in bbconfig.php all the defined values I have renamed with BB_ at the start (such as BB_AUTH_KEY)).

    However, I’m still unable to log in to one application (WordPress or BBpress) and have me automatically logged in to the other. I still have to log in to each.

    Is there something I am doing wrong?

    Kim

    #37799
    Yukon Cornelius
    Participant

    Hi,

    I was trying to add subforums to forum.php of a custom theme, by adding the following code from kakumei:

    <?php if ( bb_forums( $forum_id ) ) : ?>
    <h2><?php _e('Subforums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>

    <?php while ( bb_forum() ) : ?>
    <?php if (bb_get_forum_is_category()) : ?>
    <tr<?php bb_forum_class('bb-category'); ?>>
    <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    </tr>
    <?php continue; endif; ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </table>
    <?php endif; ?>

    Unfortunately, I broke my site. Now, even when I go back to Kakumei, the category links on my forum front page do not take me to the forum, just to a blank white screen.

    Can anyone point me in the right direction to solve this? I have only added the above code to forum.php , nothing more. Would this change the links somehow???

    Thanks.

    Y

    #75562
    iftomkins
    Participant

    thanks guys, just what I needed. I’m creating RSS-driven email lists through mailchimp, so those unfamiliar with RSS can subscribe easily to each forum topic they choose.

    Then using CK’s code to get the forum ID, showing the proper email signup form for each forum page that corresponds with that forums’ RSS-driven campaign on mailchimp.

    <?php global $topic;
    $current_topic = $topic->forum_id;
    echo $current_topic;
    if ($current_topic==2) {
    include('mailchimp/getting-started.php');
    }
    ?>

    Maybe someone else will find useful? It’s a bit labor intensive to set up, but I couldn’t figure out a better way to let people subscribe to individual forums.

    #83146
    Yukon Cornelius
    Participant

    @gerikg did you figure out how to show just the parent categories, and then the sub-categories on a separate page?

    thanks,

    J

    #99775
    joshualynch
    Member

    I upgraded to 1.0.3 and it didn’t solve the issue. I also deactivated W3 Total Cache entirely and that still didn’t work.

    We’re using a customized template of Kakumei. The link’s template tag was:

    <?php post_author_title_link(); ?>

    I edited that so that the link appears as “Member Profile” for now as we don’t have any inactive users anyway and only a few moderators and keymasters who don’t really need to be labeled as such.

    Here’s what I used to do that:

    <a href="<?php echo esc_attr( get_user_profile_link( get_post_author_id( $post_id ) ) ); ?>">Member Profile</a>

    #104875
    joshualynch
    Member

    I upgraded to 1.0.3 and it didn’t solve the issue. I also deactivated W3 Total Cache entirely and that still didn’t work.

    We’re using a customized template of Kakumei. The link’s template tag was:

    <?php post_author_title_link(); ?>

    I edited that so that the link appears as “Member Profile” for now as we don’t have any inactive users anyway and only a few moderators and keymasters who don’t really need to be labeled as such.

    Here’s what I used to do that:

    <a href="<?php echo esc_attr( get_user_profile_link( get_post_author_id( $post_id ) ) ); ?>">Member Profile</a>

    #37794
    CNWPhoto
    Member

    Hi Everyone,

    I was re-installing my bbpress onto my server to better integrate it with the server. This is the error message I received at the end of the install:

    SQL ERROR!

    >>> Database: actionp7_wrdp1 (localhost)

    >>>>>> ALTER TABLE wp_posts ADD COLUMN post_id bigint(20) NOT NULL auto_increment;

    >>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key

    SQL ERROR!

    >>> Database: actionp7_wrdp1 (localhost)

    >>>>>> ALTER TABLE wp_posts ADD PRIMARY KEY (post_id);

    >>>>>> Key column ‘post_id’ doesn’t exist in table

    What does this mean? I can no longer log in to my wordpress site with full permissions and I have no idea why. The site is blocked from the general public until launch so it was locked down with the wordpress plugin– Login Lockdown —. I’m scheduled for launch in two weeks and can’t figure out why this happened. Everything was fine before the re-install.

    Thank you for all your help in advance!

    #99820
    citizenkeith
    Participant

    I updated yesterday and I’m getting a similar error on recount:

    Fatal error: Call to a member function on a non-object in /path/to/html/forums/bb-admin/includes/functions.bb-recount.php on line 141

    #104920
    citizenkeith
    Participant

    I updated yesterday and I’m getting a similar error on recount:

    Fatal error: Call to a member function on a non-object in /path/to/html/forums/bb-admin/includes/functions.bb-recount.php on line 141

    Tomcraft1980
    Member

    Hi there,

    I upgraded from 1.0.2 to 1.0.3 (deep integrated into WP 3.1.0) and now the recount tools give me erros when using the tag-recounts:

    Fatal error: Call to a member function query() on a non-object in /var/www/clients/client1/web26/web/xtcmodified/wordpress/forum/bb-admin/includes/functions.bb-recount.php on line 141
    Fatal error: Call to a member function get_terms() on a non-object in /var/www/clients/client1/web26/web/xtcmodified/wordpress/forum/bb-admin/includes/functions.bb-recount.php on line 167
    Fatal error: Call to a member function get_terms() on a non-object in /var/www/clients/client1/web26/web/xtcmodified/wordpress/forum/bb-admin/includes/functions.bb-recount.php on line 189

    Any ideas on that issue?

    Best regards

    Tom

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