chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 4,076 through 4,100 (of 4,477 total)
  • @chrishajer

    Participant

    Did you try recounting from the admin panel?

    Admin > Site Management > Recount

    "The following checkboxes allow you to recalculate various numbers stored in the database. These numbers are used for things like counting the number of pages worth of posts a particular topic has. You shouldn't need to do do any of this unless you're upgrading from one version to another or are seeing pagination oddities."

    (sure wish blockquotes were styled here!)

    @chrishajer

    Participant

    Yes, it does. I am using that on mine. I can’t recall which version I am running, but the plugin is in English and works fine.

    See for yourself right here:

    http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/wppluginsj/bb-emoticons/

    (that is just the first google result, maybe the plugin exists elsewhere too)

    https://bbpress.org/forums/search.php?q=bb-emoticons

    In reply to: Can this be done?

    @chrishajer

    Participant

    @chrishajer

    Participant

    Do you have a file called /my-templates/ronjroy/screenshot.png ? AFAIK, it needs to be a png, it needs to be called screenshot.png and it needs to be in that directory. If it is, then I’m not sure what the problem is. That works for me. Mine is 300×225 also, not sure what happens when it’s smaller or larger than that.

    @chrishajer

    Participant

    Usually that is from white space at the end of a file you edited. There should be no blank lines or whitespace after the closing ?> in the config.php. Is that the problem?

    Also, in your pasted config, there is no <?php – in the real file there is?

    And, when you edited out the password, you accidentally removed the closing quote, right? In the real config.php the password is enclosed in single quotes?

    define('BBDB_PASSWORD', 'pwpw);
    ^

    @chrishajer

    Participant

    Hmm, searching brought me to this:

    https://bbpress.org/forums/topic/using-rss-feeds?replies=5

    Sounds like you’d be happy with a hack, which is really a bad idea, and this is really better suited to a plugin, but I am still looking for where you’d make the exact change in the core.

    In looking at this, I realized the RSS feeds for my forum are broken, so I’m not much help. Searching the code at trac.bbress.org for things like get_recent_rss_link (which is where the URL for the Recent Posts RSS feed comes from I think doesn’t give me any results. It seems the search there does not search the code, just the tickets? I read the help but it wasn’t telling me what I wanted to hear :)

    Maybe I’ll check out a new copy and grep through it to see where to hack. Sorry I can’t be of more help. I don’t know the answer but I’ll try to help.

    @chrishajer

    Participant

    I use a similar setup with the root folder of my domain as wordpress, then a subfolder for bbpress. So I have:

    http://www.domain.com/

    http://www.domain.com/bbpress

    In my WordPress Control panel under options, both URLs are set to http://www.domain.com with no trailing slash. I noticed in your config this URL has a trailing slash:

    $bb->wp_home = 'http://www.subventions.fr/';

    Maybe that is causing a problem?

    @chrishajer

    Participant

    In fact, in the source of your WordPress site, there are a bunch of links that result in a 404, and they all have wordpress in the URL.

    404 Page Not Found:

    http://subventions.fr/wordpress/

    So, in your WordPress control panel, I suppose this could be wrong:

    Options->General: WordPress address (URL)

    I think your problems exist with the WordPress setup, and they are showing up now with bbPress integration.

    @chrishajer

    Participant

    This does not appear to be correct:

    $bb->wp_siteurl = 'http://www.subventions.fr/wordpress';

    Your wordpress site comes up at http://www.subventions.fr/ so the wordpress part is superfluous. I think you’ve got a path problem somewhere. Normally you install bbPress like this:

    /var/www/subventions/wordpress/

    maps to http://www.subventions.fr/

    /var/www/subventions/wordpress/forum/

    maps to http://www.subventions.fr/forum/

    forum is a subdirectory of wordpress in a typical integrated setup. Is that your setup? If so, then your config is wrong.

    @chrishajer

    Participant

    That’s a really good question. I think it would be a good idea for a plugin. There are specific feeds for forums, front page, topics, recent, tags, etc.. There’s not just one feed. I don’t know the answer, but I will bump this for you in case someone knows of a plugin or how to do it.

    @chrishajer

    Participant

    I guess after re-reading, you are not sure what files to modify. Each of the php files in the template folder are used to display SOMETHING. When I first started out, I had no idea what file was used to display each page, or view, or whatever. So, I usually found a page I didn’t like the look of, just by looking at it in the browser, then I found a word on that page that seemed distinct enough that I could grep through all the template files for that word. In a lot of cases, I would find one file or maybe 3 files where that word occurred. That’s how I knew what page to modify. I’m sure someone with more knowledge could tell you that forum.php is used to display a single forum, or that topic.php is used to display a single topic.

    One thing I did right off the bat to see which php pages were actually displayed and not called from other php files was to look in the template folder for something called header.php. There’s always a header.php and a footer.php, it seems. So, there is indeed a header.php. Now, since that is the header for each page, that has to be called from any page that is displayed in the browser. So, I grepped through all the php files in the template folder for header.php and found there are no files called header.php. I know they have to call header.php somehow, maybe it’s a function. So, I grepped through all the files for header without the php, and it returned a ton of files with header in them.

    shell:~/forum/my-templates/mytheme > grep -i header *php
    edit-post.php:<?php bb_get_header(); ?>
    favorites.php:<?php bb_get_header(); ?>
    forum.php:<?php bb_get_header(); ?>
    front-page.php:<?php bb_get_header(); ?>
    header.php: <div id="header">
    login.php:<?php bb_get_header(); ?>
    memberlist.php:<?php bb_get_header(); ?>
    password-reset.php:<?php bb_get_header(); ?>
    profile-base.php:<?php bb_get_header(); ?>
    profile-edit.php:<?php bb_get_header(); ?>
    profile.php:<?php bb_get_header(); ?>
    register-success.php:<?php bb_get_header(); ?>
    register.php:<?php bb_get_header(); ?>
    rss2.php:<?php header('Content-type: text/xml'); ?>
    search-stock.php:<?php bb_get_header(); ?>
    search.php:<?php bb_get_header(); ?>
    stats.php:<?php bb_get_header(); ?>
    tag-single.php:<?php bb_get_header(); ?>
    tags.php:<?php bb_get_header(); ?>
    topic.php:<?php bb_get_header(); ?>
    view.php:<?php bb_get_header(); ?>

    OK, so they call the header with a function called bb_get_header. I grepped again for that, to eliminate the other places the word header appears (div id=”header” for example.)

    Now, I have a list of every page, I think, that’s used to display some content to the user in a browser. If you are trying to change the structure of a certain page, it’s going to be one of those php files listed there.

    If you’re just trying to modify the look (not the actual structure) you might just be able to make a change to the style.css. Find the id or class of the element you want to change (view source in your browser to see what’s being used currently) then change that element in the style.css.

    One thing I did right off the bat was styled the blockquote. By default (when I installed a year ago) there were no styling rules for blockquote. No indent, no different font, no border, no color change, nothing. So, I added a definition to the style.css for blockquote.

    In some cases you’ll be modifying existing rules, in others you’ll be created new ones for things that might be unstyled.

    I find Chris Pederick’s Web Developer Toolbar add on for Firefox invaluable for modifying CSS.

    https://addons.mozilla.org/en-US/firefox/addon/60

    You can make a change while viewing the page and see the effect right away. Then, you can make the change permanent by modifying the style.css. The changes made in with the web developer toolbar are local only, they’re not saved. Play all you want there, you won’t break anything. Make a change you like, then make it permanent in the style.css.

    @chrishajer

    Participant

    > A few silly questions:

    > Changing or adding hot tags. Whats the procedure?

    When a topic is added, the user can add tags upon creation. I think each user can also delete tags they have added themselves. As admin, you can add or delete tags on any topic when viewing the topic. So, you can delete or add a tag. Was there something else you needed to do?

    > Looked through dashboard and can’t seem to find how

    > to change or add new topics. Forums can be added but

    > don’t know about topics.

    To create a new topic, just create one as a user or as the admin user. There’s no specific place in the admin panel to do it. It’s just done in the forum.

    > Last query: Again I ask about the changes made to

    > structure in the html. I looked through all files and found

    > nothing. Many scripts I have used in the past have one

    > file called index or something that can be access to the

    > html. Just creating or changing the style sheet does not

    > allow for the changes I want to make. I like the default

    > but some changes to reflect my website is key.

    I guess it depends what you are looking to do. I know from other posts you have seen what other people have done to change the look of their forum. So, anything is possible. You want to avoid changing core bbPress files so that when you upgrade those changes aren’t lost.

    You start by changing the template files. Default template files are found in bb-templates/kakumei/. To create your own template, create a directory called /my-templates/ (on the same level in the filesystem as bb-templates). Then, in there, create a folder which will be the name for your template, so maybe something like ronjroy. Your directory structure would look like /my-templates/ronjroy/ .

    In that folder, put a copy of whatever file you want to modify, or put a copy of all the files from the default theme. I think at a minimum you need to have a style.css in this folder. IMPORTANT: modify the name of the theme by changing it at the top of the style.css file. Maybe you want to call it “Ron J Roy”. Change this line (at least) at the top of style.css:

    Theme Name: Ron J Roy

    (I copied all the files over from the default theme, but I know now that’s redundant. If you are not making a change to a file, you don’t need a copy of it. You need style.css and then any file you want to modified. The file present in my-templates/{whatever} override the stock files. If a file is not present in your theme, the stock one is used.)

    Now, select your new theme in your admin panel (Presentation > Themes, or navigate to bb-admin/themes.php). If it’s not showing up in the admin panel, then something is wrong in the files you copied over. Maybe you made a mistake in editing the style.css.

    Now, you should see your new theme there by name anyway. Select it. Now, because your theme is just a copy of the stock theme with a new name, the screenshot is identical (you just copied over screenshot.png), and when you use your new theme, the forum will look exactly the same as the stock theme. That’s OK. The files in the my-templates/ronjroy/ are being used to display the template, but they’re unchanged from stock, so they look the same. At least you’re using your new theme. Now the fun begins.

    Pick a file, any file, in my-template/ronjroy. Make a change to the HTML in a PHP file or to the CSS in style.css. Save it. Now refresh your forum. It should look different. If you broke something, fix it in your theme, or just change the theme back to stock and go back to stock, then figure out what you broke.

    These are not official docs by any means. It’s stuff I figured out from using the software in the past year. Some of it may have changed in new versions since I started. One thing I have learned about installing forum software though: if you find that you can’t understand the software enough to modify it, move on to another project. I don’t mean that in a bad way. I mean, if you’re not able to do the things you want, the way you want them, then why bang your head against the wall? Just install something else. It’s not worth the hassle. The hassles I was having with other software is why I ended up with bbPress. I grok it, I like it, and we get along fine.

    (haha – longer reply to a long question)

    @chrishajer

    Participant

    roniabirk: do you have a URL where this is happening?

    In reply to: Girls Can’t WHAT?

    @chrishajer

    Participant

    I have found that if you have a topic that people are passionate about, they will post in your forum. Also, posting inflammatory or incendiary topics (to get people posting from both sides of the argument) helps too.

    Firstly, though, people need to FIND your forum. How are you getting the word out?

    Forums are most certainly not dead. I read lots of blogs, but only post in forums, generally.

    In reply to: Akismet key id

    @chrishajer

    Participant

    RonJRoy, bbPress and WordPress are not really related, and a wordpress.com login is necessary just for the Akismet key. The login for bbPress does not work at wordpress.com.

    One thing I always thought was weird though is that the wordpress.com login works for trac.bbpress.org.

    Glad you got it sorted. Since this is beta software, there are going to be some questions, and there are always people around to help.

    @chrishajer

    Participant

    Post your config here. If you get a blank screen when trying to install, you probably have a syntax error in your config.php. Looks like config.php (and config-sample.php) is on the server, it probably just can’t be read. If you post it here (edit the password out carefully) I bet you’ll be able to see the problem.

    In reply to: Now up and running

    @chrishajer

    Participant

    I responded in your other thread. Also, you can search the forums for template and CSS talk.

    https://bbpress.org/forums/forum/templates

    In reply to: Style Sheet

    @chrishajer

    Participant

    Sounds like the path to the site is wrong in the config. Do you have a URL where this is occuring, or any info about your hosting setup.

    You have access to the HTML in all the template files and the CSS too. You can make bbPress look like whatever you want.

    https://bbpress.org/forums/topic/top-100-bbpress-sites

    https://bbpress.org/forums/forum/pimp-your-press

    https://bbpress.org/forums/topic/strut-your-bbpress

    In reply to: Akismet key id

    @chrishajer

    Participant

    Once you have a wordpress.com username and password, you log in at wordpress.com and there is spot to retrieve your key. WordPress.com looks all different to me today, but the key is stored in there somewhere. Just look around.

    Once you have that, enter it in your config.php and start blocking spam.

    In reply to: Help with install

    @chrishajer

    Participant

    Edit the file called config-sample.php to reflect your database and site settings, then save it as config.php. Or rename config-sample.php to config.php. You don’t need a file called sample-anything anymore, you just need a file called config.php with your settings in it.

    @chrishajer

    Participant

    Where is it displayed now? Chances are, it’s in the config.php:

    $bb->name = 'New bbPress Site';

    That is used for what might be called the ‘name’ of your site.

    In reply to: Girls Can’t WHAT?

    @chrishajer

    Participant

    I think it looks very nice. A couple questions/suggestions:

    I would style the login form fields and buttons. They kind of stand out as different from the rest of the site.

    The blogroll on the bottom right, has a horizontal scrollbar, in FF2.0.0.6. It looks sort of messy. I can understand the vertical scrollbar for the long list, but the horizontal one doesn’t look good to me.

    Sometimes, long quotes don’t fit in the quote bubble, like there is a long one for Hillary Clinton that does not fit. Maybe you could truncate the long quotations and then link to the full version, or maybe just limit quote text to a certain (shorter) length.

    I like it a lot though. Nice job.

    @chrishajer

    Participant

    Do you have a picture of this happening, or a URL where it can be seen? There is no horizontal or vertical setting I know of for the overflow. So, I would like to see this and see how it might be fixed.

    Does it display a vertical scrollbar on a long link too? That would be weird.

    @chrishajer

    Participant

    The forum is located here:

    http://claystreet.uparkforfree.com/bbpress/index.php

    But the config entry is wrong, because the server thinks the URI for the site is here:

    http://claystreet.uparkforfree.com/forum.html/

    So, in your config.php, you have this:

    $bb->uri = 'http://claystreet.uparkforfree.com/forum.html/';

    instead of this:

    $bb->uri = 'http://claystreet.uparkforfree.com/bbpress/';

    Change that line, and you’ll be good to go. The site looks like that because the path to the style.css file is wrong (among other things). In fact, once the URI is corrected, the site looks like this:

    http://www.chrishajer.com/bike/XLF/ClayStreet.png

    Good luck.

    In reply to: Problem with SMTP port

    @chrishajer

    Participant

    I have no personal experience with an SMTP server on Windows XP, but Google has some thoughts on the matter:

Viewing 25 replies - 4,076 through 4,100 (of 4,477 total)