TinyPic Plugin

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
Hippie459MN
Registered User
Posts: 937
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: TinyPic Plugin

Post by Hippie459MN »

Well, I fixed that issue. You can now have the upload box on any edit post if you so wish with this simple fix...

Open: styles/prosilver/template/posting_editor.html
FIND:

Code: Select all

    <!-- //Tinypic Plugin MOD by tinypic.com - start -->
    <!-- IF S_SHOW_UPLOAD_BOX --><li id="upload-panel-tab"><a href="#tabs" onclick="subPanels('upload-panel'); showTinypicPlugin(); return false;"><span>{L_ADD_UPLOAD}</span></a></li><!-- ENDIF -->
    <!-- //Tinypic Plugin MOD by tinypic.com - end -->
REPLACE WITH:

Code: Select all

    <!-- //Tinypic Plugin MOD by tinypic.com - start -->
    <li id="upload-panel-tab"><a href="#tabs" onclick="subPanels('upload-panel'); showTinypicPlugin(); return false;"><span>{L_ADD_UPLOAD}</span></a></li>
    <!-- //Tinypic Plugin MOD by tinypic.com - end -->
Worked here. :D

Hope that helps. :)

User avatar
wolf30003
Registered User
Posts: 39
Joined: Thu Dec 18, 2008 7:38 pm
Location: USA
Contact:

Re: TinyPic Plugin

Post by wolf30003 »

I done the edits but the only change is that I can see the tab "upload to TinyPic"
but when I click on it I just get a blank space.

Any other ideas?
btw, I am using prosilver SE

thanks

jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: TinyPic Plugin

Post by jmjm003 »

edit: ooppss ! What he said. I should refresh my browser first.

I made changes to mine to work with the attachments settings. If I allow/show attachments, then the tinypic box shows.

Find:

Code: Select all

<!-- IF S_SHOW_UPLOAD_BOX -->
I do not have the original finds anymore. I believe this was the original code for the MOD. (found 2 times)
I replaced it with the below to work with attachments. No attachments, no tinypic.
Yes, it works with reply edits too.

Replace with

Code: Select all

<!-- IF S_SHOW_ATTACH_BOX -->
I could zip it if anyone would like to download it.
I've done the edits to the install.xml and used it with auto-mod for testing.
Image

User avatar
Hippie459MN
Registered User
Posts: 937
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: TinyPic Plugin

Post by Hippie459MN »

wolf30003 wrote:I done the edits but the only change is that I can see the tab "upload to TinyPic"
but when I click on it I just get a blank space.

Any other ideas?
btw, I am using prosilver SE

thanks
Your right, Revert back to the original code for now. I will figure it out later unless someone else does first.
jmjm003 wrote:edit: ooppss ! What he said. I should refresh my browser first.

I made changes to mine to work with the attachments settings. If I allow/show attachments, then the tinypic box shows.

Find:

Code: Select all

<!-- IF S_SHOW_UPLOAD_BOX -->
I do not have the original finds anymore. I believe this was the original code for the MOD. (found 2 times)
I replaced it with the below to work with attachments. No attachments, no tinypic.
Yes, it works with reply edits too.

Replace with

Code: Select all

<!-- IF S_SHOW_ATTACH_BOX -->
I could zip it if anyone would like to download it.
I've done the edits to the install.xml and used it with auto-mod for testing.
Problem is I have attachments disabled on my board so this would not work.

jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: TinyPic Plugin

Post by jmjm003 »

Alright, I did another quick test with just seeing if they are a member of the forum.
Find:

Code: Select all

<!-- IF S_SHOW_UPLOAD_BOX -->
Replace with:

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
If I'm correct, they should be able to see the box regardless just because they are a member of your forum.
I'm very much a rookie at this.

Fridge
Registered User
Posts: 307
Joined: Sat Nov 11, 2006 1:41 am
Location: Rotterdam, The Netherlands
Name: Martin
Contact:

Re: TinyPic Plugin

Post by Fridge »

This is a very interesting addon for my forum, so thnx to mod authorc Image

I have one question....
When uploading a image the link given is "IMG Code for Forums & Message Boards" with IMG tags included, is it possible to get the "Direct Link for Layouts" instead ?

Does anybody knows this ?

jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: TinyPic Plugin

Post by jmjm003 »

Open posting_upload_body.html and change

Code: Select all

tinypic_links = 'forum';
To

Code: Select all

tinypic_links = 'direct';
Only problem is. It gives you a link in HTML. Unless that's what you are looking for.

You might find another way of doing what you want. I just quickly tried it with direct rather than forum for the image.

Fridge
Registered User
Posts: 307
Joined: Sat Nov 11, 2006 1:41 am
Location: Rotterdam, The Netherlands
Name: Martin
Contact:

Re: TinyPic Plugin

Post by Fridge »

Thnx but solved my own problem

Code: Select all

tinypic_links = 'forum';
must be changed in...

Code: Select all

tinypic_links = 'url';

mudassar788
Registered User
Posts: 42
Joined: Sat Jan 05, 2008 5:37 pm

Re: TinyPic Plugin

Post by mudassar788 »

Hi.

I am looking for the very same thing, But I want plugin for my own image hosting instead of TinyPic. Is it possible ?

Regards

princexxx
Registered User
Posts: 82
Joined: Fri May 09, 2008 2:10 pm

Re: TinyPic Plugin

Post by princexxx »

Is there any Hope to Release this Mod on Subsilver2 Style?

Thanks,
Prince

User avatar
Ahri89
Registered User
Posts: 520
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: TinyPic Plugin

Post by Ahri89 »

Thanks! This mod is nice and useful *_*
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

mudassar788
Registered User
Posts: 42
Joined: Sat Jan 05, 2008 5:37 pm

Re: TinyPic Plugin

Post by mudassar788 »

Hi.

Is it possible to add my own mihalism image hosting script here instead of tinypic?

Waiting for your response.

Regards

Silverlegend
Registered User
Posts: 22
Joined: Mon Mar 30, 2009 8:10 pm

Re: TinyPic Plugin

Post by Silverlegend »

Is there any version for Subsilver2???

dazz2k9
Registered User
Posts: 88
Joined: Wed Feb 11, 2009 11:15 am

Re: TinyPic Plugin

Post by dazz2k9 »

I Really Need The Edits For Subsilver

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: TinyPic Plugin

Post by Neuropass »

guys, what's going on here??? all these requests for subsilver and no body hasn't answered yet???


PLEASE SUBSILVER!!

Locked

Return to “[3.0.x] MOD Database Releases”