Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
SEO YouTube and Google Videos Details »»
SEO YouTube and Google Videos
Version: 1.00, by Adult SEO Adult SEO is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.4 Rating:
Released: 11-13-2006 Last Update: 02-17-2007 Installs: 142
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

This mod was inspired by by Embed XHTML valid YouTube and Google Video into your posts but this mod contains some bugs and isn't complete so I then needed to modify it and decided to do it really well and aply SEO technology to it.

This mod will enable your users to publish YouTube or Google videos on your forum. It's managable via the adminpanel and the script will automaticly download the titles of the videos from YouTube or Google Video and store it in the database so it will get the videos indexed verry well and it's fast.

Some of the features:
  • Custom tagnames, manageable from the adminpanel
  • Automatic Video Title retrieval, with optional support for Lib Curl and user-simulated video title retrieval
  • Custom editor icons, managable from the adminpanel
  • Template based Google or YouTube video output
  • Support for local Google Video servers, to make your site local
  • Phrases for all text so it has support for multi-lingual forums
  • Optional, extend all links within the video with rel="nofollow", customizable seperately for YouTube or Google Video
  • Custom Video titles via tag option ([googlevideo="Video Title"]...[/googlevideo])
  • SEO Video Index (demo)
  • SEO Video Bar (demo)
  • Ability to configure usergroups that have access to delete videos.
Instalation:
  1. Import the XML product
  2. Upload the attached icon images (or use your own)
    • Default is:
      • /images/editor/google.gif
      • /images/editor/youtube.gif
  3. Open htaccess.txt, configure it (replace yourdomain with your domain), save it as .htaccess and upload it to the root of your forum
  4. Run the included installer
    • The installer will also upgrade previous instalations
    • Bug: when you run the installer more then once, multiple of the same indexes are created. I haven't found a way yet to prevent this. I have posted some messages on MySQL forums to find an answere and will then upgrade the installer. For now it is adviced to run the installer just once and for upgrades it is adviced to check the PREFIXseovideos table after upgrading to see if there are any duplicate indexes configured to remove them if needed.
  5. To install the Videobar anywhere on the forum use the folowing code:
    • PHP Code:
      <!-- SEO Videos Index Bar --> 
Done.

Have Fun!
Jan Jaap

Screenshots:





Update: 18 februari 2007 (latest files from www.papegaaienforum.nl where this mod works very well).

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-15-2006, 02:31 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack! But maybe this just isn't meant to work with vB 3.6.2 as I'm running.

I ran the videos_install.php and seems like it ran correctly:

MySQL database updated, added table "seovideos" to the database.
MySQL database updated, added index "video_id" for table "seovideos"

I'm attempting to work this hack now. I tried to insert a google video by adding copying and pasting the url to the video in the bbcode....but got the following database error:

Database error in vBulletin 3.6.2:

Invalid SQL:
INSERT INTO `seovideos` ( `id` , `type` , `video_id` , `title` ) VALUES ('', 'google', '2618184165672891020', 'INSANELY Funny commercial of a girl taking a guys shorts ! WOW ! ';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Tuesday, November 14th 2006 @ 10:41:31 PM
Script : http://www.f-bodyhideout.com/forums/...ostthread&f=26
Referrer : http://www.f-bodyhideout.com/forums/...newthread&f=26
IP Address : 72.197.32.40
Username : Admin
Classname : vB_Database
Reply With Quote
  #53  
Old 11-15-2006, 03:35 AM
Adult SEO's Avatar
Adult SEO Adult SEO is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, that might be a bug wich has been fixed now.

I've added "latest videos" for on the index page (you can also set from wich forums you want to display videos) and tomorow (later today, it's 6:34 am now) I will complete the forum specific video bar.

A demo of the videobar is available on http://www.papegaaienforum.com/

Have Fun!
Jan Jaap
Reply With Quote
  #54  
Old 11-15-2006, 04:14 AM
abramelin abramelin is offline
 
Join Date: Mar 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

videos arent showing, just blank area also if you can make latest videos for vba it will be more fantastic!
Reply With Quote
  #55  
