Using only a few PHP include lines, you can easily publish each tool onto your web design pages.
Before
After Integration
Step 1 : Create new PHP page
Create a web page where you would like to publish your Misc Tools. Save the web page file with .php extension, such as misctool.php
Note: You can put the file into web root directory or any directory on the server.
Step 2 : Find Document Path
To ensure that your Misc Tools works regardless the location of your web page, you will need to add your server's Document Path to all the PHP include codes.
To find the Document Path, open the ' /oneadmin/config.php ' file with your text editor, and note this path down. Let's assume the Document Path is /home/sitename/public_html/oneadmin/
Step 3 : Call 'config.php'
Before calling any file, use one of the following codes to call the 'oneadmin/config.php'. The config.php file will loads all the class libraries and creates database connection.
I.
Enabling Image Verification Feature**
If you have enabled the image verification to your Misc Tools system, insert this line to your web page file. To do this, open the misctool.php file with a text editor, and put it to the topmost line (line 1) of the misctool.php file, without any preceded character.
If the image verification feature of your Misc Tools is disabled, insert the following line to the topmost line (line 1) of the misctool.php file, without any preceded character.
Site SearchTell A FriendPassword PageMini PollSite CounterSite Map
Site Search Front-End Integration Guidelines
In your text editor, open the web page that you would like to display the search box, and the searched results. Note: The search box and the searched results can separate in different pages.
To show the search box, put the line below to your menu section.
To setup the login form, open the member.php file with your text editor, insert the line below, just on top of the code / content portion you want to hide from public viewing.
** Image Verification is used to prevent form submission by automated system and thus fix the spam issues. The form that you've created in your website is likely to receive unauthorized login by a robot (script) - an automated system which will send unsolicited e-mail to you. To apply this feature to your Misc Tools system, download the Patch 4015_01 from our Knowledge Base.