SCLUB免費論壇申請-使用者論壇's Archiver

ddonsggc1991 發表於 2016-6-5 02:48

各位大大好,想詢問有關於youtube放置首頁的問題

小弟是使用Discuz3.0的版本
可是我查到的文章都是關於帖子內加入youtube的教學
我想請問如何在首頁放置youtube影片呢?
如圖
[img]http://miupix.cc/dm/PF8B2G/bandicam%202016-06-05%2002-46-05-544.jpg[/img]

我所有的廣告都試過了可是都放不對位置
有大大能教我一下這個該如何放置嗎?
還是需要ftp
因為我是有購買網域的
所以有ftp
求大大教學.....

繽紛色彩 發表於 2016-6-5 08:39

有關youtube問題
樓主可以使用關鍵字『youtube』搜索標題
在此提供其中一個視頻設置教學鏈結
[url]http://joinbbs.net/discuz/viewthread.php?tid=19274[/url]

致於ftp問題
曾多次看到管大回覆會員時
都會回答:
『您好,SCLUB論壇並未支援FTP功能,建議您使用外連結的方式來連結您的圖檔!!』
當然你說你是購買網域
未知是否SCLUB雲端專屬主機
如果是
那便要待管大星期一回來
再由他回覆吧

无界 發表於 2016-6-5 08:53

进入运营-站点广告-全局 页头通栏广告 添加代码展现方式的广告就行了

ddonsggc1991 發表於 2016-6-5 10:04

[i=s] 本帖最後由 ddonsggc1991 於 2016-6-5 10:08 編輯 [/i]

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270283&ptid=32586]2#[/url] [i]繽紛色彩[/i] [/b]

大大我是有FTP的..
那篇文章我有看過
可是不是我照他的方式用之後
是在帖子裡可以加入youtube視屏
可是我想要在論壇首頁四格下面加入
兩個影片
一個靠左一個靠右

ddonsggc1991 發表於 2016-6-5 10:06

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270284&ptid=32586]3#[/url] [i]无界[/i] [/b]

大大您好~
我放置之後影片有出來
可是變成置中
我該如何讓他靠左或靠右呢?

无界 發表於 2016-6-5 10:24

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270289&ptid=32586]5#[/url] [i]ddonsggc1991[/i] [/b]


    把论坛地址放上来我看看

ddonsggc1991 發表於 2016-6-5 10:32

[i=s] 本帖最後由 ddonsggc1991 於 2016-6-5 11:07 編輯 [/i]

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270293&ptid=32586]6#[/url] [i]无界[/i] [/b]



大大您好
我放置就變成這樣了..
我想讓他靠右
或靠左
跟版面旁邊的線對其
用好久了都沒辦法成功

无界 發表於 2016-6-5 10:50

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270294&ptid=32586]7#[/url] [i]ddonsggc1991[/i] [/b]


    你的地址我无法打开,不过你可以尝试下边代码。[code]<div style="background-color: #E8EFF5;width: 960px;margin:0 auto">               
<table width="960" border="0" cellspacing="0" cellpadding="5">
  <tbody><tr>
<td width="50%" align="center" valign="middle"><embed height="315" width="470" quality="high" allowfullscreen="true" type="application/x-shockwave-flash" src="http://share.acg.tv/flash.swf" flashvars="aid=4718157&amp;page=1" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" title="Adobe Flash Player"></td>
<td width="50%" align="center" valign="middle"><embed height="315" width="470" quality="high" allowfullscreen="true" type="application/x-shockwave-flash" src="http://share.acg.tv/flash.swf" flashvars="aid=4718157&amp;page=1" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" title="Adobe Flash Player"></td>
  </tr>
</tbody></table>               
</div>[/code]其中的两段[code]<embed height="315" width="470" quality="high" allowfullscreen="true" type="application/x-shockwave-flash" src="http://share.acg.tv/flash.swf" flashvars="aid=4718157&amp;page=1" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" title="Adobe Flash Player">[/code]你可以换成youtube的链接代码

ddonsggc1991 發表於 2016-6-5 11:18

[i=s] 本帖最後由 ddonsggc1991 於 2016-6-5 11:19 編輯 [/i]

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270295&ptid=32586]8#[/url] [i]无界[/i] [/b]

