Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: OnlineVideos 1.1
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 7

balexandre
Junior Member

Denmark
418 Posts

Posted - 10 March 2008 :  21:39:47  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
As told some days ago in this post, here is the complete tutorial for the Marcel's Video MOD that I call OnlineVideos.

it has all the Marcel's code compiled into a nice step by step tutorial so you can't miss having this great accomplish in your Snitz Forum.

Thank you Marcel for the work I just compiled it and created nice icons ...

To download the MOD follow up this link

hope you like it...



Updated:
v.1.1: Fixed a small bug that would give "error: illegal use of flash tag!" when using Prompt box; Added video.js pointer to inc_header_short.asp<

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"



Edited by - balexandre on 16 November 2008 14:31:26

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 11 March 2008 :  08:20:42  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Good job Bruno!<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

AnonJr
Moderator

United States
5765 Posts

Posted - 11 March 2008 :  08:44:11  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Well there it is, the official blessing. <
Go to Top of Page

rrf
Starting Member

22 Posts

Posted - 13 March 2008 :  16:54:48  Show Profile  Reply with Quote
Works great!
Many thanks Bruno <
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 14 March 2008 :  11:30:44  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
off course! what would you expect ?


eheheh <

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

furk
Starting Member

11 Posts

Posted - 18 March 2008 :  04:36:24  Show Profile  Visit furk's Homepage  Reply with Quote
I've some troubles with this mod.

Followed the setup instructions but seem not working.

I tried all the tags, same result, video not showing.

This is what is been generated for example by the TUBE tag:

<div class="tube"><script language="javascript">EmbedYT("<a href="http://www.youtube.com/v/S_Va0ojp-Dk" target="_blank">http://www.youtube.com/v/S_Va0ojp-Dk</a>",375,298,"false","high","white","white")</script></div>


Any hint?<

Tha't all forks!

<center></center>
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 18 March 2008 :  07:45:27  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Furk, you do not seem to have added the appropriate tags to the ChkURLs function in inc_func_common.asp.
(UCase(Right(strArray(Counter-1), 7)) <> "[VIDEO]") and _
<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

furk
Starting Member

11 Posts

Posted - 18 March 2008 :  08:14:58  Show Profile  Visit furk's Homepage  Reply with Quote
function ChkURLs(ByVal strToFormat, ByVal sPrefix, ByVal iType)
	Dim strArray
	Dim Counter

	ChkURLs = strToFormat

	if InStr(1, strToFormat, sPrefix) > 0 Then
		strArray = Split(strToFormat, sPrefix, -1)
		ChkURLs = strArray(0)

		for Counter = 1 To UBound(strArray)
			if ((strArray(Counter-1) = "" Or Len(strArray(Counter-1)) < 5) And strArray(Counter)<> "") then
				ChkURLs = ChkURLs & edit_hrefs(sPrefix & strArray(Counter), iType)
			elseif ((UCase(Right(strArray(Counter-1), 6)) <> "HREF=""") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[IMG]") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[URL]") and _
				(UCase(Right(strArray(Counter-1), 6)) <> "[URL=""") and _
				(UCase(Right(strArray(Counter-1), 8)) <> "_BLANK"">") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[WMV]") and _
				(UCase(Right(strArray(Counter-1), 6)) <> "[TUBE]") and _
				(UCase(Right(strArray(Counter-1), 9)) <> "[MYSPACE]") and _
				(UCase(Right(strArray(Counter-1), 6)) <> "[GVID]") and _
				(UCase(Right(strArray(Counter-1), 10)) <> "[METACAFE]") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[WMA]") and _
				(UCase(Right(strArray(Counter-1), 4)) <> "[QT]") and _
				(UCase(Right(strArray(Counter-1), 4)) <> "[RV]") and _
				(UCase(Right(strArray(Counter-1), 7)) <> "FLASH]""") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "WMV]""") and _
				(UCase(Right(strArray(Counter-1), 4)) <> "QT]""") and _
				(UCase(Right(strArray(Counter-1), 4)) <> "RM]""") and _
				(UCase(Right(strArray(Counter-1), 7)) <> "[FLASH]") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[FLV]") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "TUBE]") and _
				(UCase(Right(strArray(Counter-1), 6)) <> "ftp://") and _
				(UCase(Right(strArray(Counter-1), 8)) <> "file:///") and _
				(UCase(Right(strArray(Counter-1), 7)) <> "http://") and _
				(UCase(Right(strArray(Counter-1), 8)) <> "https://") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "SRC=""") and _
				(UCase(Right(strArray(Counter-1), 1)) <> "-") and _
				(UCase(Right(strArray(Counter-1), 1)) <> "=") and _
				(strArray(Counter) <> "")) then

				ChkURLs = ChkURLs & edit_hrefs(sPrefix & strArray(Counter), iType)
			else
				ChkURLs = ChkURLs & sPrefix & strArray(Counter)
			end if
		next
	end if
