Featured Sites: A-Z Index

H


Newest 10 Entries

Question How does scoring work for quizzes with different question types?
Answer
  • Multiple-choice and short answer questions: These are automatically marked based on your defined correct answers.
  • Long answer questions: These require manual marking, resulting in a percentage range being displayed to the user until you assess their response.
  • Unmarked questions: These questions are collected but don't contribute to the overall score, allowing you to include optional or non-scored elements.
Question Can I reward users for completing quizzes?
Answer Yes, you can reward users with points for successfully passing a test. This incentivizes participation and encourages users to engage with your content.
Question How can I implement security measures for my quizzes?
Answer Composr provides several features to enhance quiz security and prevent cheating:
  • Restrict access: Limit quiz participation to specific usergroups or newsletter subscribers.
  • Shuffle content: Randomize question and answer order to make it harder to copy answers.
  • Set time limits: Enforce quiz completion within a specified timeframe.
  • Define open time ranges: Control when the quiz is accessible to participants.
Question How do I create and manage quizzes in Composr?
Answer You can create, edit, and delete quizzes from the Composr Admin Zone:
  • Navigate to Admin Zone (or CMS Zone) > Content > Quizzes.
  • Use the provided interface to define your quiz questions, answer options, and settings.
  • You can manage quiz results and view participant responses under Admin Zone > Audit > Quizzes.
Question What types of quizzes can I create in Composr?
Answer Composr supports three main types of quizzes:
  • Surveys: These quizzes gather information from participants without right or wrong answers, making them ideal for collecting opinions and feedback.
  • Tests: Tests assess knowledge with right and wrong answers and provide immediate feedback to participants, including pass/fail results. They're suitable for evaluating understanding of a topic.
  • Competitions: These quizzes rank participants based on their scores, allowing you to select winners. Competitions are great for engaging users and promoting specific content or events.
Question How does rank work in Conversr?
Answer Conversr utilizes a rank system based on your accumulated rank points. As you earn points, you progress through different usergroups, unlocking new privileges and benefits. Your rank is a status symbol within the community and often grants access to exclusive features or content.

This is subject to your configuration. To make a rank ladder based on points, go to Admin Zone > Security > Usergroups. You are given options regarding ranks when adding or editing a usergroup.

Members can see their rank and progress on their member profile rank tab. They can also see all the rank-based benefits they unlocked and ones yet to unlock in future ranks.
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.

Top 10 Entries

Question How do I set the correct file permissions for Composr?
Answer If you're using the quick installer, it will handle file permissions automatically. On a suEXEC-style server, default permissions (744 for directories and 644 for files) are usually sufficient. However, _config.php should have 600 permissions for security.

Without suEXEC, specific directories (e.g., caches, uploads) and files (e.g., _config.php) require 777 (full access) or 666 (read/write) permissions. The fixperms.php script can automate this process on Linux and Windows.
Question How do I install Composr on Linux?
Answer After ensuring your web host meets the requirements and you have a database ready, you can install Composr on Linux using the following steps:
  • Upload the Composr files to your web directory.
  • Navigate to the install.php file in your web browser.
  • Follow the on-screen instructions, providing the required information, such as database details and administrator credentials.
  • After the installation is complete, delete the install.php file for security reasons.
Question What are the prerequisites for installing Composr?
Answer Before installing Composr, ensure your web host meets the minimum requirements. Familiarize yourself with your web host's control panel (e.g., Plesk, cPanel), which you'll use to manage databases, subdomains, and other settings. Gather your SFTP/FTP credentials (hostname, username, password), usually emailed upon signup. Set up a MySQL database and note its details: hostname (often 'localhost'), username, password, and database name. Ensure the database user has full read/write/administer access to the database.
Question What tools are available for debugging Composr code?
Answer Composr offers a code quality checker addon that helps identify various types of errors, including parser errors, run-time errors, and logical errors. This tool can significantly reduce debugging time and enhance code reliability. It is available through the testing_platform addon.
Question What are some key coding standards in Composr?
Answer Composr emphasizes clean, well-structured code with a focus on readability and maintainability. Key standards include proper indentation, consistent use of comments, and clear function headers with type definitions. Remember: beautiful code leads to better functionality and collaboration!
Question Where can I find resources for learning PHP programming?
Answer While Composr documentation doesn't cover basic PHP, resources like the official PHP documentation (

PHP: Hypertext Preprocessor

PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

View

), online tutorials, and the Composr API guide can help you learn.
Question What is the purpose of the Code Editor?
Answer The Code Editor is a web-based tool for editing Composr code files directly on the server. It requires password authentication and automatically manages overrides within _custom directories.

To access it, go to yourbaseurl/code_editor.php.
Question How can I export and import custom addons?
Answer Composr allows exporting addons as TAR files, containing all necessary files and an addon.inf file for metadata. You can import these addons to share and reuse them across different Composr installations.

To do this, make your necessary files for the addon in the Composr installation, and then go under Admin Zone > Structure > Addons > Export addon. You can select the relevant files for the addon, provide information about the addon, and then download the TAR file (which can then be imported on other Composr sites).
Question Can you give an example of creating a new module?
Answer Imagine creating a "Testing" module to manage collaborative testing:
  • Define purpose: Allow testers to add, assign, and track tests, with security and forum integration.
  • Design database: Plan the necessary database tables and fields to store the module's data.
  • Create module shell: Write the basic module structure based on standard Composr modules.
  • Define screens: Identify the module's screens and code their corresponding functions.
  • Utilize API functions: Use Composr's built-in API functions like create_table, add_privilege, and do_template to implement functionality.
Question What are the different ways to extend Composr functionality?
Answer You can extend Composr through:
  • File overrides: Replacing existing source files with modified versions in _custom directories.
  • New Modules/Mini-modules: Creating new modules for complex functionalities or mini-modules for simpler ones.
  • New Blocks/Miniblocks: Adding reusable content blocks.
  • New API code: Adding new PHP files to the sources_custom directory.
  • Hooks: Writing hooks to add features to specific areas of functionality.