Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,926 through 8,950 (of 32,519 total)
  • Author
    Search Results
  • #161347
    Robkk
    Moderator

    you are just talking about stuff like this right??

    or the way how your titles output like this

    <title>Yasodhara Teachers Network » All Posts</title>

    or this

    <title>
    <![CDATA[ New Internship Opportunities ]]>
    </title>

    just clarifying.

    #161346
    Robkk
    Moderator

    what is your full function of echoing the shortcode and where are you putting it??

    in an actual page you would not need to echo a shortcode you would just place it.

    you echo shortcodes in templates if you want though.

    #161339

    In reply to: Upload & Embed Images

    Robkk
    Moderator

    well a good idea would be to have a tinymce button that pops up a modal when clicked and shows an upload button to add images and then you would accept the uploaded pictures and post it in the content with an anchor tag wrapped image. but we do not have anything like that.

    for now you can use this plugin to upload pictures

    https://wordpress.org/plugins/gd-bbpress-attachments/

    and oembed would automactically embed any links to images from imugur and flickr.

    you could also use the img button to show an image from external sources too.

    #161338
    Robkk
    Moderator

    @sharongraylac

    is there anything else supposedly in the my account page??

    like say a woocommerce shortcode??

    #161322
    sharongraylac
    Participant

    Hello!

    I tried adding the BBpress login shortcode ([bbp-login]) to my “My Account” page, but it does not appear. Is there something I’m missing?

    Thanks!
    Sharon
    bellynsoul.com

    #161320
    The Kestrel
    Participant

    Hello,

    I’d like to find a way to have all users on the forums be able to upload images and have them embedded in a post. I’ve tried both solutions below and Enable TinyMCE Visual Tab only links the image and inserting the code from the second link doesn’t work.

    bbPress Enable TinyMCE Visual Tab
    Add media upload button to bbpress

    Any new insight on achieving this? The media button would be perfect for what I’m looking for.

    Thanks!

    #161311

    In reply to: Add Custom User Roles

    Alice Kaye
    Participant

    Hi @robin-w,

    Thanks for the response. Sorry for the slow response, I was away for the weekend.

    I’ll try to replace the code again today, but basically what happens is, when they go to the forums it displays a 404 error as if the page doesn’t exist. They can see the top menu, and the rest of the website’s look, but the forums aren’t visible at all.

    #161303
    wplove3268
    Participant

    This looks like exactly the solution I need to display sub-sub forums on my forum index page. Unfortunately I tried it and got a blank screen. Does anyone know if this patch is still valid for the most recent version of bbPress?
    Also-it looks like the file to be edited is outside the “Templates” folder:
    plugins/bbpress/includes/forums/template.php
    Is it possible to modify the templates.php file and put it in my child theme to protect it from future updates?
    This guide only refers to files in the template folder.

    Thanks.

    Edit: scratch the first question-I got it to work I had just pasted the code incorrectly. Still need to know if it’s possible to put this modified file into a theme folder.

    #161302

    In reply to: having problem

    Robin W
    Moderator
    #161293
    project_subdomain
    Participant

    @robkk, thanks again for your support. my latest post disappeared, maybe because of too many links.

    regarding the new menu, i hope this image can explain it better:
    the default menu below the avatar shall be removed and appear in the sidebar on the right in a dropdown menu ( not only to make a consistent layout but also to prevent users to see the information also on other user profiles). Optimally it should be shown only when the user is logged in, but yet i’d be very happy to get it working no matter of the user’s login status.

    unfortunately i can’t provide a link at the moment, so i put the id’s at the image.

    parent menu items are “nachrichten” and “account”.
    in “account” the links for the user profiles shall be displayed as sub menus.

    the parent menu-code looks like this:
    <li id="menu-item-566" class="menu-item menu-item-type-post_type menu-item-object-page cur…ancestor menu-item-has-children menu-item-566 dcjq-parent-li">

    the sub menu show profile-code like this:
    <li id="menu-item-572" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-572"></li>

    (for “edit profile” I already found a menu-link solution)
    [btw: default theme twenty twelve]

    #161276
    Robin W
    Moderator
    phil_b
    Participant

    Yea I suspect so too.

    If anyone, ideally a bbpress developer, could offer any advice on how I might re-code the import script to match topics/replies to user via email that would be great!

    I shall cross my fingers for a response 😉

    Thanks

    #161265
    vinzen
    Participant

    I wanted to filter the recent forum topics not only by their parent forum but also by their topic tags.

    I fiddled with the widgets.php that I found at wp-content/plugins/bbpress/includes/common/.

    I’m not a programmer yet I achieved the widget interface to contain the field for topic tag.

    Screenshot of Recent Topics Widget

    Though it looks good, its not working. The topics are not filtered by the desired topic tag. In fact, it is not making any difference.

    I think the problem is about not getting the field ID for the topic tag. Or, there isn’t any filter for sorting topic tags.

    I searched the entire BBPress support forums but did not find any similar post or problem.

    I wish to know is it right to use the following:

    $instance['topic_tag'] = sanitize_text_field( $new_instance['topic_tag'] );

    get_field_name( 'topic_tag' );

    Should I use –

    'post_topic_tag' => $settings['topic_tag'],

    or

    'post_topic_tag' => bbp_get_topic_tag_tax_id(),

    I came across a somewhat related topic https://bbpress.org/forums/topic/topic-tag-archive-wrongly-displaying-all-topics/

    It suggests to use this –

    if( bbp_has_topics( array( bbp_get_topic_tag_tax_id() => bbp_get_topic_tag_slug() ) ) )

    Now, I’ve tried all of these and I’m getting nowhere.

    I hope the experts here will spot out the problem and help me sort out my widget in the way I want.

    Thanks.

    #161262
    xydeown
    Participant

    Also forgot to say , i create new forum.php page template , and echo there the bb shortcode , i opened new page with name forums and link forums , and used the forum.php template over that page.

    Robkk
    Moderator

    @thesocialrefugee

    you can use bbPress profile code on Woocommerce templates if you know what you are doing.

    it could just be copying the user-details.php file from the bbPress templates and adding a simple link to your my account page from wwocommerce.

    i suggest you hire a developer if you want anymore customization and possible merging templates of bbPress and Woocommerce.

    http://jobs.wordpress.net/

    xydeown
    Participant

    Hello , i just installed bbpress on my wordpress , i opened new Theme page and echo shortcode [bbp-forum-index] , i can see the forum , but when enter the test forum , it’s not enter inside it , what to do i don’t know bbPress much , here a link to my forum page :
    http://xn—-7hcbracas6eta3ak.tv/forums/
    sorry for Language but you should understand because forums is at middle there and i am sure you can see it clearly , Thanks in advacned.

    #161255

    In reply to: User Topics Created

    Robin W
    Moderator

    ok if you look at user-topics-created.php you’ll see on line 18 that it calls

    bbp_get_user_topics_started()
    

    that function presumes that you have $user_id set for the user, and however you are calling it, that is not the case, so you need to set it.

    so try adding

    $user_id = get_current_user_id(); 
    <code>and then call</code>bbp_get_user_topics_started($user_id)
    
    #161247
    Robkk
    Moderator

    each admin link has a class , you can style each to your liking.

    here is an example of what i did to make a link in the twentyfourteen theme look like a button.

    span.bbp-admin-links a.bbp-topic-reply-link,
    span.bbp-admin-links a.bbp-reply-to-link {
    	color: #fff;
    	background-color: #24890d;
    	border-radius: 2px;
    	padding: 5px 10px;
    }
    
    span.bbp-admin-links a.bbp-topic-reply-link:hover,
    span.bbp-admin-links a.bbp-reply-to-link:hover {
    	background-color: #41a62a;
    }
    #161246
    andrew55
    Participant

    I’m still testing, but I think this does it:

    .activity-list li.bbp_topic_create .activity-content .activity-inner, .activity-list li.bbp_reply_create .activity-content .activity-inner {
    	display: none !important;
    }

    It shows bbPress forum titles in BuddyPress activity streams, but not content of the reply/post.

    Hope this helps anyone who might need it.

    Robkk
    Moderator

    @marjons

    However, the auto mentions only work from the text tab (not the visual), is this a bug?

    i think the functionality to make the script work for the TinyMCE visual editor is not possible now. You see that we are basically just borrowing the script from BuddyPress to work for bbPress forums , and also that neither bbPress and BuddyPress have the visual editor in their default installations without some plugins or functions added.

    It is possible to make it work for TInyMCE though, you would probably have to use some of the code of this auto-complete plugin for TinyMCE.

    https://github.com/abrimo/TinyMCE-Autocomplete-Plugin

    If you want to develop some custom functionality to make it work for your client ,only thing i can suggest is look over how this plugin is developed and see how they make it work for TinyMCE and of course add on to the script from the BuddyPress plugin.

    wordpress.org/plugins/mentionable/

    Other than that maybe decide to disable the visual editor for bbPress to make it work fine.

    Also, it seems that some users get a notification, but some are not.

    If you are talking about the notifications users get when @mentioned , then go to the BuddyPress Support forums for help on this.

    https://buddypress.org/support/

    #161231
    Robin W
    Moderator

    I’ve just had a look at my test site, and I think the code is not working as it should. Topics are fine, bur replies refer to the original topic date/time not the latest reply date/time. So if no reply it is correct, but otherwise wrong !

    I’ll take a look at the source code when I get a chance, but maybe some days away. I’m not the plugin author, just a humble user !

    #161202
    thierryyyyyyy
    Participant

    I got it !

    sometimes, Apache exited with higher Status number example :
    [Sat Apr 18 00:02:05.423769 2015] [mpm_winnt:notice] [pid 5900:tid 404] AH00428: Parent: child process 5032 exited with status 3221225725 — Restarting.

    Google gave me a hint : write this code in your httpd.conf (that’s for Windows)

     
    <IfModule mpm_winnt_module>
        ThreadStackSize 8888888
    </IfModule>
    

    It works now, like a charm 🙂

    explanation : the stackSize in Windows is defaulted at 1MB, and it seems that bbPress Import need much more…. This line push the limit to more than 8MB. That’s all.
    WAMP does NOT show this mpm_winnt_module in the list of loaded modules, I guess it is because it’s a default Apache Windows module ( http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html )
    Ah, I put first only the line “ThreadStackSize 8888888” (without ifModule) to be sure that it is taken into account. If the module was not mounted, Apache would have wrote it in apache_error.log. It should work on every windows normal installation

    #161198

    In reply to: Add Custom User Roles

    Robin W
    Moderator

    ok, I’ve just loaded that code to my test site and it all works fine, the artisan role gives moderator access.

    Not sure what has happened, what other changes have there been to your site?

    He had the same results when set to an Artisan

    Presume you mean he could not access, and by the by what do you mean by that? what happens when they try and access the forums, can they not see menu item, or what do they get when they try??

    marjons
    Participant

    Hello, I’m the webdesigner for BBC and installed both buddypress and the extra code for functions.php for him.

    However, the auto mentions only work from the text tab (not the visual), is this a bug?

    Also, it seems that some users get a notification, but some are not.

    Any idea what could be the problem?

    Thanks in advance!

    #161195

    In reply to: Add Custom User Roles

    Alice Kaye
    Participant

    Hi @robin-w!

    Thanks for replying back about this. I’m sorry I failed to mention my troubleshooting. It definitely worked when I set up my husband’s account as a Councilman, and I tested every single rank on his account. He had the same results when set to an Artisan.

    At that point, I came here because I can’t see anything wrong with the code.

    Thanks again for the reply! 🙂

Viewing 25 results - 8,926 through 8,950 (of 32,519 total)
Skip to toolbar