*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
How to do Administering in osDate 2.xx
« Reply #15 on: January 20, 2015, 12:36:43 AM »
If this process causing a PHP time-out or Internal Server error, you may instead manually insert the zip codes by creating an SQL script. This will save a raw .sql file in osDate's "temp" folder, after which a system admin should be able to manually insert the SQL data into MySQL (there are various MySQL command line options for insertion of large SQL data quickly).
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
How to do Administering in osDate 2.xx
« Reply #16 on: January 20, 2015, 12:39:02 AM »
Caching Mechanism

osDate v2.0 introduces a caching mechanism to improve performance and reduce your database load. It is based on two tier mechanism. The index page and profile pages are cached "fully" (ie., their entire content is cached). Profile pages are cached only when profile pop up is enabled in configuration settings. Then it caches all MySQL query results. Thus, there is a "page level cache" and a "query level cache".

Now what is the purpose of this?

This is expected to increase performance and reduce contention in MySQL access.

The expiry time for cache can be set in Configuration settings. Default is 15 mins, which means that the cached files will expire every 15 minutes. You can increase this value to reduce your server load.

There is an automatic mechanism to delete all cache files which are older than the expiry time limit. Also, there is a cron job process provided for systems where you can add one more process to delete cache files.

All cache files will be written to the folder /cache. This folder should be made writable by PHP. (chmod 777 or the minimum required permissions for writing by PHP)

You can disable caching mechanism in Admin Global Settings. It's strongly recommended that you keep this on for improved server performance.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
How to do Administering in osDate 2.xx
« Reply #17 on: January 20, 2015, 12:41:05 AM »
User Table Management

osDate v2.xx takes a step forward in allowing some management of fields available in the User Table.

Some of the fields in the user table have been made optional. The following fields from the User Table are non-mandatory, and if needed, can be suppressed in the forms. These fields are set in Global Configuration table.

lookgender
lookagestart
lookageend
allow_viewonline
country
timezone
state_province
county
city
zip
address_line1
address_line2
lookcountry
lookstate_province
lookcounty
lookcity
lookzip

These fields can defined as "not acceptable", meaning these fields will be suppressed from various forms and the user will not see them. Some fields can be made acceptable but non-mandatory - i.e., viewable during registration, but not required.

The setting should be done in Global Settings of Admin User Management section. Define those fields which are not needed and which are needed, but not mandatory, etc.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
How to do Administering in osDate 2.xx
« Reply #18 on: January 20, 2015, 12:43:29 AM »
Site Settings

Following options can be set in the admin panel's "Global Site Settings" tool for use with osDate. Special thanks goes to Jason Hopwood for providing these details.

System-wide controls

Site Name - This refers to what you would like the site to be called, this appears on the main banner of the site.

Site Title - Title of your website, which appears as the default browser page title.

Name of Site Administrator - The name that you would like the admin called. For example, "Site Administrator" or some specific name if you'd like a more personal touch.

Site Administrator's E-Mail - email address used for administration. This email address should be recognized by the mail server you use with osDate. Otherwise, mails may not be sent. When a member receives a site-generated email, it will appear to be "from" the admin email address.

Email address at which admin will receive feedback emails - i.e., the email address used for support. Please ensure this is a valid email address.

Copyright text - This is the text that appears in the bottom of your website, typically containing copyright info, as well as the "Powered by..." info.

Forcibly display, but disable, menu items even if there are no rights to use. - Means the menu items will be displayed even though the user doesn't have sufficient rights to use the item. If Admin wants the user to see the available options, but wants to limit access, set this to Y. A Gold membership may have access to php121, and the php121 link will be fully active. A free or silver member, however, will see the menu item, but if they click on it, it will ask them if they want to upgrade their membership. This is very useful to show all available options to all members to lure them into upgrading their membership.

Add display of the banner advertisement in email? - This option permits the banner advertisement to be displayed in the emails sent out to members. If on, a banner ad is appended to the bottom of every HTML email that is sent.

Time in minutes after which the user will be logged off, if the user has closed browser window without logging off. - How long, if the user doesn't touch the site, before they get logged off (in minutes)

Disable caching mechanism? – osDate v2 comes with page and mysql caching enabled. In some servers, this may create an issue as the number of files may be more than allowed limits. Caching will improve your site's performance considerably, and it is recommended that you leave this option on. However, this file number limitation can be an issue. To avoid this and allow osDate v2 to work normally, you can disable this caching mechanism.

Time in minutes after which cached pages will be invalidated. - How long in minutes before a cache page expires and is automatically removed from system. The page will be re-created on demand, however, at which point the time to expiration for the page will be reset.

Site theme / skin (requires page refresh) - Selecting the theme you would like to use for your website. "Theme" and "skin" are used interchangeably in osDate.

Number of last new profiles to be displayed on home page - How many new profiles to display on the main page.

Number of featured profiles to be displayed on home page - Number of featured profiles to display on main page.

Number of new members to be listed - Number of new profiles to display on main page. A new profile is one that has been recently registered.

New members to be listed for last xx days – When selecting new members to display on the main page, how many days old would a profile be considered as new? For example, any user registered during the last 15 days can be regarded as "new".

Number of latest views and winks to be listed - How many views or winks should be listed for a particular user (after a user logs in, they can see their most recent xx views and winks).

Latest views and winks to be listed since xx days. – Views and winks to be listed for last how many days? This should be an integer, like 15 (15 days).

Bypass user look gender matching in searches? - This forces osDate to bypass the "look gender" criteria of searched profiles. Meaning, if I search for men, I will see all male profiles, regardless of whether the man is looking for a male or female or couple/group.

Enabled forum – After you have installed the forum of your choice, let osDate know which one has been installed by selecting from the recognized forum list.

Forum path (relative to osDate root e.g. forum/phpBB2) - Location of the forum on the server. This should be relative to the osDate root. Thus, if osDate is installed in /domain.com/path/to/osdate/, you do not need to include that - the forum path would still be /forum/phpBB2 in this case. You should omit leading and trailing slashes.

Use Javascript popups for profiles – This will allow a separate profile window to be opened. Otherwise, the profile will be displayed in the main window. Default is N.

Feedback only from logged in user - Forces people who aren't members to register if they want to leave feedback. Useful feature to prevent unwanted emails, especially from spambots. Default is N.

Enable php121 instant messenger? - Allows php121 Instant Messenger to be used by members. Default is N. php121 is highly server-intensive, and is not recommended unless you are on a dedicated server and fully understand the limits of your database server.

Enable Shoutbox? – Allows shoutbox to be used by everyone. Disabling this would reduce site and data traffic to some extent. Default is N. It's recommended that you leave this off to reduce your server load.

Shoutbox refresh interval (in minutes) - Refresh interval for Shoutbox.

No. of shoutbox messages to be displayed - How many messages to be displayed in the box at any one time.

Maximum No. of shoutbox messages to be kept in system - How many messages to be kept in the system's database in all.

Show how many latest messages to the user - Shows the x latest messages sent by default when the user opens the user-to-user messaging system.

Keep how many IM messages received by one user in the system - Self explanatory. IM = Instant Messenger.

Interval for refreshing of IM messages (in seconds) - How long to refresh the instant messenger client.

Maximum length of one message for IM - Define how many characters a person can type in one sentence for the IM. Characters beyond this limit will be truncated.

Manage countries/states/cities - Option to add/remove/edit countries, states, and cities. This is useful if your dating system is fairly local to a small area, and you're able to list all possible cities or states for your area (e.g. small countries, or state-specific sites).

Use question extended search heading in place of question in search - This is the heading to be given on the Advanced Search page. In fact, the actual heading may be a lengthy one, but on the search page, the heading should be short. This is particularly useful for Profile Questions. For example, if there is a question like "What is the complexion of your skin?" This is the full question which is displayed in Profile Questions. But for search purposes, this can be reduced to just "complexion". When the question is created this text is given there. In global settings we specify if this shorter caption to be used for Search Pages.

Starting value of year in birth date field - Default is 90 - Ending age for your site. If you're running a website for the elderly, you may wish to raise this value.

End value in year of birth date field - Default is 16 - Starting age for your site. You may wish to raise this to 18 to disallow users under 18 from registering.

Default value for start age range in quick search - Forces the search to start at a certain age - default is 18. This is just in reference to the quick seach combo list - the user can specify a different value easily.

Default value for end age range in quick search - Forces the search to end at a certain age - default is 50. This is just in reference to the quick seach combo list - the user can specify a different value easily.

Number of words to display in short article text - How many words to display from an article in the home page articles panel.

Number of words to display in short story - How many words to display from a story in the home page stories panel.

Number of news items to display - Number if news to be listed on main page.

Number of words to display in short news - How many words that can be displayed in the short news.

Price per affiliate referral - Price in dollars/cents how much do you want to give the user each time they offer a referral.

Default status of new affiliate to be active? - Whether or not they are active when they first register. In other words, should affiliates be automatically activated upon registration, or should they require admin approval?

Server Time Zone - Time Zone for your country. View yours here: http://www.timeanddate.com/worldclock

Description in Meta Tag - Your website description, as search engines see it in your site's meta tag.

Keywords in Meta Tag - The keywords that search engines see to help classify your site.

Prefix to be used for cookies (do not include spaces) - The cookie prefix added to all cookies generated by osDate. Cookies are stored on the computers of your users. You can use any word without spaces. The default is "osDate", but this can be anything you like.

Path to aspell program used to spell check Blogs. - Path to software that checks for spelling mistakes in your Blogs. Recommended that you leave at the default settings.

