Located in /sources/forum/none.php (line 21)
forum_driver_base | --forum_driver_none
Inherited from forum_driver_base
forum_driver_base::$connection
forum_driver_base::$MEMBER_ROWS_CACHED
Get a map between smiley codes and templates representing the HTML-image-code for this smiley. The smilies present of course depend on the forum involved.
Find if the given member id and password is valid. If username is NULL, then the member id is used instead.
All authorisation, cookies, and form-logins, are passed through this function. Some forums do cookie logins differently, so a Boolean is passed in to indicate whether it is a cookie login.
Attempt to to find the member's language from their forum profile. It converts between language-identifiers using a map (lang/map.ini).
Get the forum id from a forum name.
Get the administration username for the site.
Get custom profile fields values for all 'ocp_' prefixed keys.
Get an emoticon chooser template.
Find the base URL to the emoticons.
Get an array of maps for the topic in the given forum.
Find the member id of the forum guest member.
Find all members with a name matching the given SQL LIKE string.
Get the number of members registered on the forum.
Get the avatar URL for the specified member id.
Find if this member may have e-mails sent to them
Get a member id from the given member's username.
Get a first known IP address of the given member.
Get the timestamp of a member's join date.
Get the photo URL for the specified member id.
Get the member id of the next member after the given one, or NULL.
It cannot be assumed there are no gaps in member ids, as members may be deleted.
Get the total posts ever made on the forum.
Get the number of members currently online on the forums.
Get the given member's post count.
This is the opposite of the get_next_member function.
Get the topic id from a topic name in the specified forum. It is used by comment topics, which means that the unique-topic-name assumption holds valid.
Get the total topics ever made on the forum.
Get the given member's topic count.
Get the rows for the top given number of posters on the forum.
Add the specified custom field to the forum (some forums implemented this using proper custom profile fields, others through adding a new field).
Get an array of paths to search for config at.
Get an array of attributes to take in from the installer. Almost all forums require a table prefix, which the requirement there-of is defined through this function.
The attributes have 4 values in an array
Searches for forum auto-config at this path.
Find out if the given member id is banned.
Find if the login cookie contains the login name instead of the member id.
Find if login cookie is md5-hashed.
Makes a post in the specified forum, in the specified topic according to the given specifications. If the topic doesn't exist, it is created along with a spacer-post.
Spacer posts exist in order to allow staff to delete the first true post in a topic. Without spacers, this would not be possible with most forum systems. They also serve to provide meta information on the topic that cannot be encoded in the title (such as a link to the content being commented upon). Note that $post should be in HTML, and some forums do not store posts as HTML. This is unfortunate, but there are some limits to just how far you can reasonably integrate with all these different forum systems without making a programatic mess.
Get an array of members who are in at least one of the given array of usergroups.
Get a URL to the specified member's home (control panel).
Get a URL to the specified member's profile, from the username.
Get a member profile-row for the member of the given name.
From a member profile-row, get the member's last visit date.
From a member profile-row, get the member's e-mail address.
From a member profile-row, get the member's primary usergroup.
From a member profile-row, get the member's member id.
From a member profile-row, get the member's name.
Get a URL to the specified post id.
Try to find a member with the given IP address
Set a custom profile fields value. It should not be called directly.
Get an array of topics in the given forum. Each topic is an array with the following attributes:
Get a URL to the specified topic id. Most forums don't require the second parameter, but some do, so it is required in the interface.
Get a URL to the specified forum.
Get the forum usergroup relating to the specified member id.
Get the e-mail address for the specified member id.
Get the ids of the moderator usergroups.
It should not be assumed that a member only has one usergroup - this depends upon the forum the driver works for. It also does not take the staff site filter into account.
Get the number of new forum posts.
Get the ids of the admin usergroups.
Try to find the theme that the logged-in/guest member is using, and map it to an ocPortal theme.
The themes/map.ini file functions to provide this mapping between forum themes, and ocPortal themes, and has a slightly different meaning for different forum drivers. For example, some drivers map the forum themes theme directory to the ocPortal theme name, whilst others made the humanly readeable name.
Get the forum usergroup list.
Get the name relating to the specified member id.
If this returns NULL, then the member has been deleted. Always take potential NULL output into account.
Find if the specified member id is marked as staff or not.
Find if the specified member id is marked as a super admin or not.
Get a URL to the registration page (for people to create member accounts).
Get a URL to send a private/personal message to the given member.
Get a URL to the specified member's profile.
Get a URL to the members-online page.
Inherited From forum_driver_base
forum_driver_base::disable_staff_filter()
forum_driver_base::forum_link()
forum_driver_base::get_guest_group()
forum_driver_base::get_members_groups()
forum_driver_base::get_member_email_address()
forum_driver_base::get_moderator_groups()
forum_driver_base::get_num_new_forum_posts()
forum_driver_base::get_super_admin_groups()
forum_driver_base::get_theme()
forum_driver_base::get_usergroup_list()
forum_driver_base::get_username()
forum_driver_base::is_staff()
forum_driver_base::is_super_admin()
forum_driver_base::join_link()
forum_driver_base::member_pm_link()
forum_driver_base::member_profile_hyperlink()
forum_driver_base::member_profile_link()
forum_driver_base::online_link()
Documentation generated on Sun, 02 Jan 2011 23:19:06 +0000 by phpDocumentor 1.4.3