Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,026 through 32,050 (of 32,410 total)
  • Author
    Search Results
  • #51630
    johanmaelson
    Member

    thx :)

    Sorry but do not want to use js for this did :) i’ll try to solve this by css

    #991
    johanmaelson
    Member

    you can check it out here :)

    http://www.forum.faces.kz , but some issue in IE some bug within image swap on mouse over but i nevermind, use Opera of FireFox :)

    #51338
    johanmaelson
    Member

    I have added Wysiwyg to bbpress as a first. I choosing TinyMCE dunno why … maybe cuz i haven’t ever use this one. But it’s relay roxx nice organization and realy lightweight. Author of this subject using fckeditorm …. but this wysiwyg so slow … oh meine god …

    After inserting to my bbpress TinyMCE … i’m starting to play within tags … something doesn’t works cuz BBPRESS cut out disallowed tags … i thought that i can just edit some code in bbpress plugin for image tag. After some manipulation my wysiwyg work’s well but not good as i want :)))

    you can check out my bbpress forum and skin which i make for it here http://www.forum.faces.kz

    all suggestion and questions send to johanmaelson at gmail dot com .. or post here i’ll check this three :)

    links : http://tinymce.moxiecode.com/ – TinyMCE ;)

    forum page within TinyMCE : http://forum.faces.kz/topic/1?replies=10

    #51337
    circuit
    Member

    thanks for the instructions. unfortunately it doesn’t work for me.

    on the page you linked to, there are two pieces of advice as to where to put the editor files:

    “create a directory in the root directory called “editor” and then upload the same directory from their download page. Then drop the .js files into your root, and place the fckeditor.php file where ever you want (i chose the my-templates directory) and call it accordingly.”

    or

    “unrar FCKeditor_2.3.2.zip into my-templates”

    Wherever I put it, it doesn’t seem to work. I have tried a directory within my-templates, dropping it directly into my-templates, and putting the relevant files in the root with my-templates holding the PHP file. In all cases I edited the path in the replacement code accordingly.

    I think it’s including the PHP file OK, but I guess there is an iframe where the FCKEditor box should be, and that is just pulling the home page of my site (i.e. a 404 error, as far as I can tell).

    #50351
    circuit
    Member

    This isn’t a great solution. For those of us who are not in the same timezone as our server, the board times are inaccurate even though the ‘freshness’ problem is solved.

    There must be a way to correct this, surely it would just be a case of adding the difference in hours back on to the time? Can anyone suggest where and how to replace this code?

    It will definitely make our board confusing for people if all the times are seven hours out.

    #51286
    sevendotro
    Member

    I’m useing wp 2.0.5 and bbpress 0.73

    Anyone? :)

    #989
    intelliot
    Member

    Hey, I’m interested in the idea of doing free bbPress hosting, much like WordPress.com is doing for WordPress. I have a lot of experience in this area, having done it with other forum software, and even doing some experimental multi-WordPress work even before mu came out. If you’re a PHP coder, MySQL admin, and/or Internet entrepreneur, contact me!

    AIM: intelliot

    Google Talk: elliot.lee at Gmail

    #51405
    ardentfrost
    Member

    Oh, mine didn’t do that :( I had to create the tables myself. Once I created them, though, the plugin rocks :) Saved me some time certainly b/c it was on my list of plugins to write.

    #51404

    the *first* time after you’ve installed the plugin, it will display this error, but then the table will be added automatically and there shouldn’t be any errors any more =)

    #51626
    ardentfrost
    Member

    How did you get your hot tags to come out in various sizes like that? When I set it up, the hot tags only come out the largest size and never change :( I don’t know if a div is overriding it or what.

    You need to adjust your GMT offset in your config file by an hour. That’s why your freshness is saying (-1 years) for recent posts.

    #988
    joebarone
    Member

    so here’s my first attempt at tweaking bbPress for my own purposes:

    http://www.joebaronedesign.com/forum

    wondering if I should keep hacking away at the hard code to change the layout and overall appearance, or if i should just wait to upgrade when the new version of bbPress is released… because I have no idea what I’m doing in CSS and PHP…drrrr

    #51590

    In reply to: Google Adsense

    ear1grey
    Member

    Hi Null, to do that you need to change your template a bit and create a new hook, which is dead easy, and a testament to the flexibility of the event model that underpins both WP&bb.

    1. Copy topic.php from bb-templates into my-templates (you may need to create this folder).
    2. Find the for loop near line 29 – it will read something like this: <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    3. Immediately before it (outside the loop, but inside the <?php) add the line $need_to_show_ad=true;
    4. Then change the line <?php bb_post_template(); ?> to read <?php bb_post_template(); if ($need_to_show_ad) { do_action('showadvert'); $need_to_show_ad=false; } ?>
    5. Finally, change the action in the plugin so it fires on your newly created hook add_action('showadvert', array('bb_adsense','wide_advert'));

    … and an admin page? Maybe when bbPress matures!

    #926
    sevendotro
    Member

    Hello world :)

    I need help from you.

    http://www.glosar-media.ro – it’s the domain

    http://www.glosar-media.ro/forum – here is the forum

    It dosen’t seems to be integrating with WP :-S

    1. I want to colect users from WP db

    2. I can’t login, the user & pass dosen’t work…

    Pls help!

    My config.php:

    // Change the prefix if you want to have multiple forums in a single database.
    $bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!
    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
    // Adjust the domain and path to suit your actual URL.
    // Just the domain name; no directories or path. There should be no trailing slash here.
    $bb->domain = 'http://www.glosar-media.ro'; // Example: 'http://bbpress.example.com'
    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.
    $bb->path = '/forum/'; // Example: '/forums/'
    // What are you going to call me?
    $bb->name = 'New bbPress Site';
    // This must be set before running the install script.
    $bb->admin_email = '[edited by Trent]';
    // Set to true if you want pretty permalinks.
    $bb->mod_rewrite = true;
    // The number of topics that show on each page.
    $bb->page_topics = 30;
    // A user can edit a post for this many minutes after submitting.
    $bb->edit_lock = 60;
    // Your timezone offset. Example: -7 for Pacific Daylight Time.
    $bb->gmt_offset = +2;
    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
    // of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at
    // http://wordpress.com/api-keys/
    $bb->akismet_key = false;
    // The rest is only useful if you are integrating bbPress with WordPress.
    // If you're not, just leave the rest as it is.
    $bb->wp_table_prefix = true; // 'wp_'; // WordPress table prefix.
    $bb->wp_home = true; // WordPress - Options->General: Blog address (URL) // No trailing slash
    $bb->wp_siteurl = true; // WordPress - Options->General: WordPress address (URL) // No trailing slash
    // Use the following line *only* if you will be loading WordPress everytime you load bbPress.
    //define('WP_BB', true);
    /* Stop editing */
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( BBPATH . 'bb-settings.php' );
    ?>

    Thx for your time! :)

    #51588

    In reply to: Google Adsense

    ear1grey
    Member

    I’d advise against using header.php, because your header is also shown on non-content pages such as 404’s; something which is disallowed in the adsense T’s and C’s.

    I did it by writing a small plugin, which you’re welcome to. Just create a my-plugins folder within your bbpress root folder, paste the text below into the file and save it as bbpress-adsense.php, upload it to your server and an advert will appear on every topic.

    From there on you have the basics for changing the advert to whatever you prefer.

    <?php

    /*

    Plugin Name: Simple bbPress Adsense

    Plugin URI: http://boakes.org/talk/tags/bbpress-adsense

    Description: An plugin that includes an adsense advert just above the content on the topic page.

    Author: Rich Boakes

    Version: 0.1

    Author URI: http://boakes.org

    License: GPL

    */

    class bb_adsense {

    function wide_advert() {

    ?>

    <div class="bbpress-adsense" style="text-align:center;">

    <!-- Paste your advert below this line -->

    <script type="text/javascript"><!--

    google_ad_client = "pub-9050338238897291";

    google_ad_width = 728;

    google_ad_height = 90;

    google_ad_format = "728x90_as";

    google_ad_type = "text_image";

    google_ad_channel = "5984252204";

    google_color_border = "FFFFFF";

    google_color_bg = "EEEEEE";

    google_color_link = "990000";

    google_color_text = "333333";

    google_color_url = "999999";

    //--></script>

    <script type="text/javascript"

    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

    </script>

    <!-- Paste your advert above this line -->

    </div>

    <?php

    } // function wide_advert

    } // class bb_adsense

    // adds the footer so the javascript is loaded

    add_action('under_title', array('bb_adsense','wide_advert'));

    ?>

    #984

    Topic: Google Adsense

    in forum Themes
    ry4nanderson
    Member

    Hello-

    I’d like to add some Adsense ads in either my header or below the the forum listing on the main page. Pasting Google’s code in the header doesn’t seem to play nicely. Any ideas? Sample syntax, perhaps, from those who have already done it?

    Thanks!

    #49529

    An interesting situation :) I’ll look into it.

    Thanks for bring it up!

    #49528
    sidzzz
    Member

    I take my above comment back this isnt in an open discussion forum. Next time i will try to be more constructive :P

    #51506

    In reply to: FeelingGray Theme

    sidzzz
    Member

    what are alt tags?? and btw the theme looks really good :)

    #51505

    In reply to: FeelingGray Theme

    ear1grey
    Member

    Nice. That feels very 1984 disco, yet somehow soothing all at once.

    May I suggest some alt tags for images, and perhaps use the title attribute for including the forum descriptions.

    update: Ah, so that’s your theme… Karma fruit is nice too :)

    #51519
    ardentfrost
    Member

    I suggest bbpress ;) There are javascript file uploaders that you can add if you need that right away. But like I said, the lack of that ability isn’t a show stopper for me.

    #51504

    In reply to: FeelingGray Theme

    steven19
    Member

    Wtf! Looks really Great :D

    #51518
    sidzzz
    Member

    hmm yeah i left out phpbb… too huge and spammy… i am going with vanilla :)

    if any suggestions let me know

    #51321
    fee4ka
    Member

    No, I don’t have any plugins.

    And there’s no user “mdawaffe” in database :-

    #51471
    Null
    Member

    Ah ok well let’s theorise a bit now. Let’s say I have 100 subfolders with each a bbpress install, all using the same user db. This would work great but if bbpress has an update, I have to install that one 101 times (+1 = the main install). Kinda a lot of work so I wondered if the following is possible (with some hacking or plugin):

    All users have their own id right? Well let’s say Jack is a member of forum 1 and he wants his own forum. Jacks id is 123456789 (just an excample). Is it possible to let the keymaster (and ONLY the keymaster) give Jack his own forum? The keymaster will go to Jacks profile and sees a new line in his profile called: Give this user his own forum. When checked, Jack will be admin ow his own forum (so an admin, and not a key master).

    How does this work? Well when you type in: http://www.something.com/bbpress/index.php you get the standard index of the bbpress forum. If you type: http://www.something.com/bbpress/index.php?123456789 (Jacks ID), you will see the standard index of Jacks forum, which Jack controls as an admin. Posts made in this forum, are stored in the normal db, but with id: 123456789. This way we can filter all posts etc by this id for each forum. The main forum (forum 1) will ofcourse NOT show Jacks posts. The only modification to the db will be to add id to it, I think…. See this as an bbpress MU :)

    This way I have just 1 install of bbpress needed and is easy to maintain, and I can still give others a forum too! Well in theory that is…

    #979
    john_roberts
    Member

    We’re considering BBPress for user forums on our website. However, our website already has user registration (account system), and we will not have a separate registration for our forums.

    Therefore, a key question is how easy it will be to integrate BBPress into an existing user registration/authentication system. A colleague looked through the BBPress code, and came up with mostly good news (see bottom).

    The bad news, though, made me come here to see what the plans are for abstracting the user registration system in future versions. I imagine that our situation is quite common: no one wants multiple registration schemes on a single site (it’s bad enough how many we all have around the web!).

    Note: we’ve been very satisfied with WordPress on many fronts, although not for user contributions, so no WordPress integration questions at all. And, yes, we looked at http://bbpress.org/documentation/integration-with-wordpress/

    BAD NEWS, SPECIFICS:

    The SQL queries that interact with the users table are interspersed across a dozen files or so. While this makes integration slightly more difficult, the real issue is that future updates to bbpress might become difficult if not impossible to merge. Given how forum packages are magnets for security

    vulnerabilities, this might become a critical issue.

    I don’t want to argue about security vulnerabilities; that’s not the issue. The point is: at what point will BBPress change how user information is distributed around the application and/or abstracted?

    I checked Trac to see if the Timeline or Roadmap had any hints, but didn’t see anything.

    Is this situation seen as a problem? Anyone else sharing the pain? Any insight?

    GOOD NEWS, SPECIFICS: (accounts = our site registration system)

    * The bbPress user table consists of 9 columns, 5 of which overlap with our generic user table, requiring only a ‘glue’ table to provide the extra columns

    * There are no SQL JOIN’s with the user table (that I could find), making integration easier.

    * Integration with accounts is possible and would take only a few hours.

    * Customizing the look and feel would be no more difficult than it was to customizing WordPress.

    * Disabling registrations is easy to do, which would force users to register via accounts.

    John Roberts

    OpenDNS

Viewing 25 results - 32,026 through 32,050 (of 32,410 total)
Skip to toolbar