Number of characters for spam control code - When a user registers, they have to type in some numbers or letters before pressing submit, if you chose 6, then the user has to type in 6 numbers/letters. Default is 6, has been tested up to 30 letters and numbers. If you believe that a spam bot has figured out how to guess the 6 auto-generated characters, you might wish to raise this value.

Send an email to Admin - When a new user signs up - Sends an email to the admin when a user signs up on the website, so that the new user's profile can be immediately reviewed for possible approval or rejection.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
How to do Administering in osDate 2.xx
« Reply #19 on: January 20, 2015, 12:45:07 AM »
Picture Photo Storage

There is a new program available in 2.0, which permits you to change the storage type of uploaded images. To reduce your database server load, you may wish to store images in the file system rather than as "blobs" in the database. The program provided for this is:

/admin/transferpics.php

To transfer pictures from the database to the File System, start the program using this command (directly type this into your browser bar, relative of course to your osDate root directory):

/admin/transferpics.php?action=DB2FS

To transfer pictures from the File System to the database, start the program with this command:

/admin/transferpics.php?action=FS2DB

Please note that the action parameter should be as given (upper case).
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
How to do Administering in osDate 2.xx
« Reply #20 on: January 20, 2015, 12:47:22 AM »
Membership Management

Membership levels assign rights to users for specific functions and programs in osDate. If you want to allow any user to use any particular program/function/option, it should be allowed at the Member's Membership Level, which are set in the admin panel's Membership Management tool.

The following rights can be assigned for any membership level:

a) Allow chat program? (chat)
Whether to allow the member to use the Chat Program (FlashChat, of course!).

b) Allow forum? (forum)
Whether to allow the member to use the installed Forum. The forum can be any of: phpBB, vBulletin, Phorum, or MyBB.

c) Allow User Blog? (blog)
Whether to allow the member to manage his/her own Blog.

d) Include in Search results? (includeinsearch)
Whether to include this member in search results of other members.

e) Allow use of message system? (message)
Whether to allow the member use of the messaging system.

f) Number of messages allowed to be stored in system. (message_keep_cnt)
Maximum number of messages allowed to be stored by the member.

g) Days after which unflagged and read message can be removed. (message_keep_days)
Number of days after which the unflagged and read messages will be removed from system.

h) Number of messages that can be sent per day. (messages_per_day)
Maximum number of messages that can be sent per day.

i) Allow using of Instant Messenger?. (allowim)
Allow the user to use the instant messenger. Please be aware that this could substantially increase your server's SQL load, and is only suggested on dedicated servers where MySQL load is less of an issue.

j) Allow loading of pictures? (uploadpicture)
Whether to allow the user to load pictures?

k) If allowed, maximum number of pictures that can be loaded (uploadpicturecnt)
If loading of pictures is allowed, maximum number of pictures that can be loaded.

l) Allow use of the album? (allowalbum)
Whether to allow using of albums for picture uploads, and video uploads if that feature is also enabled.

m) Allow Event creation and management? (event_mgt)
Whether to allow the user to manage events in the calendar system. The calendar system must be enabled for this option to be effective.

n) Allow viewing of profile pictures? (seepictureprofile)
Whether to allow viewing of pictures of other profiles.

o) Allow management of Buddy/Ban/Hot list? (favouritelist)
Whether to allow management of Buddy / Ban / Host lists.

p) Allow sending of Winks? (sendwinks)
Whether to allow sending of winks to other members.

q) Number of winks that can be sent per day. (winks_per_day)
Maximum number of winks that can be sent per day by a user.

r) Allow advanced searching facility? (extsearch)
Whether to allow advanced searching.

s) Number of days this level is valid (activedays)
Maximum number of days this level is valid for. For example, if a user upgrades to "Gold", that upgrade will be active for this many days, at which time the membership level would be downgraded to the previous level if the membership level is not renewed.

t) Allow saving of profiles to watch list? (saveprofiles)
Whether to allow saving of profiles to watched profiles list.

u) If allowed, number of profiles that can be saved to watched list. (saveprofilescnt)
If saving of profiles is allowed, maximum number profiles that can be saved in Watched Profiles list.

v) Allow videos in profiles? (allow_videos)
Whether to allow videos in profiles.

w) If allowed, number of videos that can be loaded per profile. (videoscnt)
Maximum number of videos that can be loaded, if videos are allowed in profiles.

x) Allow personalized settings of mail receiving options? (allow_mysettings)
Whether to allow management of email receiving preferences by user. If enabled, the user will be able to specify whether or not to receive certain types of admin and/or user emails.

y) Allow php121 instant messenger? (allow_php121)
Whether to allow using of php121 instant messenger. Please be aware that this could substantially increase your server's SQL load, and is only suggested on dedicated servers where MySQL load is less of an issue. php121 is not a program that is supported by TUFaT.com, but has been integrated with osDate on the request of many osDate users.

In addition to these, all Plugins have the ability of whether to allow use of that plugin at a particular membership level. This is managed using the Admin. interface to manage plugins.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35