News:

Wondering if this will always be free?  See why free is better.

Main Menu

Off-Topic BBC Tag

Started by Nick Whetstone, October 19, 2008, 04:23:34 AM

Previous topic - Next topic

Burke ♞ Knight

Then the latest file on the downloads page should work.
I installed it without any problems.

What error are you getting?

villasg

Dont have erors .
Simply dont make anything ( dont install anything )
After change the name all ok
I think the problem is from settings on my server
Run in safe mode .
And maybe have some restrictions

Burke ♞ Knight

Yes, may very well be a server issue, if not allow spaces in file names.

Smoky "Rider" Blue

hey Nascar, update for either the beta or rc?? would be nice ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Marcus Forsberg


Smoky "Rider" Blue

lol.. you are a trip!!

thanks!! :P
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Marcus Forsberg

Update
Now supporting SMF 2.0 Beta 4.

Charter members
This should work on SMF 2.0 RC1, just open package-info.xml and find:

<install for="2.0 Beta 4">

Change it to:

<install for="2.0 RC1"> (I guess)

Then, find

<uninstall for="2.0 Beta 4">

Change it to:

<uninstall for="2.0 RC1"> (I guess)

Smoky "Rider" Blue

lmao!! thanks very much!!  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Chit-Chat ChatterBox Boss

#28
Thanks Works great! ..... Only thing I might want to change the BBC Tag Icon at some point.
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

SteveW

I've installed and the tag icon when you hover over it displays "Insert Quote" instead of I'm presuming "Off topic" - Where would I fix this :) thanks
Watch the skies!!

Marcus Forsberg

Quote from: Chit-Chat ChatterBox Boss on May 15, 2009, 11:53:45 PM
Thanks Works great! ..... Only thing I might want to change the BBC Tag Icon at some point.

./Themes/defailt/images/bbc

Quote from: SteveW on May 25, 2009, 03:25:56 AM
I've installed and the tag icon when you hover over it displays "Insert Quote" instead of I'm presuming "Off topic" - Where would I fix this :) thanks

Hmm.. Can't tell without a look at Subs.php, Post.template.php (If you are on 1.1.x) and Modifcations.english.php.

SteveW

I'm using 2.0rc1

This is in Modifcations.english.php

// Post History END// Start Off-Topic BBC by Nascar
$txt['off-topic'] = 'Off-Topic:';
$txt['off-topic_desc'] = 'Off-Topic BBC Tag';
// End Off-Topic BBC by Nascar


This is the section of Subs.php it has altered:

array(
'tag' => 'quote',
'before' => '<div class="quoteheader">' . $txt['quote'] . '</div><blockquote>',
'after' => '</blockquote>',
'block_level' => true,
),
array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '(.{1,192}?)', 'quoted' => true),
),
'before' => '<div class="quoteheader">' . $txt['quote_from'] . ': {author}</div><blockquote>',
'after' => '</blockquote>',
'block_level' => true,
),
array(
'tag' => 'quote',
'type' => 'unparsed_equals',
'before' => '<div class="quoteheader">' . $txt['quote_from'] . ': $1</div><blockquote>',
'after' => '</blockquote>',
'quoted' => 'optional',
'block_level' => true,
),
array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<div class="quoteheader"><a href="' . $scripturl . '?{link}">' . $txt['quote_from'] . ': {author} ' . $txt['search_on'] . ' {date}</a></div><blockquote>',
'after' => '</blockquote>',
'block_level' => true,
),
array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '(.{1,192}?)'),
),
'before' => '<div class="quoteheader">' . $txt['quote_from'] . ': {author}</div><blockquote>',
'after' => '</blockquote>',
'block_level' => true,
),
        array(
'tag' => 'off-topic',
'before' => '<div class="off-topicheader">' . $txt['off-topic'] . '</div><div class="off-topic">',
'after' => '</div>',
'block_level' => true,
),
array(
'tag' => 'off-topic',
'type' => 'parsed_equals',
'before' => '<div class="off-topicheader">' . $txt['off-topic'] . ' $1</div><div class="off-topic">',
'after' => '</div>',
'quoted' => 'optional',
'block_level' => true,
),

array(
'tag' => 'right',
'before' => '<div style="text-align: right;">',
'after' => '</div>',
'block_level' => true,
),


Thanks :)
Watch the skies!!

PlutoDelic

any help for the Bright Forest theme (smf 2.0 rc1-1)

Electric Hermit

Quote from: SteveW on May 25, 2009, 10:11:33 AM
I'm using 2.0rc1

This is in Modifcations.english.php

// Post History END// Start Off-Topic BBC by Nascar
$txt['off-topic'] = 'Off-Topic:';
$txt['off-topic_desc'] = 'Off-Topic BBC Tag';
// End Off-Topic BBC by Nascar


Thanks :)

./Themes/default/languages/Modifications.english.php

Code (Find) Select
// Post History END// Start Off-Topic BBC by Nascar
$txt['off-topic'] = 'Off-Topic:';
$txt['off-topic_desc'] = 'Off-Topic BBC Tag';
// End Off-Topic BBC by Nascar


Code (Replace With) Select
// Post History END// Start Off-Topic BBC by Nascar
$txt['off-topic'] = 'Off-Topic:';
$txt['off-topic_alt'] = 'Off-Topic';
$txt['off-topic_desc'] = 'Off-Topic BBC Tag';
// End Off-Topic BBC by Nascar


./Sources/Subs-Editor.php


Code (Find) Select
'off-topic' => array('code' => 'off-topic', 'before' => '[off-topic]', 'after' => '[/off-topic]', 'description' => $txt['bbc_quote']),

Code (Replace With) Select
'off-topic' => array('code' => 'off-topic', 'before' => '[off-topic]', 'after' => '[/off-topic]', 'description' => $txt['off-topic_alt']),
And hermits are contented with their cells;
And students with their pensive citadels ...

William Wordsworth

hypercube

Hi can someone help me? I first had trouble installing this mod but finally it worked. But now I f**ked some things up and quotes are showing like this now:

Quote from: Me link=topic=411.msg14296#msg14296 date=1245672069

So it's not a clickable link anymore. I think it's something in subs.php.. Anybody know what could've happened?

mgburks

Using version 1.1.10 this package installs fine, and I see the BBC code, it inserts the code into the post but when the post is submitted there is no change in the post. It just looks normal.  I'm using the default theme BTW.

mforum

smf 1.1.10 - default theme

i see off-topic: , but no colored box ....  ::)

Marcus Forsberg

Try a hard refresh. Hit F5.

mforum

 :-[ yes , it works now
thank you  :)

Marcus Forsberg


Advertisement: