News:

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

Main Menu

Reflection BBCODE

Started by Rik©, September 19, 2008, 07:43:00 AM

Previous topic - Next topic

Rik©

Quote from: Membre on February 26, 2010, 09:38:02 AM
Can you add spanish_es ? thanks :)
Yes, is it the same as spanish_latin?
Quote from: spanish_latinImage Reflection = Imagen Reflejada

-Rik©


waruna

The test failed.  :-[

Execute Modification   ./Sources/Subs-Editor.php   Test failed

It says:

Find
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt['image']),

Add before:

'reflect' => array('code' => 'reflect', 'before' => '[reflect]', 'after' => '[/reflect]', 'description' => $txt['reflect']),



Subs-Editor.php attached  ;D .. Thank you!  :)

Trust of Lust

Rik©

Quote from: waruna on February 26, 2010, 11:52:56 AM
The test failed.  :-[

Execute Modification   ./Sources/Subs-Editor.php   Test failed

It says:

Find
'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt['image']),

Add before:

'reflect' => array('code' => 'reflect', 'before' => '[reflect]', 'after' => '[/reflect]', 'description' => $txt['reflect']),



Subs-Editor.php attached  ;D .. Thank you!  :)
Thanks for the 'Bug Report'.
I checked it and the bug is assigned.
Looks like the '$context['bbc_tags']' is formatted differently in RC2.
I will fix it asap as it has a 'high' priority.
Later tonight i hope to release the fix.

-Rik©

waruna

Oh okay! ;). Thanks Rik© for the response :). Great and interesting mod you have here.
Trust of Lust

Rik©

Quote from: waruna on February 26, 2010, 01:47:40 PM
Oh okay! ;). Thanks Rik© for the response :). Great and interesting mod you have here.
I took over this mod from NIBOGO but haven't had the time to take a closer look at it.
I only updated the javascript file and added dutch.
But since this bug breaks the mod in RC2 i will have to fix this asap.

-Rik©

Rik©

I resolved the 'failed test subs-editor.php' bug  ;D
Also added the tag to the 'Bulletin Board Code Settings' (Select the tags allowed to be used).

Tomorrow i'll release RBBC 1.0.5

-Rik©

Membre

Quote from: Rik© on February 26, 2010, 10:42:43 AM
Quote from: Membre on February 26, 2010, 09:38:02 AM
Can you add spanish_es ? thanks :)
Yes, is it the same as spanish_latin?
Quote from: spanish_latinImage Reflection = Imagen Reflejada

-Rik©

Yep :)
But
Imagen Reflejada = Reflected Image
Reflejo de Imagen = Image Reflection

Rik©

I'll stick with NIBOGO's spanish (imagen reflejada) since he's language moderator AND the original author of Reflection BBCODE  ;D

-Rik©

aw06

#29
Hey ric, slight flaw in this mod .... if you have smf set to recize images when you use the reflec that is ignored and the actual image size is posted....

Is there a fix ?? Using SMF 2.0 Rc3

Also changing this value don't seem to have any effect .. i want to make the reflection a little smaller

var Reflection = {
defaultHeight : 0.5,


Disabling mod until these things addressed 8)
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Rik©

Quote from: aw06 on March 30, 2010, 07:31:35 AM
Hey ric, slight flaw in this mod .... if you have smf set to recize images when you use the reflec that is ignored and the actual image size is posted....

Is there a fix ?? Using SMF 2.0 Rc3
Thanks for the 'Bug Report'.
I'll look into it when i've released SIS v3.1.0

Quote from: aw06
Also changing this value don't seem to have any effect .. i want to make the reflection a little smaller

var Reflection = {
defaultHeight : 0.5,


Disabling mod until these things addressed 8)
Read this if you want to customize the reflection.
Maybe i will make it configurable in the ACP...

-Rik©

aw06

Well when i adjust the opacity that works...

so i need to add this value ??

class="reflect rheight33"  ???
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Rik©

Quote from: aw06 on March 30, 2010, 09:22:44 AM
Well when i adjust the opacity that works...

so i need to add this value ??

class="reflect rheight33"  ???
At the moment the mod uses class="reflect rheight33" (33% the height of the original image).
If you want to change this you'll have to edit subs.php (make a backup!)

- Open /Sources/Subs.php
- Find:
'content' => '<img src="$1" alt="" border="0" class="reflect rheight33" />',
- Replace with
'content' => '<img src="$1" alt="" border="0" class="reflect rheight66" />',
This will give the reflection 66% the height of the original image.

-Rik©



aw06

Cool, will make changes when you release update ... i actutally want it 33% of image
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

TheListener

This is a rather an unusual mod.

Looks good too.

May I suggest a way for members to turn the function off when making a post?

Just a thought.

aw06

Quote from: Brack1 on April 18, 2010, 08:34:36 PM
This is a rather an unusual mod.

Looks good too.

May I suggest a way for members to turn the function off when making a post?

Just a thought.

this only works if the users puts the image in the reflect tags..
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

TheListener

I didn't think about it properly until after I had logged off for the night.

Oops

XxN!N3

Turkish Translation

$txt['reflect'] = 'Resim Yansıması';

Rik©

Quote from: xxnine on June 16, 2010, 03:23:25 PM
Turkish Translation

$txt['reflect'] = 'Resim Yansıması';
Thanks.
Will be added to a new release.

-Rik©

LHW

Quote from: Rik© on March 30, 2010, 09:15:20 AM
Maybe i will make it configurable in the ACP...

-Rik©

Suggestion for ya, Rik©: Add an attribute to the code, so people can post what they wish.  Something along the lines of [reflect height=66] for a 66% value.

Just an idea. 8)


Advertisement: