PDA

View Full Version : Vidiac vBulletin Integration


titter
06-24-2006, 10:00 PM
Vidiac vBulletin Integration v1.0
by titter

--- About ---------------------------------------------------------------
This will integrate the Vidiac Video Portal system into your vBulletin website.

You must signup with www.vidiac.com and follow all of their instructions to setup the CNAME to their site. This will not work if you do not have a Vidiac Video Portal, or if you try to redirect a subdomain. You must use a CNAME record.

--- Features ------------------------------------------------------------
Automatically resizing video section, resizes to the loaded content.

--- Installation --------------------------------------------------------
Follow install.txt found in the zip.

--- Demo ----------------------------------------------------------------
Live demos avaiable at:
http://www.mobmototb.com/forums/videos.php
http://www.boardingscene.com/videos.php

--- Notes ---------------------------------------------------------------
This will only work if you have your Vidiac setup with a CNAME record from your domain. All browsers block javascript cross-domain scripting unless you have the DOM reference placed in both pages. It is very important that your update the document.domain reference with your correct domain information, and it is placed both in your vidiac_videobits template, as well as the skin settings in your Vidiac portal.

This has been tested in FireFox and Internet Explorer, not tested in any other browsers.

--- Copyright -----------------------------------------------------------
All code in distributed in this zip is ?2006 titter, with the following exceptions:
dynifs.js - Credits within.

For more information about the Vidiac Video Portal visit, www.vidiac.com

Cky47
06-25-2006, 03:30 AM
Can you send me a pm... its not even working the slightest bit. I installed it correct and edited my templates, but nothing works. It jsut shows a blank screen at www.boardingscene.com/videos.php

It is set on a CNAME... here is the normal site http://videos.boardingscene.com

GrendelKhan{TSU
06-25-2006, 04:46 AM
VERY interesting. bookmarked.

any testing with 3.6 yet?

Cky47
06-25-2006, 05:53 AM
I am still waiting for the pm...

Did you tell Adam Bruce Yet? HE has been wanting to develope this for a while but hasnt had the time. If this works... it could be a huge change in his company vidiac and vbulletin all together.

titter
06-25-2006, 06:08 AM
Files are updated, and PM has been sent. I included the wrong videos.php file in the zip. All is well now.

I posted on the vidiac forums about this, they replied keep them updated. Should work now without a hitch. Make sure you added the documnet.domain script on both the template, and vidiac admin panel! that is the most crucial step ... lol after you fix my mistake DOH!

As far as 3.6 testing goes I have not tested it on 3.6 ... nor have I looked at the system for 3.6. I will mess with that sometime during the next week.

Cky47
06-25-2006, 06:22 AM
Lmao... no problem at all, you dont realize how much work you saved me by doing this.

Thanks a TON!

Your my hero lol...

Oh yeah, if you guys wanna check it out http://www.boardingscene.com/videos.php

Much gratefulness for Adam Bruce (Vidiac Owner), His Staff, and Titter

If you guys havent already sign up for his service!

www.vidiac.com

Its free, and you cant beat it. They handle everything for you, you set up a CNAME and your done! Your own video site...

I can help anyone that needs help, I was one of Adam's earlier members.

titter
06-25-2006, 06:29 AM
Very nice! I like your site a lot, looks like a great boarding community. Also I agree, ls1tech.com and streetfire.net always got me interested in how it was done ... now I know, and I did it for our local car club, and made this plugin just because I didnt see it anywhere lol.

Allan
06-25-2006, 06:45 AM
Very nice, congrats ;)

Click Install ;)

Barakat
06-25-2006, 11:15 AM
thanks ....

