vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - Photobucket Image Uploader (https://vborg.vbsupport.ru/showthread.php?t=166286)

Dannyloski 04-15-2008 09:24 PM

Megatr0n, it should, I dont see why it wouldnt. Matter of fact it should work with all vB Version ... Let me know though ...

Code Monkey, you rock bro, thanks! I updated the .XML File ... I changed the document.getElementById() to fetch_object() as well for the following part of the code, is that needed or not?

It was like this:
PHP Code:

function view() {
document.getElementById('hidelink').className "viewable";
document.getElementById('viewlink').className "hidden";
document.getElementById('photobucket').className "viewable";
document.getElementById('jwidget').src "http://photobucket.com/svc/jwidget.php?width={$vbulletin->options['photobucket_width']}&height={$vbulletin->options['photobucket_height']}&largeThumb=false&pbaffsite=272&bg={$vbulletin->options['photobucket_bgcolor']}&border=false&bordercolor=%23000000&url=&linkType=img&textcolor={$vbulletin->options['photobucket_color']}&linkcolor={$vbulletin->options['photobucket_linkcolor']}&media=both&btntxt=&searchenabled=true&searchlinkcolor=&searchbgcolor="
return false;


Now its like this:
PHP Code:

function view() {
fetch_object('hidelink').className "viewable";
fetch_object('viewlink').className "hidden";
fetch_object('photobucket').className "viewable";
fetch_object('jwidget').src "http://photobucket.com/svc/jwidget.php?width={$vbulletin->options['photobucket_width']}&height={$vbulletin->options['photobucket_height']}&largeThumb=false&pbaffsite=272&bg={$vbulletin->options['photobucket_bgcolor']}&border=false&bordercolor=%23000000&url=&linkType=img&textcolor={$vbulletin->options['photobucket_color']}&linkcolor={$vbulletin->options['photobucket_linkcolor']}&media=both&btntxt=&searchenabled=true&searchlinkcolor=&searchbgcolor="
return false;


I gave you credit in the First Post for the help ;) ...

Chet T16 04-15-2008 10:39 PM

One of my favourite mods, especially without the page jump now

Dannyloski 04-15-2008 11:14 PM

^ Thanks man, glad to hear that :up:

ArnyVee 04-16-2008 12:26 AM

Danny, do you simply uninstall the old xml file and then upload the new one?

Dannyloski 04-16-2008 01:35 AM

ArnyVee, you should actually be able to just Import the New .XML Product with the "Overwrite" option and be done with it. If you encounter a problem, then let me know. I just did the Overwrite and it worked.
Quote:

Originally Posted by Danny
Upgrade Instructions:
1) Download the attached .XML Product.
2) Import the .XML Product via Admin CP > Plugins & Products > Manage Products > [Add/Import Product] and Select the "Overwrite" option ...
3) Your Done! Its that easy ...


ArnyVee 04-16-2008 01:52 AM

Thank you sir! :)

Good to go with my site. Thanks again for the help.

qtouch 04-16-2008 02:55 AM

Thanks for the update, it works fine now

jambo_1969 04-16-2008 04:23 AM

Cheers for the update Danny..

Works like a dream now (not that it didn't before :D)

midirtrider 04-16-2008 05:33 AM

wow this is very impressive..

thank you so much for your efforts and allowing us all to use this awsome hack..

Dannyloski 04-16-2008 04:09 PM

Thanks for all the kind words guys, I appreciate it a lot ... Glad you all like the Hack now even more :up:


All times are GMT. The time now is 06:02 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.01186 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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