 |
 |
 |
Knowledgebase Categories |
|
 |
| The knowledgebase is organized into different categories; please select a category that you are interested in. You can also search the entire knowledgebase by entering keywords in the navigation bar beside this text. |
|
|  |
 | Articles |  |
|
 | K-Links Manual | |
 | This section will be a future home for K-Links manual.
It is still being written currently and you may find it here:
http://turn-k.net/k-links/manual |
|
 |
 | Is it possible to add New/Hot/Pick indicators to listings? | |
 | No, there is not by default, however such indicators wouldn't be hard to add to K-Links templates. For example:
New listing, added within the last 24 hours:
!NEW!
Editors pick:
|
|
 |
 | How to get rid of PHP session variables in URL's? | |
 | Hi,
Here's an article about PHPSESSID variables:
http://martin.f2o.org/php/session
For a .htaccess file you should add the following line:
php_flag session.use_trans_sid off
And you should enter the following code in password.php file: ini_set( |
|
 |
 | Quick search not working? | |
 | K-Links quick search utilizes the fulltext search, which provides a great speed improvement, however the fulltext search has a limitation, which returns an empty result set in case the search query returns at least 50% of all records. It also means that t |
|
 |
 | How can I add new page in directory like term, condition, contact us. Where I can add and which code lines ? | |
 | You can add a new template file to the templates directory, for example, "conditions.tpl". The respective page would be available from http://yoursite.com/pages/conditions.html.
|
|
 |
 | I noticed that I can't login to the admin control panel. It sends me back to login page without any errors. | |
 | Try resetting the admin password by running the following SQL query from phpMyAdmin : “UPDATE link_admins SET a_pass=MD5('default')†. This will reset the password to "default" to all admin accounts. |
|
 |
 | Errors like : Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home2/samir01/public_html/includes/open_db.php on line 19 Too many connections. Plz Guide me to solve this error. | |
 | If you get a Too many connections error when you try to connect to the mysqld server, this means that all available connections are in use by other clients. Refer: http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html. Please contact your hosti |
|
 |
 | Which folder or file must be change with CHMOD. Like when Install I have change /public_html/ folder to CHMOD 777 ? After Install successfully what can I do for that Folder /public_html/, Can I change it to 777 or 644 ? Please Guide me ? | |
 | Only the /images, /newsletter and /temp directories must have the 777 permission. If you wish to edit templates from admin, also leave 777 for /emails and /templates directories. There shouldn't be any issues with just leaving 777 to all files as well. |
|
 |
 | My category folders don't show up at all. When you click on the category, it gives you and error to a blank 404 page. http://worldhmongbusinessdirectory.com | |
 | The installation procedure is a little different on IIS servers (also mentioned in the manual). That little extra step doesn't seem to have been completed yet. What must be done is to configure your IIS server to use the /index.php file to handle the erro |
|
 |
 | In the installation script we purchased from you, we are having difficulty. We have tried both the instant installation from your site and the downloaded file. At the same time, we can't seem to find the config file ? | |
 | Unless you have a full control over IIS server configuration, you should switch to a Unix/Linux hosting account instead of Windows one. With an Unix account, your site would run on an Apache server, so no additional configuration would be necessary to ins |
|
 |
 | How do I remove k-links directory from the title tag ? How can I change the email subject for new registrants so that it had my directory name instead of k-links? | |
 | You can configured these from the Options panel. Once the site name is changed from the default "K-Links Directory" the new name will be automatically used in all places. |
|
 |
 | Do you have a readme file or manual for this directory? | |
 | You can download the manual here:
http://turn-k.net/k-links/manual |
|
 |
 | Does this directory display direct url ? For example if I wanted the text 'eBay Auctions' to link directly to 'http://www.ebay.com/'. This is crucial ? | |
 | Does this directory display direct url ? For example if I wanted the text 'eBay Auctions' to link directly to 'http://www.ebay.com/'. This is crucial ? |
|
 |
 | Is your script design template based? | |
 | Is your script design template based? |
|
 |
 | When I submit a website and enter the keywords, if I enter too many they're cut off, can you please tell me how to increase the length of the keywords when adding the links please? | |
 | Please edit the /includes/tables.php file and replace this line:
array(name => $p.'keywords', type => 'VARCHAR(255)', title => 'Keywords'),
with this:
array(name => $p.'keywords', type => 'MEDIUMTEXT', title => 'Keywords'),
Then open http://yoursite/i |
|
 |
 | When I click on a category, I want all the "sponsoring images" within that category to be the same size, but for some reason I can't get this to work. As you can see all the images are different widths / lengths and it looks trashy. How can I fix this? | |
 | It looks like the image size constraints are set at 150 x 150px currently. It might be too large. When you're uploading an image for which at least one size dimension is smaller, this side will never be larger than 150px (the images are never enlarged whe |
|
 |
 | When I try to modify exiting link through administrator control panel, the Last updated date stays the same as Date Added. Why ? | |
 | The last update date is only changed when the listing is changed from members area. The reason the date is not updated when saving from admin area is that K-Links allows to modify the listings in bulk and when they are saved, all the visible listings get |
|
 |
 | I was wondering how to make 4 columns to appear on the subcategories page? | |
 | Please edit the includes/load_category.php file and change:
$cols = ceil(mysql_num_rows($result)/2);
to:
$cols = ceil(mysql_num_rows($result)/4);
and
for ($x = 1; $x |
|
 |
 | Is it possible to customize each category page? In category.tpl if I customize it will shows up in every category. Is it possible to customize it for every category and possibly for subcategory? | |
 | It is somewhat possible. The easiest way would be to create a separate category.tpl file for each category named category_123.tpl (where 123 is category ID). The category.tpl content would have to be replaced with something like that: ... current category |
|
 |
 | Is it possible to show download numbers on listing , detail listing page, and search page when someone clicks on download url ? If so, can you please show me how to do it? I'm looking something like hits number. | |
 | The number of downloads is being tracked in l_downloads field (as hits are being tracked in l_hits field). You can use ##l_downloads## variable to display this number in the listing template (detailed.tpl or show_listing.tpl).
|
|
 |
 | does K-Links support Multilanguage? | |
 |
K-Links can be translated to other languages, however only one language is supported at a time. For example, K-Links site can be in French, but it cannot be in English at the same time. |
|
 |
 | What can I do to put my own banner at the place of adwords from google? | |
 |
The AdSense code is placed in the right_side_related_links.tpl template file. You can replace the code with your own HTML code. |
|
 |
 | I would like to know how can I put a banner at the right of quick search? | |
 |
In the header.tpl add #%#banner_image#%#. If you won't be using K-Links banner management functions, instead of #%#banner_image#%# you can use your own HTML code.
|
|
 |
 | I would like to remove the refer link view image file ? | |
 |
Find this text fragment in detailed.tpl template file and remove it: ##refer## |
|
 |
 | The hits counter doesn't work anymore ? | |
 |
Make sure to change the "Update hits counter when user visits:" setting to "Detail page" (through the [Options] panel). |
|
 |
 | is this software capable of adding videos for each listing? | |
 |
Linking to videos is perfectly possible, although it would still require a bit of custom programming to embed the video player in pages. If you'd like to upload video files when submitting the listing, it would only be possible with custom programming |
|
 |
 | Is there any possibility to recover username and password for an installation ? | |
 |
You can reset the admin password, by running the following MySQL query:
UPDATE link_admins SET a_pass=MD5('newpass')
This would reset the password to all your admin accounts to 'newpass'. |
|
 |
 | I would like to import data. Would you like to tell me how to create data by excel? Such as I want the Category, Site Title, Site URL , Site Description. | |
 |
The column arrangement is not important. You just need to have the columns for the main data fields (which you mentioned). The CSV file can imported into K-Links database directly. You may also take a look at K-Links manual for more detailed instructi |
|
 |
 | I want to have one item in two categories at the same time. Cross related categories is not useful for me since the cross-related category is not listed in the homepage ? | |
 |
Yes, you can. First you have to create a new extra field, with type "category". Once it's done, you'll be able to select the second category from the Manage Links panel. |
|
 |
 | We want to charge paid listings to all site how can we do so? | |
 |
Assign paid days to all your current listings. That can be done with a simple MySQL query. You can run it from phpMyAdmin: UPDATE link_links SET l_inclfee=999999 |
|
 |
 | Does this work on a windows server? I see the rewrites, and have isapi rewrite on my server, but will it work with all the rewrites you have in the .htaccess? | |
 |
K-Links works on Windows, however Apache is required. It can still work on IIS too, but the workaround is somewhat tricky - you'd have to set the error 404 handler to K-Links' index.php file, so that all the requests would be routed through there, whi |
|
 |
 | Many of my clients want to have an actual or static link to their site so they can help build their PR, is this possible? | |
 |
Yes, the outgoing links can be either dynamic - through redirect script, or direct/static links. You can choose which link type to use from K-Links options. |
|
 |
 | Can I get the regnow product db to import to k-links that you are aware of ? | |
 |
If you have the Regnow database already in some format, it would be almost certainly possible to convert it to CSV format and import into K-Links using the CSV import feature. |
|
 |
 | Well, I need to know how to remove the Session ID of my website's URL ? | |
 |
One way to fix this is to add this line to .htaccess file: php_flag session.use_trans_sid off |
|
 |
 | When adding a new listing I want to allow my customers to add HTML tags, how can I do that? | |
 |
K-Links admin area Options panel, contains the following setting, which you can change: "Allowed HTML Tags In Description:". |
|
 |
 | How can I change the text displaying in the News section just above the directory listings ? | |
 |
In the admin area look for the "Manage News" sections. You'll be able to modify or delete this text from there. |
|
 |
 | I will transfer my website to a new host. Are all files saved in one directory , and is it easy for me to install another database? | |
 |
Yes, all the files are in one directory, however the database has to be moved separately, of course. You can export a database dump file using phpMyAdmin and import this dump file into your new server using phpMyAdmin again. |
|
 |
 | When I started the install I have an error. It says | |
 |
It seems that you have unpacked the second zip file (named install_xxxx.zip) as well. You should only unpack the first file and upload the 6 files you have in the main package to your server - and run install.php straight away. The installer will unpa |
|
 |
 | I am getting the error when I try to upload a screen shot ? | |
 |
Please make sure all the subdirectories in the /images directory are CHMOD'ed to 777 (full write permissions). |
|
 |
 | The log file has grown up, the database has reached 426 Mb, total amount nearly 590 Mb on a reserved disk space of 1 Gb ? | |
 |
You can safely clean the /cache directory once in a while. The same is true for the search_cache table in database - you can simply purge its contents occasionally as its only temporary data. |
|
 |
 | Can I disable displaying the Google Adsense on the directory ? | |
 |
Yes, You can remove the default Adsense code from the right_side_related_links.tpl template file. |
|
 |
 | Can I prevent users to submit links to the main categories ? | |
 |
Unfortunately it cannot be done without additional programming. |
|
 |
 | I couldn't find the link to submit my new categories after log in as admin. Can u please give me a guide on how to create a new categories after log in as admin ? | |
 |
The links to category management should be at the very top of the admin menu (left side). If you don't see it, please check whether the admin account you're using has the permissions to access category management.
|
|
 |
 | In the config file you can set the number of listings to show on the cateogry page, but where is the default sort by title, etc.? | |
 |
To change the default sort order, you'd have to change the includes/get_sort_info.php file. For example, to sort listings by title instead of submission date, replace 'l_added' with 'l_title'.
|
|
 |
 | Do we need safe_mode off ? | |
 |
It is generally recommended to keep the safe_mode setting off. The script will work with safe_mode being on, however various errors could come out, so it is actually a requirement for the safe_mode setting to be off.
|
|
 |
 | I want to know how to use Cross-Related Categories? I have created a cross-related category named test, how and where can I use it? | |
 |
These categories are used to group together related listings from completely different categories. For example, if you have a listing for digital camera and also listings for accessories then you can have a cross-related category named The Digital C |
|
 |
 | How can a user submit a site/resource to the directory without having to create an account? Just as an option for those who don't have too much time. Still keep the login etc for those that want it ? | |
 |
Actually it's already possible - site owner can allow the visitors to submit listings without registration by changing the "Allow To Submit Listings Without Registering" option accordingly. In case a visitor submits a listing without registering an ac |
|
 |
 | Which Files (TPL file) I have to edit so All the Subcategories Listed is effected ? | |
 |
If you want to edit the .TPL file which have Subcategories listed, then please edit the file templates/category.tpl in the home directory of K-Links. |
|
 |
 | Where I find (#%#description#%#, #%#keywords#%#) file, Means in which file there is code indicate #%#description#%#, So I am Adding here description so all files auto update where this code is used ? | |
 |
If you need to get the #%#description#%# replaced by your desired description, Only thing you need to do is add the line (recommended to add them at the top of index.php):
define('description','here goes your description');
for #%#keywords#%#
def |
|
 |
 | I get an error message when I try to upload sponsored or screenshot image. | |
 |
The problem should go away as soon as the GD library is enabled for your PHP installation. |
|
 |
 | How do I remove the banner on my home page ? | |
 |
You should remove the #%#banner_image#%# tag from the index.tpl template file. |
|
 |
 | I have a problem when I want to cached the listing, when I go in the manage link and click on Listing page not cached. Cache now, its returning error ? | |
 |
If the page website URL is not valid or empty ("http://" as in this example), the page obviously cannot be cached. I don't think you need to cache the pages at all, since all the listings are pointing to Yahoo maps. You can simply disable caching from |
|
 |
 | How can I make review for all, I would like to make write a review to all the people that access the website , like this people don't have to register to review ? | |
 |
You'd have to edit a couple of files to achieve this:
1) In includes/process_review.php comment out this line:
include 'includes/verify_session.php'; (just add // in front of the line)
2) Remove the very first line from the add_review.tpl file |
|
 |
 | Search function does not work correctly in K-Links ? | |
 |
K-Links quick search utilizes the fulltext search, which provides a great speed improvement, however the fulltext search has a limitation, which returns an empty result set in case the search query returns at least 50% of all records. It also means |
|
 |
 | Does it list new listings real time/automated? | |
 |
As soon as the listing is added from K-Links backend it is listed in your site instantly. When a user submits a listing, it has to be approved by an administrator first, before it is displayed to visitors. If you wish, the script can be configured t |
|
 |
 | Can I update the K-Links software from standard to platinum ? What are the steps ? | |
 |
Regarding the update itself, it will involve a couple of steps as the Standard and Platinum editions have different files and database structure.
(1) Back up your current files and database
(2) Move the current files to different directory (/stand |
|
 |
 | When a listing do not have a website address. When you click on "Website" it appears as broken link. How do we resolve this issue ? | |
 |
K-Links is implemented with 'Link Page Caching' exclusive technique to avoid broken links in listing. It means that there would be no more broken links at your directory. In case the listing website page is not available (for example, a temporary serv |
|
 |
 | Could you please tell me how to make the site search function search the "Keywords" and "Summary" fields? | |
 |
This can be done by modifying the search query. The search function is processed in the file '/includes/search.php'. |
|
 |
 | Iwant to ask if the scripts here has arabic fonts...i want to launch of these scripts k-links but with fully arabic interface ? | |
 |
Yes, you can change the script interface into arabic by creating the corresponding language file('.lng' file). The language files are stored in 'languages' directory. You can refer the 'english.lng' file for getting the language file format. After c |
|
 |
 | When users register on my website, they can not get email for validation code so users can not confirm registration. how can fix this issue? | |
 |
The php 'mail()' function is used for sending the confirmation mail after registration. Hence we recommend you to contact your hosting support and make sure that the php 'mail()' function is enabled and configured in your server. |
|
 |
 | When users register on my website, they can not get email for validation code so users can not confirm registration. how can fix this issue? | |
 |
The php 'mail()' function is used for sending the confirmation mail after registration. Hence we recommend you to contact your hosting support and make sure that the php 'mail()' function is enabled and configured in your server. |
|
 |
 | I am looking for what the directory permissions should be after install. I recently had someone hack into my server and upload some files so want to know what needs what permissions in order to secure it up. ? | |
 |
All the php files in the K-Links cript should need a 644 permission and the deirectories which contains those php files should need a 755 permission. All the template files and the directory which contain those template files needs a 777 permission. |
|
 |
 | Getting some errors while editing the template files ? | |
 |
For saving the modifications in the template file the script needs to write those modification in the corresponding template file in the '/templates' directory. So the '/templates' directory should need a 777 permission. Now in your server the '/tem |
|
 |
 | Hi ! I got lots of spam review I have to declined always, How do I do to remove this ? | |
 |
We cross checked your site for the spam review issue. You have the option to delete all the spam reviews at a time through 'manage review'. |
|
 |
 | Dear, i purchase script and install it on my server but i have added a file (error_log) on my server ? | |
 |
It is a file which is automatically generated with the script execution. Hence there is no need to bother about it. |
|
 |
 | I was expecting my installation template to look like this one http://klinksdemo.com/. How do I change the template, do I have to go directly in the code, or can I do it in the script admin panel. | |
 |
The template in http://klinksdemo.com/ is "K-Links 2" template and we are providing this additional ready-made templates for free. These templates have already been prepared so it will take only a minute to set it up. Just download the template arc |
|
 |
 | Could you point me in the right direction of allowing html emails instead of text emails to be sent through the k-links. | |
 |
Yes, it is possible to send HTML mails through K-Links script. It is required to add a mail header (which tells the mail server that this particular mail is an HTML mail) like "Content-type: text/html;" in the mail function. |
|
 |
 | would like to have sponsored listings for 90 and 365 days. I have created a new sposored listing and i'm not sure what token to use or would it be easier to modify the 30 day to 90 days. Your advice is appreciated. | |
 |
If you are using a sponsored listing type go to the "Paid Listing Types" section in the Administration interface. Where you could create new sponsored listing plans (which is also editable). These paid listing plans are more flexible than the defaul |
|
 |
 | I'm receiving the follow error when trying to send an email to our members. | |
 |
Please check the permission in the directory path './newsletter/archive/'. It must be CHMOD'ed to '777' permission. |
|
 |
 | Under Edit page - Page template - available templates drop down menu.... The templates do not show up alphabetically. Can you tell me how to fix that or maybe a request for a possible future release? | |
 |
The list page templates are made available in drop down menu through a PHP function -- "readdir()". This PHP function read the names of all template files from the template directory in the order they are stored.
syntax :
========
string read |
|
 |
 | When I submit a website and enter the keywords, if I enter too many they're cut off, can you please tell me how to increase the length of the keywords when adding the links please? | |
 |
Please edit the /includes/tables.php file and replace this line:
array(name => $p.'keywords', type => 'VARCHAR(255)', title => 'Keywords'),
with this:
array(name => $p.'keywords', type => 'MEDIUMTEXT', title => 'Keywords'),
Then open htt |
|
 |
 | Is there a limitation to the type and amount of categories for each listing? Such as company name, address, e-mail? | |
 |
There is no such restriction for the Type and amount of categories in the link directory. But a particular link can reside in only one particular category. "Cross-Related Categories" is an exclusive feature in our link directory script which will he |
|
 |
 | We want to give our own welcome message on our own home page. How is this altered? | |
 |
For editing the introduction message in the home page, please make relevant changes in the language file (./languages/english.lng) . Please search for "_intro_msg" keyword in the language file , because it represent the introduction message. |
|
 |
 | When a listing do not have a website address. When you click on "Website" it appears as broken link. How do we resolve this issue. | |
 |
We have implemented 'Link Page Caching' exclusive technique to avoid broken links in listing. It means that there would be no more broken links at your directory. In case the listing website page is not available (for example, a temporary server dow |
|
 |
 | I uploaded the CSV file but the records does not show on site. How do I make them show and be in the right category? | |
 |
Please follow the instructions in the mannual. http://turn-k.net/k-links/manual
Refer pages from 56, the CSV import is described in very detail. If you still have problem with creating the category, please let us know. |
|
 |
 | By default, id like all the listings to NEVER expire. Except in ONE category, let us call it "Classifieds" that will expire after x days. | |
 |
It is not possible to set it for one category without custom programming. What you can do is to enable global listing expiration and set a large day number for listings that should never expire (1000000....). This way the "Classifieds" listings would |
|
 |
 | I would like to know where can insert a HTML code to track every web page I want to use my eXTReMe Tracker ( http://www.extremetracking.com/ ) I have to put a code just before the | |
 | I would suggest to put any code in the footer, at the very end of the page, so the trackers are being loaded only when the rest of the page is loaded. So, it would be the footer.tpl template. If you need them to be at the very beginning of the page, it wo |
|
 |
 | How can I make sponsored image clikable like look at the pics. | |
 |
In the show_listing.tpl template file find this line:
Insert this line before it:
and after it |
|
 |
 | I would like to know how can I put a banner at the right of quick search? | |
 |
In the header.tpl find this code fragment:
Replace it with this:
#%#banner_image#%#
If you won't be using K-Links banner management functions, inste |
|
 |
 | When you create new fields there is an option to add the rss feed option, but what does one do when you already have hundreds of categories and links already added, how can I easily add rss to those already create links? | |
 |
I know that I have a rss link to the categories as well that displays, but I wanted to know about the links themselves as well, thank you.
The RSS option for fields means that this field information will be included in the category RSS feeds. For |
|
 |
 | Is it possible t pay by IBAN (european) International Banking Account Number? | |
 |
Yes, if you wish, you can make the payment in EUR, which should give you lower transaction fees. |
|
 |
 | Do you have an option to suggest a link in your script. I did not see it. | |
 |
If you're looking for how to submit a link from frontend, then it's the "Add a Link" link in the top menu. |
|
 |
 | I found that #%#keywords#%# is show out like : keyword1, , keyword2, , ... I would like to know where do I can edit for this. I just want it showing like : keyword1, keyword2, ... | |
 |
Any keywords variable postformatting would have to be done in the /index.php file. The variable value is composed at the end of the file - look for this code:
$en['keywords'] .= ', '.site_name ...
If you only need to get rid of the double commas |
|
 |
 | How do I get php to execute in the right_side_related_links.tpl file? Seems like it ignores it. | |
 |
To make sure it works, please enter your code in the following format
The opening and closing PHP code tags should be in separate lines and there shouldn't be any whitespace in t |
|
 |
 | I set up the crontab on my server and i have seen that the script periodically checks the websites but it don't find the reciprocal links. Can you help me? | |
 |
There are 2 things that need to be checked:
1) is there a link placed in the same page the listing points to?
2) does the link URL match any of your enabled reciprocal URLs (configured through the Options panel) exactly? |
|
 |
 | I keep getting the following message and cron fails to run your scripts: No such file or directorypublic_html/maintenance.php: line 3: syntax error near unexpected token `Rinalds' | |
 | Are you entered the PHP executable path before script path as written in the manual? From the cron log it seems that the maintenance.php is passed to cron directly.
The full cron path should look something like this:
/usr/bin/php /home/mydomain/publ |
|
 |
|
|
|
 |
|
|
 |
|
 |