vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Imageshack & MEGAUPLOAD Uploader (https://vborg.vbsupport.ru/showthread.php?t=169863)

Mosh 07-03-2008 12:17 PM

Quote:

Originally Posted by mannaraja (Post 1565744)
thanks thanks thanks:up:

You downloaded this, if you are using this, please click Mark as Installed.

jbear6 07-03-2008 01:48 PM

Quote:

Originally Posted by jbear6 (Post 1562067)
Is there an easy way to limit this to just one forum? For instance designating a "Photo Forum" where threads with photos are posted?

Thanks,
Jbear6

I haven't installed this, but would appreciate it if you could answer my question. If it is possible to easily limit this to one forum I would install it.

Thanks,
Jbear6

Mosh 07-03-2008 11:59 PM

Quote:

Originally Posted by jbear6 (Post 1565815)
I haven't installed this, but would appreciate it if you could answer my question. If it is possible to easily limit this to one forum I would install it.

Thanks,
Jbear6

Sorry, did not see that the first time around.

Limiting it to one forum should be as easy as adding template conditionals to both of the templates imageshack and imageshack_quickedit:

Code:

<if condition="$forum[forumid] == xx">
<--rest of template  here-->
</if>

Where xx is the forum ID of the forum you want it displayed. I would put it around both the Imageshack and MEGAUPLOAD code seperately.

jbear6 07-04-2008 12:47 AM

Quote:

Originally Posted by Mosh (Post 1566309)
Sorry, did not see that the first time around.

Limiting it to one forum should be as easy as adding template conditionals to both of the templates imageshack and imageshack_quickedit:

Code:

<if condition="$forum[forumid] == xx">
<--rest of template  here-->
</if>

Where xx is the forum ID of the forum you want it displayed. I would put it around both the Imageshack and MEGAUPLOAD code seperately.

Thank you Mosh, I will give it a try tomorrow :D

Jbear6

TheInsaneManiac 07-04-2008 04:21 AM

Quote:

Originally Posted by Mosh (Post 1563471)
Sorry, I am not planning to. Until I just read your post, I had never heard of sendspace.

But you never know, one day I may feel the urge to release a hack based on sendspace, so I will not say I will definitely not release a sendspace hack, it is however, very unlikely that I will.

Would you mind if I edited your code to support sendspace, re-released it, and put you in as a co-author?


Quote:

Originally Posted by Mosh (Post 1564643)
Well, I looked into it, and there is nothing available for premium uploads that resemble what the free Filebox does, so no dice, sorry :(

PM me, I have a lifetime Megaupload premium account where I can create a filebox that will never delete the files. Although since I only have 250 GB of space, I empty it out every 6 months. So I think 180 days is better than 90, wouldn't you say so?

Mosh 07-04-2008 11:19 AM

Quote:

Originally Posted by TheInsaneManiac (Post 1566417)
Would you mind if I edited your code to support sendspace, re-released it, and put you in as a co-author?

You are more than welcome to code an add-on hack to this hack or use my code as a framework (like the Photobucket hack, Dannyloski was granted this same permission) to just support sendspace and make sure it does not conflict with this hack at all.

But you do not have my permission use the entire code with it added in (i.e not with Imageshack, MEGAUPLOAD and sendspace in the same hack), sorry :(

Quote:

Originally Posted by TheInsaneManiac (Post 1566417)
PM me, I have a lifetime Megaupload premium account where I can create a filebox that will never delete the files. Although since I only have 250 GB of space, I empty it out every 6 months. So I think 180 days is better than 90, wouldn't you say so?

I have PM'ed you about that.

TheInsaneManiac 07-04-2008 03:20 PM

Quote:

Originally Posted by Mosh (Post 1566641)
You are more than welcome to code an add-on hack to this hack or use my code as a framework (like the Photobucket hack, Dannyloski was granted this same permission) to just support sendspace and make sure it does not conflict with this hack at all.

But you do not have my permission use the entire code with it added in (i.e not with Imageshack, MEGAUPLOAD and sendspace in the same hack), sorry :(



I have PM'ed you about that.

Nah lol, I just wanted sendspace. I actually just wish you would have released them all separate. That way people can decide which ones they wish to install. I guess two isn't that bad, at least they can disable one or the other.

Mosh 07-04-2008 11:51 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1566742)
Nah lol, I just wanted sendspace. I actually just wish you would have released them all separate. That way people can decide which ones they wish to install. I guess two isn't that bad, at least they can disable one or the other.

It was easier to code them in one hack, and more work as separate hacks, so I went down the easier road, and that is also why you can disable one or the other.

jbear6 07-05-2008 08:53 PM

Quote:

Originally Posted by Mosh (Post 1566309)
Limiting it to one forum should be as easy as adding template conditionals to both of the templates imageshack and imageshack_quickedit:

Code:

<if condition="$forum[forumid] == xx">
<--rest of template  here-->
</if>

Where xx is the forum ID of the forum you want it displayed. I would put it around both the Imageshack and MEGAUPLOAD code seperately.

Thanks Mosh, but that did not work. I think it is because there are several instances of
Code:

</if>
within each template before the last line of code in each.

The mod did work for all forums after I removed the conditional.

Thanks again,
Jbear6

SuperTaz 07-06-2008 03:54 AM

I installed it and now it shows both imageshack and megauploader twice...any fix for this?


All times are GMT. The time now is 09:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01321 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete