BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #43413

    Hi Brajesh,

    Thanks for the code.

    I placed in wp-content/plugins/bp-custom.php and it worked great!

    Still waiting on how to add that “new topic” button that slides people down to the editor, at your convenience.

    One additional question would be how to add div.”page-header-mask” (flex box type container for header images) to the landing page for the forum, just as it appears on the /forums/topic/ pages.

    Best Regards,
    Rob

    • This reply was modified 2 years, 2 months ago by Rob.
  • Participant
    Level: Initiated
    Posts: 15
    Rob on #43235

    Hello Brajesh,

    Good to hear from you.

    On item 1, is there a way to simply not show it?

    I tried hiding with CSS and it just left a white space.

    Item 2

    Your suggested plugin failed to add views to each post.

    It may show in the info box but Ive hidden .bbp-reply-revision-log li and .bbp-template-notice with CSS, it’s irrelevant info that takes up space for no good reason.

    Found this plugin WP-PostViews https://wordpress.org/plugins/wp-postviews/

    It will actually add post views in the posts themselves on the landing page and on the topic pages.

    Unfortunately I can’t find where to put it.

    the instructions are as follows:

    Open wp-content/themes/<YOUR THEME NAME>/index.php
    You may place it in archive.php, single.php, post.php or page.php also.
    Find: <?php while (have_posts()) : the_post(); ?>
    Add Anywhere Below It (The Place You Want The Views To Show): <?php if(function_exists(‘the_views’)) { the_views(); } ?>
    Or you can use the shortcode [views] or [views id=”1″] (where 1 is the post ID) in a post
    Go to WP-Admin -> Settings -> PostViews to configure the plugin.

    I can’t find any of those php pages in the child theme to add this.

    Thanks so much and Best Regards!
    Rob

    • This reply was modified 2 years, 2 months ago by Rob.
  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42885

    Thanks!

    I’ll try to get with those plugin developers to see if they can solve it.

    Just a couple quick questions.

    We have guest posting on and the amount of people it shows is wrong.

    The counter isn’t counting guest posts and honestly, it makes the place look dead.

    Can you instruct me how we get rid of the bad counter altogether and replace it with topic views? That would be more relevant, at least in our case.

    In other words instead of –

    5 People, 20 posts in the lower left hand corner of the topics.

    it would be for example

    370 views 20 posts in the lower left hand corner of the topics.

    Additionally can you tell me the easiest way to add a button in the header area just below the main menu on the right that says “New Topic”.

    The idea is to take you to the bottom where the editor is, in the same way the arrow button takes you top the top of the page only in reverse.

    I know it sounds crazy, but I’ve had 3 emails asking how to post a new topic, and I think that would take care of that issue for those who can’t seem to work a scroll button.

    I did a mock up for clarity https://imgur.com/nM0STv9

    Thanks and best regards!

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42823

    Hi Brajesh,

    Yes, we had to use to this BBcodes toolbar post editor because it’s the only one that does BBcodes.

    The Tiny MCE can be enabled in Admin on the left side menu. Admin> GD bbPress Toolbox Pro> Features>Content Editor You can choose which editor you want to use.

    Is it possible to use TinyMCE and have it issue BBcodes as opposed to HTML which only Admin and Keymasters can use?

    The current editor only does text, with no WYSIWYG it’s pretty lackluster, but it does do BBcodes so that way everyone can use it.

    What steps can be taken to force the TinyMCE editor to use BBcode? Is it possible?

    Also in addition to us needing a forum gallery that we can’t seem to do, our images and videos we embed end up quite big. Is there a way to get these to no more than 500px in width?

    Thanks and Best Regards,
    Rob

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42813

    Update #2: We finally tracked down what’s going on on the BBcodes…

    This was the response from our developer regarding BBcodes.

    “First of all BBCodes Toolbar is not an editor. It is a toolbar added on top of the basic editor field that bbPress uses by default. The toolbar has no editing capabilities, it just includes shortcuts to placing BBCodes into the content.

    1. When you use TinyMCE, a lot of things happen in the background that you don’t see while in TinyMCE. So, when you paste the URL to an outside website that has support for embedding, it will be wrapped in [embed] shortcode by TinyMCE.

    2. [embed] is regular shortcode, it is not BBCode implemented by my plugin, it has nothing to do with my plugin, it is a 100% WordPress core feature.

    3. When [embed] is resolved, it generates HTML – it grabs embeddable content from the service.

    4. My plugin has no control over TinyMCE. My plugin has options to just switch it on (it is actually loaded by bbPress, but it has no options in bbPress), and that’s the only thing my plugin can do, it can’t force TinyMCE to do anything. Whatever is happening in TinyMCE is beyond my plugin’s reach.”

    So the problem is, the TinyMCE editor is spitting out HTML as opposed to bbcodes, so only Keymasters and Admin can use as they are the only accounts with permission to use HTML.

    Can you please have a look into this as something id defiantly out of wack.

    The TinyMCE editor is our preferred way to go as the toolbar bbcode editor we have to use at the moment has no WYSIWYG capabilities.

    Thanks!

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42807

    Update: We solved our BBCodes problem, it works great now.
    Please disregard that part of what I wrote.
    Thanks!

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42802

    Hi again,

    One other small issue is width (in pixels) of inserted media.

    I’d like to keep images and videos at about 500px in width as to not break the layout.

    How can I go about this?

    Is there a plugin or a CSS fix for this?

    Best Regards

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42801

    Hi Brajesh,

    Sorry I couldn’t get back to you yesterday.

    Yes we need a gallery that everyone can contribute to if they want.

    We’ve tried to make one several times but it ends up showing just the photos of who created it.

    I think it’s a shotcodes issue.

    One other issue and I do not know if it’s theme related but I’ll ask anyway…

    We’re having a problem with posting images youtubes etc for users that are non keymaster and admin.

    It boils down to the fact the editor is spitting out bbcode on the phone…

    see screenshot @ link: https://imgur.com/a/YhDdf6x

    Which allows everybody to post giphy YouTube etc…(with no attachment ability for guests)and that’s 100% what we want – but…

    On the PC side it spits out html

    see screenshot @ link: https://imgur.com/zPH1lwd

    As a result, nobody can post anything except text because only Admin and keymasters can post html.

    So, on the phone things are good bbcodes seems to work, but not on PC.

    I have no idea if the Giphy plugin on the buddy press end is conflicting with the editor, or this is totally in the GD bbPress Toolbox Pro end of things.

    At any rate, we need just bbcodes to function in the editor and don’t know how to accomplish that. Just let us know if we need to contact the Dev4Press people about the editor.

    Thank a million!

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42766

    Hi Brajesh,

    Good news I solved most of my issues with adding additional CSS, and the email issues were fixed as well.

    The only things left are the Mediapress issue where I get the message:

    “The following active BuddyPress Components do not have associated WordPress Pages: Gallery, Activate. Repair” And upon attempting to repair there is no “gallery” to add to the page.

    The small EDIT links on the individual posts that users and admin can use doesn’t work.

    As far as the giphy and emoji’s I’ll hold off and let you fix those as your time permits.

    One other thing, I’m sending you new login information from the contact page here on the website.

    Thanks and best regards

  • Participant
    Level: Initiated
    Posts: 15
    Rob on #42729

    Hello again,

    Additionally we found a strange occurrence with registration.On filling out the registration form all goes well.The registration email is sent and received by the intended recipient just fine.When the user follows the link to activate the account it throws up a 404 page not found error.
    So basically, users can not activate their accounts.

    Plus we get a “One or more recommended modules are missing” in site health
    The optional module, imagick, is not installed, or has been disabled. We also get “A scheduled event is late” and “The authorization header is missing.” These may not have anything to do with the theme but thought I’d ask before attempting to fix.

    Best Regards