vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Free onboard Image Hosting - "photobucket" for your board. (https://vborg.vbsupport.ru/showthread.php?t=307803)

RichieBoy67 08-07-2015 03:35 AM

Quote:

Originally Posted by Max Taxable (Post 2552295)
Photobucket as in, this particular Mod? or the real photobucket?

The deal is, this is not any kind of 3rd party host you have no control over. This is totally controlled and hosted by you so nothing ever gets lost or taken down.

I have no idea if the major image hosts have time limits. I only know we can't control images hosted by them, and they definitely do disappear.

Hey Max, Now I am impressed! I was under the assumption that your mod used the third party hosting! If I still used an older version of Vbulletin I would have grabbed this for sure! Nice work!

Max Taxable 08-07-2015 03:42 PM

Quote:

Originally Posted by RichieBoy67 (Post 2552297)
Hey Max, Now I am impressed! I was under the assumption that your mod used the third party hosting! If I still used an older version of Vbulletin I would have grabbed this for sure! Nice work!

Thanks and yes, I just believe it is unnecessary for vB4.2.x since it has a better uploader and a better attachment display. Plus as in earlier versions, you can choose to store images in the file system instead of the database.

I first installed this to discourage members from using their own 3rd party photo hosting accounts - make it easier to post your photos - and it worked. I hardly ever see any hotlinked images that aren't on the same server as the board.

Max Taxable 08-07-2015 03:45 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2552296)
I want to add this to my vb4 but I have had no luck lol ... can't find the correct templates to edit ...im LOST !

Might be helpful:

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

Vintum 08-07-2015 04:11 PM

Quote:

Originally Posted by Max Taxable (Post 2552330)
I just believe it is unnecessary for vB4.2.x since it has a better uploader and a better attachment display. Plus as in earlier versions, you can choose to store images in the file system instead of the database.

This is quite true. If it wasn't for the fact that my site has recently started building wikis for the games we play, we wouldn't need it either. But I installed vaultwiki, which has a SERIOUS lack of an easy means to upload and post images to the wiki without using external image hosts. This would do wonders for us.

So far I've managed to get the script installed and the button to appear on the editor in both the forum and the wiki, but I can't get the button to do anything. I can't find a template to just edit and add the code, though. I had to make plugins for ckeditor to do it.

Vintum 08-07-2015 09:58 PM

HEY!

After hours of bashing my face on the keyboard trying to figure out why the button wasn't working, a friend of mine came online. He's a dev himself, so I tossed him the question to see if he can help me figure out why the button did nothing at all. Turns out all I had to do was remove the "onclick" event from the code. And now it works just fine!

Here is everything I did to make this work on VB 4.2.2 in the ckeditor

1. Install the image software as described above. I got the 1.6.5 download and it was working fine for me. All set up and good to go.

2. I followed the guide to add a button here: https://vborg.vbsupport.ru/showthread.php?t=278828, as was already pointed out.

3. And the thing that made it all work for me:
Replace
Code:

alert('Hello world!');
            editor.insertHtml( 'Hello World! - Hello World!' );

With
Code:

window.open('http://IMAGEHOST/BASE-URL-HERE/index.php?mode=vbull&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=860,height=625');
Aside from renaming all the 'celButtonDemo' into something else, that is all I can recall changing from his provided code. Didn't have much luck with changing where the button appeared. Replacing "Quote" with "Image" broke things for me.
I won't say the the setup is perfect, but it works. For example, by button is off center. Would love to know how to fix that.

Manoel J?nior 08-08-2015 01:09 AM

Quote:

Originally Posted by Vintum (Post 2552359)
HEY!

After hours of bashing my face on the keyboard trying to figure out why the button wasn't working, a friend of mine came online. He's a dev himself, so I tossed him the question to see if he can help me figure out why the button did nothing at all. Turns out all I had to do was remove the "onclick" event from the code. And now it works just fine!

Here is everything I did to make this work on VB 4.2.2 in the ckeditor

1. Install the image software as described above. I got the 1.6.5 download and it was working fine for me. All set up and good to go.

2. I followed the guide to add a button here: https://vborg.vbsupport.ru/showthread.php?t=278828, as was already pointed out.

3. And the thing that made it all work for me:
Replace
Code:

alert('Hello world!');
            editor.insertHtml( 'Hello World! - Hello World!' );

With
Code:

window.open('http://IMAGEHOST/BASE-URL-HERE/index.php?mode=vbull&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=860,height=625');
Aside from renaming all the 'celButtonDemo' into something else, that is all I can recall changing from his provided code. Didn't have much luck with changing where the button appeared. Replacing "Quote" with "Image" broke things for me.
I won't say the the setup is perfect, but it works. For example, by button is off center. Would love to know how to fix that.

Please, share modification

Vintum 08-08-2015 06:15 PM

I'm not understanding what you want from me. Everything is already provided.

CAG CheechDogg 08-10-2015 04:52 PM

Quote:

Originally Posted by Vintum (Post 2552359)
HEY!

After hours of bashing my face on the keyboard trying to figure out why the button wasn't working, a friend of mine came online. He's a dev himself, so I tossed him the question to see if he can help me figure out why the button did nothing at all. Turns out all I had to do was remove the "onclick" event from the code. And now it works just fine!

Here is everything I did to make this work on VB 4.2.2 in the ckeditor

1. Install the image software as described above. I got the 1.6.5 download and it was working fine for me. All set up and good to go.

2. I followed the guide to add a button here: https://vborg.vbsupport.ru/showthread.php?t=278828, as was already pointed out.

3. And the thing that made it all work for me:
Replace
Code:

alert('Hello world!');
            editor.insertHtml( 'Hello World! - Hello World!' );

With
Code:

window.open('http://IMAGEHOST/BASE-URL-HERE/index.php?mode=vbull&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=860,height=625');
Aside from renaming all the 'celButtonDemo' into something else, that is all I can recall changing from his provided code. Didn't have much luck with changing where the button appeared. Replacing "Quote" with "Image" broke things for me.
I won't say the the setup is perfect, but it works. For example, by button is off center. Would love to know how to fix that.

This tutorial definitely helped and I now have it up and running on my Vb4 forums, thank you Vintum !!!!

CAG CheechDogg 08-30-2015 07:37 AM

Max !!! help !!! I forgot my admin password and for some reason I can't recover my password .... it has a recover password link but nothing happens ....any clue?

Replicant 08-30-2015 03:04 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2553880)
Max !!! help !!! I forgot my admin password and for some reason I can't recover my password .... it has a recover password link but nothing happens ....any clue?

PM sent.

CAG CheechDogg 08-31-2015 01:38 AM

Thank you Replicant !!! I actually got in, I was using the wrong username lol ...

barbeluk1 09-07-2015 07:27 AM

Does anyone know how secure this option is? I'd love to install it on my board but run my own server and don't want to open it up to security risks...?

Thanks in advance,

Andy

Max Taxable 09-07-2015 05:53 PM

I haven't had any issues, but yes it winds up being publicly accessible independently of the vB installation, if someone knows the link. As far as exploits, there are none that I know of or have heard of. You might ask the developer, at his site linked in the OP.


All times are GMT. The time now is 09:36 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.01110 seconds
  • Memory Usage 1,762KB
  • 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
  • (6)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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