Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 6,151 through 6,175 (of 6,780 total)
  • Author
    Search Results
  • familiar
    Member

    If I comment out the following line in default_filters.php:

    // add_action(‘bb_head’, ‘bb_template_scripts’);

    The warning goes away. But I am not sure what this affects.

    #65518
    chrishajer
    Participant

    Can you confirm that? I suspect that would not work either. I tried it in my forum, as a regular member, on a post I wrote a week ago, and I cannot edit it. Is it possible you have a longer time set for the edit lock? A really large number there will allow editing for a long time, and a negative number would probably make them editable by the member who wrote it forever, without expiration.

    By default, members should not be able to edit any other members posts, and members should only be able to edit their own posts for the configured period of time. Keymasters can edit anything at any time. Is that not your experience?

    #65514
    chrishajer
    Participant

    I just checked on my bbPress installation and that does not work. It just redirects to the forum home page when I am not logged in. When I log in and try to access the edit.php url, I get redirected to the forum home page as well.

    I just checked on your forum and I cannot edit posts made by anyone else when I am not logged in. When I log in, I still cannot edit posts made by any other members. I tried this URL:

    http://www.cairoshell.com/forum/edit.php?id=10314

    FYI, the member who created the reply can edit the post for a period of time that is set in bb-config.php. And keymasters can edit posts made by anyone for an indefinite period of time. Is it possible you are using a plugin that gives members more permission than normal? Or that the user seeing this edit functionality is logged in as a keymaster?

    I am not seeing the problem you describe, so if your users can edit other members posts, you need to look at the permissions that they have. The default installation does not do this in any forum I’ve checked, including this forum, your forum and my own forum.

    #3505
    photolord
    Member

    I looked on here, but wasn’t quite able to find how to do this. If I missed it I apologize. How would I modify topic titles to not have the name of the forum in the title? What would I change? What file would I modify? Such as:

    This is the default title structure right now on my theme:

    <title>Topic Title >> Forum Name</title>

    I would like to change the title structure to this:

    <title>Topic Title</title>

    Any ideas? Thanks.

    Best regards,

    Matt

    dvdvideosoft
    Member

    to sambauers:

    >> You have to explicitly choose “Remember me” when you login. If

    >> that option isn’t there when you login then you need to update

    >> your template to match the default one in this regard.

    It makes sense! Please give me some advice.

    Do I need to correct my skin template or can I set a parameter in the config file?

    chrishajer
    Participant

    1. Cool (thank you), 2. Good, 3. Awesome.

    I forgot two other things which may or may not apply with current versions of bbPress. Include the my-plugins and my-templates folders, empty if necessary. Then it sort of makes sense when people are looking and thinking “where do I put this plugin?”

    Not sure if the my-* folders are still necessary or if everything goes into bb-* folders now.

    There was one more item, but I have lost the thought. Maybe it will come back to me later.

    EDIT: oh yeah. Why not include the code for search in the template, just commented out? I know there is one camp for tags and one for search, but people asking how to add search is a fairly common thing too. It’s built in, so why not just put it in the template, and comment it out if you don’t want to default to having it turned on?

    Why not something like:

    <?php
    /* uncomment this to show the search box
    search_form( $q );
    */ ?>

    Sam Bauers
    Participant

    You have to explicitly choose “Remember me” when you login. If that option isn’t there when you login then you need to update your template to match the default one in this regard.

    I’m pretty sure this was a part of the last release.

    Sam Bauers
    Participant

    Keep in mind though that including WordPress inside bbPress is an incredible overhead for what is just a modification to the presentation layer.

    The most lightweight solution is to create your own theme in my-templates which extends the default theme. Any file that is not found in your own theme simply falls back to using the default, so your theme could consist of as little as a style.css file (which could itself simply import the default themes style.css – see kakumei-blue theme for an example of how to do that), a header file and a footer file.

    #65369
    thousande
    Member

    iv tried on ur website (https://bbpress.org/forums/)

    i just use the default theme without any plugins…believe me…it is not a plugin or theme problem…

    u can log out and click a topic in this forum….and then log in…try to compare the speed… i do think u can get the same question as i…

    i hope all the bbpress users can try in that way…

    i doubt that there is a cookie problem on bbpress…

    #65368
    bobbyh
    Member

    Can you give us a URL?

    This sounds like a problem with either your theme or a plugin.

    To isolate the problem, switch to the default theme, deactivate all plugins and then add the plugins one by one until the problem pops up again. It may also be a problem with your theme, but it’s more likely it’s a plugin problem.

    benbeltran
    Member

    I hope it helps somehow. In my opinion, this is the best forum software if you’re a developer that wants custom forums and doesn’t mind getting dirty with code. At least that’s why I love it (I know, people will disagree with me).

    I’ve never felt so in control of my forums before :). Everything is just … clean, from the default UI to the insides.

    #60806

    In reply to: Simple registration

    cordoval
    Member

    0. done

    1. so far bb_update_usermeta -> bb_update_meta-> and now in lines 38 and 39 of register.php on the root we add a line below 38: bb_update_usermeta( $user_id, $key, $$key ); /*this is where the user gets registered */

    As follows: bb_update_user_password( $user_id, “default” ); /* I am assigning here the new password by default which is “default”

    This works! So now I just need to get the string from the custom field and assign it here! Can anyone more experienced than me help me?

    #65329
    hiver
    Member

    It was essentially default theme. I found the tag by viewing the source of the generated page. The template files didn’t have the information I needed.

    #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…

    #65114
    chrishajer
    Participant

    Put all the bbPress files that are in the archive you downloaded into a folder in your webspace. If your website is at http://www.example.com/ and the files on the server are at /var/www/vhosts/yourname/ and you want your forums at http://www.example.com/forums/, just create a directory called /var/www/vhosts/yourname/forums in your webspace and upload the files there.

    Put all the bbpress files into one folder though, exactly how they came out of the archive. By default, when you unzip the files, they are in a folder called bbpress. You can use that or rename that to forums, then just upload the whole thing to your webspace.

    #3437
    sepidol
    Member

    i just solved my login cookie issue after one night debugging…

    i found these things:

    – by default, wpmu generate auth_cookie as “wordpress”, but bbpress generate as “wordpress_xxxxx(hash)”

    – wpmu not using “database secret” for cookie hashing, but it use the SECRET_SALT constant defined in the wp-config.php, bbpress using “database secret”. so the cookie result will never be the same.

    you need to update your bb-config.php file to meet these situations.

    assumed you’ve successfully install wpmu + bbpress, then edit your bb-config.php and add these line:

    define(‘BB_SECRET_KEY’, ‘yourreallysecretkey’);

    define(‘BB_SECRET_SALT’, ‘yourreallysecretsalt’);

    $bb->authcookie = ‘wordpress’;

    $bb->cookiedomain = ‘.yourdomain.com’;

    $bb->cookiepath = ‘/’;

    $bb->sitecookiepath = ”;

    and try to login… voila.. you can switch to bbpress and wpmu without re-login… :)

    good luck,

    rh

    #65125
    Detective
    Member

    Please add these two fields to your table bb_privatemessages:

    'del_receiver' tinyint(4) NOT NULL default '0'
    'del_sender' tinyint(4) NOT NULL default '0'

    I forgot to put those two on the install function. Now it should work :)

    #3417
    parthatel
    Member

    I want to know what I need to change in the bbPress files so that the layout will be changed. Basically, I want the left sidebar currently on the default bbPress on the right, with the content on the left. Also, currently on the default bbPress theme, the sidebar disappears when you click a topic or forum. I want the sidebar to always be present. Is there anyway of doing this and switching the sidebar and content?

    #3416
    malfhok
    Member

    Here’s my bbPress. It’s a forum for kids and teens to discuss books on. I modified the default theme to fit with the color scheme of the main site, and added a few plugins for features that my members wanted.

    This is actually our second forum. The first was a YaBB install, which I hated, ’cause it kept letting spammers in. But our members and I love bbPress and the ease of use!

    http://incredibooks.com/ibdiscuss/

    #65051

    In reply to: Only admin can login?

    chrishajer
    Participant

    Do you have any plugins installed? If so, try disabling them and see if users can log in.

    You’re running a modified template. If so, try the default template, unmodified, and see if the problem goes away.

    Do you have access to server logs? If so, look for 500 errors being logged or php errors.

    UPDATE: I just created a user and I see what’s happening. Not a blank screen, they’re just redirected to the login screen to log in again. Try a stock template and try disabling plugins.

    Also, there’s a lot of javascript on that page. Does disabling those scripts affect anything?

    #63381
    willyhoops
    Member

    I tried this and it has not gone. I downloaded .rar file at http://www.technospot.net/blogs/how-to-remove-forum-and-topic-keyword-from-bbpress-url/

    (thankfully winzip can open .rar files), and copied the two files “.htaccess” and “remft.php”, and then run the plugin from admin but it made no difference. The first time I ran it I may have forgotton the .htaccess file. Any suggestions what now please?

    My forum is at http://www.willyhoops.com/bbpress

    Also, I am totally new to this but searching for “remove hot tags” got me nothing. Not sure why they have added that by default but obviously I have to remove it. Can anyone tell me how to do that please?

    Ahh gee, you can’t delete a post. I think I have totally messed up. This pluging does not remove the forum it does something else.

    Man I have been done! The default install is hopless and there is no info on how to change anything. This is a pro product only but it did not give that impression at all. I though I would have a simple little forum like the one here and it would all be easy. Instead I lost two hours of my Saturday.

    “So let’s get started. Download, install, and you’re on your way!”. Yea right

    #64996

    In reply to: Error – Forum

    bobbyh
    Member

    Chris, you’re totally right about phpinfo and this should work. If that doesn’t work, it’s probably because Google says that the hosts that disable default PHP functions also disable phpinfo.

    #3371

    Topic: Nicknames

    in forum Troubleshooting
    paradox460
    Member

    When users on my site sign up using the forum signup, it successfully integrates them into wordpress, but they do not have a nickname, so all comments appear as Anonymous.

    Normally wordpress would automatically set the display name default to be the login name, but they dont seem to for this.

    Any way i could edit the BBpress files to make wp have a name?

    #3370
    Oscar
    Member

    I’m looking for a plugin for bbPress that shows the latest posts on the forum front page. With the default theme this would be shown as snippets (text of the actual post) below the Tag Cloud/Hot Tags ‘widget’.

    I can’t seem to find a plugin, except the one that does just this on your WP installation if you’ve integrated with WP. Does this exist for bb as well?

    #64957
    mrhoratio
    Member

    You’re welcome. It’s included with 2.5.1, it’s just an optional entry, so I don’t think it would be in your default config file. But I think it is shown in the sample config file.

    https://codex.wordpress.org/Editing_wp-config.php#Secret_Key_IMPORTANT

Viewing 25 results - 6,151 through 6,175 (of 6,780 total)
Skip to toolbar