Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,151 through 10,175 (of 11,589 total)
  • Author
    Search Results
  • #65350
    Detective
    Member

    For 3, from the Genealogías theme:

    function gs_topic_forum_link() {
    global $topic;
    if ($topic) {
    echo '<a href="' . get_forum_link($topic->forum_id) . '">' . get_forum_name($topic->forum_id) . '</a>';

    }
    }

    For the private forums, i do the following (considering only one private forum, having id 22):

    add_filter('get_posts_where', 'ryuuko_staff_where_posts');

    function ryuuko_staff_where_posts($where) {
    if (!bb_is_user_logged_in() || !bb_current_user_can('moderate')) {
    $where .= " AND p.forum_id <> '22' ";
    }
    return $where;
    }

    add_filter('get_topics_where', 'ryuuko_staff_where_topics');
    function ryuuko_staff_where_topics($where) {
    if (!bb_is_user_logged_in() || !bb_current_user_can('moderate')) {
    $where .= " AND t.forum_id <> '22' ";
    }
    return $where;
    }

    add_filter('get_forums', 'ryuuko_staff_forums');
    function ryuuko_staff_forums($forums) {
    if (!bb_is_user_logged_in() || !bb_current_user_can('moderate')) {
    $forum_key = -1;
    foreach ($forums as $key => $forum)
    if (intval($forum->forum_id) == 22) {
    $forum_key = $key;
    break;
    }
    unset($forums[$key]);
    }
    return $forums;
    }

    add_action('bb_forum.php_pre_db', 'ryuuko_forum_redirect');
    function ryuuko_forum_redirect($forum_id) {
    if (!bb_is_user_logged_in() || !bb_current_user_can('moderate')) {
    if ($forum_id == 22)
    bb_die("You can't see this!");
    }
    }

    #3473
    sachrilege
    Member

    Hey everyone,

    I’m trying to do 3 things.

    1. I want posts inactive longer then a set time to not be propagated to the Latest Discussions on the forum Index.

    2. I want hidden private forums to not show up on the Latest Discussion list unless they would normally be allowed to see it.

    3. I want the forum name to show up in another column in the Latest Discussion list.

    I’m using the Private Forums plug-in, and Latest Discussion is only visible on my site from bbpress/index.

    For 1. I found a plug-in but it’s no longer supported and I couldn’t clean up the Syntax error myself.

    For 2 I can find nothing.

    For 3 using another forum post I’ve already edited my templates to include the extra column and I almost see how to do it myself, but I can’t see where to get the name of the forum from the topic.

    As always, thank you for whatever help you can offer.

    #3469
    Detective
    Member

    URL: http://alumnos.dcc.uchile.cl/~egraells/proyectos/plugins-para-bbpress/

    Test Installation: http://www.ryuuko.cl/bbpress

    Includes readme.txt with examples. It supports english and spanish (es_ES).

    Hope you like it :)

    Suggestions, bug reports, comments and feedback in general are welcomed :)

    #65233

    In reply to: A bit of advice needed

    chrishajer
    Participant

    I would install bbPress latest which is 0.9.0.2 and WordPress latest which is 2.5.1. The big change with WordPress 2.5.* and bbpress 0.9.* was with the cookies. If you have only a few test posts, I would just install WordPress fresh (or upgrade your WordPress installation) then install bbPress fresh. Integration is totally different now, no more plugins.

    Good luck.

    #3441
    alexleonard
    Member

    Hi there,

    I started development on a wordpress + bbpress site quite a while back. Development stalled and I’m only coming back to it now.

    I had integrated wp + bbp fairly successfully but I have a feeling upgrading to WP2.5.1 might have broken a lot of that cross compatibility.

    The bbpress installed version is 0.8.3.1, but essentially it’s an empty forum (a couple of test posts from myself).

    Regarding upgrading to the latest version, I get a feeling I might almost be better off completely wiping the original forum version and starting again – I might run into less problems? I had a look through the trac but couldn’t really work out how much substantial change there has been between current and my older version.

    Any suggestions?

    Is uninstalling and reinstalling reasonably easy?

    #3465
    creativeherb
    Member

    Well I didn’t break it, I think… =) I’m currently using the latest version Support-Forums plugin (3.0.4), and the latest BBpress (0.9.0.2)

    On the front page, most topics displays fine, with the status bubble ahead of the topic title, but for certain topics I get this error… this error code replaces where the color bubble would have been.

    Warning: sprintf() [function.sprintf]: Too few arguments in /home/blog/public_html/forums/my-plugins/pb–support-forum/support-forum.php on line 657

    help would be much appreciated, thanks!

    #3462

    Topic: PinoyWebStartup.com

    in forum Showcase
    dem0o8
    Member

    WP and BbPress integration…

    WP: http://www.pinoywebstartup.com/

    BbPress: http://www.pinoywebstartup.com/forum/

    i used external stylesheet, images, scripts for both wp & bbp…

    use php include for the sidebar on the bbpress…

    will put the latest discussion on the homepage soon…

    and maybe post a tutorial about it… feel free to subscribe on the feed… there are some interesting insights about web startup even if you’re not from around

    #63636
    italways
    Member

    sorry it is on my local test machine. furthermore, it happens when you try to delete the tag from one topic, you must be a admin user.

    The only thing special is that my bbpress is integrated with my wpmu, I logged in using my wpmu admin account (mapped to bbpress admin group already), when I try to delete the tag from one topic, the error occurs, but it is ok when I manage the tags on bbpress backend, I can delete any tag there.

    #63462
    timskii
    Member

    All the integration code assumes you start with a blog and want to add a forum. However, if you start with a forum, chances are the forum’s user database will be far larger than the blog. The technique below outlines how I did it. This is entirely at your own risk. I’ve not gone over the standard things, like shared secret keys: I’m assuming you’ve read the basic integration guides.

    0. You’ll need to be familiar with .htaccess, SQL at raw database level, and template hacks. If your level of expertise is “pressing buttons”, stop reading here. This is very easy to mess up, so make plenty of backups. Ideally test the whole conversion first, and probably prepare scripts to run if a lot of database changes are needed.

    1. Block public access to the blog and forum for all except your IP using .htaccess.

    2. In the database, rename wp_users and wp_usermeta. These won’t be used, but you will need them later to cross-reference old posts to new authors. I’m assuming a standard install that uses wp_ and bb_ as prefixes.

    3. Copy bb_users and bb_usermeta to wp_users and wp_usermeta respectively. Keep the original tables for now.

    4. Add the missing column via SQL: ALTER TABLE wp_users ADD user_activation_key varchar(60) NOT NULL default '';

    5. Delete the WordPress install, but keep the old database tables (and plugins and themes). Install WordPress in its former position. Use an entirely new user name as your new WordPress admin. (The purpose of deleting and then installing WordPress is to create a genuinely new admin user in the table. For me, this was faster than manually adding an admin user and making sure all the correct permissions were set. You mileage may vary.)

    6. How much extra work you need to do to your old WordPress tables depends on the number of authors that were active on WordPress: Using SQL, you’ll need to change all the old author IDs in wp_posts and wp_comments to match that author’s ID from the forum. It is possible there are other user references deep in the system, so be careful. I had little complexity to deal with. If your were the first to register for both your forum and blog, the important IDs may match perfectly already.

    7. Most WordPress templates use the user’s display_name. This is unfortunately, because BBPress tends to use user_login. The result is that most WordPress references to user names will appear blank. You’ll either need to populate the display_name column, or hack around with your WordPress templates so that they use user_login. Template call get_the_author_login() is perfect for authors, but for comment references I had to use get_usermeta($user_id,’user_login’) or comment_author_link() where $user_id was 0. Messy. Since the admin side of WordPress uses display_name anyway, it is probably a lot easier to populate that column.

    8. Your WordPress install should be now more-or-less working. Let’s return to the forum!

    9. It is very easy to accidentally destroy the forum Keymaster, locking yourself out of the forum before integration is complete. If this happens, edit the table bb_topicmeta by deleting the final few lines with meta_key starting “wp_”.

    10. On the forum admin, under WordPress Integration: Set the User role map such that Admin links to Keymaster and everyone else is a subscriber, and save. Add “wp_” under User database table prefix and save. Hit the User role map button again. Finally complete the cookie setting and save. The order is important – simply filling in all the boxes and saving can wipe out the old Keymaster access before the new one has been set up.

    11. In WordPress, check the user list. I found that some user types did not convert automatically – notably moderators. Hopefully 99% of users will have been automatically assigned as subscribers. If you use a lot of plugins, take care that nothing conflicts. For example two separate plugins trying to write user meta data using the same key name. You may also wish to test a dummy registration and profile change.

    12. Remove the old bb_users and bb_usermeta, and the copies of your original wp_users and wp_usermeta.

    13. Remove the .htaccess blocks, and celebrate your newly integrated setup.

    I’m now having fun trying to marry a second forum to the first WordPress-Forum pair. Everything is easy, until one tries to alter the admin permissions…

    david-stoner
    Member

    Hello, I’m trying to get this fully realized. At the moment I’ve just been hacking away at the Kakumei front-page.php but with limited results.

    So far it just pulls up the latest topics with no regard to what forum they are in. I’ve found template functions for the topic title, topic link, number of posts, last poster, and time, but other than defining the id manually I haven’t figured out how to get the last post of a topic to display automatically.

    I think I could manage to pull this information out of the database with some basic SQL queries, but I’d rather use what’s available than write some shoddy code of my own.

    Any help is appreciated.

    #65247
    malfhok
    Member

    I figured somebody had to do it. I had a backup, so I thought I’d go for it. Nothing’s fallen on my head since I did it. Still testing, I’ll tell you the outcome once I’m done testing it.

    Edit: The member who asked to be allowed to change her grammar errors just thanked me for fixing to edit link, so I suppose it’s working now.

    #64296
    david-stoner
    Member

    I want to do something similar and am interested in how to do so.

    #65083

    In reply to: bbPress.com

    guymed
    Member

    I wonder when it will be released for beta testing.

    http://guymed.org/

    ~Guymed-

    #3424
    bramruiter
    Member

    I’ve searched the forum, but I couldn’t find the answer to my problem. I was testing bbPress’ Gravatar function and after being unsatisfied with the outcome I clicked the ‘Show Avatars’ box so the little ‘v’ sign would dissappear. But when I click on the “Update Settings” button the feature stays enabled. In short: I can’t disable the “Show Avatar” thingy.

    #65124
    citizenkeith
    Participant

    Thanks Detective. Obviously I’m not skilled in PHP.

    The original PM plugin is in desperate need of an update, IMHO, and I was hoping this would be it. However, I didn’t consider that it would even change the database. I guess I’ll stick with the old version for now, but would love for somebody (since I am not a programmer) to come up with some sort of PM import. :-)

    Also, I was using the latest version of Joshua’s PM plugin (v0.80)

    #3418
    Detective
    Member

    Foros Ryuuko

    I use a custom theme (heavily a modified Kakumei) and some custom plugins. The forum is new, so it doesn’t have activity, all our users are still using the Vanilla forum we had.

    I didn’t hack any core files, all “non standard things” are donde via custom plugins.

    Plugins i use:

    – My own “Ajustes” (for sidebar, footer and navigation menu content, profile content, and some html tags).

    – MD5 Insecurity (will be deactivated soon).

    – Private Messaging Extended

    – A custom Quicktags (ported from Vanilla)

    – Ajaxed Quote

    – Simple Online List (i also modified a lot this plugin, because it never worked for me ….).

    – Unread Topics. I also modified this one, it was doing too many queries. I added some indices and reduced the overhead.

    – User Photo. I ported the User Photo WP plugin.

    – Human Test.

    Also i indirectly use:

    – Gaming Codes: each user can enter his gaming codes. They’re displayed on the user profile.

    Aleph: this plugin creates user lists (among other things). So i use it inside WP like a “member list”. The beauty is that i can easily create different user lists, so i created a list for each gaming code (in other words, users can see which users have a certain gamer code).

    As i said, the theme is a heavily modified Kakumei. I replaced all topics/forum loops with my own, trying to mimick the Vanilla look. Also the css is based on the Tarski theme for WordPress. In fact, i import it directly from the WP installation.

    For the forum/topic icons, i created a custom plugin which printed the css based on the slug of each forum, and then i added the resulting code to the style.css. I still have to create a lot of icons, those are temporary.

    I hope you like my forums and if you have any questions or would like a plugin/theme release, just ask :p

    #3415
    Detective
    Member

    As i did with Private Messaging, i needed this functionality in the Quote plugin. So here it is if anyone is interested.

    Features:

    – The plugin uses nonces and removes the paragraph tags added by the pre_post filters.

    – The JS library used is SACK. I just copied it from a WP installation.

    – When you click on the Quote link, the post content is added in the reply form. You can click quote on another post to quote it too .

    I tested it on Firefox and works ok in my test install of bbPress.

    #65119
    malfhok
    Member

    @Detective:

    I’ve been testing it quite a bit today, and I have found one small bug…

    I’ll try to explain this as clearly as possible. Basically, when Member A sends a PM to Member B, then Member B replies, the plugin tries to send the message to Member B, not Member A like it should.

    @citizenkeit:

    I just overwrote all of the old files. Works fine on my latest-version bbPress install.

    #65118
    Detective
    Member

    @citizenkeit:

    Honestly, i don’t know. Maybe it’s best to do a clean install.

    @Malfhok:

    I hope it works ok. I made some basic tests, but i don’t know how it works in a real environment.

    #64977
    olgaberrios
    Member

    This is a test

    Esto es una prueba

    ¿ ó ú ñ á é ?

    sydspinnin
    Member

    I upgraded bbpress after upgrading my wordpress site to the latest version (2.5.1). The install complained that there were already forums/threads in the database, but said the install went OK. The problem I’m having, however, is that when I go to the forums, I get a t_string error referring to line 20 of the bb_config.php file.

    This line is the prefix used for the tables.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    So, I’m guessing that it thinks it is a new install instead of merely an upgrade. How do I get the updated version to simply read in the existing forums and threads?

    Thank you so much for any help. These are busy forums and there will be limited patience with this problem. :/

    #3401
    shirestudios
    Member

    I have the latest version of bbpress installed to my own server, and it is integrated with wordpress (also the latest).

    I added one new forum a few weeks ago, but today I tried and it gave me the error: “Something strange happened. Try reloading the page.”

    I did reload the page several times, but it still doesn’t work! I am completely stuck…I can’t add new forums or categories…please HELP!

    These plugins I have installed and activated:

    Use Display Name

    Wordpress Integration

    Allow Images

    Avatar Upload

    bbPress Avatars

    bbPress Signatures

    That’s all…anyone know how to fix this problem?

    Thanks in advance!!!!

    #64966
    kostya
    Member

    You’re not alone!

    I just upgraded my site to mu1.5.1 and bbpress to the latest release and now cookies wont work. I’ve tried everything, all the ways listed here and on other sites and no luck.

    Its probably because wp2.5 changed cookie styles so the old way doesnt work anymore. I know because I tried my old config and it didnt do anything.

    elorgwhee
    Member

    Hello!

    I searched through the forums and wasn’t able to find anything quite like what I’m getting, so I figured I’d post.

    I just did a fresh install of the latest versions of wordpress and bbpress over the past few days. I installed and tested several plugins for wordpress and started doing some minor css updates, and exported/imported my blog posts from my old server to the new server – but haven’t done much with bbpress except to integrate with wordpress.

    I have PHP 5.2.5, MySQL 4.1.22, and Linux on a shared server. Everything’s on the same domain (well, an IP address until I get things situated on my new server) and there are no subdomains involved. WordPress uses the root www folder, and bbress uses www/forum/. WordPress and bbpress have separate databases, but all the secret keys, etc. are all setup to match and everything is configured per the install instructions.

    It took several attempts to get bbpress installed because it was giving me an database error at the last step stating that I may need to do a fresh install – even though it *was* a fresh install. After several attempts, I decided to try it without the wordpress integration, and that seemed to do the trick. I had assumed that everything was ok after that and it was just a minor hiccup during the installation…?

    All that said…

    – Login/logout works for each user so far.

    – Registration works.

    – When I’m signed in as “Admin” I can get to the Admin panel.

    However:

    – when I try to view the “Admin” account profile, I get a wordpress 404 at www/forum/profile/admin.

    – Clicking on any topics or forums (I believe I created them before the integration?) even a view of topics with no replies I get the same 404.

    – On the other hand, when logged in as my other user account “elorg” and trying to view that account’s profile page, it redirects me to a wordpress blog entry… that happens to have “elorg” as the first few characters in the subject…?

    – And… When creating a new thread titled “test” as my “Admin” account – I was able to post it, but was redirected to… a wordpress entry who’s subject starts with “test” as the first few characters…? That can’t be a coincidence, right? So…

    – I logged in as my “elorg” account for good measure, and created a new thread with a one word subject that I know I have a blog post

    – When going back to the forum and attempting to open any of the new threads, it forwards me to the same journal entries as it did when I tried to create the threads.

    Any ideas? At this point, I might just try to start from scratch and see what happens…

    #64800
    elorgwhee
    Member

    I received a very similar error (something about the database and needing to try to reinstall) when trying a fresh install and integrating wordpress at the same time. I retried it a few times – each time it would fail, and if I tried to access the forum location it would bring me to the installation script again.

    Eventually I went through the installation without integrating wordpress and I that’s what ultimately worked. I then went through the wordpress integration after the install.

    Latest wordpress & bbpress, on Linux, PHP 5.2.5, MySQL 4.1.22.

Viewing 25 results - 10,151 through 10,175 (of 11,589 total)
Skip to toolbar