The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Social Media Plugin Code Review
Hello friends, I've been learning PHP and creating my first plugin the past few days. I'm using Nexia's OpenGraph Protocol Inserts as a basis for my project, so many thanks and credits for this great modification. I've shot him an email asking permission to perhaps update/release this project and am waiting to hear back.
The plugin accomplishes this so far:
This is what is adds to the HTML: Code:
<meta property="og:description" content="Long tutorial here, gonna upload it in 4 seperate parts! It is 1.5 hours long and will explain everything you need to know to get started using IDA Pro! Requirements: Intermediate Knowledge of C++ and x86 Assembly"/> <meta property="og:site_name" content="GuidedHacking How to Hack Games"/> <meta property="og:title" content="How to Reverse Engineer with IDA Pro Disassembler"/> <meta property="og:type" content="article"/> <meta property="fb:app_id" content="1755543248015018"/> <meta property="fb:admins" content="100009786466728"/> <meta property="og:url" content="http://guidedhacking.com/showthread.php?7914-How-to-Reverse-Engineer-with-IDA-Pro-Disassembler"/> <meta property="og:image" content="http://img.youtube.com/vi/fgMl0Uqiey8/maxresdefault.jpg"/> <meta name="twitter:card" content="summary_large_image"/> <meta name="twitter:site" content="@guidedhacking"/> <meta name="twitter:image:width" content="1280"/> <meta name="twitter:image:height" content="720"/> Instead of: Combining this with some simple social share buttons makes my social marketing campaign 2easy I was hoping to get some feedback on my code from the pros. Currently on vb4.2.3 and vbAdvanced 4.3.0 Please don't install if you don't know what you're doing, I've tested it thoroughly but am not an expert |
#3
|
||||
|
||||
I agree with Dave on both counts. I've never needed to use $GLOBALS.
But, congratulations on creating your first product. But be warned...it can be addictive. |
#4
|
|||
|
|||
Could you fine fellas enlighten on me on how I would access $GLOBALS['threadinfo']['description']
without using $GLOBALS? Thanks in advance |
#5
|
||||
|
||||
Quote:
$threadinfo['description'] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|