Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,326 through 22,350 (of 32,481 total)
  • Author
    Search Results
  • #83750
    merc70
    Member

    My tiny modification:

    <div class="header-wrapper">
    <div class="header pagewidth">
    <!-- TITLE -->
    <a href="<?php bb_uri(); ?>"><img src="/images/forumlogo.png" alt="Forums" title="Forums" /></a>
    <?php if ( bb_get_option('description') ) : ?><h2><?php bb_option('description'); ?></h2><?php endif; ?>
    <!-- END TITLE -->
    </div>
    </div>

    Edit: forgot to mention that adding the width=”325px” height=”90px” in the img tag, still doesn’t display the image.

    #83749
    Michael
    Participant

    Well can you show us the code that you used? I have a template based on yours (from Spyka.net), and my image appears perfectly. You may just have an error in your code.

    #83743
    Michael
    Participant

    I never found this error. I should check it out. :)

    #32767
    merc70
    Member

    Hello everyone, we’ve started a forum about a week ago and decided to use a template to skin the board. After a good couple of hours, we managed to match the forums colors and feel to our main website. I’m not really well-versed with CSS or PHP but i’m familiar enough to experiment, tinker and achieve the results I usually want. And besides, i’m learning as I go!

    But there’s one thing that’s sort of baffling me. I’m trying to add our “logo” image in the header, right where the normal forum name text would appear. Usually, that’s just as simple as going to the header itself and replacing the PHP code used to get the name of the forum with an IMG html tag with width, height, etc.. However, the image won’t appear at all! We’ve double checked the directory, made sure it was pointed to the right place, checked the chmod settings on the image and everything should be fine, but the image still doesn’t appear. The result is in the screen cap below:

    http://marknine.com/image/ioforums.jpg

    Is there something specific i’m supposed to be looking for? In the CSS file or the header.php file itself?

    header.php

    <div class="header-wrapper">
    <div class="header pagewidth">
    <!-- TITLE -->
    <h1><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a></h1>
    <?php if ( bb_get_option('description') ) : ?><h2><?php bb_option('description'); ?></h2><?php endif; ?>
    <!-- END TITLE -->
    </div>
    </div>

    CSS

    /* header & nav */
    div.header-wrapper {
    background:#222 url('images/header.png') repeat-x scroll left top;
    }
    div.header {
    border-top:10px solid #E05900;
    padding:40px 0 40px 10px;
    margin:0 auto;
    }

    #32765
    Michael
    Participant

    Greets :)

    I recently had a problem with my tag cloud, which I have not resolved. I landed up having to revert to the default tag cloud.

    Now that I’ve done this, the tags look too close to eachother. So some tags look as if they are one, when they are actually two.

    My idea is to separate them with bullets (•) of the same size. Once again, I don’t wanna go messing around with the core unless I know what I’m doing.

    Any way to do this?

    Peace, Michael

    #83658

    chrishajer: i looked everywhere, i can’t find that code or anything that looks like it could it be a topic someone put with html in it?

    #83657
    chrishajer
    Participant

    Interesting, you’re going to throw the whole internets into a loop!

    Here are the headers:

    [~]$ curl -I http://strangebutfunny.net/forum/topic.php?id=2
    HTTP/1.1 200 OK
    Content-Length: 0
    Content-Type: text/html; charset=UTF-8
    Server: Microsoft-IIS/7.0
    X-Pingback: http://strangebutfunny.net/forum/xmlrpc.php
    Refresh: 0;url=http://strangebutfunny.net/forum/topic.php?id=2
    X-Powered-By: ASP.NET
    Date: Thu, 07 Jan 2010 17:09:09 GMT

    Why is there a “Refresh: 0;” in there? Do you have a fresh in any of your header.php files, maybe to direct people from the website to the forum?

    #83684

    In reply to: Tag Bug: MySQL error

    Michael
    Participant

    Okay, thank you :)

    #83683

    In reply to: Tag Bug: MySQL error

    Gautam
    Member

    Add this before line 40 in hot-tags-plus.php:

    add_action('bb_pre_merge_tags', 'hot_tags_plus_delete');

    This wont fix your current bug (but would fix future ones). To fix the one that is now, temporarily run hot_tags_plus_delete() function any where in your template to clear the cache and remove it after that.

    #83681

    In reply to: Tag Bug: MySQL error

    Michael
    Participant

    I’ve just disabled the plugin. I don’t want to reduce the functionality of it at all. Besides, I’m planning to make some changes to my forum – so I’ll probably use bbCumulus when the time comes. :)

    Thanks for the help :)

    #32748
    Michael
    Participant

    Hi all :) Hope you’re keeping well. :)

    I just picked up a bug (it may just be in my forum though) with the tags system. I was doing some tag cleaning today, so I needed to merge a few tags. I had two tags that needed merging: “User Interfaces” and “User Interface” (my fault).

    After merging the tags, I received this error:

    http://www.inniosoft.co.cc/devstation/tags

    I am using the Hot Tags Plus plugin, but I don’t think it has anything to do with this error.

    Running bbPress 1.0.2.

    Any ideas?

    Peace, Michael :)

    #83641
    Michael
    Participant

    If you’re running a shared host, you should be able to perform a backup yourself through your cPanel. :)

    #83652
    Michael
    Participant

    alexandanthony: It lookas like you’ve modified something when you edited the theme files. It looks like it’s running some kind of continuous loop.

    Can you put the code for topic.php (in your my-themes directory) on pastebin.org? I’d like to have a look. :)

    Michael

    #83637
    chandersbs
    Member

    Thanks.

    I tried that code.

    The result:

    http://domain.com now goes nicely to http://www.domain.com

    If I encounter problems, I’ll let it be known.

    #83636
    Ben L.
    Member

    Add

    RewriteCond %{HTTP_HOST} !^www. [NC]
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301]

    to your .htaccess (right under RewriteEngine On)

    #83598
    KasperN
    Member

    Okay, I just ran this plugin (https://bbpress.org/plugins/topic/fix-admin-access/) on WP and it worked. I now get the ‘ADMIN’ link in the forums when logged in :)

    There’s another problem now though, all the bbPress admin panel graphics are gone, leaving just black-on-white text in a messy layout.. Here’s what i get: http://img41.imageshack.us/img41/6884/bilde2i.png

    Any genious sollutions for this?

    #83378

    In reply to: bbPM Private Messages

    Ben L.
    Member

    The folder called bbpm should be in my-plugins.

    #83228
    chrishajer
    Participant

    I thought the file was written as sitemap.bb.xml originally, which would not overwrite your sitemap.xml file, correct?

    Also, that $sitemap_file is normally defined with server $_SERVER['DOCUMENT_ROOT'], so you should be using a filesystem path, not a URL as you have done. Something like /var/www/you/forum/sitemap.xml instead of the url with HTTP.

    #83576
    Marius-
    Member

    Ben L. is that how it works? Out of the box like that?

    Cause I have no knowledge on how to recode the php.

    #80055

    I’m having a similiar problem. I’m using bbpress integrated with our WordPress site. On the front-page.php page, in the “Latest Discussions” I’m using this bit of code:

    <?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?> by <a href="/wedding-chat/profile/<?php topic_author(); ?>" ><?php topic_author(); ?></a>

    Which gives me the users name, and a link to their profile page. The problem is that the link is using their username, which if the user has spaces or dashes, poses problems. I need to get the user_nicename or display_name value from that users record. How do I do this in bbPress? I’ve dug around, but I don’t see any information on the topic.

    Thanks!

    #83618
    Maurice
    Member

    This can be done via a plugin. I have done this myself with a old plugin of mine. Don’t have the code with me atm (at work)

    Damien
    Member

    Can someone explain how I can pull the total number of bbpress posts made and display them in wordpress theme, and also a harder one to solve, how do I get the total number of posts for a user in bbpress and display that in the users wordpress author.php?

    I’ve got intergration happening with shared login/registrations, tables in same DB.

    Thanks for any help :)

    #83263
    Olaf Lederer
    Participant

    John, sure there is no guarantee, but the bbpress development over the last 2 years was never so active as for wordpress.

    My Forum is ~ 2years old and I updated only once (to 1.02) ;)

    and at the end we have to trust Matt :D

    #83261
    Olaf Lederer
    Participant

    yeah there is a great chance to trash your database ;)

    #83257
    Olaf Lederer
    Participant

    @John,

    I’m not talking about the plugin but about a core feature, I think email subscription is one of the secrets why forums and blogs succeed. My remark is just about why some “mail filter” is very important.

    PS. If I send mail messages from websites I use always a SPF record ;)

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