Forum Replies Created

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
  •  AlamSyed
    Participant

    The coding I did:

    COPY CODE
    /**
    	 * Adding aditional meta for responsive design
    	 *
    	 * @since Snow 1.4
    	 */
    	public function head_metas()
    	{
    		// Kleo Works header
    		get_header(); 
    		//create right sidebar template
    		kleo_switch_layout('right');
    		get_template_part('page-parts/general-title-section');
    		get_template_part('page-parts/general-before-wrap');
    		
    		$this->output('<meta name="viewport" content="width=device-width, initial-scale=1"/>');
    		parent::head_metas();
    	}
    COPY CODE
    /**
    	 * Footer in full width bottom bar
    	 *
    	 * @since Snow 1.4
    	 */
    	public function footer()
    	{
    		$this->output('<div class="qam-footer-box">');
    
    		$this->output('<div class="qam-footer-row">');
    		$this->widgets('full', 'bottom');
    		$this->output('</div> <!-- END qam-footer-row -->');
    
    		parent::footer();
    		$this->output('</div> <!-- END qam-footer-box -->');
    		
    		// Kleo Works footer
    		get_template_part('page-parts/general-after-wrap'); 
    		get_footer(); 
    		
    	}
     AlamSyed
    Participant

    Just to summarize the features of this system: It has most stars for php Q2A on github. Following are the features it has that I got from the github site, and you can test it yourself.

    Question2Answer

    Question2Answer (Q2A) is a popular free open source Q&A platform for PHP/MySQL, used by over 16,000 sites in 40 languages.

    Q2A is highly customisable with many awesome features:

    Asking and answering questions (duh!)
    Voting, comments, best answer selection, follow-on and closed questions.
    Complete user management including points-based reputation management.
    Create experts, editors, moderators and admins.
    Fast integrated search engine, plus checking for similar questions when asking.
    Categories (up to 4 levels deep) and/or tagging.
    Easy styling with CSS themes.
    Supports translation into any language.
    Custom sidebar, widgets, pages and links.
    SEO features such as neat URLs, microformats and XML Sitemaps.
    RSS, email notifications and personal news feeds.
    User avatars (or Gravatar) and custom fields.
    Private messages and public wall posts.
    Log in via Facebook or others (using plugins).
    Out-of-the-box WordPress 3+ integration.
    Custom single sign-on support for other sites.
    PHP/MySQL scalable to millions of users and posts.
    Safe from XSS, CSRF and SQL injection attacks.
    Beat spam with captchas, rate-limiting, moderation and/or flagging.
    Block users, IP addresses, and censor words
    Q2A also features an extensive plugin system:

    Modify the HTML output for a page with layers.
    Add custom pages to a Q2A site with page modules.
    Add extra content in various places with widget modules.
    Allow login via an external identity provider such as Facebook with login modules.
    Integrate WYSIWYG or other text editors with editor/viewer modules.
    Do something when certain actions take place with event modules.
    Validate and/or modify many types of user input with filter modules.
    Implement a custom search engine with search modules.
    Add extra spam protection with captcha modules.
    Extend many core Q2A functions using function overrides.

    in reply to: Kleo portfolio hierarchical categories proper display ? #106802
     AlamSyed
    Participant

    Thanks Laura. Actually I have a slightly connected question. I will be defining a Forum (type category) for my bbpress Forums, in order to avoid duplication of categories, how can I reuse those bbPress forum categories as the categories for my portfolio or my custom post type ? I know you can assign any parent id to your custom post type, but what about the categories of forums ? Some kind of meta values I am assuming needs to be setup.

     AlamSyed
    Participant

    I totally forgot to ask, this support site is relying on bbpress to do Q and A, however you have some options set up like “this topic is – not resolved, resolved ” etc. Are you using a plugin or can you show how you added those functionality ?

     AlamSyed
    Participant

    Hi Sharmstr,
    Thanks for your prompt response. I was able to resolve this one by using tokenizer. See below.

    It does the job well 🙂

    Attachments:
    You must be logged in to view attached files.
    in reply to: Clicking on a forum shows posts from other forums #103168
     AlamSyed
    Participant

    I am posting this for all those who may encounter this problem when starting out like me. I was able to resolve this issue using bbpress forums, it was a silly error, the way to resolve this is to make the topic sticky rather than super sticky so it doesn’t shows up in all forums. Here is the link to my bbpress discussion.

    in reply to: Kleo elements don’t work in posts ? #103006
     AlamSyed
    Participant

    Aww. Sorry for asking silly questions. But I am still figuring things out about web technologies and still learning to set my website up, so I hope this wont annoy you 🙂 Thanks for your input Sharmstr, I will continue to work on this and I am setting this ticket to resolved.

    in reply to: Kleo elements don’t work in posts ? #103001
     AlamSyed
    Participant

    Fair point. But for now I only need the kleo GO button shortcode functionality. Can you please point to me the path and css file to be changed for the GO button shortcode to work with all of its special features such as fonts, highlights, border rounding, etc.

    in reply to: Kleo elements don’t work in posts ? #102940
     AlamSyed
    Participant

    Hello Shamstr,
    Thank you and good find on plugin. I get the shortcodes output, but like you said the styling is incorrect due to bbpress overriding. However the question that comes along is, do I need to override each and every shortcode content style ? That would be too much, more replication and harder to maintain. Is there an easier/ more efficient way to achieve this ? And you are correct 99% of topics which are by definition custom posts do come from front end, however I was trying to create something from administrator backend. Thanks for the help.

    Alam

    in reply to: Clicking on a forum shows posts from other forums #102826
     AlamSyed
    Participant

    I will follow your advice on checking on bbpress forums. However what I am doing is not a very custom case, this is the general way to insert posts programatically in bbpress. There is nothing fancy going on in the code, just a simple insert, and as I said I can see the parent of the post being correct yet there is a bug. But anyways thanks for your help.

    in reply to: Clicking on a forum shows posts from other forums #102560
     AlamSyed
    Participant

    Thanks. I am just trying to understand why this functionality is broken, I don’t think its anything related to kleo theme, but it would be very nice if you guys can point me in the right direction to resolve this.

    in reply to: Clicking on a forum shows posts from other forums #102001
     AlamSyed
    Participant

    Just for additional details I am using code to add into the forum. I can get the parent child relations between the forums displayed properly, the insertion of the topic goes to the right parent forum. But then that bug shows up.

    COPY CODE
    if (!function_exists('bbp_insert_topic')) {
    				require_once '/includes/topics/functions.php';
    			}
    			
    			echo "All fine here ??? Did it reached ";
    			$forum_ID = $selectmyID;
    			$terms = array(bbp_get_topic_tag_tax_id() => $key_pieces);
    			// The topic data.
    			$topic_data = array(
    			'post_parent' 		=> $forum_ID, // forum ID of Projects  hard coded
    			'post_status'       => bbp_get_public_status_id(),   // Subscribed users can see this
    			'post_content'		=> $my_content,
    			'post_title' 		=> $slug,
    			'comment_status' 	=> 'open',
    			'menu_order' 		=> 0,
    			'tax_input'		    => $terms  
    			);
    			
    			// The topic meta.
    			$topic_meta = array(
    			'forum_id'    => $topic_data['post_parent'],
    			'reply_count' => 0
    			);
    			
    			// NOTICE! Understand what this does before running.
    			$post_id = bbp_insert_topic($topic_data, $topic_meta);
    			bbp_stick_topic($post_id , true);                         // Making it super sticky !
    			
    		 
    			echo "The post id returned is " . $post_id;
    			echo "Sucessfully inserted the post" . $slug . " programmatically !!!!";
     AlamSyed
    Participant

    Actually I no longer need the table now. Thanks for the support.

     AlamSyed
    Participant

    Also do you need any woo commerce etc plugin installed for it to work ? Because I am not using that plugin.

     AlamSyed
    Participant

    The pricing table usage is very unclear. Also it is too primitive, does it have sort, search etc features ?

     AlamSyed
    Participant

    Ok. But I am still developing and changing my requirements, once I know for sure what I want to build I would like to get a quote from 7th queen. But until then I will try to figure it all out.

    in reply to: Combine some content from two demo pages #97391
     AlamSyed
    Participant

    Never mind. I got it working. I couldn’t figure it out earlier.

    Just replace,

    [vc_row inner_container="no" padding_top="0" padding_bottom="0" border="none"][vc_column][rev_slider_vc alias=”HomeFullwidth”][/vc_column][/vc_row]

    with this,
    [vc_row text_align="center" type="image" bg_position="center" bg_position_horizontal="center" padding_top="300" padding_bottom="60" min_height="0.04" border="none" bg_image="915"][vc_column][vc_column_text]
    <h1><span style=”color: #ffffff;”>EXPLORE THE PLANET</span></h1>
    [/vc_column_text][kleo_gap size="20px"][kleo_search_form form_style="transparent"][kleo_gap size="30px"][vc_row_inner][vc_column_inner width="1/4"][/vc_column_inner][vc_column_inner width="1/6"][vc_column_text]
    <h2 style=”margin-bottom: 0; color: #fff !important;”>[kleo_animate_numbers animation="animate-when-almost-visible" timer="1500"]2[/kleo_animate_numbers].[kleo_animate_numbers animation="animate-when-almost-visible" timer="1500"]247[/kleo_animate_numbers]</h2>
    <p style=”color: #fff;”>PORTFOLIO ITEMS</p>
    [/vc_column_text][/vc_column_inner][vc_column_inner width="1/6"][vc_column_text]
    <h2 style=”margin-bottom: 0; color: #fff !important;”>[kleo_animate_numbers animation="animate-when-almost-visible" timer="1500"]158[/kleo_animate_numbers]</h2>
    <p style=”color: #fff;”>FEATURED ARTICLES</p>
    [/vc_column_text][/vc_column_inner][vc_column_inner width="1/6"][vc_column_text]
    <h2 style=”margin-bottom: 0; color: #fff !important;”>[kleo_animate_numbers animation="animate-when-almost-visible" timer="1500"]28[/kleo_animate_numbers].[kleo_animate_numbers animation="animate-when-almost-visible" timer="1500"]731[/kleo_animate_numbers]</h2>
    <p style=”color: #fff;”>DAILY SEARCHES</p>
    [/vc_column_text][/vc_column_inner][vc_column_inner width="1/4"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]

     AlamSyed
    Participant

    Ok. Thanks.

    If all users are wordpress users then that answers my question. Sorry, I don’t know much about this, that’s why there was confusion.

    Thanks for the prompt reply shamstr.

     AlamSyed
    Participant

    About the nav menu roles plugin, is there a way to do it with Kleo theme code, as the nav menu options Login/Logout links have this functionality in-built ?

    Another question, are these solutions designed for wordpress users ? I am only looking for subscribers (my website’s users) level settings. How can one distinguish ?

     AlamSyed
    Participant

    There was a setting required for the permalinks on the server regarding .htaccess , and I was able to fix it using the instructions on https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04. I am marking this issue as resolved.

     AlamSyed
    Participant

    I just found out something. I cant add a new page to my website too. I believe that its something to do with ownership issue of the folder. Hold on this ticket, don’t work on it, I need to check some things and settings on my Ubuntu server, I will update this if/when I fix it.

Viewing 21 posts - 1 through 21 (of 21 total)

Log in with your credentials

Forgot your details?