vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to add structured data to vb4 (https://vborg.vbsupport.ru/showthread.php?t=324821)

Emad ELsayed 03-27-2017 01:38 PM

How to add structured data to vb4
 
welcome everybody
How to add structured data to VB4
I searched and did not find clear information for forums

Code:

<meta property=?og:title? content=? ?/>
<meta property=?og:type? content=??/>
<meta property=?og:url? content=??/>
<meta property=?og:image? content=??/>
<meta property=?fb:admins? content=??/>
<meta property=?og:site_name? content=??/>
<meta property=?og:description? content=??/>

Help me how to use it vb4

Emad ELsayed 03-29-2017 01:54 PM

Any help...

z3r0 03-29-2017 03:10 PM

Most of the info you need you should be able to work out from this twitter card thread.

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

Emad ELsayed 03-30-2017 10:42 AM

Quote:

Originally Posted by z3r0 (Post 2584471)
Most of the info you need you should be able to work out from this twitter card thread.

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

Thank you dear
But how to add the link thread

<meta property=?og:url? content=??/>
<meta property=?og:type? content=?article?/>
<meta property=?og:title? content=?{vb:raw thread.prefix_plain_html} {vb:raw thread.title}?/>
<meta property=?og:description? content=?{vb:raw thread.meta_description}?/>

z3r0 03-30-2017 10:52 AM

This is what I have

HTML Code:

<meta property="og:url" content="{vb:raw vboptions.bburl}/{vb:raw thread_url}" />

Emad ELsayed 03-30-2017 11:01 AM

Very cool dear
And what about : <meta property=”og:image” content=””/>
Is it important or not and what is added to it
Best Regards

z3r0 03-30-2017 11:04 AM

I just uploaded a site logo file and pointed it to that, If I remember correctly due to the way vb handles image attachments they don't work for opengraph.

See this thread for more info - https://vborg.vbsupport.ru/showthread.php?p=2434215

Emad ELsayed 03-30-2017 11:07 AM

Quote:

Originally Posted by z3r0 (Post 2584498)
I just uploaded a site logo file and pointed it to that, If I remember correctly due to the way vb handlesimage attachments they don't work for opengraph.

See this thread for more info - https://vborg.vbsupport.ru/showthread.php?p=2434215

Thank you very much for helping me
I also added the logo of the site and I will try the product soon
Best regards

z3r0 03-30-2017 11:11 AM

I've just remembered that there is another OG image mod, you might want to take a look at also - https://vborg.vbsupport.ru/showthread.php?t=292850


All times are GMT. The time now is 03:19 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.01048 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete