Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,826 through 31,850 (of 32,503 total)
  • Author
    Search Results
  • #52610
    Trent Adams
    Member

    That is actually the way it is supposed to be with this template and the default template. It can be changed around by changing the code in front-page.php. I moved it inside for my site, but that is the way I believe it is supposed to be.

    Trent

    #52192
    weirdtherapy
    Member

    Should it be an exact copy oder do you just want to have the same structure ?

    All you would have to do is write menue to the header – put the hottags part from the side to the top – and for the rest – .. that’s how i made it – put an extra div in every php file that gets loaded like forums or topic – it is a bit tricky to find all places where u have to add the div – but i don’t know much about php and i managed it (if the code of my first bbPress template wouldn’t be so messy I’d say u could have a look at how I done it .. :) )

    was is that what u wanted to know about how to do it ?

    if u still need someone to do it for u tell me – i ll do it if it wont get postet and i can find some time for it :)

    greetings

    #52587

    In reply to: IE Display Problem

    chrishajer
    Participant

    Also, while looking at this, overflow-x in the style.css is not valid. It’s an IE specific extension. I moved that line overflow-x: hidden; from #front-page #hottags in the style.css to an IE conditional in header.php like this:

    <!--[if IE 6]>

    <style type="text/css">

    #front-page #hottags { overflow-x: hidden; }

    </style>

    <![endif]-->

    That code was placed right after this:

    <link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />

    <?php endif; ?>

    CSS validates now, and everything appears to still work for IE and FF.

    #52597

    In reply to: ajax killed?!

    Haha … yes, you deleted me. Donno why I didn’t post yet. I’ll register again sometime … =)

    btw, this topic is a bit wrong i think, the bug has (i think so) nothing to do with the translation. i cleared my cache in Flock and it worked there, too.

    Translating bbPress is a bit difficult … but anyway, I’m almost done .. about 30% left to translate :)

    #52596

    In reply to: ajax killed?!

    ardentfrost
    Member

    Oh dang man, did you make a login on my forums and I delete you? I recognize that URL. If you want to remake, try making a post so I know that you’re not a spam bot :)

    #1114

    Topic: ajax killed?!

    in forum Troubleshooting

    Hey =)

    I started translating bbPress to German and maybe I found a bug, but … at the moment I don’t know how it comes and how to fix it.

    All ajax features (tags, favorites …) are no longer working. Thy act as if there is no javascript enabled. Also some of the functions wont work anymore (can’t add/removed favorites …) …

    Has somebody any idea why this happens? … Any idea to fix it??

    Link to Forum: http://la-school.com/bbpress/

    Edit:

    Sorry folks … this must have something to do with Flock … in FF it works fine, even in german -.-“

    #52584

    In reply to: IE Display Problem

    I fixed it quite simple, just add this to your stylesheet:

    *html #front-page #discussions {

    float: right;

    margin-left: 0;

    width: 590px;

    display: inline;

    }

    #52581

    In reply to: IE Display Problem

    chrishajer
    Participant

    I think I found why mine is different. in bb-templates/header.php, the body tag looks like this when installed:

    <body id="<?php bb_location(); ?>">

    I modified mine at some point to add some javascript onload stuff, and when I removed that, I removed the id tag altogether (inadvertently.)

    so, my body tag now is just <body> and all my pages look the same (index.php, forum.php, etc.)

    I think that was a side effect of playing with the header template, but the tags are across the top instead of down the left side. When I reinsert that bb_location, my display is messed up in IE6 too. Now, to just clear that div and make it work in IE. Then I can put that back to normal. I guess the answer to my question then is that the hot tags are supposed to be down the left side in a 150px wide div.

    #52552
    firetheweb
    Member

    Here is a hacked version, I have tested it for Chinese and Japanese tags and it works.Basically, it just excludes mutibyte chars(x80-xff) from the stopdata.

    function sanitize_with_dashes( $text ) {

    $text = strip_tags($text);

    $text = remove_accents($text);

    $text = strtolower($text);

    $text = preg_replace(‘/&(^x80-xff)+?;/’, ”, $text); // kill entities

    $text = preg_replace(‘/[^a-z0-9×80-xff _-]/’, ”, $text);

    $text = preg_replace(‘/s+/’, ‘-‘, $text);

    $text = preg_replace(array(‘|-+|’, ‘|_+|’), array(‘-‘, ‘_’), $text); // Kill the repeats

    return $text;

    }

    #52577

    In reply to: IE Display Problem

    spencerp
    Member

    Hahaha.. I just seen that crap display problem the other day, and was trying to fix it, but.. like normal, Microshit IE6 is just that, a piece of crap. sigh. I’ll keep working at it though.. ;) :)

    spencerp

    #50136

    In reply to: UTW Error

    Anonymous User 96400
    Inactive

    this bug is caused by the function is_tag(), which both utw and bbpress use, so what i just did right now was search through the utw-plugin-folder with dreamweaver for that tag, found it three times and changed it to is_utwtag(). no idea if i can just do that without problems appearing later but for now it seems to work.

    #1113
    aleko
    Member

    I’ve installed bbpress with wordpress integration, the database integration works correctly thanks your guide. But… when i try to see my posts i have this error:

    (

    Parse error: syntax error, unexpected $end in /home/mhd-01/www.alessandropagano.net/htdocs/blog/wp-includes/gettext.php(307) : eval()’d code on line 1

    1 post)

    you can try to show this at http://www.alessandropagano.net/blog/forum/

    I’ve heard that this could be related with language settings… but my config.php have the default setting (define(‘BBLANG’, ”);)

    Thanks in advance, i hope to hear you soon!

    #52575

    In reply to: IE Display Problem

    Null
    Member

    Get a better browser :)

    #52497
    plus64
    Member

    Create a file called test.php and put in it

    <?php

    phpinfo();

    ?>

    If you get a huge page with something on it with loads of information then you have windows installed. Just looking at your 404 pages show that you have a windows server – low change of having php more likely to be asp.

    #52075

    In reply to: Simply doesn’t work

    plus64
    Member

    You need to change all links for bbpress and put bbpress in front of them, so they look like

    ^bbpress/tags

    etc…. and removed

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /bbpress

    as you can only ever have one of those in an .htaccess file, and connect it to your wordpress one as well. If you get all of that :X

    #52543
    Trent Adams
    Member

    Ryan, I stand corrected. I have bbpress-post which makes the topics unresolved by default, but any topic created in the forum is marked as mu (not support question). That is not telling you anything new beause you already knew this ;-)

    I have created an enhancement ticket in TRAC. Thanks for pointing that out.

    Trent

    #52542
    Ryan Fitzer
    Member

    Template-Functions.php seemed to be the pertinent one with function topic_resolved( $yes = '', $no = '', $mu = '', $id = 0 ) being the function that controls this. Although I tried to make some small changes, I was not able to affect which option was selected by default. Any ideas?

    #1111
    weirdtherapy
    Member

    My first bbPress Template:

    http://www.borderline-hacks.at/borderline-hacks-forum/

    The image of it:

    http://www.weirdtherapy.com/images/borderline-green-01-shot.jpg

    If you want to download it to (change and) use it, you can do so here:

    http://www.weirdtherapy.com/zip/borderline-green-ads-01.zip

    There is (commented) space where you may place ads, I added the psd file for the logo, and the text in the header is random (to be truth I only added it because I couldn’t think of anythink else and I wanted it to be finished :) ) and easy editable(… i think / hope). There is also a seperate ie.css for the internet explorer.

    Two of the ads would be shown on every page because they are in the header – I only ad this information cause I think I read somethink in the forum here that there might occur problems with google .. well something like that – so keep that in mind pls.

    grretings

    #52541
    Ryan Fitzer
    Member

    Gave your theory a test just now. When I opened a new topic, titled it, put some text in and hit “send post”, I found that it did not show up when I clicked on the “Unresolved topics” view. So what ever is in the <select> area to begin with is what dictates the post status.

    #1109
    Ryan Fitzer
    Member

    I’ve been looking for a way to start off topics as “Not Resolved” by default, with no luck. Went through all the template files looking for the <select> also to no avail. Any ideas how to accomplish this? (Also, searched the forums). Thanks for any help.

    #1107
    Null
    Member

    Well, I am trying to ad an adminpage to bbPortal. I am quite far, got the admin page, it checks the db for the table bb_portal and if it doesntexcsits, it creates the table.

    Also the form is working (the looks anyway), but how do I get the forum id from <?php forum_dropdown(); ?> cause it gives the name only. And I want it that when people select the forumname using this ddlb the forum id will be written to pforum_id when pressing submit.

    Sec problem; people can fill in a number for the Number of topics on the portal in an input field, but now comes the noob question:

    How the hell do I update this input to the db?

    This is my form for now:

    <form action="<?php echo $bb->domain. $_SERVER['REQUEST_URI']; ?>" method="post">

    <?php do_action('portal_option_form_elements',''); ?>

    <h3><?php _e('Portal settings'); ?></h3>

    <table>

    <tr><th scope="row"><?php _e('Where do you want to pull the topics from?'); ?></th>

    <td><?php forum_dropdown(); ?></td>

    </tr>

    <tr><th scope="row"><?php _e('Number of topics on the portal:'); ?></th>

    <td><input type="text" name="number-of-topics" id="number-of-topics" /></td>

    </tr>

    </table>

    <p class="submit alignleft"><input type="submit" value="Submit" name="submit">

    </form>

    And this is the table where the info must be put in:

    Table name: $bbdb->portal

    pforum_id int(10) NOT NULL,

    number_of_topics int(10) NOT NULL

    Hope you guys can help me :)

    #52503
    spencerp
    Member

    Sorry I didn’t get back sooner, was having problems with my MediaWiki 1.9alpha install, well actually I still am sigh.. Anyway, [slaps self].. after seeing what chrishajer wrote there, yeah.. it would only make sense lol!

    Glad to hear you got it figured out, and someone helped you! ;) :)

    spencerp

    #50455

    In reply to: Google sitemap

    Zambu
    Member

    Got it. Cool. I registered it last night and now google has indexed all of the topics. So now if I run a search in google on one of my topics (in quote marks to make the search more specific), it comes up right away.

    But it doesn’t seem to index the actual contents of the topics…at least not yet. I am guessing it will do this over time.

    Thanks again! :-)

    #52496
    chrishajer
    Participant

    That’s almost certainly due to a PHP error, and errors are not being shown in the browser on your host. I suspect something in config.php is amiss. Can you post the config.php, or look for these common errors:

    • strings must be quoted (like your akismet key if you entered one)
    • your domain name, home and siteurl must all be quoted (due to slashes and colon)
    • possible problem with the table prefix for bb or wp?

    If you have a command line at your host, you can also check the syntax of the config.php file by running:

    php -l config.php

    No syntax errors detected in config.php

    that’s a lowercase L after the php

    Post your config (edit out the good stuff) if you need more help.

    #52501
    chrishajer
    Participant

    In the posts tab of the admin section, I think only deleted posts show up (that is my experience and I have 171 posts in 21 categories. ) If you want to view/edit/delete/’mark as spam’ the posts, log in as admin and perform your work on the forum, not the admin section. It was confusing to me at first, thinking they would show up the admin section, but there’s nothing I would need to do with them there anyway.

    If fact, looking through bb-admin/content-posts.php, the <h2> tag is hard coded “Deleted Posts”:

    <h2><?php _e('Deleted Posts'); ?></h2>

    So, I think that is the intention: to just show deleted posts.

    HTH

Viewing 25 results - 31,826 through 31,850 (of 32,503 total)
Skip to toolbar