GrendelKhan{TSU
06-25-2006, 11:46 AM
hmm... what if you want to put something else besides the Adsense next to the video section? is that possible? (and I assume we can use our own adsense code if we choose?)

threat
06-25-2006, 11:47 AM
Can members upload also? Or only you and its just for viewing? Where do I upload the files in the upload folder? In the root or the forum root? Sorry Im new,,,oh yeah do I have to have a subdomain?

what does this mean? DNS videos.gixxerplanet.com is not pointed to vidiac.com

I put the redirect for the subdomain to point to vidiac.com when you go to www.videos.gixxerplanet.com it redirects to vidiac.com


Hmmm read on there I need to contact my hosting to have them point the DNS to vidiac.com

The Realist
06-25-2006, 12:41 PM
Installed but I dont see anything in the admin section to adminsiter anything and the video page is white?

Any ideas?

threat
06-25-2006, 12:48 PM
i had to sign up to vidiac.com and the admin section he was talking about was in there

The Realist
06-25-2006, 02:01 PM
Thanks.

The Realist
06-25-2006, 02:41 PM
There is a problem with the domain name you supplied. It is not pointed to vidiac.com

I added a cname so that video.xxxx.com points to the vidiac.com domain and it still will not let me sign up?

PabloAM
06-25-2006, 03:19 PM
Thanks INSTALLED :D

PabloAM
06-25-2006, 04:28 PM
Have a problem :(

In firefox all OK, but in Internet explorer, Don?t see!!

URL: http://www.xboxers360.net/videos.php

My config:

<script type="text/javascript">
document.domain = "xboxers360.net";
</script>

<iframe width="100%" height="500"
id="videoframe" name="videoframe"
src="http://videos.xboxers360.net"
onload="DYNIFS.resize('videoframe')"
scrolling="no"
frameborder="0"
style="width:100%;height:500px;border:0px;">
Sorry, your browser doesn't seem to support IFrames!
</iframe>

3.) Under the Site Skin (Look and Feel) section.

Add this script to the top of your pre-portal code:
<script type="text/javascript">
document.domain = "xboxers360.net";
</script>

What?s then problem??

Please help me

Snake
06-25-2006, 05:01 PM
Thank you very much! This is what I've been looking for ages go! :D

PabloAM
06-25-2006, 05:21 PM
Thank you very much! This is what I've been looking for ages go! :D

Please. You are pointed subdomain to vidiac.com??

Helpme

Cky47
06-25-2006, 05:35 PM
Calm down guys lol... Now who all needs help?

As for the white video layout you have to login to your admin section with your email and then go to the look and feel section... there you can edit your css and template.

And no... you can not remove the ads, that is what help Adam pay for the servers and hosting your videos.

Cky47
06-25-2006, 05:41 PM
I also wanted to point out to your guys, that you should update the player options as well. This is what my player looks like in my myspace.

http://www.myspace.com/cky47

Users can get the code for that player and more when they watch the videos.

Notice how they can see info on the video that the users typed and see more videos all from that one player. They did a really good job on this feature.

PabloAM
06-25-2006, 05:53 PM
Help Cky47

Have a problem

In firefox all OK, but in Internet explorer, Don?t see!!

URL: http://www.xboxers360.net/videos.php

My config:

<script type="text/javascript">
document.domain = "xboxers360.net";
</script>

<iframe width="100%" height="500"
id="videoframe" name="videoframe"
src="http://videos.xboxers360.net"
onload="DYNIFS.resize('videoframe')"
scrolling="no"
frameborder="0"
style="width:100%;height:500px;border:0px;">
Sorry, your browser doesn't seem to support IFrames!
</iframe>

3.) Under the Site Skin (Look and Feel) section.

Add this script to the top of your pre-portal code:
<script type="text/javascript">
document.domain = "xboxers360.net";
</script>

What?s then problem??

Cky47
06-25-2006, 05:53 PM
The only problem I noticd beside the users not being integrated... is that it uses a iframe, and now when users try to link to the page, they are instead linking to the videos page. Also if they use the thumbnail feature like this...

http://thumbs.vidiac.com/e0123d41-5e99-4ea8-be5b-f9a1e1520f3f.jpg (http://videos.boardingscene.com/video/e0123d41-5e99-4ea8-be5b-f9a1e1520f3f.htm)Click here to see Video (http://videos.boardingscene.com/video/e0123d41-5e99-4ea8-be5b-f9a1e1520f3f.htm)

