Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 03-16-2016, 10:53 AM
trollshrooms's Avatar
trollshrooms trollshrooms is offline
 
Join Date: Sep 2011
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easier

http://postimage.org/mod.php
Reply With Quote
  #12  
Old 03-16-2016, 06:00 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trollshrooms View Post
That's 3rd party, you have no control over it.
Reply With Quote
  #13  
Old 03-16-2016, 07:03 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anything you use is a "third party". Any mod you download here is considered a "third party" plugin, as it's not made by vBulletin.

vBulletin and Cheverto are two individual "parties". When used together, one is a "3rd party" to another. As is "postimage" as is the mod that you keep referencing.

It's like being on a date. If I'm going on a date with vBulletin and I decide to bring someone else along, they're considered the "third wheel".

Nothing wrong with a third party, however. Some would argue that three parties can sometimes be better
Reply With Quote
  #14  
Old 03-16-2016, 10:30 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gio~Logist View Post
Anything you use is a "third party".
You don't understand the context.

Postimage loads the images on their server, not yours. That makes those images and the "service" 3rd party.

The other two methods mentioned here are first party, as you control them completely and the images are on your server, not someone else's. They are NO different from vBulletin itself, in that regard. You control them, and the images are stored locally.
Reply With Quote
  #15  
Old 03-16-2016, 11:32 PM
trollshrooms's Avatar
trollshrooms trollshrooms is offline
 
Join Date: Sep 2011
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If external images are hosted on your own server then there is no need for a first party program... just attach images and upload them using vb default attach... kinda senseless using another program to up files to your own server....

Save space on your server and upload to a third party server...
Reply With Quote
  #16  
Old 03-17-2016, 12:42 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trollshrooms View Post
If external images are hosted on your own server then there is no need for a first party program... just attach images and upload them using vb default attach... kinda senseless using another program to up files to your own server....

Save space on your server and upload to a third party server...
That's what I do on my vB4 sites, since it has the superior attach feature. But on my vB3 sites, I use the separate software.

The separate software also has lots of features not found with vBulletin, especially the one the OP wants to use.
Reply With Quote
  #17  
Old 03-31-2016, 05:26 AM
Visual010 Visual010 is offline
 
Join Date: Sep 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

The thing is that I'm quite jealous about security here, so I'd rather have an external image server hosted on my own with all the features that it has (In this case, it's a paid script called chevereto). The external image server is hosted on a different domain and a different server but I own both.

Thing is, I already managed to add a button to the quick and full reply boxes that opens my imageserver webpage on a separate window but I would like to aproach it in a different way. Something like embedding an iframe on the reply box with a simple upload page.

Regards,
visual
Reply With Quote
  #18  
Old 04-25-2016, 04:23 AM
Visual010 Visual010 is offline
 
Join Date: Sep 2012
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, little update here:

I managed to add THIS button:



to my quick and full reply boxes.

So far, I managed to make it open my own imageserver onclick which works more or less like I wanted it to.

Thing is, I wrote an html code that calls for my imageserver API in order to upload images in a quick and simple way to my server. However, I don't find a way to make the button call for an iframed or a lightbox/fancybox'd version of my html code. I tried almost every single way but I don't seem to make it work.

Here's the code of the button (It's in CKE)

Code:
CKEDITOR.plugins.add( 'myimageserver',
{
	init : function( editor )
	{
		// This adds the button
		editor.ui.addButton('myimageserver',
		{
			// label: adds a hover text to the button. This uses the vBulletin
			// phrase "celButtonDemo" which you will have to add to your phrases
			// and to pass to CKE in a plugin
			label : editor.config.vbulletin.phrase.myimageserver,
			// command: the command that will be executed. It's defined later
			// in this file
			command : 'myimageserver',
			// icon: The path to the icon file you want to use for your button.
			// Here we use buttonimage.png in the buttons directory defined for
			// the current style (default: /images/editor)
			icon: 'https://mywebpage.com/images/buttons/myimageserver.png',
		});

		// This defines the command that's executed when the button is clicked
		editor.addCommand('myimageserver',
		{
			// modes: decide in what editor modes the button will be active;
			// set to 0 to grey it out
			modes : { enhancedsource:1, wysiwyg:1 },
			// Execute your JS Code - CKE offers a great API:

>>I DON'T KNOW WHAT TO PUT HERE TO MAKE IT CALL FOR AN HTML FILE IFRAMED OR IN A LIGHT/FANCYBOX<<
                      
                  }
		});
	}
});
Any help would be appreciated. This is driving me crazy.


Regards,
visual
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:11 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.04509 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete