Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,976 through 18,000 (of 32,499 total)
  • Author
    Search Results
  • #39384
    pmcdonald
    Member

    I followed the instructions to install and got this error that I need help interpreting and resolving:

    SQL ERROR!

    >>> Database: wildfelid (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bb_posts (

    post_id bigint(20) NOT NULL auto_increment,

    forum_id int(10) NOT NULL default 1,

    topic_id bigint(20) NOT NULL default 1,

    poster_id int(10) NOT NULL default 0,

    post_text text NOT NULL,

    post_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

    poster_ip varchar(15) NOT NULL default ”,

    post_status tinyint(1) NOT NULL default 0,

    post_position bigint(20) NOT NULL default 0,

    PRIMARY KEY (post_id),

    KEY topic_time (topic_id, post_time),

    KEY poster_time (poster_id, post_time),

    KEY post_time (post_time),

    FULLTEXT KEY post_text (post_text)

    ) TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8’;

    >>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16

    The setup did not create the necessary tables in my database for some reason even though the access details are correct.

    #107715

    You will have to deal with that padding anyway.

    To change the avatar size, create a new theme by copying the bbpress-twentyten theme to your WordPress themes directory and changing its name in style.css and then at line 53 of the file bbpress/loop-forums.php (can be the wrong file) look for bbp_author_link function. You will see the size as 14 there, change it to a bigger size.

    #39382
    m-jay
    Member

    HI

    I’m using the shortcode [bbp-topic-tags] within a text widget ;

    to make the tag cloud visible in the sidebar on my Forums.

    This is cool, but the tag list is getting bigger and bigger …

    Is there a way to limit the number of keywords diplayed ?

    Thank you

    #107713

    Its a prob with your CSS,

    At line 5 of colors.css

    img.avatar {
    padding: 0px 10px 10px 0px;
    float: left;
    }

    This padding is ruining it. Other than that size is ok, you can change it too though.

    #39377
    Techietonic
    Member

    Hi guys, I have another query, hope the community can help me out here.

    Is there any plugin i can use to add a Facebook like button on the start of each thread?

    Basically, i want the forum thread/topic to appear on the user’s facebook wall/updates when he/she lieks the forum topic/thread. This activity will/might be noticed by his/her facebook friends and will eventually attract new visitors to the forum if they are interested in te “liked” topic/thread.

    hope anyone has this plugin i am thinking.

    thanks and best regards,

    Lesley :)

    #107689

    In reply to: [2.0/RC1] My Theme

    Mike1233
    Member

    yes you are right i better no change anything in the files. But i hope the theme dont change so i have put to many time in my css ;)

    but very thanks for help with pictures.

    #107568
    OreilleMalade
    Participant

    Merci beaucoup ! ;-)

    #107492

    I’ve encountered a little problem. When adding description to a topic-tag, it looks like the shortcode feature is missing a linebreak :-)

    For instance here: http://voipsnak.dk/ip-telefoni/emne-tag/fritzbox-2

    BingoGuy1
    Member

    I was wondering if there was a function or hook I can use to display the topic & forum description on the forum template in the bbpress loop.

    I’d like visitors to go to the forums page, each kind of forum (e.g, general discussion, image posing, inquiry, help, etc.) in the table has the name, the board description, and then the forum meta, then the user clicks on that, and they’re taken to that subpage with a list of all open topics, each topic has a short 1 or 2 sentence bit of the description right there before you click on it.

    So essentially, I’d like each table row to have a short preview of what the subpage is beneath the given name.

    Is there a function or hook to do this? if not, how else can it be done?

    Thanks.

    ~ Jackson

    #107685

    In reply to: [2.0/RC1] My Theme

    ratsoid2
    Participant

    Every forum has an ID. In my case:

    <tr class="post-3730 forum type-forum status-publish hentry even" id="bbp-forum-3730">

    <td class=”bbp-forum-info”>

    General

    <div class=”bbp-forum-description”><div class=”pce-enabled-section”><p>Forum despre lucruri generale, ca poneii şi cunilingusul</p>

    </div><!– PHP 5.x –></div>

    </td>

    <td class=”bbp-forum-topic-count”>7</td>

    <td class=”bbp-forum-reply-count”>46</td>

    <td class=”bbp-forum-freshness”>

    2 zile

    <p class=”bbp-topic-meta”>

    <span class=”bbp-topic-freshness-author”><img width=”14″ height=”14″ class=”avatar avatar-14 photo” src=”https://secure.gravatar.com/avatar/f862425c1c224dd9830b5f0878dea405?s=14&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D14&r=G&#8221; alt=””> Mr. Edgar</span>

    </p>

    </td>

    </tr>

    So just add some css to each and single on of your forums (hopefuly you don’t have too many). My case:

    tr#bbp-forum-3730 td.bbp-forum-info {

    background: url("images/icon1.png") no-repeat scroll 10px center transparent;

    padding-left: 75px;

    }

    The above code gives the first forum it’s icon. Replace “#bbp-forum-3730” with your #bbp-forum-NUMBER and the rest of the css I think it’self explinatory.

    #107683

    In reply to: [2.0/RC1] My Theme

    ratsoid2
    Participant

    I can’t share it… It’s deeply integrated with my current theme. Even if you had it, it would work properly. Tell me what you need and I could tell you the proper codes to use.

    #107425
    pimarts
    Participant

    Thanks a lot for that reply, going to test it out in my beta enviroment right now ;)

    #107424
    slithx0r
    Member

    I actually joined just to post this exact problem.

    I managed to figure it out after reading this!

    You were right when you suggested it could be to do with the permelinks because I was using the exact same custom structure of “/%category%/%postname%/” and had the same problem.

    The solution is either a)

    Use the default link structure or

    B)

    edit function ‘bbp_get_topic_edit_link’ in file

    wp-content/plugins/bbpress/bbp-includes/bbp-topic-template.php

    with this line of code

    $uri .= ‘?edit=1’;

    just before it returns.

    Then do the same for

    wp-content/plugins/bbpress/bbp-includes/bbp-reply-template.php

    with function ‘bbp_get_reply_edit_link’

    So now the edit url should look like

    http://beta.guildwars2community.com/forums/topic/ranger-pets/?edit=1

    I hope this helps!

    #39354

    Topic: [2.0/RC1] My Theme

    in forum Themes
    ratsoid2
    Participant

    Hello guys,

    Well, after seeing that the final 2.0 is short to come, I took mathers into my own hands so I started working hard on a theme. With this thread, I am willing to share my knowledge. All I ask is to not waste my time by asking questions that are already answered in these threads:

    http://bbpress.org/forums/topic/bbpress-20-theme-compatibility

    http://bbpress.org/forums/topic/bbpress-20-shortcodes

    So, the site I am referring to is http://futezatorii.ro/ and if you happen to be romanian, LUCKY YOU! If not, Google Translate will help you and so will I because I am better than Google.

    Ok, first off, by clicking on the red button on top (Cont Nou), you will see a beautiful register page. This was done using Register Plus and Lightbox Plus, so having said that… it’s a plus. Also the login form and forgotton my password form are all in there. Did I mention they use BBPress Shortcodes? Well, they do.

    By navigating to the forum ( http://futezatorii.ro/forum/ ) you will see a custom logo for the forum. This was done using conditional tags. Also you will see a different kind of front forums because I thought that if I was going to start a new forum, I mind as well make it NEW! so you don’t see any Freshness and Last Poster. This is an old format and I think it sucks. It may be one of the many reasons that forums are not doing so good in these times. Also, you can see the last replies in the widget.

    Going forward at the topics page ( http://futezatorii.ro/subiect/meme/ ) you can see that the New Topic button (Topic Nou) has a nice sliding effect. Basic jQuery shit, but it looks nice. I figured that having the whole new topic form there is just bleh. The same idea is applied to the “new reply form”.

    On the topics view, there’s nothing much there, but I will say this: I removed the tags (why the hell would someone use tags on a topic? Why complicate a thing so much?) and I also disabled adding favorite topics. The forum is fresh and I didn’t thought it was a good idea. Maybe in the future I will look it up again.

    ONWARDS TO THE PROFILE PAGE!

    My profile is here: http://futezatorii.ro/cont/rats/

    You can see that there are a couple of buttons there… well, I added some new fields with Register Plus and called them in user-details. Thus, if someone adds their G+/fb/tw/yt/www link, a nice button will appear. I thought that having a profile with only the “Created topics” and “Subscribed topics” is boring. Having said that, the “Created topics” and “Subscribed topics” has the same sliding effect as the “New Topic/New Reply” form. Kind of buggy now, but I’m lazy. (* – on the bottom of this post I will like to add something about this particular page).

    Now the profile edit page, that you can see in this screenshot (and only in this screenshot because you are evil): http://i.imm.io/7JFn.png you can see the custom fields I was talking about and the upload avatar thingie. Yes, I got that. I used the User Avatar plugin for WP and it works awesome.

    So that’s basically it (but believed me, I worked for weeks for this forum to be as it is now), but I am looking forward for a few things also:

    – as soon as this is resolved: http://bbpress.org/forums/topic/20rc1-loop-authorphp the commenters links will link to their profile (if they have one, if they don’t, tough luck) and (*) it would be great if there would only be a page for an user’s profile.

    – a proper BB Code plugin

    – fiuguring a way to connect some of the plugins with bbpress like: Pure CSS Emoticons, Lighbox Plus (and I think that’s about it)

    – A SEARCH BOX! Please JJJ, I really need this. I know you are wondering how to implement it, and the answer is simple: make the WP Search Box just search in the forums. Why? Because the blog and the forums are two seperate entitites. If I wish to search for a street, I usee google maps and not google images. Those two shouldn’t be mixed!

    If you need any tips and if I can help in any way, I will surely do so. I did not made this thread to spam or something like that (the site is in romanian, so yeah).

    Sorry for any typos, any non-sense – english isn’t my native language and I’m in a rush.

    P.S. There should be a preview button because I AM NOT SCROLLING UP TO SEE ANY MISTAKES.

    OreilleMalade
    Participant

    Hello,

    I tried today to migrate my bbPress 1.0.3 standalone to bbPress 2.0 (revision 3380) but something went wrong.

    Problem is about the importer.

    I followed all instructions (disabled all plugins in both WordPress and bbPress standalone, switched to twenty-ten theme) and started import.

    I didn’t import users as forum is not integrated with WordPress and it’s a very little forum (about 7 or 8 members and about 1000 topics) but maybe I should.

    Anyway… After 3 or 4 minutes, imports stopped. In fact, import stops every 3 or 4 minutes. Sometimes I got this error message :

    Warning: Invalid argument supplied for foreach() in /homez.131/oreillemh/www/forum/bb-includes/functions.bb-forums.php on line 84

    Everytime I clicked to go and after a few stops I had a look at the result.

    Here it is :

    http://www.imagup.com/data/1126800888.html

    As you can see, topics are imported as forums.

    Moreover, same topics are imported many time.

    As a result, I disabled bbPress 2.0 for the moment.

    Could somebody help me ?

    Best Regards,

    Laurent

    PS : I’m using BuddyPress and I really thought BuddyPress 1.5 would integrate bbPress 2.0… I’m a little bit disappointed but I’m sure it will be for next release, right ? ;-)

    #107676

    In reply to: Don't Show Tags

    pimarts
    Participant

    Find all the CSS for tags and just hide them, that’s what I did. Not using them either.

    Example:

    .bbPress .bbp-form .form-allowed-tags {

    display:none;

    }

    #39351

    Topic: Don't Show Tags

    in forum Installation
    Mike1233
    Member

    How can i delete the tag-line in editor? I will not use the tags and not show the line in the editor for new topic, new post etc.

    can anybody help me? i cant find the right codes.

    #95640
    folgerj
    Participant

    @Trifon I made the change per your last.. http://jeff-foliage.com/fall-foliage-forum/ and I think your’re correct that this will make it more user friendly… Of course if anyone else has suggestions I will be happy to consider them also…

    I had a server issue and the admins were scrambling to try to figure out why is was dog sh*t slow… Well it seems to be back among the living and running nice and fast.. I hope not to many here got fed up with that…

    It’s looking good as far as I can tell… Oh! if anyone feels I have earned a +1 on the page, feel free… I’m trying to get some more traffic.. :-) aren’t we all?

    One thing that might be nice is an email when a post is made so I can follow up.. This won’t be good if the forum got real active but when I only get one a day it would be nice to see new comments…

    I’m assuming that new replies is where I should look for comments and if someone posts a new topic it will show up there.. If I had my way though I would want one page that shows both new comments/replies/topics all on one page… This I don’t seem to have with RC1 release… Unless it’s buried somewhere and I haven’t seen it..

    #95651
    folgerj
    Participant

    @Trifon I made the change per your last.. http://jeff-foliage.com/fall-foliage-forum/ and I think your’re correct that this will make it more user friendly… Of course if anyone else has suggestions I will be happy to consider them also…

    I had a server issue and the admins were scrambling to try to figure out why is was dog sh*t slow… Well it seems to be back among the living and running nice and fast.. I hope not to many here got fed up with that…

    It’s looking good as far as I can tell… Oh! if anyone feels I have earned a +1 on the page, feel free… I’m trying to get some more traffic.. :-) aren’t we all?

    One thing that might be nice is an email when a post is made so I can follow up.. This won’t be good if the forum got real active but when I only get one a day it would be nice to see new comments…

    I’m assuming that new replies is where I should look for comments and if someone posts a new topic it will show up there.. If I had my way though I would want one page that shows both new comments/replies/topics all on one page… This I don’t seem to have with RC1 release… Unless it’s buried somewhere and I haven’t seen it..

    #39334
    lakospeter
    Member

    I discovered this problem today and it’s so frustrating I don’t know what causes it:

    On most topics I can only see the first post per page. I can turn the page, but only the first one shows up on that particular page. Nothing under the post shows up, not even the html tags are put out. The HTML just ends with ‘[less_than]li id=”post-1218″ class=”alt”[greater_than][less_than]div id=”position-‘.

    I later discovered that I can only see a finished, normally rendered page if only one post shows up (e.g. the items per page is set to 15 and there are 16 posts on the topic and I’m on the last page).

    The reply section only shows up if the above condition is met and I’m on the last page. After I send my post, it makes the number of posts on that page 2, so again, I can only see the first one and nothing below it.


    I was using version 1.0.2 with the Ajaxed Quote 1.2, Allow Images 0.9, bbPM 1.0.1, Private Forums 5.0 and reCAPTCHA bbPress 0.2 plugins when I discovered the problem.

    Shortly after that I updated to bbPress 1.0.3 thinking that a file might got corrupted, but the problem hasn’t been solved.

    The strange thing is that I didn’t update or change anything in bbPress since yesterday (when it was working correctly).

    I have no control for the phpversion, this is on a server I bought access to, so this might have got updated. phpinfo says: version 5.2.17-0.dotdeb.0

    I was searching in the database too for a potential malitious comment (because I have had spam users despite using captcha) but I haven’t found any. Plus the nature of the problem doesn’t hint to that. (I can see all posts if I set the items per page to 1).

    MySQL version: 5.1.49-3

    BTW, everything in the admin area and besides this problem seems to be working just fine.

    Please help me.

    Thanks,

    Peter

    EddieG
    Member

    It’s hard to know for sure how a service like Akismet is working. I can look at stats, but I can’t examine the rejected posts. All I can say is, there is no spam.

    Anyone here is welcome to test the (v2.0-beta-3b) forum using Akismet. Try to spam it. :-)

    http://www.amancooks.com/wp/forum/

    Let us know how it works. :)

    In the future I’ll look into adhering to the WordPress Discussion settings for restricting comments too.

    #107652

    @pimarts, Thanks :) looks good, i will try it.

    #107490
    Kye
    Member

    Excellent, thanks! :-)

    #107489

    I’ve added a multisite option to handle the assigning of the default role and caps. I see value in having it work either way, and can see a case for toggling this setting even on a per site basis.

    Multisite crisis averted. :)

Viewing 25 results - 17,976 through 18,000 (of 32,499 total)
Skip to toolbar