The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Tinypic Uploader For New thread, New reply, and Quick reply. Details »» | |||||||||||||||||||||||||||
Tinypic Uploader For New thread, New reply, and Quick reply.
Developer Last Online: Dec 2014
Go here if you want to tweak it/switch to your language:
http://tinypic.com/developer.php (keep in mind doing so will change the code below,just change it to suit your needs) For newthread template: find: PHP Code:
HTML Code:
<div class="blockrow"> <script type="text/javascript"> tinypic_layout = 'narrow'; tinypic_type = 'both'; tinypic_links = 'forum'; tinypic_language = 'en'; tinypic_search = 'false'; tinypic_autoload = false; </script> <script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script> <input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></div> ================================================== ======================= For newreply template: find: PHP Code:
HTML Code:
<div class="blockrow"> <script type="text/javascript"> tinypic_layout = 'narrow'; tinypic_type = 'both'; tinypic_links = 'forum'; tinypic_language = 'en'; tinypic_search = 'false'; tinypic_autoload = false; </script> <script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script> <input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></div> ================================================== = for showthread_quickreply: find: PHP Code:
HTML Code:
<li class="editor_control_group_item"><script type="text/javascript"> tinypic_layout = 'narrow'; tinypic_type = 'both'; tinypic_links = 'forum'; tinypic_language = 'en'; tinypic_search = 'false'; tinypic_autoload = false; </script> <script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script> <input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></li> ================================================== ========================= I am assuming this would work as a widget too. Show Your Support
|
Comments |
#12
|
||||
|
||||
Quote:
Code:
<img src="{vb:stylevar imgdir_editor}/spelling.png" class="imagebutton" id="{vb:raw editorid}_cmd_spelling" width="20" height="20" alt="{vb:rawphrase check_spelling}" /> </vb:if> <div><script type="text/javascript"> tinypic_layout = 'narrow'; tinypic_type = 'both'; tinypic_links = 'forum'; tinypic_language = 'en'; tinypic_search = 'false'; tinypic_autoload = false; </script> <script src="http://plugin.tinypic.com/j/plugin.js" type="text/javascript"></script> <input type="button" value="TinyPic Plugin" onclick="javascript:showTinypicPlugin();"/></div> <div> <div><img src="{vb:stylevar imgdir_editor}/resize_0.gif" |
#13
|
|||
|
|||
Wow, nice mod guy. *Installed.
EDIT: How can I shrink the drop down box? When I click on tinypic plugin its very long. Edit 2: By the way I'm on vBulletin 3.8.4 |
#14
|
||||
|
||||
That's the only size, sorry.
|
#15
|
||||
|
||||
Quote:
Thanks for the effort mate!! :up: |
#16
|
||||
|
||||
What do you have your quick reply options set to?
options>message posting and editing options>Yes, Click Not Required? |
#17
|
||||
|
||||
Yes! (Yes, Click Not Required)
|
#18
|
||||
|
||||
Wow,I don't get it then.
|
#19
|
|||
|
|||
Ladies and gentlemen, boys and girls, prepare to be amazed as I prove to you all, where there is a will, there is always a way. How would you like to have a tinypic plugin like the screen shot below?
Or maybe you prefer something like this? Thanks to Grayfox from GamerzCreed.com You can. This is how you can do it. First, download the attachment included in this post and put it in your forums/clientscript/ directory via your favorite FTP client. In the newthread template from vbulletin 4.0.1: find: PHP Code:
If your running vbulletin 3.8.4, then search for: PHP Code:
put the following code above it: PHP Code:
In the newreply template from vbulletin 4.0.1: find: PHP Code:
If your running vbulletin 3.8.4, then search for: PHP Code:
put the following code below it: PHP Code:
There is one line in the above two codes that you will need to change in order to make it work and three other ones that are optional. The three optional ones include the following and are marked in red: 1. <legend>TinyPic Uploader</legend> 2. <div>Upload your images to TinyPic from here.</div> 3. tinypic_layout = 'wide'; The first two are just so you can have it say whatever you want and the last line is so you can either have the tinypic layout from screen shot one or from screen shot two. If you want the layout from screen shot one put 'narrow'; If you want the layout from screen shot two put 'wide'; The code that you will need to change is the following and is marked in red: 1. <script src=" http://yoursite.com/forums/clientscript/Tinypic plugin.js " That's the URL that's pointing to the script you uploaded onto your server earlier. Just change it to your own sites URL. I wont go into showthread_quickreply since some people were having problems with it. But at least you have more options now. |
#20
|
|||
|
|||
Thanks for posting it here.
It was a quick edit. So have fun guys, Use it wisely |
#21
|
|||
|
|||
This is a great code mod! Only problem is that the TinyPic button does not appear when editing a post. It would be great if the template mods for this were included as well...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|