It links outsidethe vbulletin site, and now there is no link back to your site, unless you add one.

Maybe me and you can think of something titter... I would love to help.

Cky47
06-25-2006, 05:55 PM
Pablo did you fix it? It is working for me in IE.

PabloAM
06-25-2006, 06:13 PM
Pablo did you fix it? It is working for me in IE.

No.

My problem with IE:

http://img46.imageshack.us/img46/2387/ie7nn.th.jpg (http://img46.imageshack.us/my.php?image=ie7nn.jpg)

My problem with FireFox:

http://img46.imageshack.us/img46/5411/firefox8yb.th.jpg (http://img46.imageshack.us/my.php?image=firefox8yb.jpg)

Help me.

CONFIG:

Primary Address (URL) of your Vidiac site: xboxers360.vidiac.com

<script type="text/javascript">
document.domain = "xboxers360.net";
</script>

<iframe width="100%" height="500"
id="videoframe" name="videoframe"
src="http://xboxers360.vidiac.com"
onload="DYNIFS.resize('videoframe')"
scrolling="no"
frameborder="0"
style="width:100%;height:500px;border:0px;">
Sorry, your browser doesn't seem to support IFrames!
</iframe>

3.) Under the Site Skin (Look and Feel) section.

Add this script to the top of your pre-portal code:
<script type="text/javascript">
document.domain = "xboxers360.net";
</script>

Cky47
06-25-2006, 06:17 PM
First of all your not supposed to put
"Add this script to the top of your pre-portal code:"
In your pre portal section... leave that out.

But I am telling you it is working fine for me... which makes me want to say that you have some type of spam/ad blocker/ or some other plugin installed interfering.

Also what does your site look like normally not integrated...

I cant read spanish as well lol

PabloAM
06-25-2006, 06:30 PM
First of all your not supposed to put
"Add this script to the top of your pre-portal code:"
In your pre portal section... leave that out.

But I am telling you it is working fine for me... which makes me want to say that you have some type of spam/ad blocker/ or some other plugin installed interfering.

Also what does your site look like normally not integrated...

I cant read spanish as well lol

Your supposed good LOL.

Who redirect to http://videos.boardingscene.com/ ???

Help please

Cky47
06-25-2006, 06:36 PM
You mean how did I redirect to it?

You have to set up the CNAME record.

titter
06-25-2006, 08:14 PM
Pablo try adding this to both the template, and the site skin look and feel:


<script language="VBScript">
document.domain = "xboxers360.net";
</script>


-----------------------------------------------------------------------

As far as using your own ads, you cannot. That is part of the Vidiac Video Portal, and why it is free for us to use. Goto www.vidiac.com for any questions or information about the Vidiac portal itself.

-----------------------------------------------------------------------

Also yes if you do not have access to setup CNAME redirects your hosting company will do it for you. This will not work otherwise.

threat
06-25-2006, 09:42 PM
what link do i tell my hosting compnay to reidirect too?

also what is CNAME?

I installed it all, set up subdomain, its just the cname thing is confusing to me

PabloAM
06-25-2006, 10:05 PM
The CNAME is configured in CPANEL??

I redirected videos.xboxers360.net to vidiac.com
ok??

threat
06-25-2006, 10:15 PM
i set up a subdomain now www.videos.gixxerplanet.com I'm looking in my cpanel now for this cname option.



I cant find, in the subdomain there is a place it askes me to place a link in if I want that subdomain to point to another link. is that the 1?

Cky47
06-25-2006, 10:23 PM
It is not a cpanel option, and it IS NOT A SUBDOMAIN lol. YOu guys dont listen at all do you?

IT IS A CNAME...

It is a DNS setting that you or your hosting provider must change.

threat
06-25-2006, 10:28 PM
Well sorry Im trying to learn. I read over and over again. I'm trying to find where i change it at or find this dns option. and what do I tell them if i get them on the phone?

threat
06-25-2006, 10:45 PM
ok what does this mean?

Current Primary Address Status: The requested name is valid, but no data of the requested type was found

titter
06-25-2006, 11:23 PM
Yes do not setup a subdomain. You must contact your hosting company, and have them setup the CNAME record for you. Unless you have access to it yourself. Tell them you need a CNAME record to point from videos.yourdomain.com to vidiac.com (not www.vidiac.com, nor the ip address to their site) They should be able to help you.

More information about CNAME records can be found on the Vidiac website. I will not support Vidiac, they have thier own site, and forums to help you setup the Vidiac Video Portal.

http://www.vidiac.com/Installationfaq.aspx#cname

Cky47
06-25-2006, 11:34 PM
Yeah guys... it clearly states it when you sign up, so please do not bring those questions here. If you dont know what you are doing... well then maybe you shouldnt be doing it.

threat
06-25-2006, 11:37 PM
Well I'm trying to learn ok, but either way I will figure this out.

Cky47
06-25-2006, 11:40 PM
Make a thread on there forum...

threat
06-25-2006, 11:46 PM
No need to , waiting on host to make the change for me then I should be good to go

titter
06-26-2006, 02:06 AM
Good to hear, its all a learning process for some. Let me know when you get it working :] then click install!

titter
06-27-2006, 11:48 PM
Update to plugin has been uploaded.

The Realist
06-28-2006, 04:15 PM
Installed and setup cname and settings via vidiac. When I visit my video link, which I have edited due to a none standard template which is:

<a href="videos.php$session[sessionurl_q]"><img src="{IF}/video.gif" alt="" border="0" /></a> &nbsp;

Does that link look ok?

But the main problem is, when I use my IE6 the page starts to load and then closes up?

Any ideas.

Laters

thumbsucker
06-29-2006, 08:36 AM
It seems like anyone can upload a video as guest?

What exactly does the Vbulletin integration do?

threat
06-30-2006, 11:21 PM
Hey I got the cname set up and i get a error on the global when I click the video link. Do I upload the videos.php and js folder to the root?

threat
06-30-2006, 11:26 PM
This is error i get

Warning: main(./global.php): failed to open stream: No such file or directory in /home/gixxerpl/public_html/videos.php on line 40

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gixxerpl/public_html/videos.php on line 40

threat
06-30-2006, 11:33 PM
Ok I think it worked

http://www.gixxerplanet.com/home/videos.php?

Am I right? I uploaded the video.php into the forum root

Also its does not work in IE for me, and the colors are not changing at all when I want it to be a black background

titter
07-01-2006, 02:53 AM
videos.php goes to the root, the js file goes into the js folder. if you extract the zip using folder names, you will see the file structure.

threat
07-01-2006, 06:27 PM
Where do I go to hange the background? I want black instead of white. I changed the css on the admin panel of vidiac but nothing shows the changes. Anyone want to give me there code?

titter
07-02-2006, 10:00 PM
You also never added the java script to the vidiac section as well.

threat
07-04-2006, 11:38 AM
What do you mean, I uploaded the JS Folder.

titter
07-04-2006, 09:02 PM
You also have to add the javascript <script> to your templates on Vidiac.

Warlock40
07-05-2006, 03:23 PM
Same problem with IE loads but then all disappears.

As a matter of fact all but the two examples do the same thing in IE

Cky47
07-06-2006, 10:58 PM
Mine is fine... in fact I am installing 3.6 now and it still works fine.

Warlock40
07-07-2006, 02:34 AM
gggrreaaat for you. Yet that doesnt help. There is a problem and it is not just my machine. I've had members inform me that it works fine on netscape as well but none work in an EI environment. So if the examples in the listing work but others do not..something is different? help would be nice.

Warlock40
07-07-2006, 02:04 PM
Please look at my site then and tell me what happens in IE with yours. You'll see for a brief second the entire page will be seen then it disappears. Something before the page finishes loading is causing an error. I tried setting static pixel values to the width and heights just in case but nothing seems to change it.

