Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,851 through 17,875 (of 32,499 total)
  • Author
    Search Results
  • #107927

    @sureshdrim

    Facebook for Websites: Social Plugins for Your Blog and Business

    facebook-social-plugins

    140Share

    Facebook offers webmasters and bloggers a lot of options for integrating their platform onto websites. Consider the number of users that are logging into Facebook on a daily basis and staying logged in throughout the day while perusing the Internet.

    facebook for webistes infographic

    It makes sense that website owners would want to take advantage of the power of Facebook on their own sites, especially since Facebook is the most used identity when it comes to people signing into sites, as shown in the infographic above.

    The best part is that Facebook offers several social plugins that you can implement onto virtually any website, some with very little coding knowledge required. Let’s look at these plugins, and the reason why you would want to have a few of them on your site.

    Like Button

    The Like Button is probably the most well known and recognized of the Facebook social plugins. Like buttons can be placed on any page of your website and can be targeted to like the page that the button is on, or a URL that you specify. For example, you can have a Like button on every page of your site that, when clicked, will create a Like to your homepage.

    To get the code for the Like Button, simply visit the developer’s page, enter the URL you want visitors to like and then customize the other features such as layout style, showing faces of people who have liked it, width, wording (Like or Recommend), font, and color then get the code.

    If you want to incorporate the Like Button on a WordPress theme (say in your single post templates to work with each of your posts), you can use the following code in place of the URL:

    <iframe src=”http://www.facebook.com/plugins/like.php?href=&lt;?php echo rawurlencode(get_permalink()); ?>&layout=button_count&show_faces=false&width=100&action=like&font=verdana&colorscheme=light&height=21″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:100px; height:21px;” allowTransparency=”true”></iframe>

    #106062

    Hi!

    I’ve adapted the bbpress 2.0 plugin templates to my own theme…

    …and works fine!

    Take a look in http://www.vruiz.net/foros

    Thanks for this unpayable plugin ;-)

    #39647
    spixy
    Member

    if i activate my bbpress plugin beta 3, yes, in admin panel,

    im getting the new menu there for adding forum and topics..

    also, by defaul, bbpress creates a slug topics, forums, forum, topic etc.

    but when you visit that page, it shows nothing but..

    archives of “”,

    and when i try creating a page and name it forums and add the short codes

    its all the same..

    what should i do?

    #107978

    I don’t know if whether or not it’d be something as simple as just copying code into my archive-forum files and such.

    #108151
    zaerl
    Participant

    Hi there anointed. I assume that you are using bbPress 1.*. Let’s see what we got:

    In bbPress the topic permalink is builded against site and not forum.

    If I have a topic named ‘foo’ in forum ‘bar’ and then I create another ‘foo’ topic in forum ‘pub’ then the permalink will be automagically named foo-2 by the bb_slug_increment function.

    You want:

    /forum-name/sub-forum-name/post-name.html

    You can’t achieve this behaviour with just an .htaccess tweaking. You need also to intercept the get_topic_link filter and change the link. Maybe also you will need to do something in the bb_repermalink function.

    It can be quite challenging.

    #108177
    Gustav820
    Member

    Aha :)

    Thanks, but if it doesnt activate automagically? :)

    Maybe is because Im using Twenty Eleven Theme? (Theme does not natively support bbPress

    You are using bbPress 2.0-rc-3.0.

    But the forum is working in english.

    #108150
    Anointed
    Participant

    @Anthony

    thnx for the suggestion. I am more after a simple function that I can apply to the theme and modify to my hearts desire. At the moment I have little experience with rewrites :( sad….

    #108176
    Gautam Gupta
    Participant

    Oh oh, you’re talking about the new bbPress plugin. You’ve to put the language file in /bbpress/bbp-languages folder and if your WordPress blog is already Swedish, then the translations would get activated automagically. :)

    #108175
    Gautam Gupta
    Participant

    In /bbpress/bb-config.php, you’d find:

    define( 'BB_LANG', '' );

    at the very bottom. Change that to:

    define( 'BB_LANG', 'sv_SE' );

    That should work. :)

    #108126
    adv_user
    Member

    Thanks for this suggestion anointed.

    Unfortunately it is not so simple.

    With this CSS will space, but the layout of the subcategories will not be pleasant.

    And also a lot of spaces “tHead”. And do not appear the “Subforums” (need change the code of the theme)

    #####################################################

    Example:

    [START FORUM]

    [LARGE SPACE]

    “Forum | Topics | Posts | Freshness”

    [LARGE SPACE]

    | Category 1
    --- Forum 1 (0,0), Forum 2 (0,0), Forum 3 (0,0)

    [CORRECT SPACE]

    | Category 2
    --- Forum 4 (0,0), Forum 5 (0,0)

    [LARGE SPACE]

    [FOOTER]

    [END FORUM]

    #####################################################

    You shouldn’t. They are there for a reason ;)

    SergeyN
    Member

    I’ve just tried to release wysiwyg-CKEditor (plugin) from denying of formatting made in, as it was suggested in http://bbpress.org/plugins/topic/wysiwyg-ckeditor/page/2/#post-6390

    / / Add_filter (‘pre_post’, ‘bb_encode_bad’);

    / / Add_filter (‘pre_post’, ‘bb_filter_kses’, 50);

    using this instead, in defaults.bb-filters.php. So, it works well, but I’m anxious about the security level of this action. Is it safe?! Or someone may somehow use this to post any desired content ??

    with regards,….

    #39635
    honski
    Member

    Hello!

    Is it possible to get bbPress working in a WordPress multisite manner? I’d like to have users of my site to create own forums, preferably with own subdomains.

    If this isn’t currently possible, can the WP Multisite users create each an own forum under their multisite account? Is it possible to create the forum automatically for each new user?

    If these are not possible now, are you planning to create support for this kind of functionality in the future. I could be also able to write some simple hacks by myself, or a new plugin :)

    Couldn’t find an exact answer to this in the previous threads.

    #107323
    Krispulo2000
    Member

    Hi,

    I like to use [bbp-forum-index] shortcode in sidebar and show only Topics number (as https://bbpress.org/forums/). Now show Topics, Post, Freshness. Can i choose which parameters to display?

    Thxs

    #108124
    Anointed
    Participant

    I didn’t play with it much, and can’t confirm that this works across all browsers, but from a quick test it only took me one line of css in order to achieve what you were after.

    .bbp-forums { border-collapse: separate; border-spacing: 2px 50px; float: left; width: 100%; }

    **This is going to be much easier when working with a theme that does not use tables, as you can’t apply margins to table cells like you would expect with normal divs.

    #39628
    jasonvbox-ua
    Member

    Hello. I installed bbpress, but when I go to domain.com/fourms, it seems to be using the page.php template. I do not have any theme integration, all I want is the same as the shortcode. When you go to domain.com/forums, the list of fourms appear.

    What can I do? I tried putting archive-forums.php and others into my template dir with no luck.

    if I create a new page, add in the shortcode, then the forums breadcrumb still links to the non page.

    #108121
    Gautam Gupta
    Participant

    Yes, you’re right. :)

    #95716
    folgerj
    Participant

    Sorry I don’t have any plugins or represent their interest… I was just posting and got back into this thread… from the other one for plugins… It is easy to get misplaced for us newbies… :-)

    I guess the main point was that I fixed a … hook issue by reinstalling the RC3 software which I had noticed had several rewrites. You seem to be making constant changes…

    Is it dangerous to up date our release’s when you are making incremental changes and should we only do an update when absolutely necessary?

    Or is this something that helps you troubleshoot on your end…

    So far it does seem to be working good except for Monday’s 404 glitch that was cleared by “a save” of the forum page… But other than that, that was the first issue I’ve had with it..

    Well done, I’d say.

    #95731
    folgerj
    Participant

    Sorry I don’t have any plugins or represent their interest… I was just posting and got back into this thread… from the other one for plugins… It is easy to get misplaced for us newbies… :-)

    I guess the main point was that I fixed a … hook issue by reinstalling the RC3 software which I had noticed had several rewrites. You seem to be making constant changes…

    Is it dangerous to up date our release’s when you are making incremental changes and should we only do an update when absolutely necessary?

    Or is this something that helps you troubleshoot on your end…

    So far it does seem to be working good except for Monday’s 404 glitch that was cleared by “a save” of the forum page… But other than that, that was the first issue I’ve had with it..

    Well done, I’d say.

    #108089

    In reply to: Strange post titles

    Anthony
    Member

    This problem is in the theme, some code is causing it to be repeated several times. I could give better help if I could see the source code to the theme

    #108090
    Anthony
    Member

    This is a problem with the theme, simply modifying some code in your theme should fix it.

    #107279
    master5o1
    Participant

    I explained a similar/same issue here: http://master5o1.com/topic/post-toolbar/

    and another similar thing here: http://master5o1.com/topic/position-of-bbpress-post-toolbar/

    Turn manual insertion on in the options and then put <?php do_action( 'bbp_post_toolbar_insertion' ); ?> in your theme files. Probably somewhere.

    If bbPress is running with theme compatability mode then I’m not sure why it _isn’t_ showing.

    If it isn’t in compatability, then I think your theme doesn’t have the RC3 hooks that I am using.

    #108055
    Stephanie Leary
    Participant

    This is confusing the heck out of my users as well. My forum is set up on a WP network subsite. They register there (the form is generated by the shortcode), and on completion they’re redirected to the main network site’s registration page — which looks completely different.

    The UX is very broken. :(

    #107273
    master5o1
    Participant

    Just updated it to 0.6.0. This has a lot of things done. bbPress 2 RC 3 put the extra action hooks in the post form area, so the toolbar is using those now for placement of the bar. No more delete-dupes using JS :D

    https://wordpress.org/extend/plugins/bbpress-post-toolbar/

    #39597
    unisphere
    Member

    Hi, I’ve been trying to append a class to bbp_get_forum_class by filtering it but I’m not sure if I’m doing it the right way since the result is not the expected.

    For demonstration purposes here’s the code a bit simplified:

    function unisphere_bbp_get_forum_class( $classes ) {

    $classes[] = 'appended-class';

    return $classes;

    }

    add_filter( 'bbp_get_forum_class', 'unisphere_bbp_get_forum_class' );

    The expected result would be something like:

    <tr id="bbp-forum-6" class="post-6 forum type-forum status-publish hentry odd appended-class">

    But instead it outputs this:

    <tr id="bbp-forum-6" class="post-6 forum type-forum status-publish hentry odd"Array>

    Anyone has any idea why this is happening? Is it a bug or am I doing something wrong?

    Cheers

Viewing 25 results - 17,851 through 17,875 (of 32,499 total)
Skip to toolbar