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!
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.
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.
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.
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, 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
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
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?