Other Tiki sites in addition to this one can be made into profile repositories. Such custom repositories can then be listed in the profiles admin panel (Admin Home > Profiles > Repositories) of the same or another site where the profile is to be applied. This page explains the steps necessary to do the following:
Make a Tiki site a profile repository
Add individual profiles to the repository
Access the repository's profiles from another site.
Note
Custom repositories may be helpful for testing or in cases where there are firewall issues. But please remember to contribute useful profiles to this site as well so that they are available to the Tiki Community.
If the profile has been successfully applied, you should be taken to a page called Profile_Repository_Rewrite_Configuration on your site. Follow the instructions on that page for adding a rewrite rule or otherwise describing the url to use to access the repository.
Manually Create a Repository
If the above profiles don't work, then the same thing can be achieved manually by doing the following:
Create a category called "My Profiles"
Assign the following permissions to the Anonymous group:
tiki_p_view
tiki_p_export_wiki
for 3.x: tiki_p_view_categories
tiki_p_view_categorized
for 4.x: tiki_p_view_category
Add the following line to the .htaccess file below the "RewriteEngine on" line (towards the beginning):
RewriteRule ^profiles$ tiki-browse_categories.php?parentId=XX&deep=on&type=&plain&maxRecords=1000000 [L] (where XX is the ID number of the My Profiles category that you created)
Note: This step is optional. It makes a difference below when accessing the repository.
Alternative Permissioning
The above steps give the Anonymous group global permissions to wiki pages. Alternatively, you could restrict the permissioning to only profile pages by granting permissions as follows:
Edit permissions for the My Profiles category as follows:
Version 3.x:
Assign tiki_p_view_categories to the Anonymous group
Assign tiki_p_view_categorized to the Anonymous group
Version 4.x
Assign tiki_p_view_category to the Anonymous group
For each profile wiki page created:
Assign the page to the My Profiles category
Apply the following permissions to the page:
Assign tiki_p_view to the Anonymous group
Assign tiki_p_export_wiki to the Anonymous group
Creating Individual Profiles
Once a Tiki site has been made into a repository, profiles can be added to it by simply creating wiki pages and assigning them to the "My Profiles" category. Depending on how you are assigning permissions, you may need to assign certain permissions to each page as well (see previous section).
Accessing the repository
On the site where you want to apply a profile from the custom repository you've created:
Go to Admin Home > Profiles and find the repository URLs listed (under the Advanced tab in 4.x)
Add the URL for the custom repository as follows:
If .htaccess has been modified as described above:
http://yourdomain.com/profiles Note: add "/profiles" to the end of the main url for the site
Use localhost/profiles if the repository site is also the site where the profiles will be applied
If .htaccess has not been modified, add the following to the url path (instead of "/profiles"):
tiki-browse_categories.php?parentId=XX&deep=on&type=&plain&maxRecords=1000000 (where XX is the ID number of the My Profiles category that you created)
Click save
The repository and its profiles should be available for listing and applying - see Administration Interface for more information and screenshots.