Procedural File: _obsolete092.php
Source Location: /blogs/inc/_misc/_obsolete092.php
This file implements functions that got obsolete with version 0.9.2.
For performance reasons you should delete (or rename) this file, but if you use some of these functions in your skin or hack you'll have to leave it for obvious compatibility reasons. Of course, this file will not be (automatically) included at some point, so please upgrade your skins and hacks.
b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html
| Author: | blueyed: Daniel HAHLER. |
| Author: | fplanque: Francois PLANQUE. |
| Version: | $Id: _obsolete092.php,v 1.11.2.3 2006/11/04 19:55:05 fplanque Exp $ |
| Copyright: | (c)2003-2006 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2005 by Daniel HAHLER - http://thequod.de/contact. Parts of this file are copyright (c)2004 by Vegar BERG GULDAL - http://funky-m.com/ Parts of this file are copyright (c)2005 by The University of North Carolina at Charlotte as contributed by Jason Edgecombe http://tst.uncc.edu/team/members/jason_bio.php. |
| Filesource: | Source Code for this file |
| License: | GNU General Public License (GPL) |
You may want to authorize only some users to upload. Enter their logins here, separated by space.
if you leave that variable blank, all users who have the minimum level are authorized to upload. note: add a space before and after each login name. example: $fileupload_allowedusers = ' barbara anne ';
Default value: ''API Tags:
| Deprecated: |
you may not want all users to upload pictures/files, so you can set a minimum level for this
Default value: 1API Tags:
| Deprecated: |
day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
This is used when displaying the calendar only. Weekly archives are grouped the way MySQL groups days by weeks; see MySQL documentation.
Default value: 1API Tags:
| Deprecated: | Moved to locale properties, see $locales |
|
Display "Archive Directory" title if it has been requested
Parameters:| string | $prefix: | Prefix to be displayed if something is going to be displayed |
| mixed | $display: | Output format, see format_to_output() or false to return value instead of displaying it |
API Tags:
| Deprecated: | Deprecated by request_title() |
|
comments_popup_link(-)
Parameters:| $zero: | ||
| $one: | ||
| $more: | ||
| $CSSclass: |
API Tags:
| Deprecated: | deprecated by Item::feedback_link() |
|
comment_author(-)
API Tags:
| Deprecated: | deprecated by Comment::author() |
|
comment_author_email(-)
API Tags:
| Deprecated: | deprecated by Comment::author_email() |
|
comment_author_email_link(-)
Parameters:| $linktext: | ||
| $before: | ||
| $after: |
API Tags:
| Deprecated: | deprecated by Comment::author_email() |
|
comment_author_IP(-)
API Tags:
| Deprecated: | deprecated by Comment::author_ip() |
|
comment_author_url_link(-)
Parameters:| $linktext: | ||
| $before: | ||
| $after: |
API Tags:
| Deprecated: | deprecated by $Comment->author_url() |
|
comment_blog_name(-) fplanque added
Parameters:| $disp: |
API Tags:
| Deprecated: |
|
comment_date(-)
Parameters:| $d: |
API Tags:
| Deprecated: | deprecated by $Comment::date() |
|
comment_post_link(-) fplanque added
API Tags:
| Deprecated: | deprecated by $Comment::post_link() |
|
comment_post_title(-) fplanque added
API Tags:
| Deprecated: | deprecated by $Comment::post_title() |
|
comment_text(-)
API Tags:
| Deprecated: | deprecated by $Comment::content() |
|
comment_time(-)
Parameters:| $d: |
API Tags:
| Deprecated: | deprecated by $Comment::time() |
|
Get blog params for specified ID
Parameters:| integer | $blog_ID: | Blog ID |
Information Tags:
| Todo: | on a heavy multiblog system, cache them one by one... |
|
get_commentdata(-)
Parameters:| $comment_ID: | ||
| $no_cache: |
API Tags:
| Deprecated: | Not used in the core anymore. |
|
get_path(-)
Parameters:| $which: |
API Tags:
| Deprecated: | since 1.9 blueyed>> shouldn't we create a _obsolete_v-1-9.php file for this? Putting everything in a single file never allows us to dump it.. |
|
get_userdata(-)
Parameters:| $userid: |
API Tags:
| Deprecated: | by UserCache::get_by_ID() |
|
get_userdatabylogin(-)
Parameters:| $login: |
API Tags:
| Deprecated: | by UserCache::get_by_login() |
|
get_usernumposts(-)
Parameters:| $userid: |
API Tags:
| Deprecated: | by User::numposts() |
|
get_user_info(-)
Parameters:| $show: | ||
| $this_userdata: |
API Tags:
| Deprecated: | by UserCache - not used in the core anymore |
|
Check a filename if it has an image extension.
Parameters:| string | $filename: | the filename to check |
API Tags:
| Return: | true if the filename indicates an image, false otherwise |
| Uses: | $regexp_images |
|
Display "Last comments" title if these have been requested
Parameters:| string | $prefix: | Prefix to be displayed if something is going to be displayed |
| mixed | $display: | Output format, see format_to_output() or false to return value instead of displaying it |
API Tags:
| Deprecated: | Deprecated by request_title() |
|
Display "Message User" title if it has been requested
Parameters:| string | $prefix: | Prefix to be displayed if something is going to be displayed |
| mixed | $display: | Output format, see format_to_output() or false to return value instead of displaying it |
API Tags:
| Deprecated: | Deprecated by request_title() |
Information Tags:
| Todo: | move to Request class (fplanque) |
|
Report MySQL errors in detail.
Parameters:| string | $sql_query: | The query which led to the error |
API Tags:
| Return: | success? |
| Deprecated: | use class DB instead - not used in core anymore |
|
permalink_anchor(-)
generate anchor for permalinks to refer to
TODO: archives modes in clean mode
Parameters:| $mode: |
API Tags:
| Deprecated: | deprecated by Item::anchor() |
|
Display permalink
Parameters:| $file: | ||
| $mode: | ||
| $post_ID: |
API Tags:
| Deprecated: | deprecated by (Item::permalink()) |
|
permalink_single(-)
Permalink forced to a single post
Parameters:| $file: |
API Tags:
| Deprecated: | deprecated by Item::permanent_url() |
|
pings b2evolution.net
Parameters:| &$blogparams: | ||
| $post_ID: | ||
| $post_title: | ||
| $display: |
|
Pings technorati.com
Code by Isaac Schlueter Adapted from the b2 ping instructions listed at http://developers.technorati.com/wiki/pingConfigurations.
Parameters:| &$blogparams: | ||
| $display: |
|
| $string: | ||
| $before: | ||
| $after: |
API Tags:
| Deprecated: | Not used in the core |
|
Display "User profile" title if it has been requested
Parameters:| string | $prefix: | Prefix to be displayed if something is going to be displayed |
| mixed | $display: | Output format, see format_to_output() or false to return value instead of displaying it |
API Tags:
| Deprecated: | Deprecated by request_title() |
|
Display currently filtered categories names
This tag is out of the b2 loop. It outputs the title of the category when you load the page with
- ?cat=
fplanque: multiple category support (so it's not really 'single' anymore!)
Parameters:| string | $prefix: | Prefix to be displayed if something is going to be displayed |
| mixed | $display: | Output format, see format_to_output() or false to return value instead of displaying it |
API Tags:
| Deprecated: | Deprecated by request_title() |
|
single_month_title(-)
fplanque: 0.8.3: changed defaults
Parameters:| string | $prefix: | prefix to display, default is 'Archives for: ' |
| string | $display: | format to output, default 'htmlbody' |
| boolean | $linktoyeararchive: | show the year as link to year's archive (in monthly mode) |
| $blogurl: | ||
| $params: |
API Tags:
| Deprecated: | Deprecated by request_title() |
Information Tags:
| Todo: | Respect locales datefmt |
|
| $prefix: | ||
| $display: |
API Tags:
| Deprecated: | Deprecated by request_title() |
Information Tags:
| Todo: | posts do no get proper checking (wether they are in the requested blog or wether their permissions match user rights, thus the title sometimes gets displayed even when it should not. We need to pre-query the ItemList instead!! |
|
Template function: output base URL to current skin
API Tags:
| Deprecated: | by skin_base_tag() |
|
Display "Statistics" title if these have been requested
Parameters:| string | $prefix: | Prefix to be displayed if something is going to be displayed |
| mixed | $display: | Output format, see format_to_output() or false to return value instead of displaying it |
API Tags:
| Deprecated: | Deprecated by request_title() |
|
the_author(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::preferred_name() |
|
the_author_aim(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::aim() |
|
the_author_email(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::email() |
|
the_author_firstname(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::firstname() |
|
the_author_icq(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::icq() |
|
the_author_lastname(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::lastname() |
|
the_author_level(-)
API Tags:
| Deprecated: | deprecated by User::level() |
|
the_author_login(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::login() |
|
the_author_msn(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::msn() |
|
the_author_nickname(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::nickname() |
|
the_author_posts(-)
API Tags:
| Deprecated: | by User::get_num_posts() - not used in the core anymore |
|
the_author_url(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::url() |
|
the_author_yim(-)
Parameters:| $format: |
API Tags:
| Deprecated: | deprecated by User::yim() |
|
the_content(-)
Parameters:| $more_link_text: | ||
| $stripteaser: | ||
| $more_file: | ||
| $more_anchor: | ||
| $before_more_link: | ||
| $after_more_link: | ||
| $format: | ||
| $cut: | ||
| $dispmore: | ||
| $disppage: |
API Tags:
| Deprecated: | deprecated by Item::content() |
|
the_date(-)
Parameters:| $d: | ||
| $before: | ||
| $after: | ||
| $echo: |
API Tags:
| Deprecated: | deprecated by ItemList::date_if_changed() |
|
the_lang(-)
Display post language code
API Tags:
| Deprecated: | deprecated by Item::lang() |
|
the_language(-)
Display post language name
API Tags:
| Deprecated: | deprecated by Item::language() |
|
the_link(-)
Display post link
Parameters:| $before: | ||
| $after: | ||
| $format: |
API Tags:
| Deprecated: | deprecated by Item::url_link() |
|
the_status(-)
Display post status
Parameters:| $raw: |
API Tags:
| Deprecated: | deprecated by Item::status() |
|
the_time(-)
Parameters:| $d: | ||
| $echo: | ||
| $useGM: |
API Tags:
| Deprecated: | deprecated by Item::time() / Item::date() |
|
the_title(-)
Display post title 03.10.10 - Updated function to allow for silent operations
Parameters:| $before: | ||
| $after: | ||
| $add_link: | ||
| $format: | ||
| $disp: |
API Tags:
| Deprecated: | deprecated by Item::title() |
|
the_wordcount(-) Display the number of words in the post
API Tags:
| Deprecated: | deprecated by Item::wordcount() |
|
Displays link to the trackback page
Parameters:| $file: | ||
| $c: | ||
| $pb: |
API Tags:
| Deprecated: | deprecated by Item::feedback_link() |
|
| $zero: | ||
| $one: | ||
| $more: | ||
| $CSSclass: |
API Tags:
| Deprecated: | deprecated by Item::feedback_link() |
|
This adds trackback autodiscovery information
Parameters:| $timezone: |
API Tags:
| Deprecated: | deprecated by Item::trackback_rdf() |
|
| $display: |
API Tags:
| Deprecated: | deprecated by Item::trackback_url() |
