Page 5 of 10

Re: TinyPic Plugin

Posted: Thu Jan 01, 2009 8:16 pm
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. :)

Re: TinyPic Plugin

Posted: Thu Jan 01, 2009 8:59 pm
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

Re: TinyPic Plugin

Posted: Thu Jan 01, 2009 9:11 pm
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

Re: TinyPic Plugin

Posted: Thu Jan 01, 2009 9:40 pm
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.

Re: TinyPic Plugin

Posted: Thu Jan 01, 2009 9:51 pm
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.

Re: TinyPic Plugin

Posted: Thu Feb 26, 2009 7:50 pm
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 ?

Re: TinyPic Plugin

Posted: Fri Feb 27, 2009 2:32 am
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.

Re: TinyPic Plugin

Posted: Fri Feb 27, 2009 2:37 am
by Fridge
Thnx but solved my own problem

Code: Select all

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

Code: Select all

tinypic_links = 'url';

Re: TinyPic Plugin

Posted: Tue Mar 17, 2009 9:31 pm
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

Re: TinyPic Plugin

Posted: Thu Mar 19, 2009 6:02 am
by princexxx
Is there any Hope to Release this Mod on Subsilver2 Style?

Thanks,
Prince

Re: TinyPic Plugin

Posted: Mon Mar 23, 2009 10:13 pm
by Ahri89
Thanks! This mod is nice and useful *_*

Re: TinyPic Plugin

Posted: Tue Mar 31, 2009 10:51 am
by mudassar788
Hi.

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

Waiting for your response.

Regards

Re: TinyPic Plugin

Posted: Mon Apr 06, 2009 11:21 pm
by Silverlegend
Is there any version for Subsilver2???

Re: TinyPic Plugin

Posted: Fri Apr 17, 2009 8:12 am
by dazz2k9
I Really Need The Edits For Subsilver

Re: TinyPic Plugin

Posted: Sun Apr 26, 2009 3:33 pm
by Neuropass
guys, what's going on here??? all these requests for subsilver and no body hasn't answered yet???


PLEASE SUBSILVER!!