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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Embedding Videos in a post?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 5

BigRigTom
New Member

United States
56 Posts

Posted - 29 February 2008 :  11:58:46  Show Profile  Visit BigRigTom's Homepage
Can someone tell me what I have to do to allow imbedded videos in a post?

Here is a Snitz forum that has an imbedded video but when I try to do it on my it doesn't work.
http://www.southcoastapa.com/snitz/topic.asp?TOPIC_ID=703&whichpage=2


Tom
http://hardingersystems.com/BAT-forum/

AnonJr
Moderator

United States
5768 Posts

Posted - 29 February 2008 :  12:02:27  Show Profile  Visit AnonJr's Homepage
MarcelG wrote a little MOD that adds some tags - search around here and/or over at oxle.com and you should be able to turn it up.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 29 February 2008 :  12:05:00  Show Profile  Visit AnonJr's Homepage
I think this is the one I remember... time for more coffee...

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=60387
Go to Top of Page

BigRigTom
New Member

United States
56 Posts

Posted - 29 February 2008 :  13:42:57  Show Profile  Visit BigRigTom's Homepage
Thanks,
I read through all 9 pages of that post and it just seems pretty fragmented and un-organized to me.

I appreciate the reference but does anyone have a link to a complete MOD.

I just don't do enough programming to be comfortable with all the "if this then that or maybe a nother thing" type stuff. I like to keep it as simple as possible, my brain fries easily!

My problem is - I know just enough to be dangerous!

Tom
http://hardingersystems.com/BAT-forum/

Edited by - BigRigTom on 29 February 2008 13:48:46
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 29 February 2008 :  15:22:33  Show Profile  Visit AnonJr's Homepage
Probably by using the two links MarcelG posted...

http://oxle.com/topic.asp?tid=4760

http://oxle.com/topic.asp?tid=3437
Go to Top of Page

BigRigTom
New Member

United States
56 Posts

Posted - 01 March 2008 :  20:48:23  Show Profile  Visit BigRigTom's Homepage
quote:
Originally posted by AnonJr

Probably by using the two links MarcelG posted...

http://oxle.com/topic.asp?tid=4760

http://oxle.com/topic.asp?tid=3437



Wow Kurt as usual I am amazed at how much you and a few others know about this stuff.
I think even I can follow those instructions.
Thanks again.
Tom

Tom
http://hardingersystems.com/BAT-forum/
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 01 March 2008 :  22:27:47  Show Profile  Visit AnonJr's Homepage
No problem. Just don't call me Kurt, mom preferred Mark.
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 02 March 2008 :  05:11:15  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
just like I have in my forum



and works great

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

BigRigTom
New Member

United States
56 Posts

Posted - 02 March 2008 :  12:34:13  Show Profile  Visit BigRigTom's Homepage
quote:
Originally posted by AnonJr

No problem. Just don't call me Kurt, mom preferred Mark.



Sorry Mark,
I looked at your quote below your signature and mis took that name as being your name...
That is the same kind of stupid mistakes that get me in trouble when programming or trying to follow someone's instructions in these MOD's.

My eyes see one thing and my brain totally gets something else.

Anyway, thanks for your help. It is much appreciated.

Tom
http://hardingersystems.com/BAT-forum/
Go to Top of Page

mdelcour2000
Junior Member

United States
133 Posts

Posted - 02 March 2008 :  14:56:37  Show Profile  Visit mdelcour2000's Homepage
balexandre: I can't seem to get it to work. I have uploaded ALL files, fixed the appropriate files that Marcel stated over at Oxle, and nothing. Can you or someone help me out here and tell me what I am doind wrong.

www.lacledeforum.com
username:test
password:test

http://lacledeforum.com/

"Never get so busy doing the work of the kingdom that you forget who the King is"
Go to Top of Page

BigRigTom
New Member

United States
56 Posts

Posted - 02 March 2008 :  15:23:26  Show Profile  Visit BigRigTom's Homepage
quote:
Originally posted by balexandre

just like I have in my forum



and works great



Bruno, how about a link to your forum site?

I installed the MOD and it works but I didn't get those icon buttons so the poster can get the proper tags at the click of a button.

I manually wrote the code in and it works great.
So I have improvised for the time being ...like this....

http://hardingersystems.com/BAT-forum/topic.asp?TOPIC_ID=47

How do I get those icon buttons that you show in your reply?

Tom
http://hardingersystems.com/BAT-forum/

