Featured Sites: A-Z Index

H


Newest 10 Entries

Question What are redirects and how can I use them for subsites?
Answer Redirects let you create custom URL paths that point to different zones and pages within your site.

Examples:
  • Sharing modules across zones: Create a redirect to make a module in one zone appear in another.
  • Creating shortcuts: Use a redirect to point a short URL to a longer, more complex URL.
  • Moving pages: Use a redirect to ensure old links still work after moving a page to a new location.

Go to Admin Zone > Structure > Redirects.
Question What are virtual roots and how do I use them?
Answer Virtual roots let you make a sub-category within a Composr module (e.g., downloads) appear as the top-level category. This is useful for creating separate "databases" of content for different subcommunities.

To create a virtual root:
  • Enable "Virtual root links" in the Admin Zone > Setup > Configuration > Feature options > Advanced.
  • Navigate to the desired category while logged in as staff.
  • Click the rightmost link in the breadcrumbs (it will be an anchor for virtual root creation).
  • Use the resulting URL in your menus to link to the "virtualized" category.
Question Can I have subsites and subcommunities within a single Composr installation?
Answer Yes, Composr offers various tools to create subsites and subcommunities within a single installation:
  • Zones: Create separate sections under different URLs with their own pages and content.
  • Redirects: Make modules appear in different zones without actually moving them.
  • Categories & Virtual Roots: Organize content like galleries, downloads, and catalogs into sub-trees that appear as separate entities.
  • Usergroups & Permissions: Group members into subcommunities and control their access to specific content.
  • Themes: Customize the look of different zones.
Question What is the difference between a central site and a satellite site in an M.S.N.?
Answer The central site hosts the shared forum, member database, and netlink system. It is the core of your M.S.N.

Satellite sites are the additional websites within your network. They connect to the central site for member information and forum access.
Question What are the advantages and disadvantages of using an M.S.N.?
Answer Advantages:
  • Full control: You have complete control over each site's settings and content.
  • Administrative separation: Managing staff and content for each site is more organized.
  • Special M.S.N. features: Composr provides specific features like the 'netlink' system for easy navigation between network sites.

Disadvantages:
  • Configuration and maintenance: Setting up and maintaining multiple sites can be more complex.
Question What is a multi-site network (M.S.N.) in Composr?
Answer An M.S.N. allows you to run multiple Composr websites (installations) that share a common forum and member database. It's ideal for website networks with shared communities but segmented content, staff, or branding. In essence, members who join one site automatically have accounts on all sites within the network.
Question What are the key classes and utilities provided by Composr Mobile SDK?
Answer CMS SDK provides several classes with utility functions mirroring PHP and Composr APIs, including:
  • CMS_Arrays: Array operations (e.g., implode, explode, list_to_map).
  • CMS_Strings: String manipulation (e.g., strip_tags, html_entity_decode, strpos).
  • CMS_Langs: Localization functions (e.g., do_lang).
  • CMS_Preferences: User preference management.
  • CMS_Timestamps: Timestamp functions (e.g., get_timezoned_date_time, time).
  • CMS_HTTP: Web service interactions (e.g., rawurlencode, json_decode, http_get_contents).
  • CMS_Users: User data and permission checks (e.g., has_page_access, is_staff).
  • CMS_Flow: App flow control (e.g., access_denied, attach_message).
  • CMS_Forms: Form building and management.
  • CMS_Database: SQLite database access and manipulation.
  • CMS_Notification: Push notification handling.
  • CMSNetworkManager: Network request execution and response handling.
Question How do I set up Composr Mobile SDK in my iOS and Android projects?
Answer iOS (Xcode):
  • Create a new project or open an existing one.
  • Add a Prefix Header file (.pch) if you don't have one, following the provided instructions.
  • Add required frameworks to your project's Build Phases.
  • Add the CMS SDK to your project, then remove references to unwanted files.
  • Set the header search path to the CMS SDK folder in build settings.
  • Add a compiler option for the JsonKit library.
  • Import CMS_SDK.h in your .pch file.

Android (Eclipse):
  • Create a new project or open an existing one.
  • Import CMS SDK into your workspace as an Android project.
  • Ensure "Is Library" is checked in the CMS SDK's "Android" properties tab.
  • Add CMS SDK as a dependent library in your project's properties.
  • Clean and rebuild your project.
