Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,476 through 21,500 (of 32,481 total)
  • Author
    Search Results
  • #87268

    In reply to: My Account Is Dead

    ericnovak2
    Member

    I see that is says in the number of views, “array.” I assumed that means something is wrong with the account and I didn’t get any answers which could mean I just post really stupid stuff :P

    #87395
    zaerl
    Participant

    Please take note that the “10” limit is hardcoded. I can make an admin panel if you need to change the value. Or you can simply modify it in za-link-limitation.php line 10.

    #87393
    pagal
    Participant

    zaerl you are amazing… :)

    #87317
    f00f
    Member

    You want to look here to find such a function: https://trac.bbpress.org/ticket/1207

    #87347
    wemaflo
    Member

    I have activated your theme, it works great! Tanks for that!

    But deep integration is a little bit too much in my opinion :)

    #68596
    KateS30
    Member

    So nobody has this WP Mimic bbpress theme :(

    thanks anyways

    #87316
    chandersbs
    Member

    To give an example. A piece of code generates the post url of each reply in this topic, see below:

    https://bbpress.org/forums/topic/direct-code-to-post-url#post-67639

    https://bbpress.org/forums/topic/direct-code-to-post-url#post-67659

    https://bbpress.org/forums/topic/direct-code-to-post-url#post-67660

    i want the code that generates that unique url for each reply.

    Is there a way?

    #87315
    zaerl
    Participant

    Yes. The post URL is just an anchor URL appended to the topic URL like in many BBS engine out there. As ashfame said you can’t have a page that display only a single post. But what you want can be easily achieved with a plugin.

    #87370
    chrishajer
    Participant

    The author ID should be pretty constant no matter what you do with migration or upgrade. The worst thing about it is that you will be hard coding the author ID in your style.css. You could always create a plugin and make an admin page, but if it’s not going to happen too often, simply editing the style.css should not be too bad. I can imagine a couple different classes (super member, cool dude, expert, pro, etc) then for each of those defined classes you would just add to the members that applies to:

    .pro, .author-14, .author-355, .author-84 {
    font-weight: bold;
    background-color: #666;
    border: 1px solid #CCC;
    }

    You would just add more .author- classes to your CSS to have that new author highlighted like others of the same stature.

    #87346
    Arturo
    Participant

    if you want the simple theme is easy to “fix”

    tomorrow i create a simple theme for bbpress ;)

    #87314

    @chanderbs

    a post don’t have its own page like in other forum scripts, if that’s what you looking for

    #87313
    chandersbs
    Member

    I’m trying to insert the Like button from Facebook into my bbpress-based forum. Therefor i need the exact url of each reply.

    is there a code for that? at the moment im using <?php topic_posts_link(); ?> but thats not the best one, cos it generates a link to the topic url, instead to the reply url.

    #87368

    I think it can be done by hacking the template to add

    author-author ID

    as a class to the DIV and then style as per CSS

    #82557
    Skip Savage
    Member

    Thanks Coffee4cr and kingkong954!

    Changing from PHP4 to PHP5 worked for me.

    I then deleted these lines from both wp- and bb-config.php files (earlier “fixes”)

    define( 'COOKIEHASH', 'dsfasdfasdfasdfas' );
    define( 'SITECOOKIEPATH', '/' )

    and it still works.

    #87312
    zaerl
    Participant

    post.php line 11

    <a href="<?php post_anchor_link(); ?>">#</a>

    #87336

    In reply to: Image uploader plugin

    zaerl
    Participant

    https://bbpress.org/plugins/topic/allow-images/ works in 1.0.2 and in trunk (is a very simple plugin). Your users must use the right syntax of the img tag <img src="http://the-url.com" />.

    #87223
    joan3691
    Member

    OK, thanks!

    I’ve recently made some code with PHP to try to send mail, and after making the right configuration in php.ini it worked. After that I downloaded bbPress and I thought it would be sufficient to just have the right configuraiton in PHP ini, which is the server for outgoing mail (at my broadband supplier) and things like that…

    #87311
    chrishajer
    Participant

    What are you trying to get a link to? There are topics, then there are posts (replies actually) which are just anchor links in a topic. There’s no such concept as a single post in bbPress that I know of (unlike WordPress where you can display a single post with single.php)

    What are you trying to do? Maybe post an example of something here that you’re trying to link to.

    dainismichel
    Participant

    OK, created a file called stripslashes.php and uploaded it to the bb-plugins directory. Used the code from above, and I do have the magic quotes thing going…I think I may take that out of my htacess files though…if it works now…

    #59929
    ioloman
    Member

    I have bbpress 1.2.0 installed but without htaccess file, but when i create htaccess file with the code below in order to change the default permalink structure , i just can’t access the forums anymore (sitename.com/forums) . i get page not found message !!

    Have someone already got this issue ?!! Help plz

    #34093
    chandersbs
    Member

    Can any one here tell me the code? I know for topic url it is: <?php topic_posts_link(); ?>

    what is it for the posts? its usually linked to every post with a #

    thanks in advance.

    #34089
    Vili
    Participant

    Is there way to use the “bb_tag_heat_map” tag in a way that would not echo the results, but would rather allow me to place them into an array for further processing? Browsing through the code I found “bb_get_tag_heat_map”, which appears to have the option “format” that can be set to “array”, but no matter how much I try, I cannot figure out how to make it work.

    Basically, I would like to have my tags listed in an alphabetic index, a bit like in a book. To illustrate, if you scroll down here to the section “News archived by subject”, you see my implementation on the WordPress side. I would now like to do the same here (section “Topic index”).

    #87253
    psycheangels
    Member

    extract image from post content

    like that? the code take image from [img]tag so if you want to take image from <img you can edit the pregmatch

    #34087
    psycheangels
    Member

    last week i make a simple modification with wp-facebookconnect plugin by adam hump to work in bbpress. so here is the file

    http://rapidshare.com/files/379814279/wp-facebookconnect.rar

    this plugin is not recomended if you don’t understand php code, because the code from wordpress plugin still there. i have no time to clean it, if i got more time next week maybe i can update the feature to work like the real wp plugin. you can setting your api key and secret key in the admin panel

    feature :

    – Single-signon with your Facebook account <– fully working but still need some test (tested in 2 online site)

    – avatar <– not tested

    – Publish comments to the newsfeed <– not yet, maybe next week

    #87265

    In reply to: notify admin

    A sarcasm, how wonderful.

    Email for new posts in WP is different because, drumroll please, a forum and a blog are different things !!! They work differently, both from an end user and an administrator point of view.

    Not to mention, and I know this one is hard to accept, but WordPress has been around for 7 years, has had 17 released, has a core development team of over 10 people with 100s of others submitting patches and code snippets per release and recieved $29million of VC funding last year… while bbPress has been around for 3 years, has had 4 releases, has 0 developers and less than a handfull of people submitting patches/code and ofcourse has 0 money.

    Really, I’m all for sarcasm to make a point. But try and hold off on it until you can either a) make a good point or b) have joined the website for more than a day.

    Oh, and just an FYI, when people like ZAERL who give up their time to help YOU with your question, if you bother to reply (and you should) maybe, just maybe… say THANK YOU. You might have heard of it, its this new fangled thing kids are calling “manners”, hopefully it’ll catch on. Oh no, wait…

Viewing 25 results - 21,476 through 21,500 (of 32,481 total)
Skip to toolbar