Featured Sites: A-Z Index

H


Newest 10 Entries

Question Why does Composr use pre-computed statistics?
Answer Composr generates statistics from pre-computed data for several reasons:
  • GDPR compliance: Prevents indefinite storage of raw (potentially personal) data while preserving historical statistics.
  • Computational efficiency: Avoids real-time execution of complex calculations, ensuring optimal performance.
  • Scalability: Handles vast amounts of data without performance degradation.
  • Responsiveness: Enables quick and seamless statistics browsing and filtering.
  • Data accessibility: Makes generated data readily available for other Composr components.
Question What are KPIs and how are they used in Composr?
Answer KPIs (Key Performance Indicators) are specific measurements selected for marketing analysis. In Composr, time-series graphs can be added as KPIs. They offer several benefits:
  • Quick reference: Available on the Admin Zone dashboard staff checklist.
  • Target setting: Allows setting targets against KPIs, visualized on graphs and in overview summaries.
  • Notifications: Staff members receive regular notifications regarding target achievement status.
Question How can I perform split testing in Composr?
Answer Split testing in Composr involves combining tracking codes with events. The simplest approach utilizes Tempcode:
  • Random tracking code: Choose a random tracking code from a set and activate it for the user session.
  • Conditional output: Generate different content variations based on the active tracking code.
Subsequently, you can analyze event success rates based on the assigned tracking codes, utilizing both inbuilt events and custom-created events.
Question What is the purpose of tracking codes in Composr?
Answer Tracking codes help you identify the sources driving user sessions to your website or associate specific split testing variations with users. Composr offers integrated referral tracking through various means:
  • URL parameter: The _t URL parameter can contain any custom tracking code, automatically registered by the stats addon.
  • Recommend addon: This addon automatically includes tracking codes for the referral source, referring member, and the referred page.
  • Member joining: When a referred member joins, the referring member receives points and a friend request.
  • Referrals addon: Allows manual tracking code input upon joining and facilitates a referrer reward system.
  • Stats addon: Generates graphs of tracking codes, including conversion rate measurements.
  • User lookup tool: Allows checking if a user accessed the site via a tracking code.
  • Tempcode integration: Inject tracking codes into Tempcode using symbols like {$SET_TRACKING_CODE,some code} or {$SPLIT_TEST,some code,some other code}.
Question What are the different ways to track events in Composr?
Answer Composr offers various methods for tracking events:
  • Inbuilt events: Automatically recorded for actions like form submissions, purchases, newsletter signups, etc.
  • Tempcode symbol: Use the {$LOG_STATS_EVENT,event} symbol within your templates to track events when the template is displayed.
  • JavaScript function: Employ the $cms.statsEventTrack JavaScript function to track events from within your JavaScript code.
  • HTML data attribute: Add data-click-stats-event-track="{ category: 'some event', nativeTracking: true }" to HTML elements. This method acts as a wrapper for the JavaScript function.
  • URL wrapping: Wrap URLs in links using the {$STATS_TRACK_URL,URL,event} symbol. This approach records events via a redirection script and doesn't rely on JavaScript.

The JavaScript and HTML data attribute methods can also be integrated with Google Analytics events.
Question How do I install geo-location data for Composr statistics?
Answer Geo-location data installation is usually automatic during the Composr installation process. If not, you can manually install it by navigating to Admin Zone > Audit > Site statistics > Install geolocation data. This action will reschedule the installation task. If you don't see this option, the geo-location data is already installed.
Question What are the key differences between Google Analytics and Composr statistics?
Answer While there is some overlap, Composr statistics and Google Analytics are complementary tools.

Google Analytics Pros:
  • Offers sophisticated functionality for professional marketers.
  • Integrates with other Google products like AdSense and Search Console.
  • Provides insights based on Google's marketing data, such as visitor demographics.

