Featured Sites: A-Z Index

H


Newest 10 Entries

Question What are the different media types supported for banners?
Answer The Composr banner system supports various media types:
  • Images: Uploaded directly or via an image URL.
  • Text: Textual banners, including support for "hot text" that dynamically displays banners based on keyword matches within the content.
  • Frames: Banners embedded within frames using an iframe URL.
  • Direct Code: Raw HTML or PHP code can be used to integrate banners from third-party banner networks or create custom banner implementations.
Question What is a banner wave, and how is it different from a banner rotation?
Answer A banner wave displays all banners within a specific type as a single advertising block, similar to a list of sponsors. In contrast, a banner rotation randomly displays banners from a set based on factors like display likelihood.

You can add a banner wave using the main_banner_wave block and configure it to show a specific number of banners or all banners within a type.
Question What is a banner network, and how can I create one?
Answer A banner network is a system for exchanging banners between websites. You can create a banner network in Composr by associating banners with specific websites.

When a site joins your banner network, you provide them with an iframe code to display banners from your rotation. Composr uses a "hit balancing" system where sites in the network receive banner impressions based on the clicks they generate for other sites in the network.
Question Can I restrict who can see specific banners?
Answer Yes, by enabling the "Permissions" configuration option in the Admin Zone (Admin Zone > Setup > Configuration > Feature options > Banners), you can control which usergroups can see individual banners. This feature allows for banner targeting and prevents inappropriate banners from being shown to specific audiences, such as adult banners to minors.
Question What are the different types of banner deployment agreements?
Answer There are three types of banner deployment agreements:
  • Permanent: These banners are always displayed as long as there is available space.
  • Campaign: These banners have a limited number of impressions or clicks before they stop displaying. They can be associated with specific campaigns and can have their hits increased if needed.
  • Default: These banners are displayed only when there are no permanent or campaign banners available to show.