Edited by - BigRigTom on 02 March 2008 15:30:21
Go to Top of Page

BigRigTom
New Member

United States
56 Posts

Posted - 02 March 2008 :  15:24:52  Show Profile  Visit BigRigTom's Homepage
quote:
Originally posted by mdelcour2000

balexandre: I can't seem to get it to work. I have uploaded ALL files, fixed the appropriate files that Marcel stated over at Oxle, and nothing. Can you or someone help me out here and tell me what I am doind wrong.

www.lacledeforum.com
username:test
password:test



You may be having the same issue I did.
Mine works but I have to manually enter the appropriate tags.

I did this for the time being:

http://hardingersystems.com/BAT-forum/topic.asp?TOPIC_ID=47


Tom
http://hardingersystems.com/BAT-forum/
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 02 March 2008 :  15:37:02  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
mdelcour2000

where are your video icons? you need to edit the file and place them ...



the smilies icons come from inc_smilies.asp file
the missing icons come from inc_post_buttons.asp file

and in post buttons files you should have:

' ADDING MORE BUTTONS FOR VIDEO LINKS
Response.Write	"<br/><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>Videos:</font> " & _
		"<a href=""Javascript:gvid();"" tabindex=""-1"">" & getCurrentIcon(strIconGVideo,fLang("L_I_P_Buttons200"),"align=""top""") & "</a>" & _
		"<a href=""Javascript:tube();"" tabindex=""-1"">" & getCurrentIcon(strIconYTube,fLang("L_I_P_Buttons201"),"align=""top""") & "</a>" & _
		"<a href=""Javascript:flashv();"" tabindex=""-1"">" & getCurrentIcon(strIconFlash,fLang("L_I_P_Buttons202"),"align=""top""") & "</a> " & _
		"<a href=""Javascript:metacafe();"" tabindex=""-1"">" & getCurrentIcon(strIconMetacafe,fLang("L_I_P_Buttons203"),"align=""top""") & "</a>" & _
		"<a href=""Javascript:myspacev();"" tabindex=""-1"">" & getCurrentIcon(strIconMySpace,fLang("L_I_P_Buttons204"),"align=""top""") & "</a>" & _
		"<a href=""Javascript:qtv();"" tabindex=""-1"">" & getCurrentIcon(strIconQuickTime,fLang("L_I_P_Buttons205"),"align=""top""") & "</a>" & _
		"<a href=""Javascript:wmv();"" tabindex=""-1"">" & getCurrentIcon(strIconWMV,fLang("L_I_P_Buttons206"),"align=""top""") & "</a>" & _
		"<a href=""Javascript:rv();"" tabindex=""-1"">" & getCurrentIcon(strIconRealVideo,fLang("L_I_P_Buttons207"),"align=""top""") & "</a>"


now... I edited and add more video links so, you delete the ones that you dont use, place that code after this line

"<a href=""Javascript:rv();"" tabindex=""-1"">" & getCurrentIcon(strIconRealVideo,fLang("L_I_P_Buttons207"),"align=""top""") & "</a>"



icons for everyone that does not have them (I made them by my self)

Google Video:
Youtube:
Flash:
Metacafe:
Myspace:
Quick Time:
Windows Media:
Real Video:

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"



Edited by - balexandre on 02 March 2008 15:41:51
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 02 March 2008 :  15:47:44  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
BigRigTom

remember that you need the javascript functions as well so when someone click in the icon they get it working placing the correct tag in the message box!

the code should be placed in the inc_code.js file and it's this one:


