Jump to content

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
Link to comment
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.
Link to comment
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.
Link to comment
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.
Link to comment
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]
Link to comment
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.
Link to comment
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.