The system displays permanent and campaign banners with a 50:50 split.
Question What should I do if URL Schemes are not working properly?
Answer If URL Schemes, which rely on web server rewrites, are not functioning correctly, you can disable them using the http://yourbaseurl/config_editor.php script. Enable the option "Whether to block the URL Scheme (mod_rewrite)" to override the main configuration setting.
Question What should I do if an addon causes problems on my Composr website?
Answer Composr's Safe Mode can help isolate addon-related problems.
  • Enable Safe Mode: Use the safe mode link or the config editor (http://yourbaseurl/config_editor.php) to enable Safe Mode.
  • Uninstall the problematic addon: Once in Safe Mode, navigate to the addon management section and uninstall the addon causing the issue.
  • Disable Safe Mode: After resolving the problem, disable Safe Mode through the config editor.
Question How can I manually edit my Composr database?
Answer phpMyAdmin is a widely used web-based tool for managing MySQL databases. It allows you to:
  • Browse tables: View and edit individual rows within database tables.
  • Run SQL queries: Execute SQL commands directly for specific tasks.
  • Repair corrupted tables: Access table repair functions.

Refer to the "Manually editing your database with phpMyAdmin" tutorial for more detailed instructions.
Question How can I reset a forgotten account password in Composr?
Answer If you have access to phpMyAdmin:
  • Access the f_members table.
  • Find the row corresponding to the user whose password needs to be reset.
  • Edit the row, setting m_pass_hash_salted to the new password using MD5 encryption, clearing m_pass_salt, and setting m_password_compat_scheme to 'md5'.

If you have FTP access:
  • Obtain your IP address.
  • Edit your _config.php file, setting $SITE_INFO['backdoor_ip'] to your IP address. This enables a temporary backdoor login for your IP address, bypassing security restrictions.
  • Remove the backdoor entry after logging in and resetting the password through standard means.
Caution: Using the backdoor method is a security risk and should be done with extreme caution.
Question My Composr installation seems corrupted. How can I repair it?
Answer Composr offers several tools and methods for repairing corrupted installations:
  • Integrity checker: The upgrader tool, accessible via http://yourbaseurl/upgrader.php, includes an integrity checker that identifies outdated or corrupted files.
  • MySQL table repair: The Admin Zone > Tools > Cleanup tools provides access to MySQL table repair functionalities. Alternatively, use phpMyAdmin or your web host's database management tools for more direct control.
  • Safe Mode: Access safe mode via the bookmarked link from the setup wizard or by adding &keep_safe_mode=1 to any website URL. This disables custom themes and caching, helping isolate problems caused by themes or custom code.

Top 10 Entries

Question What is Tempcode, and how is it used in website themeing?
Answer Tempcode is a templating language used within Composr. It offers a powerful way to control the output of dynamic content and design elements on a website. It works by using:
  • Parameters: Placeholders for content passed to the template from Composr / PHP.
  • Symbols: Global functions that perform operations, calculations, or retrieve information.
  • Directives: Instructions that control the flow or logic of content, such as conditional statements and loops.
  • Language strings: References to pre-defined text stored in language files for easy translation.
  • Escaping: Ensures the content generated is properly escaped according to its use case.

Tempcode empowers theme designers to create highly customizable and dynamic websites, allowing for logic, conditional rendering, and manipulation of various website elements.
Question What are some alternatives to Photoshop for web design?
Answer While Photoshop is a popular choice, there are other excellent options available, including:
  • GIMP/GIMPShop: These free, open-source image editors provide a robust set of features comparable to Photoshop.
  • Paint.NET: This free, Windows-only software offers a user-friendly interface and essential image editing tools.
  • Corel Paint Shop Pro: A more affordable alternative to Photoshop, Corel Paint Shop Pro delivers a good balance of features and ease of use.
Question How can design elements like dominance and attention to detail improve a website?
Answer Dominance and attention to detail are key to a balanced and engaging website. Important elements can be emphasized using techniques like larger text, unique colors, and increased spacing. Conversely, less crucial elements should receive less emphasis. This interplay helps guide the visitor's eye and ensures a visually harmonious layout.

Attention to detail involves eliminating inconsistencies and distractions, such as typos, misaligned elements, and low-quality images, that can detract from the overall aesthetics and message of the website.
Question What is the importance of color schemes in website design?
Answer Color schemes are crucial as they convey emotions and brand identity. Choosing colors that align with your website's purpose can evoke desired feelings in visitors. For example, a website selling chocolates might use shades of brown to subconsciously trigger associations with chocolate. However, an environmental website would be better suited using green, aligning with pre-existing perceptions of environmentalism.

It is also important to maintain consistency with your color scheme, limiting the number of colors used to avoid a conflicting and cluttered appearance.
Question Can I use Comcode / resource IDs directly when working with the repository?
Answer Using Comcode / resource IDs directly is not recommended as they may not match between different sites. Use GUIDs instead, which Composr automatically substitutes for IDs before parsing Comcode. You can use Commandr commands like find_guid_via_id to find the GUID for specific resources.
Question What precautions should I take when using the Composr Repository?
Answer Exercise caution when working with the repository:
  • Avoid using it as the sole backup method; rely on regular database backups.
  • Work primarily under the "var" meta-filesystem and copy specific folders/files rather than the entire repository.
  • Do not use tools like "rsync" or Git on the whole repository without careful consideration.
Question What are the limitations of the Composr Repository?
Answer While powerful, the repository has limitations:
  • Automatic syndication is not performed for content added via the repository.
  • Multi-language content translations are not retained.
  • Transferring complex data schemas between staging sites may have limitations.
  • Merging separate websites into one is not supported through the repository. You should use Composr's import tool instead.
Question How can I access the Composr Repository?
Answer You can access the repository using WebDAV (non-bundled addon), which allows you to view it as a folder on your computer. Composr uses the SabreDAV PHP library for WebDAV functionality. However, please be aware that SabreDAV is deprecated and may not function correctly on newer PHP versions.
Question How is the Composr Repository structured?
Answer The repository is structured as a filesystem with various meta-filesystems mounted under a root directory. These meta-filesystems include:
  • bin: Stores Commandr scripts.
  • database: Provides access to the raw database.
  • etc: Allows access to Composr configuration options.
  • home or filedump: Provides access to the File/Media Library.
    • home contains the files in a special JSON format with metadata
    • filedump contains the raw files
  • members: Lists registered members with their settings and user groups.
  • raw or root: Provides access to the Composr installation directory.
    • raw contains the raw files without overrides, and modifying any file modifies them directly without automatic override handling
    • root contains the files with applicable overrides applied automatically, and Composr will automatically handle overrides and utilizing _custom directories when these files are modified
  • var: Contains structured website resources and content.
Question What are the benefits of using the Composr Repository?
Answer The repository offers several benefits:
  • Opacity: Provides a clear view of Composr's content and resource data.
  • Tactility: Allows easy manipulation of data through drag-and-drop operations.
  • Data transfer: Simplifies transferring data between sites.
  • Desktop application integration: Enables using text editors and file-search tools for tasks like mass search and replace.
  • Configuration management: Tracks changes to options and facilitates transfer between sites.
  • Backups: Allows backing up portions of the repository.
  • Revision control: Supports built-in and advanced revision control.
  • Filesystem for Commandr: Acts as a file system for the Commandr command line.
  • Resource API: Offers an abstract resource API for programmers.
  • API for external apps: Provides an API for mobile apps and other external applications.