Results 1 to 5 of 5

Thread: link url

  1. #1
    Join Date
    Jan 2011
    Posts
    17

    Default link url

    how to get link url
    as
    www.mysite.com/flvvideo/43as3432/myvideo.flv

    for posting as bbcode on my site

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    Which version are you using now ?

    If its vshare 2.7 , you will get it from html source code

    1. Open Mozilla Firefox

    2. Click View

    3. From the drop-down-menu click "Page Source"
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Jan 2011
    Posts
    17

    Default

    yes i know this is there a easy solution for displaying this so my users can copy past the url

    as Permalink
    with in the bbcodes

  4. #4
    Join Date
    May 2011
    Posts
    25

    Default

    Quote Originally Posted by hotstud69 View Post
    how to get link url
    as
    www.mysite.com/flvvideo/43as3432/myvideo.flv

    for posting as bbcode on my site
    How about this:
    HTML Code:
    <input name="video_link" value="[url]{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/[/url]" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" />
    which is similar to what appears under the "Video URL (Permalink):" heading on view video page.

    That will copy the following:
    www.mysite.com/flvvideo/43as3432/myvideo.flv

    Or whichever video you are watching.
    Last edited by astro; 05-06-2011 at 02:07 PM.

  5. #5
    Join Date
    May 2011
    Posts
    25

    Default

    Open up templates/view_video.tpl

    find this:
    HTML Code:
    <div>
                        <label>Video URL (Permalink):</label>
                        &nbsp;&nbsp;<br /><br />
                        <input name="video_link" value="{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" />
                        <br /><br />
    and change to:

    HTML Code:
    <div>
    		    <label>BB Code:</label>
                        &nbsp;&nbsp;<br /><br />
                        <input name="video_link" value="[url]{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/[/url]" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" />
                        <br /><br />
                        <label>Video URL (Permalink):</label>
                        &nbsp;&nbsp;<br /><br />
                        <input name="video_link" value="{$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/" size="60" onclick="javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select();" readonly="readonly" />
                        <br /><br />

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
  •