Jump to content

Archived

This topic is now archived and is closed to further replies.

Barand

Cleaning up signatures

Recommended Posts

Evidently the bbcode from the old forum isn't recognised by the new. So what is the correct SMFese for things like url links, images, quotes etc?

Based on the principle of experiment and see, I'm hoping if I try some here I'll answer my own question

(url)link(/url) -- substitue square brackets for (..)
[url=http://members.aol.com/barryaandrew/baagrid/baagridguide.html]http://members.aol.com/barryaandrew/baagrid/baagridguide.html[/url] baaGrid

(img)link(/img)
[img]http://members.aol.com/barryaandrew/barand.gif[/img]

(code)the code(/code)
[code]php_info();[/code]

Does it accept (php) .. (/php)  EDIT: guess so, but no border,  better size than (code)
[code=php:0]
// comment
if ($x)
    {
    php_info();
    }
[/code]


EDIT:
ANSWER: So just use simple start and end tags and no attributes

Share this post


Link to post
Share on other sites
Please read the [url=http://www.phpfreaks.com/forums/index.php?action=help;page=post#bbcref]BBCode Reference[/url] which provides a list of all BBCodes.

Share this post


Link to post
Share on other sites
Now that's sorted, How do I actually edit my sig?

"Profile >> edit account settings" doesn't give the option

EDIT : Just seen your reply to SA in next topic

Share this post


Link to post
Share on other sites
Barand, just so you know, SMF has a [nobbc][nobbc][/nobbc][/nobbc] that will not parse the bbcode when used. So you don't have to use ( ) to demonstrate how it is used. ;)

[nobbc][b]I'm not bold![/b][/nobbc]

But the link wildteen88 posted should be looked at. It is rather useful.

Share this post


Link to post
Share on other sites
[quote author=akabugeyes link=topic=98975.msg391107#msg391107 date=1151951838]
Barand, just so you know, SMF has a [nobbc][nobbc][/nobbc][/nobbc] that will not parse the bbcode when used. So you don't have to use ( ) to demonstrate how it is used. ;)

[nobbc][b]I'm not bold![/b][/nobbc]

But the link wildteen88 posted should be looked at. It is rather useful.
[/quote]
Thanks for the tip.

Share this post


Link to post
Share on other sites
Since it was mentioned above about the code tag and php tag...
The code tag will also do php highlight if it has an opening php tag.  For example
[code]<?php
echo 'Hello from colorized php';
?>[/code]

[code]I'm happy htmls
<?php
echo 'But I\'m even happier php.';
?>
Ohhh back to the sad html :([/code]
[code]<?php
echo 'php with opening tag but no closing tag';
[/code]
Also the text size and other stylistic attributes for the code block can be editted in style.css.

Share this post


Link to post
Share on other sites
You can also take a look at [url=http://docs.simplemachines.org/index.php?board=5.0]User Section in SMF Doc site[/url] for reference.

Share this post


Link to post
Share on other sites
Also Barand, you have probably worked it out now, but for URL tags you can also link normal text by:

[nobbc][url=http://www.nmcmahon.co.uk]My Website[/url][/nobbc]

Which produces:
[url=http://www.nmcmahon.co.uk]My Website[/url]

Share this post


Link to post
Share on other sites
PHP tags at last! Now if only it weren't for the fact that it used the <font> tag, things would be even better!

Share this post


Link to post
Share on other sites
The php tag helps out a lot, I like it.

Share this post


Link to post
Share on other sites
[quote author=moberemk link=topic=98975.msg391709#msg391709 date=1152064843]
PHP tags at last! Now if only it weren't for the fact that it used the <font> tag, things would be even better!
[/quote]
The php highlighting is controled by PHP's highlight function which uses font in PHP 4 and span in PHP 5.

Share this post


Link to post
Share on other sites
You should see a [img]http://www.phpfreaks.com/forums/Themes/default/images/icons/modify_inline.gif[/img] icon to the right of any message you can edit.  Its by itself and doesn't have any text next to it.  Try giving that a click and you might be surprised /wink

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.