[img]http://miupix.cc/dm/XCNZ3J/bandicam%202016-06-05%2011-13-22-436.jpg[/img]

大大我放置後變成這樣 黃色圈起來底部會有白色的底圖
然後紅色圈起來的地方沒有對其....
在此也感謝大大一直有耐心的回覆我
小弟真的感激不盡
可是真的好奇怪
怎麼會歪成這樣.....

无界 發表於 2016-6-5 11:41

看到代码中的width="960"么?调整为你页面一样的宽度,至于背景可以把background-color: #E8EFF5;删除即可

ddonsggc1991 發表於 2016-6-5 11:45

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270297&ptid=32586]10#[/url] [i]无界[/i] [/b]

大大
我發現
我設定1440他會網右邊跑超多
然後設定0又回到一樣的地方~"~

无界 發表於 2016-6-5 11:52

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270298&ptid=32586]11#[/url] [i]ddonsggc1991[/i] [/b]


    我能看到了你试试我的代码 直接放进去 不要修改[code]<div style="width: 960px;margin:0 auto">               
<table width="960" border="0" cellspacing="0" cellpadding="5">
  <tbody><tr>
<td width="50%" align="center" valign="middle"><iframe width="470" height="315" src="https://www.youtube.com/embed/s3F7aSd5EyM" frameborder="0" allowfullscreen=""></iframe></td>
<td width="50%" align="center" valign="middle"><iframe width="470" height="315" src="https://www.youtube.com/embed/s3F7aSd5EyM" frameborder="0" allowfullscreen=""></iframe></td>
  </tr>
</tbody></table>               
</div>[/code]

ddonsggc1991 發表於 2016-6-5 11:55

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270299&ptid=32586]12#[/url] [i]无界[/i] [/b]

大大可以了...
為什麼...

无界 發表於 2016-6-5 12:00

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270300&ptid=32586]13#[/url] [i]ddonsggc1991[/i] [/b]


    因为它是以你的主体表格宽度960px居中 而不是body的1000px

ddonsggc1991 發表於 2016-6-5 12:00

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270301&ptid=32586]14#[/url] [i]无界[/i] [/b]

太感謝大大你了
超感謝 謝謝大大

ddonsggc1991 發表於 2016-6-5 12:10

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270301&ptid=32586]14#[/url] [i]无界[/i] [/b]


所以大大影片大小無法調用?
如果兩個影片<iframe width="560"
那wdith="1140"

好像也不行~"~
我好像還是不太了解主體表格寬度960px居中和body的1000意思

感謝版大超有耐心的教學謝謝

无界 發表於 2016-6-5 15:10

[i=s] 本帖最後由 无界 於 2016-6-5 15:16 編輯 [/i]

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=270303&ptid=32586]16#[/url] [i]ddonsggc1991[/i] [/b]


    那你只有修改header模版然后ftp传上去更新了,比如你使用的是leo风格,那么就找到leo风格下的template\leo\common文件夹下的header模版。

如图修改:
[attach]75567[/attach]



具体放置的代码是[code]<div style="width: 1270px;margin:0 auto">               
<table width="1260" border="0" cellspacing="0" cellpadding="5">
  <tbody><tr>
<td width="50%" align="center" valign="middle"><iframe width="620" height="315" src="https://www.youtube.com/embed/s3F7aSd5EyM" frameborder="0" allowfullscreen=""></iframe></td>
<td width="50%" align="center" valign="middle"><iframe width="620" height="315" src="https://www.youtube.com/embed/s3F7aSd5EyM" frameborder="0" allowfullscreen=""></iframe></td>
  </tr>
</tbody></table>               
</div>[/code]

appre23 發表於 2016-6-8 03:22

[quote]回復  ddonsggc1991


    你的地址我无法打开,不过你可以尝试下边代码。其中的两段你可以换成youtube的 ...
[size=2][color=#999999]无界 發表於 2016-6-5 10:50[/color] [url=http://joinbbs.net/discuz/redirect.php?goto=findpost&pid=270295&ptid=32586][img]http://joinbbs.net/discuz/images/common/back.gif[/img][/url][/size][/quote]


   thank you for your kind sharing. They are just what I need. Thanks

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.