Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,351 through 14,375 (of 32,508 total)
  • Author
    Search Results
  • #133514
    rogerhnn
    Participant

    Hi, I have a custom code that I use in the template loop-single-topic.php that show the current status of the topic:
    http://pastebin.com/UaNkLNQs

    I use this code after this part:

    http://pastebin.com/27U1BRdE

    How I can make this a plugin to simply add this content to bbpress without the need of editing the file?

    Thanks

    #133507

    In reply to: update 2.3 problems

    kannued
    Participant

    Okay, I had to add shortcode bbp-topic-index to my index.php which brought the front page back to the way it was before the update of bbpress2.3. Why would this happen? I shouldn’t have to make coding changes every time there is an updated bbpress plugin. I never had to re-code after an update before.

    #133503
    kriskl
    Participant

    sorry to bump this..

    I guess the award was small? I thought it would be easy thing to do for someone who knows bbpress code very well…

    but I think it is very important feature

     

    users coming from other forums ย are lost using bbpress forums..

    and after migrating from buddy press forums to bbpress – ย the usage of bbpress forums dropped by 50% ย ๐Ÿ™

    I mean, in new topics….. therefore I suspect users can’t find the button.. / link

    I have created a new page > start a new topic and the link is even in the main menu.. but still it is not good enough unfortunately..

     

     

     

    #133499
    Pippin Williamson
    Participant

    Please see the documentation for Using bbPress in Your Language to see how you can supply your own files: https://codex.bbpress.org/bbpress-in-your-language/

    #133497

    In reply to: update 2.3 problems

    kannued
    Participant

    Okay, how do I include code in the posts? I tried the “code” with the opening and closing tags around my actual code, but as you can see above, it removed the code totally.

    #133496

    In reply to: update 2.3 problems

    kannued
    Participant

    In my index.php, I eliminated the shortcode “ which got rid of the Oh bother! No topics were found here!

    In my index.php, I do have the shortcode

    If I eliminated that, would the front page show the latest posts?

    iosqar
    Participant

    Hi!

    A week ago I migrated my vbulletin forum to bbpress, and everything seemed to be working fine until yesterday.

    I’m using bbpress 2.3, the forum shows all counters, but to see the detail of each subforum it just shows nothing. The funny thing is that if the URL of each subforum I add “?view=all” parameter … it shows all!

    i.e

    1.-If you type the url of my forum:

    http://myforum.com/foros/

    All is fine til here …

    2.-select a subforum

    select the GENERAL subforum

    http://myforum.com/foros/foro/general/

    and then displays the following:

    As I mentioned above, if i put “?view=all” parameter you will view all content

    http://myforum.com/foros/foro/general/?view=all

    and then displays the following:

    I have not changed even one line of plugin code (neither blog)

    Any Idea?

    Thanks!

    #133458
    Fee
    Participant

    I did it like this now:

    if( bbp_has_topics('nopaging=true') ):
    $terms = array();
    while ( bbp_topics() ) : bbp_the_topic();
    $obj_terms = wp_get_object_terms( bbp_get_topic_id(), bbp_get_topic_tag_tax_id(), array( 'fields' => 'ids' ) );
    $terms = array_merge($terms,$obj_terms);
    endwhile;
    $tags_array = array_unique($terms);
    $tags = implode(",", $tags_array);
    wp_tag_cloud( array( 'smallest' => 8, 'largest' => 20, 'number' => 80, 'taxonomy' => bbp_get_topic_tag_tax_id(), 'include' => $tags ) );
    endif;

    Did you modify files in the bbPress plugin folder? If so, they get wiped out on every update, which is why the theme compatibility feature exists. (Do a search for it in the codex to learn more.)

    #133445
    Fee
    Participant

    Hello,

    thanks for developing bbPress. The 2.3 is looking and acting really good ๐Ÿ™‚

    Can you help me: How can I show the tag cloud for a specific single forum only?
    I tried in my template file:

    wp_tag_cloud( array( 'smallest' => 9, 'largest' => 38, 'number' => 80, 'taxonomy' => bbp_get_topic_tag_tax_id() ) );

    Maybe with ‘child_of’? (but what would go here?)

    Thanks in advance!

    Fee

    #133435
    perineo
    Participant

    How do you use this mike? I may want to print a gallery of each user in their profile, but i cant figure out how to do this. By now, this works:

    global $current_user; get_currentuserinfo();
    echo do_shortcode(‘[nggtags gallery=’. $current_user->user_login .’]’);

    but prints out the logged in user gallery, not the user of the profile page, any clue? I use tags to make the galleries for each user, I only need the name of the user profile, printed in the shortcode, ๐Ÿ™‚ Thank you guys in advance, maybe this helps you too Mike.. gl

    #133408
    cuzimjayfit
    Participant

    I input this into my premium theme style.css file, but nothing happened. I also added into the css editor. Is there another place where I can possibly get the code to work? Thanks

    #133406

    In reply to: Sidebar Width

    inkrap
    Participant

    For some reason, the following code no longer works after 2.3. It worked it RC1, but not in the final version.

    `#sidebar .bbpress {
    width: 250px;
    }`

    I’ve also tried. #sidebar .forum -.-

    #133386
    Robin W
    Moderator
    #133385

    In reply to: Template Tags

    Robin W
    Moderator

    code

    nirzol
    Participant

    ?

    Unsal Korkmaz
    Participant

    Going from scratch. This is became a super intelligent system that supports custom filter system, currency system that automatically updates daily from The European Central Bank, geolocation with location-taxonomy support etc.. Those are fully built on FirmaSite which have infinite design possibilities with custom Bootstrap skins. Plus there will be premium slide effects from Lush Content Slider that i talked with its author and he allowed me to do ๐Ÿ™‚ With ShowCase system, i can add lots of premium slider system with ultra-easy usage for clients

    #133351

    In reply to: Template Tags

    Robin W
    Moderator

    ok so how do you post code in this forum? it keeps swallowing it !

    #133331
    Erlend
    Participant

    Weโ€™ll be checking out those improvements to code posting now.

    Unfortunately this is still an issue, and I’ve reopened the relevant ticket:
    https://bbpress.trac.wordpress.org/ticket/2091#comment:5

    #133328
    clickmac
    Participant

    i used this debugging code:

    `ini_set(‘display_errors’, ‘On’);
    error_reporting(E_ALL | E_STRICT);`

    #133327
    clickmac
    Participant

    when i insert the debugging code

    i get these errors:

    `Strict Standards: Only variables should be assigned by reference in /home/content/26/10349326/html/wp-content/plugins/bbpress/bbpress.php on line 845

    Strict Standards: Only variables should be passed by reference in /home/content/26/10349326/html/wp-content/plugins/bbpress/includes/users/capabilities.php on line 124

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Bpbbpst_Support_Stats::register_widget() should not be called statically in /home/content/26/10349326/html/wp-includes/plugin.php on line 406

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/26/10349326/html/wp-content/plugins/bbpress/bbpress.php:845) in /home/content/26/10349326/html/wp-content/plugins/404-simple-redirect/404-simple-redirect.php on line 77`

    #133326
    clickmac
    Participant

    awesome! i have finally found the file with that function in it
    but when i check the file for php code errors i get

    `There is 1 array declaration that contain a single equal sign ‘=’ instead of ‘=>’:
    array(), $cap = ”, $user_id = 0, $args = array() ) { switch ( $cap ) { case ‘spectate’ : case ‘participate’ : case ‘moderate’ : if ( bbp_is_user_inactive( $user_id ) ) { $caps = array( ‘do_not_allow’ );`

    i did not alter the file in no way, i was about to insert the debugging code, so i said i would check the file for php code arrors…
    the name of the file is “Edit capabilities.php”

    Stephen Edgar
    Keymaster

    Cool… Fix is in ๐Ÿ™‚ Also updated https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    #133301
    Stephen Edgar
    Keymaster

    Are you using the latest bbPress 2.3?

    What version of vBulletin are you using? I have only tested vBulletin 4.x

    Here is the list of known issues with vBulletin https://codex.bbpress.org/import-forums/vBulletin/

    #133291
    Stephen Edgar
    Keymaster

    Presuming you are going to take ‘Approach 1’ then that links you to this doc:
    https://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/

    That looks good to me but I would not start that without both a site & SQL backup.

Viewing 25 results - 14,351 through 14,375 (of 32,508 total)
Skip to toolbar