// Videos
function gvid() {
var text = getText();
if (helpstat){
alert("Google Video.\n\nUSE: [gvid]Google Video URL[/gvid]");
} else if (basic) {
AddTxt=" [gvid]" + text + "[/gvid]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Google Video URL",text);
} else {
txt=prompt("Google Video URL","Text");
}
if(txt!=null) {
AddTxt=" [gvid] "+txt+" [/gvid]";
AddText(AddTxt);
}
}
}
function tube() {
var text = getText();
if (helpstat){
alert("YouTube Video.\n\nUSE: [tube]YouTube Video URL[/tube]");
} else if (basic) {
AddTxt=" [tube]" + text + "[/tube]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("YouTube Video URL",text);
} else {
txt=prompt("YouTube Video URL","Text");
}
if(txt!=null) {
AddTxt=" [tube] "+txt+" [/tube]";
AddText(AddTxt);
}
}
}
function flashv() {
var text = getText();
if (helpstat){
alert("Flash Video.\n\nUSE: [flash]Flash Video URL[/flash]");
} else if (basic) {
AddTxt=" [flash]" + text + "[/flash]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Flash Video URL",text);
} else {
txt=prompt("Flash Video URL","Text");
}
if(txt!=null) {
AddTxt=" [flash] "+txt+" [/flash]";
AddText(AddTxt);
}
}
}
function metacafe() {
var text = getText();
if (helpstat){
alert("Metacafe Video.\n\nUSE: [metacafe]Metacafe URL[/metacafe]");
} else if (basic) {
AddTxt=" [metacafe]" + text + "[/metacafe]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Metacafe Video URL",text);
} else {
txt=prompt("Metacafe Video URL","Text");
}
if(txt!=null) {
AddTxt=" [metacafe] "+txt+" [/metacafe]";
AddText(AddTxt);
}
}
}
function myspacev() {
var text = getText();
if (helpstat){
alert("Myspace Video.\n\nUSE: [myspace]Myspace URL[/myspace]");
} else if (basic) {
AddTxt=" [myspace]" + text + "[/myspace]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Myspace Video URL",text);
} else {
txt=prompt("Myspace Video URL","Text");
}
if(txt!=null) {
AddTxt=" [myspace] "+txt+" [/myspace]";
AddText(AddTxt);
}
}
}
function qtv() {
var text = getText();
if (helpstat){
alert("QuickTime Video.\n\nUSE: [qt]QuickTime URL[/qt]");
} else if (basic) {
AddTxt=" [qt]" + text + "[/qt]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("QuickTime Video URL",text);
} else {
txt=prompt("QuickTime Video URL","Text");
}
if(txt!=null) {
AddTxt=" [qt] "+txt+" [/qt]";
AddText(AddTxt);
}
}
}
function wmv() {
var text = getText();
if (helpstat){
alert("Windows Media Video.\n\nUSE: [wmv]Windows Media Video URL[/wmv]");
} else if (basic) {
AddTxt=" [wmv]" + text + "[/wmv]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Windows Media Video URL",text);
} else {
txt=prompt("Windows Media Video URL","Text");
}
if(txt!=null) {
AddTxt=" [wmv] "+txt+" [/wmv]";
AddText(AddTxt);
}
}
}
function rv() {
var text = getText();
if (helpstat){
alert("Real Video.\n\nUSE: [rv]Real Video URL[/rv]");
} else if (basic) {
AddTxt=" [rv]" + text + "[/rv]";
AddText(AddTxt);
} else {
if (text) {
txt=prompt("Real Video URL",text);
} else {
txt=prompt("Real Video URL","Text");
}
if(txt!=null) {
AddTxt=" [rv] "+txt+" [/rv]";
AddText(AddTxt);
}
}
}

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"



Edited by - balexandre on 02 March 2008 15:49:48
Go to Top of Page

BigRigTom
New Member

United States
56 Posts

Posted - 02 March 2008 :  19:26:47  Show Profile  Visit BigRigTom's Homepage
Bruno,
I have tried everything I know to try but so far NADA

I must be missing a step somewhere.
I copied your ICON images into my forum directory.

I updated the 2 files (post_buttons and inc_code) you mentioned and tweeked the code (looks like you had a lang fuction in there I took that out.
The ICON names in the code were all a little off from what you posted and I corrected them.

I finally got the new line under my current icons and I got the work videos: to appear in that new line but still no icons.

I am still messing with it if you get this msg right away any help would be appreciated.
Thx
Tom

Tom
http://hardingersystems.com/BAT-forum/
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 02 March 2008 :  21:15:46  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message
the steps are:

1. add the icons to the inc_post_buttons.asp file
2. add the javascript to the inc_code.js
3. add the functions to replace the tag code in inc_func_common.asp (here, there's a lot of code to insert)
4. add the embeding.js to the forum root and link it in the inc_header.asp and inc_header_short.asp
5. add the code to inc_iconfiles.asp

resources:
Video tag
Mod: Embed media in posts
Mod: Using video/flash in your posts!

Yes I do have the language selector cause I use Image Forums 2001

if you get step 1 and 2 you will have the icons in the post and when clicked you will get the message text to show the start and ending tags of that particularly button, right?

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"



Edited by - balexandre on 03 March 2008 05:07:27
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07