Featured Sites: A-Z Index

H


Newest 10 Entries

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.
Question How can I contribute to translating Composr?
Answer You can contribute to Composr's internationalization by:
  • Joining the translation team on Transifex: Translate language strings collaboratively with other volunteers.
  • Becoming a language maintainer: Take responsibility for the translation and support of Composr in your native language.
  • Reporting translation issues: If you encounter unclear, incorrect, or duplicated language strings, file bug reports.
  • Providing feedback and suggestions: Share your thoughts on improving the translation process through feature suggestions.
Your contributions are valuable and help make Composr accessible to a wider audience.
Question What is Transifex, and how does it help with translation?
Answer Transifex is a collaborative online platform used by the Composr community for translation. Its benefits include:
  • Centralized translation efforts: Multiple translators can work on the same project.
  • Improved translation quality: The platform facilitates consistency and accuracy.
  • Simplified language pack creation: You can generate downloadable language pack addons directly from Transifex.
We encourage using Transifex for translation to foster collaboration and maintain high-quality translations.
Question Can I translate images with text on them?
Answer Yes, you can translate images containing text. In the themes/default/images/ directory, you'll find an EN folder containing images with English text.
  • Copy the EN folder: Create a new folder with the ISO code of your target language (e.g., FR for French).
  • Replace the images: Replace the English images with translated versions.
  • Ensure correct image paths: Update any references to these images in your templates or content to point to the translated versions.
Question How do I translate the content on my Composr website?
Answer Once you've installed a new language pack, you can translate existing content by:
  • Editing the content directly: Go to the specific content item (page, news post, etc.) and edit it in the new language.
  • Using the language editor: Access the language editor from Admin Zone > Style > Translate/rephrase Composr to modify language strings used on specific pages.
Note that some elements like forum names are not designed to be translated directly. Instead, you should create separate forums for each language.
Question How do I change the language of my Composr website?
Answer Composr comes with English as the default language. To change to a different language:
  • Download the language pack: You can download language packs from the Composr website.
  • Install the language pack: Upload the downloaded language pack addon through Admin Zone > Structure > Addons > Import non-bundled addon(s).
  • Change the default language: Go to http://yourbaseurl/config_editor.php and set the desired language.
  • Update your profile: If you had a previous language set in your profile, update it to the new language.

You can test a language without changing settings by appending &keep_lang=XX to the URL, where XX is the language code (e.g., FR for French).
Question What should I do after successfully importing data into Composr?
Answer After importing, if all files like avatars, photos, and attachments have been copied to Composr's directories, you can remove the imported product's directory. However, it's advisable to keep the directory, database, and import session for a few weeks in case any data was not correctly imported and needs further attention. Importing is a complex process, so keeping backups and sources for a while is a good practice.

Top 10 Entries

Question What is points escrow and when would I use it?
Answer Points escrow is a system that holds points securely during transactions involving a written agreement, often for a product or service. This ensures trust and provides a resolution mechanism in case of disputes.
  • Creating an Escrow: You initiate an escrow on the member's profile points tab, specifying the amount, reason, and any agreement details.
  • Points Held: The points are deducted from your balance and held by the system.
  • Agreement Fulfillment: Both parties must mark the escrow as satisfied upon fulfilling the agreement.
  • Points Release: Once both parties are satisfied, the recipient receives the points.
  • Disputes: If either party has a dispute, they can dispute the escrow, which then locks it down and notifies a staff member to review and take a resolution action.
Question Can I create a leaderboard to showcase top point earners?
Answer Yes, Composr offers a leaderboard block and module to display top point holders. You can customize the leaderboard to show weekly, monthly, or yearly rankings, filter by usergroups, and exclude staff members if desired. This can encourage healthy competition and motivate members to earn points.

Go to Admin Zone > Setup > Leader-boards to create a leader-board.
Question How can I modify points for members?
Answer Staff members with the "Moderate members' points" privilege can directly credit or debit points from members' accounts. This can be used to reward exceptional contributions, refund purchases, or penalize rule violations.
Question What is the purpose of the points ledger?
Answer The ledger provides a transparent and immutable record of every point transaction on the website. It ensures accountability and allows members to track their point activity. Members can view their own ledger, and with the appropriate privilege, they can also see the ledgers of others.
Question What are gift points, and how do they work?
Answer Gift points are a separate points balance that can only be sent to other members as gifts. They cannot be spent directly or used in escrow transactions.

Gift points are earned daily based on usergroup membership and replenish independently of the regular points balance. When a member sends gift points, they become regular points for the recipient.
Question Can members send points to each other?
Answer Yes, members can send points to each other as a token of appreciation, reward for a service, or as part of an agreement using the Points Escrow system.
Question How does content validation affect point earning?
Answer Points are typically awarded immediately upon content submission to encourage participation. However, forum posts requiring validation only earn points after approval to deter spam. To further encourage high-quality content, consider using the "awards" addon to reward exceptional contributions.
Question Can I reward members who use specific browsers or operating systems?
Answer Yes, Composr allows you to configure bonus points based on browser/platform criteria. You can set bonus points for members using Open Source browsers, specific operating systems, or even those who have enabled privacy features like "Do Not Track" (DNT) or "Global Privacy Control" (GPC).
Question What's the difference between points balance and rank points?
Answer Points balance refers to the number of points a member currently has available to spend. This is the 'liquid' currency they can use for various actions.

Rank points represent the total points a member has accumulated throughout their time on the website. These points determine the member's rank, which can grant access to additional privileges and act as a status symbol.
Question How can members earn points on my Composr website?
Answer Members can earn points in various ways, including:
  • Joining the website: A welcome bonus for new members.
  • Daily visits: Encourage regular engagement.
  • Content interactions: Liking, rating, and submitting various forms of content.
  • Forum participation: Posting and having posts validated.
  • Chatroom activity: Reward active participation in chatrooms.
  • Quizzes and polls: Encourage learning and engagement.
  • Website recommendations: Reward referrals.
  • Receiving points from other members: Facilitate community appreciation.
  • Selling downloads: Monetize content creation.
  • Birthdays: Offer a special bonus on their birthdays.

Most earning methods can be customized in the Admin Zone > Setup > Configuration > Points options to fit your website's needs.