Google Analytics Cons:
  • Limited to web visit data unless custom programming or complex configuration is implemented.
  • Relies on JavaScript for tracking, which can be blocked by users.
  • Uses tracking cookies, raising privacy concerns and potential GDPR compliance issues.
  • Data is potentially sold to third-party data brokers or used for targeted advertising by Google.
  • Closed-source platform.

Composr Statistics Pros:
  • Server-side tracking, independent of JavaScript and browser configurations.
  • Contextual information and graphs for data beyond web visits (e.g., sales).
  • Enhanced privacy as it only uses IP addresses, session IDs, and member IDs.
  • Complete data control as it is hosted on your website.
  • Open-source addon, fully customizable.

Basic users may find Composr statistics sufficient, while expert marketers might prefer the power of Google Analytics.
Question What tools and strategies can be used for staff training and development?
Answer While Composr itself doesn't provide built-in training features, several approaches can be used for staff development:
  • Documentation & Tutorials: Utilize the extensive Composr documentation and tutorials available online to familiarize staff with the platform's functionalities.
  • Mentorship: Pair experienced staff with newcomers to provide guidance and support during the initial learning phase.
  • Private Forums & Chat: Create dedicated communication channels where staff can exchange knowledge, ask questions, and share best practices.
  • Regular Meetings: Conduct regular staff meetings to discuss updates, share information, and address any arising challenges.
  • External Resources: Leverage external resources like online courses or workshops focused on relevant skills, such as content management or community moderation.

By investing in ongoing staff training and development, communities can ensure their teams possess the necessary knowledge and skills to perform their roles effectively and contribute to the platform's overall success.
Question How can potential conflicts between staff members be avoided (regarding content moderation)?
Answer Composr incorporates "conflict detection" features to prevent staff from accidentally overwriting each other's work. When multiple staff members attempt to edit the same resource simultaneously, a warning message appears, prompting communication and coordination.

Open communication and transparency are crucial. Encourage staff to share their ongoing tasks and plans with each other to prevent overlaps and potential conflicts. Utilizing shared tools like the staff checklist and private forums can further facilitate coordination.
Question What should be considered when assigning roles and responsibilities to staff?
Answer When assigning roles, it's recommended to start new staff with limited responsibilities and gradually increase their authority based on performance and dedication. This fosters a sense of progression and prevents discouragement among existing staff.

Always consider the individual's skills and interests when assigning tasks. For example, someone with strong writing skills might be well-suited for managing content creation, while a technically-minded person could excel at site maintenance.

Top 10 Entries

Question How does Composr protect against Cross-Site Scripting (XSS) attacks?
Answer Composr utilizes multiple layers of defense against XSS attacks:
  • HTML Filtering: Configurable levels of filtering prevent malicious script injection.
  • Content Security Policy (CSP): Restricts the sources from which scripts and other resources can be loaded.
  • Input Sanitization: Data is sanitized before being processed to prevent malicious code execution.
  • Output Encoding: Data displayed to users is properly encoded to prevent interpretation as active code.
Question What are the different types of security alerts in Composr?
Answer Composr has a variety of hack-attack codenames that trigger security alerts and logging. Some common examples include:
  • DODGY_GET_HACK: Suspicious URLs with potentially harmful characters.
  • EVIL_POSTED_FORM_HACK: Possible CSRF attempts via malicious form submissions.
  • SCRIPT_UPLOAD_HACK: Attempts to upload PHP scripts, potentially malicious.
  • DOWNLOAD_PRIVATE_URL_HACK/TRY_TO_DOWNLOAD_SCRIPT: Attempts to download sensitive files.
  • BRUTEFORCE_LOGIN_HACK: Repeated failed login attempts.
  • SQL_INJECTION_HACK: Attempts to exploit SQL queries for data extraction.

You can customize alert handling for each type in data_custom/xml_config/advanced_banning.xml (Admin Zone > Security > Configure advanced banning).
Question What are some tips for secure website maintenance?
Answer
  • Avoid FTP: Use secure alternatives like SFTP or SSH for file transfer.
  • Secure Email: Enable SSL for IMAP and POP3 email protocols.
  • Strong Passwords: Use unique and complex passwords for different services.
  • Secure Computers: Keep your own devices patched and secure.
  • Maintenance Password: Remove the maintenance password from _config.php when not in use.
Question What are the main security features of Composr?
Answer Composr has a robust set of security features to protect your website, including:

Passwords:
  • Visual representation of password quality and enforcement of complexity rules.
  • Password expiry and prevention of re-use.
  • Secure password hashing, even if the database is compromised.
  • Temporary passwords for staff setup.

Login Restrictions:
  • Two-factor authentication via IP address approval.
  • IP address banning, including wildcard banning.
  • Session locking to IP addresses.
  • Configurable session expiry times.
  • Ability to prevent privileged actions from auto-logged in sessions.
  • Optional member approval process.

Auditing Systems:
  • Comprehensive audit logging of administrative actions.
  • Logging of user actions and IP address history.
  • Tools to analyze audit logs.
  • Failed login logging.
  • Hack attack detection, logging, and banning.
  • Email notifications for changes to user credentials.

Framework Security:
  • Protection against CSRF attacks.
  • Click-jacking prevention via CSP implementation.
  • Secure coding standards and scanning techniques.
  • Configurable HTML filtering to prevent XSS attacks.
  • Secure code modularization standards.

Other features:
  • Granular privileges and access permissions.
  • Content submission validation process.
  • Rootkit detection system.
  • Spam prevention systems.
  • Web application firewall rules.
  • Moderation systems.
Question Why are my searches slow, and how can I improve search speed?
Answer Slow searches can occur when dealing with large amounts of content. Here are some workarounds and solutions:
  • MySQL timeout setting: For MySQL 5.7+, set a query timeout to prevent searches from locking up your database. Composr automatically sets this, but you can configure it manually if needed.
  • Use InnoDB tables: Switching to InnoDB tables in MySQL can prevent slow queries from affecting other users on your website. Note that InnoDB is not officially supported by Composr yet.
  • Enable the fast custom index: As mentioned earlier, the fast custom index is optimized for handling large datasets and filtered searches, potentially leading to significant speed improvements.
Question How does the search engine handle different languages?
Answer Composr's fast custom index supports multiple languages. Content is indexed based on its translated version, ensuring that you get relevant results even when searching in a different language.
Question What are quoted phrases and how do they work?
Answer Quoted phrases allow you to search for an exact sequence of words. For example, searching for "red apple" will only return results containing that exact phrase. Keep in mind that enabling quoted phrases can increase disk space usage.
Question How do stop words affect search results?
Answer Stop words are common words (like "the", "a", "is") that are ignored by the search engine because they add noise and don't contribute to the meaning of the search query. You can customize the list of stop words for the fast custom index. See the search tutorial for more information.
Question How can I improve my search results?
Answer Here are some tips for improving search results:
  • Use specific keywords: The more specific your keywords, the better your results.
  • Use boolean operators: Use "+", "-", and quotation marks to refine your search.
  • Optimize content titles and meta keywords: These fields are given priority during search, so make sure they accurately reflect your content.
  • Consider enabling the fast custom index: Especially beneficial for large websites or frequent filtered searches.
Question What is the fast custom index and why should I use it?
Answer The fast custom index is Composr's own search engine, designed to be faster and more efficient than MySQL full-text search, especially for large websites and filtered searches.

Benefits of the fast custom index:
  • Faster filtered searches: Significantly improves search speed when you add filters like category or author.
  • Configurable stop words: Control which common words are ignored during search.
  • Better stemming: More accurately recognizes variations of words (e.g., "like" and "liking").
  • Multilingual support: Indexes content based on different language translations.

Downsides of the fast custom index:
  • Slight lag in indexing new content: New content takes a short time to be indexed.
  • Less accurate ranking: Ranking is based on the most obscure keyword, not a blend of all keywords.
  • Cannot perform blank searches: You must enter at least one keyword.