end function


Followed the moddescription.html included in the archive.

Have i missed something?<

Tha't all forks!

<center></center>
Go to Top of Page

furk
Starting Member

11 Posts

Posted - 18 March 2008 :  08:49:18  Show Profile  Visit furk's Homepage  Reply with Quote
Double checked it and now when i insert a video i get only this in the post:

error: illegal use of flash tag!<

Tha't all forks!

<center></center>
Go to Top of Page

furk
Starting Member

11 Posts

Posted - 18 March 2008 :  09:03:24  Show Profile  Visit furk's Homepage  Reply with Quote
Solved!

The problem was in the use of prompt mode to inser the video. I adds a space before and after the tags, like this:

[tube] http://it.youtube.com/watch?v=4rb8aOzy9t4 [/tube]


Cutting off the spaces solves.

I try to fix the code to not make use of space...<

Tha't all forks!

<center></center>
Go to Top of Page

furk
Starting Member

11 Posts

Posted - 18 March 2008 :  09:10:05  Show Profile  Visit furk's Homepage  Reply with Quote
That's it:

Change

AddTxt=" [tube] "+txt+" [/tube]";


With

AddTxt=" [tube]"+txt+"[/tube]";]


Same thing need to be done with all video tags.

Cheers.<

Tha't all forks!

<center></center>

Edited by - furk on 18 March 2008 09:10:49
Go to Top of Page

jeffmetcalf
Starting Member

4 Posts

Posted - 18 March 2008 :  13:17:17  Show Profile  Reply with Quote
Hmmm...I can't get this to work at all.
When I click any of the icons, nothing happens, not even a 'click' for feedback, the tags aren't inserted, and typing in a vid by hand just results in a blank space in the forum.

Any thoughts?<
Go to Top of Page

AnonJr
Moderator

United States
5765 Posts

Posted - 18 March 2008 :  13:31:16  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Double-check your installation - sounds like something might have gotten missed.<
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 19 March 2008 :  04:14:54  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
read the instructions first, then apply them ...

it does work fine as you can see by other members

dont miss any step and remember that some code you need to add BEFORE the searching code, and other AFTER it!<

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

IWishToLearn
Starting Member

United States
24 Posts

Posted - 26 March 2008 :  13:38:29  Show Profile  Visit IWishToLearn's Homepage  Reply with Quote
Furk I'm having the same blank page problem but I can't seem to find what file you changed the txt in for this one:

That's it:

Change

AddTxt=" [tube] "+txt+" [/tube]";



With

AddTxt=" [tube]"+txt+"[/tube]";]



Same thing need to be done with all video tags.<
Go to Top of Page

IWishToLearn
Starting Member

United States
24 Posts

Posted - 26 March 2008 :  13:53:59  Show Profile  Visit IWishToLearn's Homepage  Reply with Quote
Ok, found that part in the .js. Still blank post though. What should I post for help?<
Go to Top of Page
Page: of 7 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07