enkoes (@enkoes)

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 87 total)
  • In reply to: Customizing lead topic

    @enkoes

    Participant

    Yes sir.

    In reply to: Customizing lead topic

    @enkoes

    Participant

    After checked, this is related to all replies, not just the lead topic affected.

    Within same topic, some replies that created few days ago shows “4 hours, 12 minutes ago” today. Other replies may show “sometime ago”. The freshness display seems like all mess up.

    eg,
    first post (lead topic): 10 hours, 51 minutes ago
    2nd reply: 2 hours, 36 minutes ago
    3rd reply: 15 hours, 52 minutes ago
    4th reply: 7 hours, 21 minutes ago
    5th reply: 16 hours, 27 minutes ago

    In reply to: Customizing lead topic

    @enkoes

    Participant

    Recently I found that all freshness display all showing “sometime ago”.

    I came across a topic related to same issue Notifications – Date Received = “Sometime Ago”. It seems that the problem is related to time zone that makes this freshness display totally unworkable. If I don’t want to change to the actual display of date/time, any solution for this?

    Regards.

    @enkoes

    Participant

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

    @enkoes

    Participant

    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

    Thanks for yr guidance. It finally works! 🙂

    @enkoes

    Participant

    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

    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

    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

    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

    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

    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

    Hi, may I know any possible solution for this?

    @enkoes

    Participant

    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

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

    @enkoes

    Participant

    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

    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

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

    @enkoes

    Participant

    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

    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

    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

    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

    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

    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

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

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