Old 11-15-2006, 05:04 AM
transitbus transitbus is offline
 
Join Date: Aug 2006
Location: California
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Database error in vBulletin 3.6.3:

Invalid SQL:
SELECT id,title FROM `seovideos` WHERE `video_id`='2844183475996675652' AND `post_id`='2681' AND `type`='google' LIMIT 1;

MySQL Error : Unknown column 'post_id' in 'where clause'
Error Number : 1054
trying to delete a post. I can only delete a post if the addon is disabled

Also if you runthe install php file morethan once you get a sql error about the columns already existing in the forum table


Looks to me like you need id , type , video_id , title, post_id, forum_id, date_added but you only have id , type , video_id , title as fields. What should post_id, forum_id, date_added be? INT(255)?
Reply With Quote
  #56  
Old 11-15-2006, 05:25 AM
transitbus transitbus is offline
 
Join Date: Aug 2006
Location: California
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is still the issue where you can only link by ID and not the entire hyperlink but that is actually ok, it should be like that.

Ok fixed it:

Find:

Code:
`id` INT( 20 ) NOT NULL ,
`type` SET( 'google', 'youtube' ) NOT NULL ,
`video_id` INT( 255 ) NOT NULL ,
`title` VARCHAR( 255 ) NOT NULL
and replace with

Code:
`id` INT( 20 ) NOT NULL ,
`type` SET( 'google', 'youtube' ) NOT NULL ,
`video_id` INT( 255 ) NOT NULL ,
`title` VARCHAR( 255 ) NOT NULL ,
`post_id` INT( 10 ) NOT NULL ,
`forum_id` INT( 10 ) NOT NULL ,
`date_added` INT( 10 ) NOT NULL
I also included the replacemnt php file. I put the additions as int(10) to keep them small.
Reply With Quote
  #57  
Old 11-15-2006, 05:38 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adult SEO View Post

Regarding the contents of the tag, you can even post the embedding codes and it will work. (thus also just the ID will work) so you don't need to change anything to use this mod.

Best Regards,
Jan Jaap
At YouTube only the full URL works. Only ID?s are ignored.

[yt]hWlecEKppTM[/yt] <- does still not work. (I use yt and gv as BB Codes).

I allyways get at every old Link :

Failed to recognized your video code, please enter the video ID or full video URL wich contains the Video ID.

Even if i post new Videos the same apperas. Something is other than before.

At full URLs i get :

Quote:
Datenbankfehler in vBulletin 3.6.3:

Invalid SQL:
SELECT id,title FROM `vb3_seovideos` WHERE `video_id`='CkS2DJ6VX' AND `post_id`='59259' AND `type`='youtube' LIMIT 1;
Sorry, that costs me to much Time.
Reply With Quote
  #58  
Old 11-15-2006, 06:00 AM
transitbus transitbus is offline
 
Join Date: Aug 2006
Location: California
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Youtube requires the full path right now and google requires everything after ?docid= and before either &q or &hl or both (which meansa - and all the numbers).

One more bug i noticed only once is after editing a file and viewing it, the header information on top of the browser said "#postid=xxxx, postid=xxxx" instead of the name of the post.
Reply With Quote
  #59  
Old 11-15-2006, 06:08 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by transitbus View Post
Youtube requires the full path right now and google requires everything after ?docid= and before either &q or &hl or both (which meansa - and all the numbers).
Nice to know - but i have no Time to test it again and again. I have to delete the PlugIn from old Hack and 2 vBCodes and reinstall it then. Sorry Guys ....
Reply With Quote
  #60  
Old 11-15-2006, 08:24 AM
silks silks is offline
 
Join Date: Jul 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

databass error for me had to delete post
Reply With Quote
  #61  
Old 11-15-2006, 08:45 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks awesome, I will give this a go for sure.

Edit: where is the install button? can you give us the link because I think vbulletin has removed the install button and I want to tag this thread.
Edit: nvm

THanks.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05744 seconds
  • Memory Usage 2,320KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete