View Single Post
  #60  
Old 04-24-2017, 03:57 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What it seems to do is truncate the URL for external links IF it is a really long URL such as say one for an image, example:
https://lh3.googleusercontent.com/zm...ghO5dS0dg=w300

it turns it into this upon saving:
https://lh3.googleusercontent.com

I don't believe this has anything to do with "images" per se, it just means that this hack is altering any really long external URLs when posted as external links. (When you use the ADD LINK function.) When you click to edit the external link URL, it is all there, but after you post it, it is truncated such that it no longer goes to the correct URL.

Within the same post if you post the URL as a line in the post text (NOT as an external link), the URL appears fine.

To summarize again:
If you try to use the Add Link function to the right of the Image button, upon posting the URL is truncated and invalid. However if you click to edit, the URL is all there. Just upon saving the URL is altered.

But if you simply post a URL within the message, it appears okay.

I am assuming that this is something this hack is doing, and not a bug in VB 5.3.0


---

As far as what Manuela is saying up there, yes it does post the image when you try to find and post it via URL, but it also makes a crazy URL at the top of the post, which for this URL
https://lh3.googleusercontent.com/zm...ghO5dS0dg=w300

looks like this:
[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"zmJTC0HBAeAk9ZcCjNANsQMLv78-oc04-b9olW60XYFBj78jf3-Iuj36EghO5dS0dg=http://w300.jpg","data-attachmentid":74051}[/ATTACH]


---

So these are two separate, perhaps related, bugs with the hack. I wish Bird O'Prey could find the time to revise this very useful hack. We could pass a donation hat and I would contribute if that would make a difference. Thanks!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01296 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete