vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=300221

mykkal 28 Feb 2015 00:01

Does this work on vb 4.2.3? I have php 5.5 running

BirdOPrey5 28 Feb 2015 11:55

I don't see why it wouldn't, but I haven't tested against 5.5 specifically.

m2006 26 Aug 2015 03:31

install on vbulletin 4.2.3 worked

NeutralizeR 10 Apr 2016 05:25

Not sure why (I moved the website to HTTPS a few weeks ago), but i had to disable the ":secure_url" in the plugin to make it work for attachments:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With secure_url enabled:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Test platform: https://developers.facebook.com/tools/debug/og/object/

NeutralizeR 02 May 2016 13:30

vBSEO deals with attachment URL's like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So changing "content" to "href" makes the URL use vbseo version
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But of course, we can't use href attribute with meta tag.

Adding meta and content to the regexp makes all meta content tags start with forum URL.

Do you have any advice how to use vbseo powered attachment URLs in og:image?

NeutralizeR 03 May 2016 19:02

VBSEO fix = Edit functions_vbseo.php:

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


dariyos 11 Jul 2016 10:04

this mod only generate og:images like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Facebook can't read that ...

Facebook want it like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

do you have an other solution for this?

If I post external links with the IMG-Tag, it works, but I see only ONE Image when I click on "SHARE" ...
Can't change between the images when I have more than 1 external images.

BirdOPrey5 11 Jul 2016 23:53

I see no difference between what the mod makes and what you say works.

However, please see in my original description of the mod:

Quote:

*It appears Facebook will never use vBulletin attachments even though the Facebook Debugger does pick them up and show them. I suspect the reason is because attachments are not to actual jpg/gif/png images but instead are links to attachment.php. Nevertheless I included the attachment option because Facebook may change this behavior one day and other social networks may not have this limitation.
Using attachments simply isn't going to work. Facebook doesn't use them for whatever reason. Other services that use og:images might, so I left the option in the mod, but Facebook does not.

dariyos 12 Jul 2016 07:11

thats bad,

at google+ it works, but I can't change the image in the sharer window, there is only one image available, no arrows to change the image. I think the "sharer" window picks only the first image from the quellcode... any ideas?

I use DBSeo

How can I rewrite the attachment-urls from

http://domain.com/attachment.php?attachmentid=1234

to

http://domain.com/attachments/1234/originalbildname.png

?

BirdOPrey5 12 Jul 2016 09:18

Even rewriting the URLs using DBSEO or VBSEO doesn't help. Facebook knows it's not a "real" link somehow (likely because of the redirect involved) and just doesn't use it. I've tried for months, feel free to keep trying, but ultimately it is of my opinion attachments will simply never work with Facebook.

As for the Google issue, I can't imagine any way to specify which would be the first image for every single thread on your site.

The first image will be the first image using [IMG] in a post on the page, you could add an image to the first post using an [IMG] tag to force it to be the first one created by the mod. Maybe created a custom BB Code to hide the image using CSS display:none so regular users don't even see it, but seems like a lot more work to me then it is worth.

dariyos 12 Jul 2016 09:53

Google+:

When I activate the mod, and delete the static picture to show on every thread, the sharer displays the first image, and this is my Logo from the header - not from the post-content.

is it not possible to show all pictures in a row - with arrows I can change the pictures?

BirdOPrey5 12 Jul 2016 15:17

It would be up to Google to show arrows that can change the picture, not this mod.

If you want to move the extra pictures by this mod below the picture included on every page in your Facebook settings so Google sees that one first, do the following-

1) Edit your headinclude template. Add this code at the very bottom of the template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save changes.

2) Edit the plugin Insert Open Graph Tags find the line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save changes.

That should do it, the default Facebook image will be the first og:image on every page.

dariyos 13 Jul 2016 07:56

When I set a Facebook Image here:

Settings -> Facebook Connection -> Logo URL

then this image is the first image that will show on every site.
when I delete that URL, then my first Image is the Header-Logo. <- thats wrong.

I want it like this:

If a thread has no external Image included, then show the default Facebook Logo.
If a thread has an external Image included, then show the included image, NOT the FB-Logo.

when I set a default Facebook Logo, then it shows always the Facebook Logo, on every site.

BirdOPrey5 13 Jul 2016 09:29

I'm sorry but if Google finds your header logo first, that's the way their algorithm works. There's no way I know of it control what order the pictures are chosen other than the ordering they are written to the page. The header-logo and such is beyond my control.

meta tags outside of the <head></head>
by VICOS
13 Aug 2016 20:50

The FB OG Debugger complains about the meta tags being outside of the <head></head> section and refuses to consider them:

Quote:

Your page has meta tags in the body instead of the head. This may be because your HTML was malformed and they fell lower in the parse tree.

Please fix this in order for the tags to be usable.
I believe the HTML standard also prohibits this.


All times are GMT. The time now is 09:04.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.