www.rchobbies.ca/forum/videos.php

titter
07-07-2006, 03:33 PM
<script language="JavaScript" type="text/javascript">
document.domain = "rchobbies.ca/Forum/";
</script>

needs to be:

<script language="JavaScript" type="text/javascript">
document.domain = "rchobbies.ca";
</script>

in both the vidiac, and vb templates. should fix it, I installed this on another forum last night, worked fine.

I cannot stress enough how important getting this part of the code right is! If this is incorrect, it will not work at all.

oberheimhaven
07-07-2006, 10:23 PM
This rocks thanks for the great hack make sure you guys sign up before install. This was the easiest hack I have every dealt with zero tolerance.
works with firefox and IE 7.0

Thanks Mates!!:banana: :banana: :banana: :banana:

Mark Anthony
Musicians Quarters!!!!

Only one minor probelm the lil icon to play vid is X'ed broken link other than that all is go any help would be greatly appreciated!!

Never mind has been corrected man this was easy!!!

titter
07-07-2006, 11:57 PM
It is not hard, but a little coding knowledge is needed! Was my first hack, tried to make it as easy as I could! I think an admincp section would really make this even easier, and keep people away from editing templates. All in due time!

Warlock40
07-08-2006, 03:38 AM
I'm nuts..sorry titter...INSTALLED..

I would have sworn I tried that previously..but its working...and working awesome!!!! great hack....lovin it

Cky47
07-09-2006, 02:58 AM
So titter... we any closer to gettign this fully integrated? I havent been able to contact adam.

calgdsm
07-23-2006, 03:20 PM
Clicks Install!! Hope it works!!

Cky47
07-24-2006, 03:57 PM
Anymore progress? I really want to get this done titter.

MaLTRaiN
08-08-2006, 09:15 PM
Same problem with IE and Opera. I've done everything... any solution?

MaLTRaiN
08-08-2006, 09:44 PM
This forum... cero problem...

http://www.boardingscene.com/videos.php

Why??? :S

Cky47
08-09-2006, 03:14 AM
Cause my site is awsome?

MaLTRaiN
08-09-2006, 04:00 AM
Cause' you're cheating... :P

Tell the trick... ;)

titter
08-10-2006, 08:07 PM
what is the problem?

MaLTRaiN
08-10-2006, 08:21 PM
No problem... I finally made a page with my VBAdvanced and put the vidiac in a iframe and everything is perfect now... :)

VBUsers
08-10-2006, 10:42 PM
will this be ported to 3.6.0??

titter
08-11-2006, 04:41 AM
as soon as i install 3.6 on a forum later next week, it will make the 3.6 port ... should be good to go without many if any changes.

Cky47
08-11-2006, 07:17 PM
Its already 3.6 compatible.

www.boardingscene.com

Unless like I said above... maybe my sites cheating lol

SVT242
09-15-2006, 05:15 AM
ttt any progress on getting this mod updated for 3.6.1? :)

SVT242
09-23-2006, 10:52 AM
ttt any progress on getting this mod updated for 3.6.1? :)


TTT :)

SVT242
09-29-2006, 12:41 PM
To The Top :d

meissenation
11-12-2006, 12:32 AM
Make sure ya moderate the videos on time, if you don't apparently Vidiac moderates the video and will replace it with a "This video is unsuitable or it just sucks" even though it was 100% suitable and there was nothing wrong with it. Way to make the admin of the site look like a jackass.

rx_1badbird
11-14-2006, 01:57 PM
We just upgraded and the videos work with no problem.
Justin (Titter) is my admin for +++++ Motorsports Racing.

SVT242
12-14-2006, 09:33 AM
is this mod version 3.6.4 compliant?

titter
12-14-2006, 03:14 PM
yes. works fine with 3.6.4.

titter
05-18-2007, 05:09 PM
Currently working on a new system that will better integrate this with the forum. More news to come soon ... this should end up being a good update.