Featured Sites: A-Z Index
H
Newest 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:
|
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. |
Top 10 Entries
Question | How do I set up the forum base URL correctly? |
---|---|
Answer | The forum base URL should be a URL prefix to your forums without a script name. For example, http://forums.example.com is correct, while http://forums.example.com/index.php is incorrect. You can fix this using the config_editor.php script and then clear the Comcode page cache. |
Question | How do comment topics work? |
---|---|
Answer | Most Composr resources with commenting enabled create comment topics in the configured comment forum. If the forum uses BBCode, Comcode features not supported by BBCode may not display correctly. Moderate comments from the forum as you would any other topic. |
Question | Can I switch forums after installing Composr? |
---|---|
Answer | It's not easy to switch forums after installing Composr. The member and usergroup IDs referenced by Composr would lose their association. Check the "Importing data into Composr" tutorial for more information on this. |
Question | What is Conversr and why is it recommended? |
---|---|
Answer | Conversr is Composr's built-in forum system. It offers seamless integration, allowing you to use Comcode for forum posts, a unified Admin Zone, shared themes and templates, and innovative features like Private Topics and in-post whispers. Using a third-party forum can be clunky and may lead to maintenance headaches. |
Question | What forum drivers does Composr support? |
---|---|
Answer | Composr supports several forum drivers, including Invision Board, phpBB, myBB, vBulletin, Burning Board, and Simple Machine Forum. If your forum is not listed, professional developers can add support. Composr also provides converters for migrating from these forums to its own forum system, Conversr. |
Question | What are the web server requirements for running Composr? |
---|---|
Answer | Composr is compatible with Apache and IIS servers. For Apache:
For IIS:
|
Question | What are the PHP requirements for running Composr? |
---|---|
Answer | Composr requires PHP 7.2 or higher, but versions not officially supported by PHP developers are discouraged. The maximum tested version is PHP 8.3. Required PHP extensions:
Additional recommendations:
Ensure the following PHP settings are configured:
|
Question | How do I uninstall Composr? |
---|---|
Answer | To uninstall Composr, access the uninstall.php file in your web browser, enter your administrator password, and follow the prompts to remove the database data. Afterward, you can safely delete the Composr installation directory. |
Question | What are the recommended web hosting options for Composr? |
---|---|
Answer | Choosing a web host is crucial. Avoid the cheapest options and look for hosts with recent positive reviews and minimal credible complaints. Ensure they meet Composr's requirements, including adequate disk space, no restrictive file size limits, and support for required PHP extensions. Composr is compatible with various hosting control panels like Plesk and cPanel, and works on Windows, Linux, or Mac OS servers. |
Question | Can I install Composr on a Windows desktop? |
---|---|
Answer | Yes, you can install Composr on a Windows desktop using software packages like WampServer, XAMPP, EasyPHP, or ampps for simplified setup. Alternatively, you can manually install Apache, PHP, and MySQL, following the instructions provided in the respective documentation. Remember to configure file permissions appropriately and ensure the webserver isn't accessible from outside your network. |