Reflection BBCODE

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

Previous topic - Next topic

Rik©


Reflection BBCODE
Author: SimpleTweaks - Rik©
Additional Author: NIBOGO


Link to Mod | Support Topic | My Mods



This mod adds a reflect to posted images.
Features:
- Reflection for Images
- Use [reflect]http://www.images.com/sample.gif[/reflect]
- Support SMF 1.1.X and SMF 2.0
- Supports the Enhanced Quick Reply 2.0 by Kirby



Languages

english + english-utf8
brazilian + brazilian-utf8 (by Costa)
dutch + dutch-utf8

spanish _es+ spanish_es-utf8
spanish_latin + spanish_latin-utf8
SimpleTweaks welcomes translations.
Please submit your translation @ the support topic or SimpleTweaks site.



Compatibility

- 2.0 RC3
- 2.0 RC2
- 1.1.X



Copyright & Credits

Reflection.js
Copyright (c) 2005-2008, cow.neondragon.net
All rights reserved.


By downloading and/or using Reflection BBCODE you agree to adhere to the following conditions:
- You are FREE to use this MOD on your SMF Forums, however, in no way can the Author/Creator of this MOD be held responsible under any circumstances.
- You understand that this MOD is provided "as is" and the said Author/Creator will not be held responsible for any use and/or misuse of this MOD by any and/or all members on your forum(s).
- You are FREE to redistribute this MOD in its original, released state ONLY!




Changelog

! bug fix | x changed | + added feature | - Info only

1.0.5 (28 Feb 2010)
!  Fixed 'Failed Modification Subs-Editor.php' bug
x New bbcode button image
x New demo image
+ Spanish-es support

1.0.4 (26 Feb 2010)
x Reflection.js v2.0
-  Support for Google Chrome

1.0.3 (20 Feb 2010)
x New developer
x New readme file
+ Dutch translation
-  Mod adopted by Rik©

1.0.2 (08 Oct 2009)
x New readme file
+ Added support for SMF 1.1.10
+ Brazilian translation thanks to Costa

1.0. (10 September 2008)
- Initial Release by NIBOGO




cme1st2302

The "Go To Mod" picture link up top goes to the wrong mod.  Just thought I'd let you know.
SMF Version: 1.1.11
SimplePortal Version: 2.3.2

Admin

He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!

jayc7176

This is an Awsom mod! can't wait to Try it out!!!  Thanks!
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5


jayc7176

#4
Hey Mod installed Perfectly on Default theme but doesn't do anything at all. .  --

bbc code comes up fine ... the Image shows up but no Reflection..

Any help will be Appriciated


These r the mods  i have :)

Mod Name     Version     
1.    Ad Managment    2.3    
2.    FavIcon    1.1 
3.    Integrate Lightbox    1.6    
4.    SMF 1.0.14 / 1.1.6 Update    1.0 
5.    Integrate Lightbox    1.6    
6.    Reflect BBCODE    1.0    
7.    Images On Board    1.0 
8.    SMF 1.0.14 / 1.1.6 Update    1.0    
9.    Advanced Login Form    1.0    
10.    Custom Profile Field Mod    3.19    
11.    URL Popup    1.0    
12.    Users Online Today Mod    1.4.0    
13.    SMF 1.0.14 / 1.1.6 Update    1.0    
14.    Display Age and Location next to posts    1.0    
15.    SMF Gallery Lite    1.8.3    
16.    TinyPortal    0.983    
17.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0 
18.    Auto Embed Video/Audio Clips    3.1.2    
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Sabre™

Quote from: jayc7176 on September 19, 2008, 10:42:18 PM
Hey Mod installed Perfectly on Default theme but doesn't do anything at all. .  --
bbc code comes up fine ... the Image shows up but no Reflection..

Check that the reflect.js is installed into your default theme folder/dir.


@ NIBOGO
Hi mate.
I have the image resize mod installed to keep Large images from overflowing the page.
The reflection mod lets the images expand to their full size.
Where would I have to add the line of code to stop this from happenin?
Would it be the display template, or the subs?
And what is added?
If you dont know what Im talkin about, click [HERE] to see.

Thank You champ :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Nibogo

Quote from: jayc7176 on September 19, 2008, 10:42:18 PM
Hey Mod installed Perfectly on Default theme but doesn't do anything at all. .  --

bbc code comes up fine ... the Image shows up but no Reflection..

Any help will be Appriciated


These r the mods  i have :)

