Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,401 through 22,425 (of 32,481 total)
  • Author
    Search Results
  • #83150
    Michael
    Participant

    First thing’s first, you have a nice forum layout – I like the edits you have implemented. :)

    There are quite a lot of options for you, and which ever one you choose should not make your forum look to ‘full’.

    As Chris said, if you want to do it on the front page, it would be as simple as copying the loops that are run on the profile.php file in my-templates. There should be two – but I’m not sure. Don’t have access to my server right now.

    The other option is to create a view, just like The one’s displayed at the bottom of your front page. It would be quite a nice idea to create a view for the user’s latest topics and replies – thus having it on a separate page, but easy to get to as the view would be marked ‘See your Posts’, for example.

    Now, unfortunately, I can’t help with the setting up of views (I would be able to if I had access to my server). At least you have some options on the table. There are some highly experienced members here that will be able to assist you in setting up a view.

    Take care,

    Michael

    #82845
    Michael
    Participant

    What version of PHP are you running? If you have PHP 4, then change mod_php5.c to mod_php4.c.

    You should also ensure that zlib is installed on your server.

    #82844
    chandersbs
    Member
    <ifmodule mod_php5.c>
    php_value zlib.output_compression 16386
    </ifmodule>

    That didn’t work for me btw

    Michael
    Participant

    Citizenkeith: does it work on your side? I’d like to try this soon. :)

    #83384
    Michael
    Participant

    Have you tried manually editing the theme itself? Try changing the code in header.php within the theme folder.

    If it’s not that, it would have to be something with the integration (which I highly doubt) – I do not have enough knowledge with that as I’ve never integated before.

    Happy New Year :)

    Michael

    #32681
    tonicarr
    Member

    I have a WP blog that I am adding BBPress to, it loads correctly I have it integrated with WP. When I try to add a custom theme to my-templates, it loads but when I look at the source code the file path for the style sheet, for the custom theme is going to bb-templates not my-templates.

    I have checked the permissions for both my-templates and bb-templates and it is 755.

    This is the source code:

    <link rel=”stylesheet” href=”http://www.troubledteenblog.com/forum/bb-templates/Crystal/style.css&#8221; type=”text/css” />

    <link rel=”stylesheet” href=”http://www.troubledteenblog.com/forum/bb-templates/Crystal/layout.css&#8221; type=”text/css” />

    <script type=”text/javascript” src=”http://www.troubledteenblog.com/forum/bb-templates/Crystal/js/tabber.js”></script&gt;

    I even put the style sheet in the bb-templates/Crystal and it still does not work.

    Help would really be appreciated.

    #83371
    Gautam
    Member

    Welcome :-)

    #83369
    Gautam
    Member

    Go to Admin Panel > Settings > Writing and edit it there.

    Fernando Tellado
    Participant

    Great job Gautam, I’ll try it ;)

    #83315

    In reply to: Thoughts On New Theme

    Gautam
    Member

    Somewhat of the screenshots posted here – https://bbpress.org/forums/topic/sneak-peek-at-bbpressorg-20 :P

    #82238
    hpguru
    Member

    You’re welcome. Happy new year with bbPress. :)

    #82237

    I deleted and re-created a subdomain and it worked; I got the bbpress installer

    Thanks guys :)

    #83244
    bingsterloot
    Member

    i am testing now, please dont hate me :O)

    thekmen
    Member

    I have done a good few wordpress/bbpress cookie/log in integrations at this stage.

    The easiest way I find to get it to work as expected is place the following in my bb-config.php

    define('BB_AUTH_KEY',        'YOUR_AUTH_KEY');
    define('BB_SECURE_AUTH_KEY', 'YOUR_SECURE_AUTH_KEY');
    define('BB_LOGGED_IN_KEY', 'YOUR_LOGGED_IN_KEY');
    define('BB_NONCE_KEY', 'YOUR_NONCE_KEY');
    define('COOKIEHASH', md5('Domain Name'));
    define('BB_COOKIEHASH', md5('Domain Name'));
    $cookiehash = md5('Domain Name');
    define('BB_HASH', md5('Domain Name'));

    and the following in your wp-config.php

    define('AUTH_KEY',        'YOUR_AUTH_KEY');
    define('SECURE_AUTH_KEY', 'YOUR_SECURE_AUTH_KEY');
    define('LOGGED_IN_KEY', 'YOUR_LOGGED_IN_KEY');
    define('NONCE_KEY', 'YOUR_NONCE_KEY');
    define('COOKIEHASH', md5('Domain Name'));

    Replace the KEY values with those generated here: https://api.wordpress.org/secret-key/1.1/

    Also i’m not sure which of the bbPress cookie bits is needed, I presume it’s only one of them.

    Hope this helps.

    #32665
    noz
    Member

    Hi,

    I’m trying to use an external database to connect users in bbpress…

    1. The user fill in the form to connect.

    2. The form check login + password in other database

    3. If login/pass are good I check in bbpress to know if login exists :

    if exists : connect

    if doesn’t exist : create account + connect

    Any ideas ??

    If someone can help me it will be sympatic ;)

    thx.

    ps : sorry for my bad english

    #83240
    Gautam
    Member

    I think a subscriptions.php can also be added to the templates like the favourites.php, where the user can edit the topics he/she has subscribed. And then the links to subscribe to topic can be prettier like the add this topic to your favourites one.

    #83239
    Michael
    Participant

    Very nice. :) Now, will it support Permalinks?

    Nice to see some changes happening. :)

    Peace, Michael

    #83236
    johnhiler
    Member

    Might be worth checking out this plugin for ideas and/or code!

    https://bbpress.org/plugins/topic/subscribe-to-topic/

    #83106
    Steven Hodson
    Participant

    @Ben L … this is maddening because I know from your testing that it works fine. I also had my host get the guys at his data center run some tests (he’s also a good friend which helps) but they come back with this


    Two of the engineers at the data center have run tests and looked at the logs and they have ruled any server side issues.

    This is what they said in conclusion

    At this point, I believe we can safely exclude obvious server side problems… If your customer has some concerns about missing .php modules, etc. (which they may confirm by creating a phpinfo page) we’ll be happy to address this, but so far we’re still not seeing a server side problem…

    It is possible that the add-on may require more php modules installed but I would need to know more to go further


    So I am at a real loss to figure out where to go next to try getting this to work. Very frustrating to say the least

    #32655
    nivosh
    Member

    Hello.

    I have installed bbpress site map generator from: http://boakes.org/software/

    My blog is in: http://www.emetaheret.org.il/blog

    and My bbpress forum is in: http://www.emetaheret.org.il/forum

    The blog sitemap is created using Google XML Sitemaps from: http://www.arnebrachhold.de/redir/sitemap-home/

    Now, The sitemap plugin of the forum is erasing the one created by the blog plugin.

    I have changed the variable for the sitemap code as follows:

    // the full path the the file that will be written – write access

    // is required so set up your user /group privilages correctly or

    // remember to “chmod 777 $sitemap_file” before runtime.

    $sitemap_file =”http://www.emetaheret.org.il/forum/sitemap.xml&#8221;;

    but the file still get written inside: http://www.emetaheret.org.il and replaces the one created by the blog plugin.

    I hope this makes sense.

    Maybe, if there is no solution, you know about a good way for making good sitemap for my forum without interfering with the blog?

    sorry for my English and

    Thank you

    #83105
    Ben L.
    Member

    I can’t find what’s wrong with it. The code is set to automatically make the folder when it needs it, so you shouldn’t have to worry about it unless your document root’s parent directory (which should technically be the folder above wwwroot) isn’t writable to your server. The quickest way to fix that is to make a bb-attachments folder in there and set its permissions to 777.

    Also: Replace bb_register_activation_hook(str_replace(array(str_replace("/","\\",BB_PLUGIN_DIR),str_replace("/","\\",BB_CORE_PLUGIN_DIR)),array("user#","core#"),__FILE__), 'bb_attachments_install'); with bb_register_activation_hook( __FILE__, 'bb_attachments_install' ); to fix the database problem.

    #32642
    mjepson
    Member

    Hello,

    We use bbPress as our forum on woothemes.com and users sometimes have a hard time finding their support query when they come back to the forum. I know you can click on your user profile and see it there, but most new users don’t know that.

    Is there any code that we can use to add a list of the last 5 posts created by the user and place it on the forum index page?

    This is how it looks now: http://is.gd/5GOQm

    I’d like to add it either at the top above “Latest Topics”

    #82525
    thierryyyyyyy
    Participant

    I think this could be a “sticky” topic !

    I don’t understand the need of having the forum in a subdirectory of the blog. As I did it years ago, I can’t change that now. I succeeded years ago to make a cookies integration plugin (that was before wp 2.6 I think), and I remember that the blocking thing was the “cookie path” and “cookie host”.

    My WP is on http://www.2diabolos.com/blog/

    my BB is on http://forum.2diabolos.com

    (I hear you thinking “OMG, 2 different subdomains !!!”)

    Now, I succeed to have the good “cookie domain” (I think the definition is the define( 'COOKIE_DOMAIN', '.2diabolos.com ' ); )

    But the define( 'COOKIEPATH', '/' );does NOT work as it should. WP then define each of cookie twice with the “/” path and with the “/blog/” path (my WP path).

    The straightforward consequence is that : When I log in WP, I’m also logged in BB (double cookies!).

    But when I log out from BB, he deletes only the “/” cookies, so I’m still logged into WP.

    Worse : when I’m logged only in BB (cookies path “/”), WP does not recognize me as logged in.

    He only checks the “/blog/” path ? (even with define( 'COOKIEPATH', '/' ); in the wp-config.php )

    #83127
    KA001
    Member

    Thank you! Thay was all the nudge I needed to check the file permissions on the my-plugins directory – they were wrong.

    All fixed now :)

    #83202
    chrishajer
    Participant

    Checked from command line on Linux and it redirects if you don’t use the slash:

    [~]$ curl -I http://authorstock.com/forum
    HTTP/1.1 301 Moved Permanently
    Content-Length: 168
    Content-Type: text/html; charset=UTF-8
    Location: http://authorstock.com/authorstock.com/forum/
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    Date: Tue, 29 Dec 2009 23:36:34 GMT

    [~]$ curl -I http://authorstock.com/forum/
    HTTP/1.1 200 OK
    Content-Length: 0
    Content-Type: text/html; charset=UTF-8
    Server: Microsoft-IIS/7.0
    X-Pingback: http://authorstock.com/forum/xmlrpc.php
    X-Powered-By: ASP.NET
    Date: Tue, 29 Dec 2009 23:36:40 GMT

    Can you access any other directories and get the index file instead of a redirect? Is there a way to ensure that index.php is the index file for the directory?

    1. In the IIS Manager, double-click Default Document.

    2. Click Add, then enter index.php and click OK.

Viewing 25 results - 22,401 through 22,425 (of 32,481 total)
Skip to toolbar