Question What are some key concepts related to mobile app development with Composr?
Answer Essential concepts include:
  • SDK (Software Development Kit): An API implementation, typically as a library.
  • API (Application Programming Interface): A set of rules for software interaction.
  • JSON (JavaScript Object Notation): A common language for structured data transfer over REST.
  • REST (Representational State Transfer): An architectural style for web services.
  • Push notification: A notification sent to a mobile device.
Question What other approaches exist for mobile integration with Composr?
Answer Other approaches, in various stages of development, include:
  • Tapatalk: A third-party forum app with an official Composr addon, offering a high-quality "out-of-the-box" Composr app experience.
  • Further Composr Mobile SDK development: Plans and issues relating to the SDK's evolution can be found on the Composr tracker, driven by commercial projects and feature sponsorship.

Top 10 Entries

Question What is the Composr Member System?
Answer The Composr Member System is the system used by the Conversr forum software to manage user accounts and information. This includes usernames, passwords, profile information, and usergroups. It also handles user registration, login, and account management. For websites not using Conversr, the member system of the third-party forum software would be used.
Question Can I Use Composr Galleries to Publish Podcasts?
Answer Yes, Composr supports creating podcasts from galleries. The podcast URL follows this format: http://yourbaseurl/backend.php?mode=galleries&select=galleryname&type=rss&itunes=1. Replace yourbaseurl and galleryname accordingly. This URL can be used to subscribe to the podcast in iTunes or other podcast applications.
Question How Do Gallery Slide-shows Work?
Answer When viewing an image or video in a gallery, visitors can initiate a slide-show that automatically cycles through subsequent entries. The slide-show can be paused with a click or keypress. The default slide-show speed can be adjusted by modifying the GALLERY_ENTRY_SCREEN.tpl template.
Question What are Watermarks and How Do They Work?
Answer Watermarks are semi-transparent images overlaid on gallery images to mark their origin or deter unauthorized use. When you add or edit a gallery, you can choose to apply watermarks to the corners of images. Watermarking applies permanently to the uploaded image. Composr uses a reverse tree structure for watermarks: if a sub-gallery doesn't have a watermark defined, it inherits the watermark from its parent gallery.
Question Can Members Create Their Own Personal Galleries?
Answer Yes, members with the "have personal galleries" permission can create their own galleries. These personal galleries are displayed under designated "Personal category container" galleries. They also show up in a tab on the member's profile. Members can only add content to their own galleries unless they have the "Submit to categories belonging to other members" permission.
Question What are Rep-Images and How Do I Set Them?
Answer Rep-images, short for "representative images," are thumbnails that represent a gallery when it's displayed within a list of galleries. They offer a visual preview of the gallery's contents. You can set a rep-image when adding or editing a gallery, or when adding an image to a gallery.
Question How Do I Import Images in bulk into a Gallery?
Answer You can import images in bulk using a CSV file. The file should be named descriptions.csv and placed in the uploads/galleries directory. The first column should contain filenames (without the path), and the second column should contain descriptions. The filenames should correspond to images also located in the uploads/galleries directory. Composr will automatically match the descriptions to the images during import.
Question What Image and Video Formats are Supported?
Answer Images:
  • .jpg/.jpeg: Highly compressed, best for photos due to minimal noticeable quality loss.
  • .png: Good compression with no quality loss, ideal if bandwidth isn't a concern.
  • .gif: Limited to 256 colors and poor compression. Better alternatives are video or APNG.
Note that Composr does not support SVG because hackers can leverage the XML-like structure of SVG files to compromise a website.

Videos:
  • .mp4 (h.264 aac encoding): The recommended format, widely supported.
  • .mov (h.264 aac encoding): Identical to .mp4.
  • .webm: Supported natively in most browsers, but requires plugins for Internet Explorer/Microsoft Edge and Safari.

Other formats, while they may work, are generally discouraged due to compatibility issues and lack of consistent addon or browser support.
Question What are Composr Galleries?
Answer Composr Galleries are a system for storing, organizing, and displaying images and videos. They function like categories, allowing you to group related media together. Galleries can be structured hierarchically, with sub-galleries nested under parent galleries, similar to a folder system. Each gallery has settings that control its appearance and behavior.
Question How are forums structured in Composr?
Answer Composr forums are organized hierarchically:
  • Forum Groupings: Broad categories that contain forums.
  • Forums: Contain topics related to a specific subject.
  • Sub-forums: Forums nested under other forums, providing further categorization.
  • Topics: Threads of conversation containing a series of posts.
  • Posts: Individual messages within a topic.