
=====================================
Bookmark4U Frequently Asked Questions
=====================================

Last Update: Bookmark4U 1.8.1

---------
Questions
---------
Q1: How can I debug SQL errors?
Q2: I can't import Netscape bookmark file.
Q3: What is the initial password of admin?
Q4: As an administrator, how can I force users to enter correct email address?
Q5: I'm an admin. Is it possible for users to activate their accounts during
    registration without any help of admin?
Q6: How to register Bookmark4U in the search bar of my browser?

---------------------
Questions And Answers
---------------------

A1: How can I debug SQL errors?
  If you got any SQL warning message, to debug it
  edit inc/dbase.mysql.php :
  
  $ vi inc/dbase.mysql.php
  ...
  # for debugging 
  define(DBASE_ECHO_QUERY, 1);    # set to 1 to print SQL commands out
  ...
  :wq

A2: I can't import Netscape bookmark file into Bookmark4U.
  To import Netscape bookmark file, do the following.
  Etc. --> Import --> Choose Netscape and click the button
  --> Click the 'Recent' or 'All' --> Click a folder to import into
  --> Browse and select your bookmark file --> select or unselect 'Test mode'
  --> finally click the link '[[Import This File]]'.

  And check the followings :
  How many bookmarks are in the files?
  What is the bookmark file size?
  The file format is really Netscape bookmark file?
  Why don't you test import feature with a smaller set of bookmarks?
  (After a simple test is success, try with more bookmarks..)

A3: What is the initial password of admin?
  The initial admin password is 'test'.
  Please see the sql/db.mysql.sql
  INSERT INTO PASSWD SET user='admin',passwd=PASSWORD('test'),rdate=NOW();
  'test' in PASSWORD('test') is the initial password.

A4: As an administrator, how can I force users to enter correct email address?

  Set the followings in the inc/config.php for the administrator to confirm
  any new account creation:

  $conf[registration_verify] = 1;
  $conf[admin_email] = "your@email.address";

  Then if a user register as a new user, an account does not created directly.
  Instead of it, he/she get a message 'Administrator will review your
  registration'.
  And then administrator logins into the admin's home, and click 'Register'
  link. It'll say like this:

  Register 'new_account' as a normal user?  
  [v] Send an email to this user about the completion of registration.  
  [ ] Generate a random password for this user.  
      [[Register]]

  To confirm the new_account user had entered a correct email address,
  check the following checkbox 'Generate a random password for this user'.
  It will create a new random password for that user, and send it to the user.
  If he/she did not enter correct email address, he/she will not receive the
  login password for the new_account user.

A5: I'm an admin. Is it possible for users to activate their accounts during
    registration without any help of admin?

  Modify inc/config.php to set following options:

  $conf[registration_verify] = 0;
  # Admin does not need to check and activate a new account

  $conf[admin_email] = "your@email.address";
  # notify admin about a new account creation

  $conf[generate_user_passwd] = 1;
  # generate the user's password randomly and send it to the user.
  # the user should enter a correct email address to get his login password.


A6: How to register Bookmark4U in the search bar of my browser?

  If you use Microsoft Explorer,
  1. Run the 'regedit' program from the Windows Start memu.
  2. Edit registry entry :

    o Windows 2000
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main
      "Search Bar"="http://host.domain/path/bm4u/index.php?target=_main"

    o Windows 9x
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Search
      "SearchAssistant"="http://host.domain/path/bm4u/index.php?target=_main"
      "CustomizeSearch"="http://host.domain/path/bm4u/index.php?target=_main"

      where http://host.domain/path/bm4u/ is the URL of your Bookmark4U.
   3. Restart your browser.


-- FAQ.txt
