diff options
author | friendica <info@friendica.com> | 2014-06-29 20:09:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-29 20:09:06 -0700 |
commit | 4c669be2ef22b7a86b6657cb4cf5d7e4983d48ea (patch) | |
tree | 00dc61a60ee658b0a19e3abaa6f3b0b726cdf1c1 | |
parent | b1e887209d4b98b34283188b632bdd689f3a8e5e (diff) | |
download | volse-hubzilla-4c669be2ef22b7a86b6657cb4cf5d7e4983d48ea.tar.gz volse-hubzilla-4c669be2ef22b7a86b6657cb4cf5d7e4983d48ea.tar.bz2 volse-hubzilla-4c669be2ef22b7a86b6657cb4cf5d7e4983d48ea.zip |
minor changes
-rw-r--r-- | doc/accounts_profiles_channels_basics.bb | 6 | ||||
-rw-r--r-- | include/bbcode.php | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/accounts_profiles_channels_basics.bb b/doc/accounts_profiles_channels_basics.bb index 6ba34e771..69125464a 100644 --- a/doc/accounts_profiles_channels_basics.bb +++ b/doc/accounts_profiles_channels_basics.bb @@ -7,12 +7,12 @@ You have [i]one[/i] account. This consists of your email account and your passwo [i]Think of your account as the way you authenticate at one Red Matrix site. It lets you do things, such as creating profiles and channels with which you can connect to other people.[/i] [b]Profile[/b] -You surely have registered with some other internet services, such as forums or online communities. For all of them you provided some information about yourself, such as date of birth, country, age and the likes. If you like you can see your profile here: [baseurl]/profile/[observer.name] and edit it by clicking on the pencil icon next to your avatar image. -Unlike other services Red Matrix offers you the advantage of creating [i]many more profiles[/i]. That way you are able to distinguish between profiles targeted specially at everyone (your public profile), at your work mates, your family and your partner. +You surely have registered with some other internet services, such as forums or online communities. For all of them you provided some information about yourself, such as date of birth, country, age and the likes. If you like you can see your profile here: [baseurl]/profile/[observer.webname] and edit it by clicking on the pencil icon next to your avatar image. +Unlike other services Red Matrix offers you the advantage of creating [i]many more profiles[/i]. That way you are able to distinguish between profiles targeted specially at everyone (your public profile), your work mates, your family and your partner. [i]Think of your profile as the basic information about yourself you tell other people.[/i] [b]Channel[/b] -During the registration you created your first [i]channel[/i]. Yes, besides several profiles you are able to have several channels. This might be a bit confusing in the beginning, but let's clear things up. You already have created one channel. You can use this one for the public, to communicate with people about every day life. But you are an avid book reader and many people are bored by that. So you open a [i]second channel[/i] just for the book lovers, where you all can talk about books as much as you like. Obviously this is a new stream of posts, with a new profile (... or new profile[i]s[/i] ...) and completely different contacts. Some connections might exist in both channels, but there will be some that are exclusive to only one of both. You yourself just switch between both of them just like you would in real life switch when talking to people you meet on the street or people you meet specially to talk about books. You can even connect to yourself, or better: to your other channel. :) +During the registration you created your first [i]channel[/i]. Yes, besides several profiles you are able to have several channels. This might be a bit confusing in the beginning, but let's clear things up. You already have created one channel. You can use this one for the public, to communicate with people about every day life. But perhaps you are an avid book reader and many people are bored by that. So you open a [i]second channel[/i] just for the book lovers, where you all can talk about books as much as you like. Obviously this is a new stream of posts, with a new profile (... or new profile[i]s[/i] ...) and completely different contacts. Some connections might exist in both channels, but there will be some that are exclusive to only one of both. You yourself just switch between both of them just like you would in real life switch when talking to people you meet on the street or people you meet specially to talk about books. You can even connect to yourself, or better: to your other channel. :) [i]Think of a channel as different spaces dedicated to different topics where you meet with different people.[/i] Return to the [url=[baseurl]/help/main]Main documentation page[/url] diff --git a/include/bbcode.php b/include/bbcode.php index 60463fc00..6f2296542 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -445,15 +445,21 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { $Text = str_replace('[observer.url]',$observer['xchan_url'], $Text); $Text = str_replace('[observer.name]',$observer['xchan_name'], $Text); $Text = str_replace('[observer.address]',$observer['xchan_addr'], $Text); + $Text = str_replace('[observer.webname]',substr($observer['xchan_addr'],0,strpos($observer['xchan_addr'],'@')), $Text); $Text = str_replace('[observer.photo]','[zmg]'.$observer['xchan_photo_l'].'[/zmg]', $Text); } else { $Text = str_replace('[observer.baseurl]', '', $Text); $Text = str_replace('[observer.url]','', $Text); $Text = str_replace('[observer.name]','', $Text); $Text = str_replace('[observer.address]','', $Text); + $Text = str_replace('[observer.webname]','',$Text); $Text = str_replace('[observer.photo]','', $Text); } + + + + // Perform URL Search $urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]'; |