News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Auto BBC

Started by JayBachatero, August 02, 2006, 12:10:49 AM

Previous topic - Next topic

JayBachatero

Link to Mod

This was originally posted to Tips & Tricks by [Unknown] - packaged as a mod by JayBachatero

http://www.simplemachines.org/community/index.php?topic=1213.0

this will add bbc tags to your posts automatically.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

denislici

Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

DrDom

hi,
I have downloaded this package sveral times today and each time is says there is a CRC Error with the package, I have used 7 zip, power archiver and Izarc, all give errors, I have downloaded other packages today and they worked without error.
Could you please check the package and / or upload a fresh one please.

denislici


i downloaded it without any problem....
Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

DrDom

#4
hi,
very odd, i downloaded it a few minutes ago, and it was still giving a CRC error, yet other packages i have downloaded have been fine, i'll try again and see what happens.

EDIT: an update on what i have doen

appologies theres a lot of "if's" in this post

PowerArchiver
If I use Power Archiver it gives a CRc Error and cant continue.

Izarc
If I use Izarc, it opens a window displaying "fr.19491.0.autobbc.tar" size is 1,724,280,231

If I select to open I get a blank window, If I select extract this file, it extracts with 0 bytes.

7zip
I get, Data error in 'fr.19491.0.autobbc.tar'. File is broken.


This is how i managed to get it to work.
usong 7zip, i select to open the archive, when i get the window telling me the file is broken, i click close , and then PowerArchiver runs and opens the tar file, i then run 7 zip and make it a zip file, the package then loads and executes as it should.


Can I ask you Jay, what you are using to make your archives please, as I have seen other posts in the past refering to problems unarchiving.

JayBachatero

I use the archive tool that comes default in ubuntu.  I'll reupload the package in a bit.

Try this one out.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

DrDom

hi,
Thank you Jay, that worked perfectly.
Have you any idea what was wrong?

JayBachatero

No not at all.  I just repackaged it.  Things go wrong from time to time.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Itch™

Another great mod Jay! Good work!

JayBachatero

Not really my mod.  It's [Unknown]'s  mod.  I just updated it for RC2 and added it to mod site :P.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

invisiblex

ARREST HIM FOR COPYRIGHT VIOLATION  >:(

Vinspire

Jay, i've successfully install this mod but i cant see the BBC tag ... whats the code ?

Vinspire

Found it :P

Profile -> Look and Layout Preferences

JayBachatero

Quote from: invisiblex on August 03, 2006, 03:14:49 AM
ARREST HIM FOR COPYRIGHT VIOLATION  >:(

Umm do you have access to the team boards or something?  Ummm no, so you don't know what is going on.  I have permission to do so and I stated that it's not my mod.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

littleone


Anyway to get this to work in the Quick Reply Box?

LostProphecy

this looks interesting but what exactly does it do?

does it auto-fill in the code you want when you start to type it...


for instance if i type in [i will it auto insert [img] or something?
Angelus Ex Quo Nox

littleone

My Error log is now flooded with these:

8: Undefined index: bbc_before
File: /home/xxxxxxxx/public_html/forum/Themes/default/languages/Post.english.php (eval?)
Line: 1017

JayBachatero

#17
Quote from: LostProphecy on August 03, 2006, 11:37:00 PM
this looks interesting but what exactly does it do?

does it auto-fill in the code you want when you start to type it...


for instance if i type in [i will it auto insert [img] or something?


If you type [i] it will be there automatically and you wont have to type in each time you post.  Some people have a prefered style for posting so it comes in handy for them.

Littleone ill look into it now.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Ok in Post.template.php
Code (find) Select

if ($message == '' && empty($settings['disallow_auto_bbc']) && isset($options['bbc_before'], $options['bbc_after']))
{

if (trim($options['bbc_before']) != '' && trim($options['bbc_after']) != '')


Code (replace) Select

if ($message == '' && empty($settings['disallow_auto_bbc']) && isset($options['bbc_before']) && isset($options['bbc_after']))
{
if (trim(@$options['bbc_before']) != '' && trim(@$options['bbc_after']) != '')
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

littleone

Quote from: Jay The Code Monkey on August 04, 2006, 02:02:49 PM
Ok in Post.template.php
Code (find) Select

if ($message == '' && empty($settings['disallow_auto_bbc']) && isset($options['bbc_before'], $options['bbc_after']))
{

if (trim($options['bbc_before']) != '' && trim($options['bbc_after']) != '')


Code (replace) Select

if ($message == '' && empty($settings['disallow_auto_bbc']) && isset($options['bbc_before']) && isset($options['bbc_after']))
{
if (trim(@$options['bbc_before']) != '' && trim(@$options['bbc_after']) != '')


Thanks, also is there a way to get this to work with the Quick Reply?

Advertisement: