[Req] 3.6.x

Hoxxy

New Member
I use this myself its alot better than some plugins out there!

INSTALLATION:
Copy the file resizevbimg.js in the dir clientscript.

Open the file includes/class_bbcode.php
Search the line(~line 1887 ):

PHP:
return '<img src="' .  $link . '" border="0" alt="" />';

and replace with:

PHP:
return '<img src="' .  $link . '" border="0" alt="" id="vBCodeIMG" />';

Save and upload.

Styles & Templates > Search the SHOWTHREAD Template

Seach:
PHP:
<body onload="$onload">

Replace with:
PHP:
<body onload="$onload;vbImageResize()">

Save the template.

Styles & Templates > Search the NEWREPLY Template

Search:
PHP:
<body$onload>

Replace with:
PHP:
<body onload="$onload;vbImageResize()">

Save the template.

- Styles & Templates > Style Manager > Common Templates > headinclude

Search:
PHP:
<!-- / CSS Stylesheet -->

After, add:
PHP:
<script type="text/javascript" src="clientscript/resizevbimg.js"></script>

Save the template.


Styles & Templates > Style Manager > Main CSS > Additional CSS Definitions

add to the end:

PHP:
Code:
.vbimgcodelimit {
        cursor: pointer;
        border: dotted 1px black;
}
 

GgAcE

New Member
Thanks for the addon but it says: After, add:
Content visible to registered users only.

On like every line O_O
 

GgAcE

New Member
No clue what you mean in terms of reverse engeneering the text....

Even logged in all I see is:

INSTALLATION:
Copy the file resizevbimg.js in the dir clientscript.

Open the file includes/class_bbcode.php
Search the line(~line 1887 ):

Content visible to registered users only.

and replace with:

Content visible to registered users only.

Save and upload.

Styles & Templates > Search the SHOWTHREAD Template

Seach:
Content visible to registered users only.

Replace with:
Content visible to registered users only.

Save the template.

Styles & Templates > Search the NEWREPLY Template

Search:
Content visible to registered users only.

Replace with:
Content visible to registered users only.

Save the template.

- Styles & Templates > Style Manager > Common Templates > headinclude

Search:
Content visible to registered users only.

After, add:
Content visible to registered users only.

Save the template.


Styles & Templates > Style Manager > Main CSS > Additional CSS Definitions

add to the end:
 
Top