Mod Name     Version     
1.    Ad Managment    2.3     
2.    FavIcon    1.1 
3.    Integrate Lightbox    1.6     
4.    SMF 1.0.14 / 1.1.6 Update    1.0 
5.    Integrate Lightbox    1.6     
6.    Reflect BBCODE    1.0     
7.    Images On Board    1.0 
8.    SMF 1.0.14 / 1.1.6 Update    1.0     
9.    Advanced Login Form    1.0     
10.    Custom Profile Field Mod    3.19     
11.    URL Popup    1.0     
12.    Users Online Today Mod    1.4.0     
13.    SMF 1.0.14 / 1.1.6 Update    1.0     
14.    Display Age and Location next to posts    1.0     
15.    SMF Gallery Lite    1.8.3     
16.    TinyPortal    0.983     
17.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0 
18.    Auto Embed Video/Audio Clips    3.1.2     

You have installed twice the Lightbox Mod xD , maybe this mod have any bug with the Lughtbox mod or you dont have the reflection.js in your /Themes/default

Quote from: Sabre™ on September 20, 2008, 05:07:18 PM
Quote from: jayc7176 on September 19, 2008, 10:42:18 PM
Hey Mod installed Perfectly on Default theme but doesn't do anything at all. .  --
bbc code comes up fine ... the Image shows up but no Reflection..

Check that the reflect.js is installed into your default theme folder/dir.


@ NIBOGO
Hi mate.
I have the image resize mod installed to keep Large images from overflowing the page.
The reflection mod lets the images expand to their full size.
Where would I have to add the line of code to stop this from happenin?
Would it be the display template, or the subs?
And what is added?
If you dont know what Im talkin about, click [HERE] to see.

Thank You champ :)

mmm maybe i can check that bug later , thanks for report  :)

jayc7176

I can confirm the Mod works fine with LightBox mod..!

I have it working on the default theme but for some reason it doesn't work on Custom Theme.

I think issue maybe within display.Template?!

While doing the Edits i notice  it says to  Find in Display .Template

Find:
'img' => array('code' => 'img', 'before' => '', 'description' => $txt[435]),

But this is no where in Display  it is in Post.Template instead , could there be an issue here?many Thanks for all the help .


I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Nibogo

Quote from: jayc7176 on September 25, 2008, 01:33:24 PM
I can confirm the Mod works fine with LightBox mod..!

I have it working on the default theme but for some reason it doesn't work on Custom Theme.

I think issue maybe within display.Template?!

While doing the Edits i notice  it says to  Find in Display .Template

Find:
'img' => array('code' => 'img', 'before' => '', 'description' => $txt[435]),

But this is no where in Display  it is in Post.Template instead , could there be an issue here?many Thanks for all the help .


You have to add the code of my mod to your index.template.php and the post.template for show the buttom

The display.template edit if only for the people of have installed the Enhaced Quick Reply

Costa

Great MOD!
A really GREAT MOD!

Translation to brazilian
Modifications.brazilian.php$txt['reflect'] = 'Imagem com reflexo';

Farewell folks
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

TheMaker



johnsonbobby

any way to angle the reflection ?
mine shows the reflection but its a "straight down" reflection .

johnsonbobby

any way to angle the reflection ?
mine shows the reflection but its a "straight down" reflection .

i would really like to have the reflection angled . but i dont know how to do that .

Nibogo

Quote from: johnsonbobby on May 28, 2009, 07:31:40 PM
any way to angle the reflection ?
mine shows the reflection but its a "straight down" reflection .

i would really like to have the reflection angled . but i dont know how to do that .

Maybe if you know javascript

devil_jin

Hi NIBOGO,

I am using SMF 2.0 RC 1.2 with The Carbon Orange Theme.

I installed the Mod and checked that :

<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/reflection.js"></script>

is showing befor </Head>

I also copied the reflection.js to the The Carbon Orange Theme folder.

The button shows on the forum but when I use it the image is not reflected.

Also I checked Post.template.php to find :

'img' => array('code' => 'img', 'before' => '', 'description' => $txt[435]),

and replace it with

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

But in Post.template.php I am unable to find

'img' => array('code' => 'img', 'before' => '', 'description' => $txt[435]),


Thanks for helping..

Shortie


In the mod if you find

<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/reflection.js"></script>

and change to this

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script>

You wont have to copy the .js file to each theme

Shortie



asifnur

doesnt work with 1.1.10 !!! OMG FIX PLZ I WANT THIS MOD


Membre

Can you add spanish_es ? thanks :)

Advertisement: