enkoes (@enkoes)

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 84 total)

  • enkoes
    Participant

    @enkoes

    Brilliant! Thanks for the codes. Just tested and it works like a charm! 😀


    enkoes
    Participant

    @enkoes

    Hi, here is my test site. Still under construction.

    I found that most of the time WordPress display correctly in “display name publicly as” using NICKNAME. But there are times where it displays USERNAME in “display name publicly as” even though users have already registered their nickname in Ultimate Member profile.


    enkoes
    Participant

    @enkoes

    Thanks for yr guidance. It finally works! 🙂


    enkoes
    Participant

    @enkoes

    Hi, do u know how to center the text?

    I try <p style=”text-align:center”>TEXT</p> but not working.

    In reply to: Customizing lead topic

    enkoes
    Participant

    @enkoes

    Oh… yes. It’s done. Thanks man!

    I actually tried to change font of the label “Thread Starter” (under Topic Author) using Style Pack, but it seems not working at all. Any solution?

    In reply to: Customizing lead topic

    enkoes
    Participant

    @enkoes

    Hi, how if I wish to place the label on top of avatar so that it is easily identifiable? There is no such option in the bbp style pack.

    In reply to: Customizing lead topic

    enkoes
    Participant

    @enkoes

    Thanks Robin! All topics & replies can already display freshness.

    One more thing about lead topic. I’d like to add a label like “Thread Starter” on top of the avatar of the topic starter for every reply (EXCEPT the lead topic) from the topic starter. In this case we will always keep track on who is the topic starter as the conversation goes on.

    It is similar to the screenshot below (from other WordPress forum):
    https://paste.pics/MRVM6

    Regards.

    In reply to: Customizing lead topic

    enkoes
    Participant

    @enkoes

    Yes, found it. I have deleted the header & footer part in the php file and put in my child theme.

    Does the date function look like this below?
    <span class="bbp-topic-post-date"><?php bbp_topic_post_date(); ?></span>

    May I know what is the freshness function so that I can replace it with?
    Other than lead topic, how about other replies? I want them to display freshness as well.

    Regards with thanks!


    enkoes
    Participant

    @enkoes

    Yes. Finally solve my long pending problem!

    Many thanks to @webcreations907 & @robin-w for your help & guidance. Never expect this can be solved in one go. 😀


    enkoes
    Participant

    @enkoes

    Hi, may I know any possible solution for this?


    enkoes
    Participant

    @enkoes

    Hi sorry, need to clarify a bit….

    bbpress.php does render sidebar for forum/topic pages. However the widgets (eg, forums/topics information) that I initially put on the sidebar no longer be visualized.

    For WordPress normal page setting, if I change template from default template (page.php) to Magbook Template (magbook-template.php), the targeted page becomes full width, that is why I thought that magbook-template.php is a full width template. Maybe I am wrong.

    Hope this would help.
    Regards


    enkoes
    Participant

    @enkoes

    No. It doesn’t render sidebar for topic & forum pages.


    enkoes
    Participant

    @enkoes

    This is the bbpress.php from my theme:

    <?php
    /**
     * Template Name: Magbook Template
     *
     * Displays Magazine template.
     *
     * @package Theme Freesia
     * @subpackage Magbook
     * @since Magbook 1.0
     */
    get_header(); ?>
    <div class="wrap">
    	<?php 	if( is_active_sidebar( 'magbook_primary_fullwidth' ) && class_exists('Magbook_Plus_Features') ){
    		echo '<div class="primary-full-width clearfix">';
    			dynamic_sidebar ('magbook_primary_fullwidth');
    		echo '</div>';
    	} ?>
    	<div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main">
    			<?php 
    			if( is_active_sidebar( 'magbook_template_section' )){
    				dynamic_sidebar( 'magbook_template_section' );
    			}
    
    		the_content(); ?>
    		</main><!-- end #main -->
    	</div> <!-- end #primary -->
    	
    		<?php if( is_active_sidebar( 'magbook_template_sidebar_section' )){ ?>
    		<aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e('Side Sidebar','magbook');?>">
    			<?php dynamic_sidebar( 'magbook_template_sidebar_section' ); ?>
    		</aside> <!-- end #secondary -->
    	<?php	}
    	if( is_active_sidebar( 'magbook_seondary_fullwidth' ) && class_exists('Magbook_Plus_Features') ){
    		echo '<div class="secondary-full-width clearfix">';
    			dynamic_sidebar ('magbook_seondary_fullwidth');
    		echo '</div>';
    	} ?>
    	
    </div><!-- end .wrap -->
    
    <?php get_footer();

    enkoes
    Participant

    @enkoes

    Hi, after struggling some time trying to make profile page full width, I give up.

    The theme I’m using is Magbook. I found that there is only one theme template page that has no sidebar, ie, magbook-template.php. I copied this file to my child theme root directory, and rename it as bbpress.php. However it doesn’t make any changes to the profile page.

    I have read some other similar topics, I guess we need to “inject” custom php codes into the bbpress.php. If this is correct, can you provide me the relevant php codes for bbpress.php that make it works?

    One more thing I have doubt is that, let say bbpress finally adopted bbpress.php as default template, all other forum & topic pages will turn out no sidebar altogether, I presumed, which is against my wish. What I want is profile page FULL WIDTH, forum/topic page WITH SIDEBAR.

    Pls guide me.
    Regards


    enkoes
    Participant

    @enkoes

    Hi, Now everything back to normal! Thanks Robin. 😄


    enkoes
    Participant

    @enkoes

    My version is 5.2.9. After clicking ‘save’, widgets still not appearing. I refreshed many times also same thing. And I also tried deactivate the plugin, and reactive it, still the same result. Is it another plugin conflicting issue?


    enkoes
    Participant

    @enkoes

    hmmm… is there any way that we can tackle the issue? I mean you can guide me the correct direction to solve this though it hasn’t any standard solution.


    enkoes
    Participant

    @enkoes

    Hi Robin, after spent some time trying to understand the codes, I tried and finally got the results that I wanted.

    For loop-topics.php,
    I change:

    <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic()
    				? esc_html_e( 'Replies', 'bbpress' )
    				: esc_html_e( 'Posts',   'bbpress' );
    			?></li>

    to:
    <li class="bbp-topic-reply-count"><?php esc_html_e( 'Replies', 'bbpress' ); ?></li>

    and for loop-single-topic.php,
    I change:
    <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></li>
    to:
    <li class="bbp-topic-reply-count"><?php bbp_topic_reply_count(); ?></li>

    Since I don’t have any knowledge about PHP codes, I’m not sure what I did is correct or not, anyway at least work on my browser.

    Regards


    enkoes
    Participant

    @enkoes

    I found that “Posts” in the header having meaning “total posts (INCLUDING the starter post”.
    But “Replies” means “total number of replied posts (EXCLUDING the starter post)”.

    Since both terms carry different meaning, mere translation from “posts” to “replies” will add to confusion. Do we need to add/edit the php files for this change?


    enkoes
    Participant

    @enkoes

    Now all CSS working great!

    The 2nd & 3rd CSS showing results in a much delay manner, that’s why I thought they are not working initially. I have to test run a reply to a topic then only can “push” the CSS to work. 🙂

    Thanks a lot!


    enkoes
    Participant

    @enkoes

    Hi, just to highlight results after applying the CSS:

    First CSS – hide template notice – working great!

    2nd CSS – hide pagination count – only work on front page (ie, display topic index). I need to hide pagination count also in forum & topic page.

    3rd CSS – hide topic header in topic page – no output results.

    Please advise. TQ!


    enkoes
    Participant

    @enkoes

    Hi, this is my site link: https://www.lifeforum.my


    enkoes
    Participant

    @enkoes

    Hi, few weeks after posting the problems still couldn’t find the solutions myself. Anybody can help with this?


    enkoes
    Participant

    @enkoes

    After tested multiple times, I think most probably problem due to Widget Logic plugin. I have now uninstalled this plugin and shifted to Custom Sidebars plugin, problem solved and widgets now can be displayed in every sidebar. Thanks for your help. Happy New Year 2023!


    enkoes
    Participant

    @enkoes

    Forum list & topic view list

Viewing 25 replies - 51 through 75 (of 84 total)