+ Reply to Thread
Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By faceknock

Thread: Add Twitter Button to Your View Video Page of VShare 2.7

  1. #1
    faceknock is offline Member
    Join Date
    May 2009
    Posts
    37

    Lightbulb Add Twitter Button to Your View Video Page of VShare 2.7

    Dear All,

    Here is the code to add a twitter button below the player:

    Code:
     
    <a href="h t t p : / / twitter . com/home/?status={$base_url}/view/{$view.video_info.video_id}/{$view.video_info.video_seo_name}/{literal}%20{/literal}{$view.video_info.video_title}" target="_blank" title="Twitter"><img src="{$img_css_url}/images/twitter.gif" title="Follow me on Twitter" width="18" height="18" border="0" alt="Follow me on Twitter" /></a>
    Please remove the spaces in the first part of the code. (this is because of this forum)

    Enjoy.

    Thanks
    Last edited by faceknock; 10-29-2009 at 01:32 AM.

  2. #2
    DeeperImage is offline Junior Member
    Join Date
    Jul 2008
    Posts
    8

    Default

    For noobs like me, what template and where in the body/code would one add this code to?

  3. #3
    faceknock is offline Member
    Join Date
    May 2009
    Posts
    37

    Red face Twitter Code

    You shoud enter this code in "view_video.tpl" file which is located in templates folder.

    In this file you should locate the following line:

    <a href="http://myweb2.search.yahoo.com/myres...fo.video_title}" target="_blank" title="My Yahoo!"><img src="{$img_css_url}/images/yahoo.png" border="0" alt="yahoo" /></a>
    and then add below this line:

    &nbsp;
    <a href="Twitter}" target="_blank" title="Twitter"><img src="{$img_css_url}/images/twitter.gif" title="Follow me on Twitter" width="18" height="18" border="0" alt="Follow me on Twitter" /></a>
    I hope this will help.

    Thanks
    gangsterrecords likes this.

  4. #4
    DeeperImage is offline Junior Member
    Join Date
    Jul 2008
    Posts
    8

    Thumbs up

    Quote Originally Posted by faceknock View Post
    You shoud enter this code in "view_video.tpl" file which is located in templates folder.

    In this file you should locate the following line:



    and then add below this line:



    I hope this will help.

    Thanks
    Thanks, that worked!!

  5. #5
    bunnytv is offline Junior Member
    Join Date
    Nov 2008
    Posts
    17

  6. #6
    faceknock is offline Member
    Join Date
    May 2009
    Posts
    37

    Default Twitter Button

    It will work. The only thing is that you have to add a 16x16 twitter icon to your "template/images" directory and name it twitter.jpg.

  7. #7
    bunnytv is offline Junior Member
    Join Date
    Nov 2008
    Posts
    17

    Default

    fix it thanks for the help ? have you use the twitter mod and if so can you show me some video how it work

    or more info on that im real more in to login mod like i did with word press for face book myspace yahoo and msn
    Last edited by bunnytv; 11-29-2009 at 07:40 PM.

+ Reply to Thread

Tags for this Thread

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