It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.

UBB.threads Pages · Wiki

What Is Covered

About the Modification
File Listing
Install Instructions
Usage Instructions
Frequently Asked Questions
     • Is there a Sitemap included with UBB.threads Pages?
     • What does purchasing a license entitle me to?



UBB.threads Pages has been developed to provide a method for creating pages within the UBB.threads system. Development by James Corthell (Gizmo/Gremelin) of VNC Web Services.


About the Modification

Requirements: UBB.threads 7.x (not compatible with UBB.threads 6.x or below)
Current Build: 20200122
License Information: This script is not freeware, it requires a license; by purchasing a license you're granted usage on 1 (one) UBB.threads installation. Any additional installations require an additional license. Updates are available for 1 year after initial purchase; after this timeframe, to aid in development costs, you must renew your access to updates (see the purchase link below for further information). You cannot freely provide this script to others without written permission from the author.
Pricing: $75 (Purchase Here)
Support: Support is available on the UBBDev thread UBB.threads Pages.



 20200122 (January 22nd, 2020)
• Added: Introduced the option for "private" pages; pages that do not show up in the page listings (custom island, page list, UBB.Sitemaps)
• Added: Private pages display a Private notice on the admin page listing
• Added: Pages can now be displayed with a category hirearchy.
• Added: Moderators with the "Edit Users" permission can now edit pages (you must modify the moderator links page in the Control Panel)
• Added: There is now an update notification displayed in the Control Panel when a new release is available.
• Change: Database Structure.sql now sets the _PAGES table to be utf8mb4 (previous: utf8)
• Change: Disabled pages now display a Disabled notice on the admin page listing.
• Change: All script headers have been updated to indicate that they've been tested on UBB.threads v7.7.3
• Change: Language File Cleanup.
• Change: The body field now displays 6 rows tall in the editor (previously 12)
• Change: Added default values for all select inputs for the default "select" items (which will default to the "off" option)
• Fix: Disabled pages now do not display as active pages.
• Fix: Reworked several queries, unneeded data will no longer sit in memory.
• Fix: The UserID is now correctly inserted for users who create a page.

 20190222 (February 22nd, 2019)
• Initial version released to the public.


File Listing

Your install archive will contain several files, namely:
• admin/do_page.php
• admin/page.php
• admin/page_manage.php
• languages/english/admin/page.php
• languages/english/page.php
• scripts/
• templates/default/admin/page.tmpl
• templates/default/admin/page_manage.tmpl
• templates/default/page.tpl
• readme.txt - A brief readme which gives basic tips on getting started, and a link here to the full documentation.



VNC Web Services, A Gardeners Forum


Install Instructions

- Add the data from the "Database Structure.txt" file to your database.
- Add the data from the ".htaccess" file to your forum directory in order to use the experimental Apache Redirects feature within the Page system.
- For og:keyword, og:description, and og:image support you will need to follow the instructions in the "OG Keyword and Image Support.txt" file.

In: /templates/default/admin/admin_adminmenu.tpl
<li><a {$current_menu[$ubbt_lang['PRUNE_THREADS']]} href="{$config['BASE_URL']}/admin/prunethreads.php">{$ubbt_lang['PRUNE_THREADS']}</a></li>

Add Below:
<li><a {$current_menu[$ubbt_lang['PAGES']]} href="{$config['BASE_URL']}/admin/page.php">{$ubbt_lang['PAGES']}</a></li>

In: /languages/english/admin/admin/generic.php
$ubbt_lang['PRUNE_THREADS'] = "Prune Topics";

Add Below:
$ubbt_lang['PAGES'] = "Manage Pages";


Usage Instructions

Access the page system at one of the following URLs - Using the experimental Apache Redirects option - Spider Friendly URLs with .html extension - Spider Friendly URLs - Non-Spider Friendly URLs

URLs generated by the system will follow the configuration guidelines below. By default we generate URLs using the same settings as UBB.threads (either "forum/ubbthreads.php/ubb/page/id/1/name/welcome-to-our-forum.html" or "forum/ubbthreads.php?ubb=page&amp;id=1"). You can opt to use Mod Rewrite to generate URLs that would resemble "forum/page/3/welcome-to-our-forum.html" (experimental).



The following configuration ticks can be found in the scripts/ file:
     $islands = 0; // Show the page list as a 0*/Listing or 1/Islands
     $lightbox = 1; // Should the page image open in Lightbox? 0/No, 1*/Yes
     $headerimg = 1; // Should the Page Image display on only page indexes or on the page itself? 0/Index Only, 1*/In Page
     $permalink = 1; // Should the system generate a Permalink? 0/No, 1*/Yes
     $rewrites = 0; // Should the system generate Mod Rewrite URLs? 0*/No, 1/Yes (Experimental)

Note · .htaccess Code
The rewrites section (coding is experimental) requires that you install the following .htaccess rules to a file within your forum directory.

# UBB.threads Pages Apache Rules
RewriteEngine On

## Deny viewing of .htaccess
<Files .htaccess>
order allow,deny
deny from all

## Short Urls
RewriteRule ^page/([0-9+]+)/([a-z0-9-_+]+) /forum/page.php?id=$1&title=$2
RewriteRule ^page/([0-9+]+)/([a-z0-9-_+]+).html /forum/page.php?id=$1&title=$2
RewriteRule ^page/([0-9+]+) /forum/page.php?id=$1
RewriteRule ^page/([0-9+]+).html /forum/page.php?id=$1
RewriteRule ^page/([a-z0-9-_+]+) /forum/page.php?name=$1
RewriteRule ^page/([a-z0-9-_+]+).html /forum/page.php?name=$1
RewriteRule ^page/ /forum/page.php
RewriteRule ^page/index /forum/page.php
RewriteRule ^page/index.html /forum/page.php
# UBB.threads Pages Apache Rules

The admin system will always generate links using the UBB.threads URL configuration, reguardless of if you're using Mod Rewrite URLs or not.


Frequently Asked Questions


Is there a Sitemap included with UBB.threads Pages?

There will be a tick in a future build of the UBB.Sitemaps addon which allows indexing of UBB.threads Pages pages.


What does purchasing a license entitle me to?

By purchasing a license to the UBB.threads Pages modification you're entitled to lifetime support of the script for the lifetime period of the script. You also receive access to a year of updates for free. After the year period; updates are purchased in blocks of 1 year for $75/yr to cover development costs. Please note that you are entitled to install this script on ONE domain per license; additional domains will require additional licenses.

The UBB.threads Pages modification is not freeware, it is licenseware; a separate license is required for every unique instance of the script that exists on your server.

Posted By Gremelin Posted on February 12th, 2019 · Updated on January 21st, 2020
▼ Sponsored Links ▼
▲ Sponsored Links ▲


( Posted)