Results 1 to 9 of 9

Thread: Default a "No" Embedded setting - How?

  1. #1

    Default Default a "No" Embedded setting - How?

    Hi,

    Is it possible to have the default setting for Embedded information set to "NO"?

    I do not want video embedded into other websites (basically leeched), therefore the Embedded information is superfluous. I'd like the option removed or fixed at a NO selection.

    Any suggestions on how this can be achieved would be appreciated.

    Dafydd

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    If you do not want to allow embedded, just edit the templates are removed the code for it. Next release, there will be option to disable emended code from admin area.

  3. #3

    Default

    Quote Originally Posted by admin
    If you do not want to allow embedded, just edit the templates are removed the code for it. Next release, there will be option to disable emended code from admin area.
    Thank you admin, which template do you refer to please.

    Dafydd

  4. #4
    Join Date
    May 2007
    Posts
    588

    Default

    view_video.tpl

    and

    upload_success.tpl

  5. #5

    Default

    Thank you Leki, I located the view_video.tpl but didn't think of the upload_success.tpl page - thanks.

    I'm new to php... but that doesn't mean I'm slow...just need to find the different bits in this script. Your help is again appreciated.

    I commented out the two sections.

    Thank you.

    Dafydd

  6. #6
    Join Date
    May 2007
    Posts
    588

    Default

    no probs, yes i remember what it was like when i first got the script and was trying to find templates, but i done so much editing to every template i know them all well now :)

  7. #7

    Default

    Hi leki,

    Umm, well I've used </-- and --> to remove the Embedded display text box but appear to also effect the Comments (text box for comments) section as well even though I haven't commented out that section.

    Any suggestions... :D ... please.

    see below the commented out and the no comment area effected.

    thanks

    Dafydd

    *************
    </--



    <?php if ($this->_tpl_vars['isvideoembabed'] == 'enabled'): ?>

    </--<span style="PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px; BACKGROUND-COLOR: #ffffaa">
    Embeddable Player:</SPAN>



    -->


    </--<TEXTAREA name=video_play ROWS="3" COLS="45"
    onclick=javascript:document.linkForm.video_play.fo cus();document.linkForm.video_play.select();
    readOnly><IFRAME vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;" width="435" height="470" SRC="<?php echo $this->_tpl_vars['baseurl']; ?>
    /show.php?id=<?php echo $this->_tpl_vars['vinfo'][0]['VID']; ?>
    "></IFRAME></TEXTAREA>-->

    </--<div style="FONT-SIZE: 11px">(Put this video on your website. Works on Friendster, eBay, Blogger, MySpace!)





    </div>-->


    <?php endif; ?>


    </td>
    </tr>


    </table>
    </FORM>

    </td>
    </tr>
    </table>






    <a name=postcomment></A>

    <div style="FONT-WEIGHT: bold; PADDING-BOTTOM: 5px; COLOR: #444" style="PADDING-left: 10px">Comment on this video:</div>

    <?php if ($_SESSION['UID'] != "" && $this->_tpl_vars['isvideocommented'] != 'no'): ?>
    <div ID=divComments>

    <form name="Add_comment" method="post" action="<?php echo $this->_tpl_vars['baseurl']; ?>
    /view_video.php?viewkey=<?php echo $_REQUEST['viewkey']; ?>
    &page=<?php echo $_REQUEST['page']; ?>
    &viewtype=<?php echo $_REQUEST['viewtype']; ?>
    &category=<?php echo $_REQUEST['category']; ?>
    ">
    <div id=div_main_comment style="PADDING-left: 10px">
    <textarea name=addcomment ID=txtComments rows=5 cols=30></textarea>


    <input type="button" name="commentpost" value="Post Comment" onClick=fxSendComments('divComments','txtComments' ,<?php echo $_SESSION['UID']; ?>
    ,<?php echo $this->_tpl_vars['VID']; ?>
    )>
    </div>
    </FORM>

    </DIV >
    <div ID=divComResult1 style='display:none'>
    <FONT COLOR=#339900>Your Comments has posted successfully.</FONT>
    </div>
    <div ID=divComResult2 style='display:none'>
    <FONT COLOR=#FF0033>Your already posted comments on this video.</FONT>
    </div>
    <?php endif; ?>


    <table width=372>
    <tr>
    <td style="PADDING-left: 10px">

    <table class=commentsTitle width="96%">
    <tr>
    <td style="PADDING-left: 10px">Comments (<?php echo $this->_tpl_vars['commentcount']; ?>
    ): </td>
    </tr>
    </table>

    </td>
    </tr>

    *************

  8. #8
    Join Date
    May 2007
    Posts
    588

    Default

    try using to comment out

  9. #9

    Default

    Thanks leki, I'll give that ago.

    Dafydd

Similar Threads

  1. locate "page" folder? modify html file
    By pmarket in forum Template Modifications
    Replies: 1
    Last Post: 02-17-2008, 02:26 PM
  2. Where is "guest bar" also bar "most viewed" etc
    By abeez in forum Template Modifications
    Replies: 2
    Last Post: 01-21-2008, 03:33 AM
  3. How long do the "last 5 users online" names stay in list?
    By grynmoors in forum General Discussions
    Replies: 4
    Last Post: 09-12-2007, 08:18 AM
  4. Bottom Advert Broken in "Recently Added Groups" page
    By grynmoors in forum Installation Support
    Replies: 2
    Last Post: 09-09-2007, 01:24 AM
  5. "Classified " Site, and "Image Hosting"
    By chiefody in forum Sales Questions
    Replies: 1
    Last Post: 07-04-2007, 08:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •