Featured Sites: A-Z Index

H


Newest 10 Entries

Question How can I ensure my website complies with email marketing laws?
Answer Email marketing laws like CAN-SPAM protect recipients' rights to unsubscribe. Your website must include a clear 'List-Unsubscribe' header in every email, offer an easy unsubscribe process, and respect unsubscribe requests promptly. Composr provides built-in mechanisms, including an unsubscribe endpoint and support for the List-Unsubscribe header, to facilitate compliance.
Question What are my responsibilities regarding user privacy?
Answer You must have a comprehensive privacy policy that details the personal data you collect, its usage, and if it's shared with third parties. Laws like GDPR have strict requirements, including logging data access, data purging, and security measures. California law mandates specific elements in your policy, like handling "Do Not Track" requests and a clear process for communicating changes.

Composr has an automatic Privacy Policy generator block to help you get started. This is used by default.
Question How can I create effective website rules?
Answer A well-defined rules page is crucial for setting expectations for user behavior and outlining consequences for violations. It should cover a range of offenses with appropriate punishments, reference relevant laws, and assign legal responsibility to users. Composr provides default rules pages that can be customized, and this page is displayed to users upon joining the site.
Question What are the key legal considerations for running a website?
Answer Several legal aspects need careful attention when operating a website, especially for large or corporate sites. These include establishing clear rules and terms of service, adhering to privacy laws like GDPR and California's regulations, managing personal data responsibly, complying with email marketing regulations like CAN-SPAM, ensuring website accessibility, addressing eCommerce regulations, and understanding liability for content and user actions.
Question How do data-tpl and data-view behaviors work in Composr's JavaScript?
Answer Composr uses data-tpl and data-view behaviors for associating HTML templates and JavaScript views, respectively. This facilitates clean separation of presentation and logic:
  • data-tpl: Used with the $cms.behaviors.initializeTemplates function and PARAMS_JSON tempcode directive to bind JavaScript logic to HTML templates.
  • data-view: Used with the $cms.behaviors.initializeViews function to associate JavaScript view classes (inheriting from $cms.View) with specific HTML elements.
Question What are the advantages of using Composr's JavaScript libraries?
Answer Composr's JavaScript libraries like $cms, $util, and $dom offer several advantages:
  • Organization: They provide a structured way to access Composr-specific functionalities, avoiding global namespace pollution.
  • Abstraction: They encapsulate common tasks, simplifying DOM manipulation, form handling, and interaction with Composr's UI.
  • Consistency: They offer a consistent API across different parts of Composr.
Question How does Composr implement the Model-View-Controller (MVC) pattern?
Answer
  • Model/API: The sources directory primarily houses scripts forming the Model/API, handling data logic and business rules.
  • View: Templates in themes/default/templates represent the View, responsible for presenting data to the user. Comcode pages can also be considered part of the View.
  • Controller: Entry scripts like index.php and site/dload.php act as front controllers, directing requests. Modules and blocks, residing in */pages/modules and sources/[mini]blocks, respectively, serve as controllers, managing user interactions and determining which View to render.
Question Can I translate my content into multiple languages?
Answer Yes, Composr supports multi-language content. You can enable this feature by:
  • Installing multiple language packs: Make sure you have at least two language packs installed.
  • Enabling the Conversr multi-language option: Go to Admin Zone > Setup > Configuration > Site options > Internationalisation.
  • Running a Commandr command: Execute the necessary command to set up the database structure for multi-language content (unless you already enabled Support content translations when installing).
Once enabled, you can translate your content into different languages and allow visitors to choose their preferred language.
Question My language uses gendered descriptors. How can I handle this in Composr?
Answer Composr offers solutions for languages with gendered descriptors:
  • Template editing: You can modify templates to use different language strings based on user gender. This involves adding Tempcode logic to dynamically select the appropriate string.
  • Custom Profile Fields: Create a Custom Profile Field for "Gender" and use it to conditionally display gendered language strings in templates.
These methods allow for flexible handling of gendered language variations.
Question What are language strings, and how are they used?
Answer Language strings are phrases or pieces of text used throughout Composr. They're identified by unique codenames, like WELCOME_MESSAGE. These strings are stored in .ini language files and used to display text in the user interface.

By translating language strings, you change the text displayed on your website without modifying the underlying code.

Top 10 Entries

Question How do I debug email integration issues?
Answer
  • Email Tracking: Composr marks emails as read when processing posts. Marking an email unread will trigger re-processing.
  • Log File: Create an empty file named data_custom/mail_integration.log to capture detailed log data for troubleshooting.
Question How can I control who can post in my forums?
Answer You can manage posting permissions using Composr's usergroup system.

  • Forum View Access: Determine which usergroups can view each forum.
  • Privilege Overrides: Grant or deny specific privileges (e.g., posting) to usergroups within a forum.
  • Bypass Validation: Allow trusted members to post without moderation (or vice versa, require validation for certain usergroups).
Question What special features does Composr's Conversr offer compared to other forum software?
Answer
  • Advanced Polls: Blind polls, forcing or setting of default options, and point-weighting.
  • Private Topics: More sophisticated than traditional private messages.
  • Forum Introduction Questions: A flexible way to control access and encourage engagement (e.g. forum-specific rules or forum passwords).
  • Cascading Topics: Pinned topics that appear in multiple forums.
  • Integrated Moderation: Streamlined moderation tools within the forum interface.
Question How do topic polls work?
Answer Topic polls are a powerful tool for gauging opinion within discussions. You can:

  • Control Result Visibility: Choose whether results are visible before voting.
  • Require Topic Reply: Force users to reply to the topic before voting.
  • Show Voter Identities: Optionally display which members voted for each option.
  • Allow Vote Revocation: Let voters change their vote while the poll is open.
  • Set Voting Close Time: Define a specific date or time for the poll to close.
  • Restrict Selections: Limit the number of options voters can choose.
  • Allow Guest Voting: Enable voting for unregistered users.
  • Weight Votes by Points: Give more influential members greater voting power (requires the points addon).
Question What are the different types of posts in Composr forums?
Answer
  • Regular Posts: Standard posts made by members within a topic.
  • Quick Replies: Shorter replies made directly from the topic view.
  • Anonymous Posts: Members can choose to post anonymously, appearing as a guest. Staff can track the actual user if needed.
  • Emphasised posts: Posts made by staff (or marked by staff) which are highlighted to draw attention as they are important.
  • Whispers: Private messages embedded within public topics, allowing for side conversations.
  • Private Topic Posts: Private messages sent between specific members (e.g. an on-site "inbox").
Question Can I integrate email with my forums (mailing list)?
Answer Yes, you can enable email integration for each forum individually. This allows members to post and receive updates via email.

Requirements:
  • PHP IMAP extension installed
  • System scheduler (Cron) running
  • IMAP-compatible mail server

Recommended:
  • Mail server enforces SPF and DKIM for email validation
  • Mail server limits email size to prevent abuse
  • System scheduler runs frequently (e.g., every minute) so members get prompt updates
Question How do I organize my forums effectively?
Answer
  • Structure: Composr's forums follow a hierarchical structure. You can create forum groupings, forums, and sub-forums (and sub-sub-forums etc) in that order of hierarchy.
  • Strategies: Avoid creating too many forums, which can dilute activity. Start with a few well-defined forums and expand as needed.
  • Permissions: Use Composr's permission system to control access to forums and features. For example, you can create private staff forums.
Question How can I keep track of activity in busy forums?
Answer Composr provides several tools to help you stay up-to-date with forum activity:

  • Virtual Forums: Special forums like "Posts since last visit" and "Topics with unread posts" provide filtered views of recent activity.
  • Read Status: Topics with unread posts are displayed in bold with a jump-to-first-unread link. You can manually mark topics or entire forums as read or unread.
  • Notifications: You can enable email notifications for specific topics or forums, either manually or automatically based on your activity.
Question What security measures should I consider for local payments?
Answer While Composr supports local payments (Authorize.Net), it requires high PCI compliance. Ensure you adhere to the PCI Data Security Standard (PCI DSS) guidelines, including secure coding practices, firewalls, intrusion detection systems, regular security audits, and staff screening.
Question How can I audit my eCommerce activity in Composr?
Answer Composr provides tools for monitoring your eCommerce activities:

  • Sales list management: Cancel purchases, view sales history, and manage refunds (Admin Zone > Audit > eCommerce > Sales list management).
  • Charts: Generate profit/loss accounts and cash flow diagrams for specific periods (Admin Zone > Audit > eCommerce, and Admin Zone > Audit > Site statistics).
  • Manual transactions: Record transactions outside of Composr for accurate accounting (Admin Zone > Audit > eCommerce > Manual transaction).