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 How do I add dynamic content to my Comcode pages?
Answer Composr utilizes "blocks" to embed dynamic content and functionality within Comcode pages. These blocks can range from displaying recent forum posts to showing information about the logged-in user.

To add a block, you can use the "block construction assistant" accessible via a button above the editor. This tool provides a user-friendly way to:
  • Browse and select available blocks.
  • Configure the block parameters.
  • Preview the block output.
  • Generate the necessary Comcode to embed the block.
Question How do I create a new Comcode page?
Answer Composr provides two easy ways to create a new Comcode page:

Method 1: Direct URL Entry
Type the desired URL of your new page into your browser's address bar.
Since the page doesn't exist yet, Composr will present you with a 404 error and a link to create it. Click the link to open the Comcode page editor.

Method 2: Admin Zone
Navigate to Admin Zone > Content > Pages (Comcode pages).
Scroll down to the list of existing pages and enter the name of your new page using the ":" (page-link) format. For example, a new page in the Welcome zone named "about" would be entered as ":about", or a new page in the "site" zone named "foobar" would be entered as "site:foobar".
Question What are Comcode pages?
Answer Comcode pages are standalone content pages within the Composr system that you can create and edit using either a WYSIWYG editor, a simple markup language called Comcode, or a combination of both.

Think of them as documents within your website, offering flexibility beyond the structured content provided by modules like forums or news. You can use them to build landing pages, about us sections, contact pages, and more.
Question Can I create custom Comcode tags?
Answer Yes, you can create custom Comcode tags through the Admin Zone > Setup > Custom Comcode. This allows you to add unique functionality or wrap specific HTML code (especially if you use a certain block of HTML frequently on your site) for easier use. Custom Comcode tags can be tailored to your needs and even include your own parameters. You can also specify if the Comcode is dangerous so only those with elevated privileges can use it.
Question What are the security considerations when using Comcode?
Answer Composr has a multi-tiered security system for Comcode. HTML code is filtered based on user permissions to prevent XSS attacks. Content is parsed with different credentials depending on who is editing or adding it, ensuring users can't elevate their privileges by modifying existing content.
Question What is oEmbed and how does it work with Comcode?
Answer oEmbed is a system that allows you to embed content from other websites simply by pasting its URL. When you paste a supported link in Comcode, oEmbed will automatically embed the content for you in a nicely-formatted box. For example, pasting a YouTube video link will embed the video directly into your content so it can be played on your website.
Question How do I add attachments to my content?
Answer Composr has an integrated attachment system. You can upload files, like images or documents, via the attachments section (or the image button if using the WYSIWYG editor with simplified attachments UI), and they will be automatically added to your Comcode using the attachment tag. You can then move this tag within your content to position the attachment as needed.
Question How do I use Comcode tags?
Answer Comcode tags are similar to HTML tags, but use square brackets [] instead of angle brackets <>. Each tag has an opening and closing tag, with content in between.

Example: [b]This text would be bold.[/b]

Tags can also have parameters:
Example: [img src="image.jpg" alt="Image description"]

A shorthand exists for the param parameter (the primary parameter of Comcode tags):
Example: [page="_SEARCH:howdy_do"]Howdy do[/page]
Question What are the advantages of using Comcode?
Answer Comcode offers several advantages:

Intuitive content authoring: It's written like plain text, making it easy to learn and use.
Dynamic functionality: You can embed dynamic content like blocks, comments, and forms using Comcode.
Special effects: You can easily add prebuilt graphical features like tabs, carousels, and more.
Basic styling and layout: Comcode allows for basic website styling and page layout.
HTML integration: For advanced styling and layout, you can embed HTML code within Comcode with the semihtml tag.
Question What is Comcode?
Answer Comcode is Composr's markup language, similar to BBCode used in forums. It allows you to create formatted text, embed dynamic content like blocks and attachments, and even mix in HTML for advanced styling. It's user-friendly and designed to work alongside standard web technologies.