vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   New Posting Features - Title Tag Grabber AND Video Embedding by BOP5 for VB5 (https://vborg.vbsupport.ru/showthread.php?t=288954)

mdawg 06-13-2016 02:41 PM

It does work yes and I have it installed on 5.2.2 However it has the above noted issue from my post # 47

shimei 08-10-2016 01:37 AM

Is there a way to exclude the urls in < iframes >

Edit: looks it will exclude if using \</iframe>| in the ignore regex feature.

Thanks,
Shim

mdawg 08-10-2016 03:10 PM

The solution I found was to bookcase the problematic terms with noparse /noparse tags. But, it would be preferable if the software were updated to prevent the issue entirely because you can't really know what terms will be problematic before you post them....

Manuela 03-24-2017 01:18 PM

Just tested it in vb 5.2.6

Worked great for videos... but I had to deactivate it.

Because for URL it also rewrote all links within attached images from URL and they were not shown anymore.

Setting "Auto Parse ALL URLs" to "No" also disabled the video function... so its unfortunately useless for me.

Do you think you can find a solution for this problem?

BirdOPrey5 03-24-2017 06:30 PM

Can you post a plaint text example of the attached image issue that is causing you problem? So I can enter the text on my VB5 forum and see if I can replicate the issue?

Manuela 03-25-2017 09:43 AM

Sure.. here is what it does to an attachement when implemented with extern URL:

Code:

[IMG2=JSON]{"data-align":"none","data-size":"full","src":"https:\/\/http://www.example.de\/dateien\/uh60808,1275746830,image.jpg"}[/IMG2]
This only happens to extern URLs, not to image attachements that had been uploaded to server.

BirdOPrey5 03-28-2017 08:32 AM

Hello,

I need the text you type into the post before it happens, not after it happens.

You can get the text by viewing the raw source in the Advanced editor before submitting the post.

Manuela 03-28-2017 09:05 PM

That was an attached image used on vb 5.2.6.
No written Text, URL or written BBCode.

Clicked on the Image Icon, filled in the Image-URL and then saved the post. Nothing else.

And after installing and activating the mod all attached images in posts turned to the code I added above.

BirdOPrey5 04-09-2017 10:14 AM

Sorry I don't foresee anytime to work on this, I have marked it re-usable code, if anyone wants to take a look at improving it themselves and releasing an updated version, feel free.

mdawg 04-24-2017 03:57 PM

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!


All times are GMT. The time now is 05:43 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.01292 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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