Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,601 through 25,625 (of 32,481 total)
  • Author
    Search Results
  • #72150

    In reply to: Beginnings …

    chrishajer
    Participant

    You mean the size of the font, not the width of the box? I think you want to find this section in your stylesheet and experiment with some different values for line-height and font-size:

    form.login input {

    border: 1px solid #999;

    padding: 2px;

    line-height: 14px;

    font-size: 12px;

    margin: 0;

    }

    #72172
    Detective
    Member

    That’s really sad. I suppose i was too naive when i modded the plugin. In fact, looking at the code now, it really screams “hack me”. There are almost no validations in some critical operations.

    #72258

    What version of bb?

    What plugins?

    The RSS should be a part of the core code, so unless you installed something to bugger it…

    #72252
    chrishajer
    Participant

    I think you change it right in statistics.php, don’t you?

    $bb->static_title = __('Statistics') . ' «';

    It should probably be done with a plugin, but this is where that character is set.

    najkiie1
    Member

    Alright. Thanks a lot for your help :) I started working on it yesterday, it might actually work.

    And on the bbpress forum, i will have the forum categories in the sidebar, and then just a list of all the topics. So i don’t think that’ll be a prob :)

    Oh and i like the way your sidebar works, how it changes all the time. Pretty cool.

    Thanks again :)

    #4942

    Topic: error when logging out

    in forum Themes
    ste1988
    Member

    Hi, im getting this error on bbpress installation when trying to log out.

    Can anyone help a n00b please :()

    bbPress database error: [Table 'theforum_bbpress.bb_online' doesn't exist]
    SELECT * FROM bb_online WHERE user_id = 1 LIMIT 1

    Warning: Cannot modify header information - headers already sent by (output started at /home/theforum/public_html/bb-includes/db-mysql.php:130) in /home/theforum/public_html/bb-includes/pluggable.php on line 232

    #72240
    psheld
    Member

    Thanks Chris. My version of bbpress is the latest stable one at the time of writing: 0.9.0.4.

    Just changed the secret key in both bb-config.php and wp-config.php to a 37 character long string of letters only, and we have success at http://www.atcv.net/bbpress :-). Awesome. Thanks v much.

    But I get the following at my wordpress root http://www.atcv.net:

    Fatal error: Call to undefined function wp() in /home/philipsh/public_html/wp-blog-header.php on line 14

    so perhaps my integration with WordPress remains flawed?

    #72148

    In reply to: Beginnings …

    chrishajer
    Participant

    No, it doesn’t work like that. Well, sort of. You could include inline CSS in the php files and that would overwrite the stylesheet. But in this case, the field is defined as a size of 13, but it’s not via CSS. You should do one or the other.

    If you had a definition in the CSS, like this:

    #user_login {
    width: 100px;
    }
    #password {
    width: 100px;
    }

    That would make those two fields 100px wide, so long as you got rid of the size="13" in the login-form.php. Now, if you put some inline style in the login-form.php, like this:

    <input name="user_login" type="text" id="user_login" style="width: 274px;" ...

    The field would be 274px wide, not 100px wide. That’s just the Cascading nature of stylesheets.

    Without messing with CSS at all, you could just change 13 in your template’s login-form.php to something wider to suit your needs.

    #72237
    psheld
    Member

    Should have added that line 22 is…

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

    #72236
    psheld
    Member

    Opened a copy of bb-config.php in dreamweaver for its syntax highlighting capability as you suggested Chris, thanks. All the comments stuff preceded by // is in orange font until this line, number 18…

    define('BB_SECRET_KEY', 'i have changed this here so my secret key isn't made public'); // Change this to a unique phrase.

    The comment in this line of code and all subsequent lines are in red font. But the format of the definition looks good to me. How about you? My actual secret key, as generated by the WP API, has semi-colons FYI.

    #72235
    chrishajer
    Participant

    My guess is you have a config error in your bb-config.php. Loading this page:

    http://www.atcv.net/bbpress/

    Gets me this error:

    Parse error: syntax error, unexpected T_STRING in /home/philipsh/public_html/bbpress/bb-config.php on line 22

    Line 22 is around the database password. Maybe the previous line is not quoted properly or is missing the semi-colon. My guess is that you have an error in that file and if you fix that, things will probably be OK.

    If you have a text editor with syntax highlighting, it will be easy to find the PHP syntax error that is causing this.

    #72169

    Your search is broken. ;)

    If I search for “yaris” it doesn’t find anything, even though the very first topic has Yaris in the title and body.

    Otherwise to be honest, it looks exactly like every other bbPress theme out there. This isn’t meant to discourage you, quite the opposite actually. It’s a good start and it’s awesome to see another person catching the bbPress bug.

    Welcome to the forum and to bbPress and keep it up!

    #4939

    Curious of bbPress will eventually support the idea of tapping into BuddyPress’s site-wide.css file located in the active BuddyPress theme directory?

    I realize this would take a little bit of hard coded style foresight, and it might even be better set as a plugin for bbPress, but I think it would be a nice little added touch.

    Thoughts?

    #69983
    cldnails
    Member

    Yes, as mentioned Adsense is compatible, with the addition of code, with bbPress. Furthermore, I just finished integrating Google Search w/ Adsense into my forum, which I think will convert nicely once the forum is actually opened to users.

    sumit1988
    Member

    sorry… the widget link thing sould be something like:

    <a href="http://www.youdomain.com/forumpath/" target="_self">Visit my forums</a>

    #71040
    bruinfelix
    Member

    I’ve installed this version of bbPress, and evrything works perfect ;)

    najkiie1
    Member

    Oh and i almost forgot. Do you know how to get the avatar uploader plugin to work? I can install it, but when i upload an image the image isn’t displayed. No matter which browser i use. I’ve tried to CMOD the “avatars” folder to both 666 and 777, but it still doesn’t work. And all the files are where they should be.

    And is it possible to transfer avatar images from bbPress to WordPress, if so, how?

    Any ideas? :(

    najkiie1
    Member

    Thanks.

    So there is no way at all to make a plugin or something do it for you? That’s bad, but i’ll have to try :)

    How do i do with the menu? I can’t link the menu to another page in wordpress. I can only link to pages in wordpress… how do i link it to the forum page, which doesn’t belong to wordpress..?

    I must say you’ve (if its yours) done a very good job with your theme, and no i can’t see any difference between your blog and your forum, exept that the forum is moved like 5 more px to the left. Awesome job!

    -Nike

    najkiie1
    Member

    The title might get you a little it confused. What i was trying to say was; how do i integrate my entire wordpress forum into my wordpress theme… i made an example image below :)

    http://rapid-photo.com/uploads/15untitled.jpg

    (forgot to add the footer on the image..)

    So is there any way to do this? I noticed there is a “WordPress Integration” thing in the settings, but thats not what i’m looking for, right? That will just “transfer” members right?

    I had some trouble with installing bbpress before, i couldn’t login as admin. I played around a bit with it and then i found out that i had to change the settings in “bb-config-sample.php”. I’ts a really good forum, i like it.

    Thanks.

    -Nike

    #69982

    Of course :) If you have experience with WordPress theming, it’s even easier. Took me a couple hours to make my forum match my site.

    #72105
    deadlyhifi
    Participant

    i’m not entirely sure what you are trying to do here since forum.php (used to display specific forum) shows information in the same way as front-page.php (used to display a summary of all posts)

    i.e.

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; ?>

    #72133

    Aha! Outside my office firewall I get an Error 500 right away on oakdaily.ru/forum, BUT oakdaily.ru works without issue!

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, support@netangels.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache/2.2.3 (Debian) Server at oakdaily.ru Port 80

    Traceroute gets me this

    traceroute to oakdaily.ru (91.201.53.16), 64 hops max, 40 byte packets
    1 home (xxx.xx.xx.xxx) 1.960 ms 1.405 ms 0.730 ms
    2 adsl-xx-xxx-xxx-xxx.dsl.MYSERVER.net (76.197.239.254) 19.255 ms 16.898 ms 17.679 ms
    3 12.83.63.137 (12.83.63.137) 41.463 ms 47.398 ms 39.459 ms
    4 equinix.nyc.retn.net (206.223.131.96) 39.441 ms 40.698 ms 39.450 ms
    5 ae3-7.RT.M9.MSK.RU.retn.net (87.245.233.197) 185.161 ms ae2-10.RT.M9.MSK.RU.retn.net (87.245.233.133) 184.561 ms 184.576 ms
    6 so-0-0-0.ebrg-rgr1.ur.ip.rostelecom.ru (87.226.138.182) 212.860 ms 273.203 ms 256.098 ms
    7 87.226.138.210 (87.226.138.210) 208.845 ms 212.029 ms 210.828 ms
    8 79.133.95.20 (79.133.95.20) 212.878 ms 209.786 ms 211.095 ms
    9 u7258.netangels.ru (91.201.53.16) 212.860 ms 214.290 ms 214.865 ms

    Detective
    Member

    Also, thanks for the welcome, ck! I do more theme customizations for WP but usually do it all the quick and dirty way, cramming things into function.php file rather than packaging it up nicely, and I often just hack features into other plugins to get it all working the way I want. Right now as far as bbPress is concerned on my to-do list is to find a good solution for manually marking spam posts, work email notification into the pm plugin, and set up the post notification to send email by default. Just haven’t had time to look into all that yet… if there are any existing solutions/patches, please let me know! Otherwise I’ll probably look into it at some point and contribute what I can (if anyone else is interested).

    Great! I was going to work on that in a few weeks :)

    #4932

    I just wanted to share the experience I have gathered while working, designing and pushing bbPress so as to not look like a generic bbPress instance. My latest work are these forums (the rest of the site is WordPress), and if you have the time please consider registering to be able to play a bit with the design from a member-perspective (enjoyed better in Safari). I would appreciate your feedback.

    I am really captivated by the possibilities bbPress offers; but I also feel the obscurity of these possibilities are somehow hindering proper development in the design department. The lack of a proper and exhaustive codex, readable for theme authors —without having to dig into core files—, remains as the biggest obstacle. I am all for contributing, should it be possible, in this way or another.

    #72123

    Integration, in and of itself, shouldn’t matter though. Shared DB does not integration make, and I think that pinning it on ‘integration’ may send some folks down the wrong path.

    Check your language file, check your charset for your DB. Let us know! :)

Viewing 25 results - 25,601 through 25,625 (of 32,481 total)
Skip to toolbar