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-06-2008 07:28 AM

Quote:

Originally Posted by Warden-B- (Post 1567863)
I installed it and now it shows both imageshack and megauploader twice...any fix for this?

Please elaborate.

Can you tell me:
  • Where it is showing twice? (please indicate each location)
  • What actions are you taking, when it shows twice?
  • Did you have a previous version of this hack installed? If you had, what version?
  • If you have, have you tried reverting the imageshack and imageshack_quickreply templates in all your styles?
  • Does it happen with each and every style? Or just specific styles?

SuperTaz 07-07-2008 02:42 AM

Quote:

Originally Posted by Mosh (Post 1567966)
Please elaborate.

Can you tell me:
  • Where it is showing twice? (please indicate each location)
  • What actions are you taking, when it shows twice?
  • Did you have a previous version of this hack installed? If you had, what version?
  • If you have, have you tried reverting the imageshack and imageshack_quickreply templates in all your styles?
  • Does it happen with each and every style? Or just specific styles?

It is showing twice in the quick reply area.
When you activate the quick reply, it shows two of both.
No previous version was ever installed.
I never reverted. The site is a brand new install of 3.7.0 and is only a few months old.
Yes. Each style shows this.

Here is a screenshot of the double uploaders.

Mosh 07-07-2008 05:28 AM

Quote:

Originally Posted by Warden-B- (Post 1568670)
It is showing twice in the quick reply area.
When you activate the quick reply, it shows two of both.
No previous version was ever installed.
I never reverted. The site is a brand new install of 3.7.0 and is only a few months old.
Yes. Each style shows this.

Here is a screenshot of the double uploaders.

I am pretty sure you have installed another hack that affect quick reply, which also means it affects this hack. What hack is it? As it is adding an extra </fieldset> to the SHOWTHREAD template and as a consequence you are getting Imageshack and MEGAUPLOAD showing twice.

If I am correct in my assumption, then turning off that hack will stop mine showing up twice (can you confirm this please?). And if that is the case, then the solution will probably be manually editing a template and editing a plugin.

SuperTaz 07-07-2008 06:04 AM

Quote:

Originally Posted by Mosh (Post 1568777)
I am pretty sure you have installed another hack that affect quick reply, which also means it affects this hack. What hack is it? As it is adding an extra </fieldset> to the SHOWTHREAD template and as a consequence you are getting Imageshack and MEGAUPLOAD showing twice.

If I am correct in my assumption, then turning off that hack will stop mine showing up twice (can you confirm this please?). And if that is the case, then the solution will probably be manually editing a template and editing a plugin.

I do have another hack..This one:

https://vborg.vbsupport.ru/showthread.php?t=180330

For now I will disable yours till I can find a way to use them both. I am not a coder, but I will have my webhost look into it for me.

And yes, when I disabled the hack above, yours does work fine.

Mosh 07-07-2008 06:55 AM

Quote:

Originally Posted by Warden-B- (Post 1568801)
I do have another hack..This one:

https://vborg.vbsupport.ru/showthread.php?t=180330

For now I will disable yours till I can find a way to use them both. I am not a coder, but I will have my webhost look into it for me.

And yes, when I disabled the hack above, yours does work fine.

I had a quick look at the hack you posted about and here is a quick solution, I will not post a step-by-step guide (as it is not one of my hacks that you want this to work with), but it should now only show 1 instance of Imageshack and MEGAUPLOAD:
  1. Copy the contents of the imageshack template and paste into the phpkd_aqr_showthread_quickreply template where you want it shown.
  2. In Plugin Manager, edit the Imageshack Image Upload (5) plugin.
    Near the bottom, find:
    PHP Code:

    if ($imageshack_qr == 1

    Directly above it add:
    PHP Code:

    $imageshack_qr 0


So if does not work and you can not figure it out from the above simple instructions, then you will have to post in the other hack's thread as my hack is a lot simpler than that one.

Mosh 07-09-2008 07:16 AM

Quote:

Originally Posted by jbear6 (Post 1567663)
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

You did not do the below, you just put it at the beginning and end of each template. You need to do it 4 times, that is the imageshack and megaupload code in the 2 templates.
Quote:

Originally Posted by Mosh (Post 1566309)
I would put it around both the Imageshack and MEGAUPLOAD code seperately.


jbear6 07-09-2008 02:02 PM

Quote:

Originally Posted by Mosh (Post 1570792)
You did not do the below, you just put it at the beginning and end of each template. You need to do it 4 times, that is the imageshack and megaupload code in the 2 templates.

Thanks Mosh, I'll try again!

Jbear6


Hours later:
I tried placing the conditional everywhere I could think of, but I still couldn't get it to work. I did get the megaupload iframe to show one time, but it was empty... LOL. I'll try again later, and make note of everywhere I tried that didn't work.

Mosh 07-11-2008 12:38 AM

Quote:

Originally Posted by jbear6 (Post 1571000)
Thanks Mosh, I'll try again!

Jbear6


Hours later:
I tried placing the conditional everywhere I could think of, but I still couldn't get it to work. I did get the megaupload iframe to show one time, but it was empty... LOL. I'll try again later, and make note of everywhere I tried that didn't work.

Sorry to hear that mate, it was just a suggestion that should have worked.

But saying that, I have not really looked into it and it is not something I plan on adding to this hack, so hopefully you will be able to work out how to get this working yourself at some point.

jbear6 07-11-2008 04:30 PM

Quote:

Originally Posted by Mosh (Post 1572405)
Sorry to hear that mate, it was just a suggestion that should have worked.

But saying that, I have not really looked into it and it is not something I plan on adding to this hack, so hopefully you will be able to work out how to get this working yourself at some point.

No problem friend, thanks for trying to help.

Jbear6

Forum Lover 07-15-2008 03:17 PM

installed and appreciated.


All times are GMT. The time now is 04:27 PM.

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.01184 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (10)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