发新话题
打印

更新:SunPhoto相册V2.2 for Z Blog1.8

本主题由 washun 于 2008-3-20 18:37 移动
你的站上有视频 任何利用 CC Video Player for Z-BLOG 1.8 无语与花煜寒" 插件 我已经装好了 就是 Video.asp 不知道怎么弄
QQ 407386233

[ 本帖最后由 chenshijie 于 2008-4-11 08:08 编辑 ]

TOP

还是看源文件给你说明吧!
下面是video.asp页放在blog根目录下!
复制内容到剪贴板
代码:
<%@ CODEPAGE=65001 %>
<%
'///////////////////////////////////////////////////////////////////////////////
'//              Z-Blog
'// 作    者:    朱煊(zx.asd)
'// 版权所有:    RainbowSoft Studio
'// 技术支持:    rainbowsoft@163.com
'// 程序名称:   
'// 程序版本:   
'// 单元名称:   
'// 开始时间:   
'// 最后修改:   
'// 备    注:   
'///////////////////////////////////////////////////////////////////////////////
%>
<% Option Explicit %>
<% On Error Resume Next %>
<% Response.Charset="UTF-8" %>
<% Response.Buffer=True %>
<!-- #include file="c_option.asp" -->
<!-- #include file="function/c_function.asp" -->
<!-- #include file="function/c_system_lib.asp" -->
<!-- #include file="function/c_system_base.asp" -->
<!-- #include file="function/c_system_event.asp" -->
<!-- #include file="function/c_system_plugin.asp" -->
<%
Call System_Initialize()

LoadGlobeCache

Dim ArtList
Set ArtList=New TArticleList

ArtList.LoadCache

ArtList.template="video"

ArtList.Title="视频"

ArtList.Build

Response.Write ArtList.html


%><!-- <%=RunTime()%> --><%
Call System_Terminate()

If Err.Number<>0 then
        Call ShowError(0)
End If
%>
下面是video.html放在当前主题的TEMPLATE下,!
复制内容到剪贴板
代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
        <!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
        <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>css/print.css" type="text/css" media="print" />
        <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script><link rel="shortcut icon" href="/pfavicon.ico" />
        <title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#></title>
</head>
<body class="multi tags">
<script language="JavaScript" type="text/javascript">
        var str00="<#ZC_BLOG_HOST#>";
        var str01="<#ZC_MSG033#>";
        var str02="<#ZC_MSG034#>";
        var str03="<#ZC_MSG035#>";
        var str06="<#ZC_MSG057#>";
        var intMaxLen="<#ZC_CONTENT_MAX#>";
</script>
<div id="divAll">
                <div id="divTop">
                        <h1 id="BlogTitle"><a href="<#ZC_BLOG_HOST#>"><#ZC_BLOG_NAME#></a></h1>
                        <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
                </div>
                <div id="divNavBar">
<h3><#ZC_MSG052#></h3>
<ul>
<#CACHE_INCLUDE_NAVBAR#>
</ul>
                </div>
        <div id="divVideo">
<iframe style=PADDING: 0px; MARGIN: 0px;align:center;overflow-x:hidden; src='http://show.bokecc.com/showzone/0711/7E5D60850A2F0F41 ' frameBorder=0 width=100% scrolling=auto height=1300px allowTransparency=true id=cc_frame></iframe>                </div>

                </div>
        </div>
                <div id="divSidebar2">
                </div>
                <div id="divBottom">
                        <h3 id="BlogPowerBy">powered By<a href="http://www.rainbowsoft.org/zblog/" title="RainbowSoft Studio Z-Blog">Z-Blog <#ZC_BLOG_VERSION#></a> for.rainsun.</h3>
                        <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
                </div>
        </div>
</div>
</body>
</html>
<!-- <#BLOG_CREATE_TIME#> -->
修改video.html中的以下代码为你的展区代码即可
复制内容到剪贴板
代码:
<iframe style=PADDING: 0px; MARGIN: 0px;align:center;overflow-x:hidden; src='http://show.bokecc.com/showzone/0711/7E5D60850A2F0F41 ' frameBorder=0 width=100% scrolling=auto height=1300px allowTransparency=true id=cc_frame></iframe>  
[ 本帖最后由 rainsun 于 2008-4-11 09:26 编辑 ]

TOP

谢谢 太感谢

TOP

FTP上传以后怎么操作?
看了说明,好像有个添加目录的地方,但是在管理菜单中没有找到“在此输入目录名”这一项啊。
另:服务器不支持ASPJPEG,怎么才能关闭预览图?

[ 本帖最后由 John·Song 于 2008-4-22 01:35 编辑 ]

TOP

FTP上传方法请看这个贴子的9楼:http://bbs.rainbowsoft.org/thread-21337-1-1.html
另:服务器不支持ASPJPEG可以在参数设置里关闭.
ICQ:177658888
http://sunpig.cn
阳光下的猪

TOP

参数设置里的blog的路径指的是什么?

TOP

回复 18# 的帖子

!!就是你的BLOG放置的目录嘛!根目录下就不要管了!
ICQ:177658888
http://sunpig.cn
阳光下的猪

TOP

请问,为什么我的PHOTO.ASP页面下面错位了~!我重新上传了BLOG文件和相册插件也是这样的~!能帮我看看吗~!??
http://www.jsjsos.com/photo.asp

TOP

为什么我的不行呢

按照楼主说的做了。上传了两张图片。可是在相册管理里面都能看到。但是在首页进相册后却看不到。点击相册进去就是无法显示该页了。还有就是在相册管理那里点那个XML页也是无法显示的。提示如下

无法显示 XML 页。
使用 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。


--------------------------------------------------------------------------------

该位置上不应该有指定的属性。属性应该区分大小写。处理资源 'http://www.dgcmpt.cn/blog/photo/2008043004080378172.xml' 时出错。第 1 行,位置: 7

<?xml veRsion="1.0" encoding="UTF-8"?>
------^

请楼主帮忙

TOP

初始化相册,保存参数!
ICQ:177658888
http://sunpig.cn
阳光下的猪

TOP

插件请根据zblog插件机制制作,还有因为不是Z-blog官方的相册插件,所以不能以Z-blog相册命名,请作者注意一下

TOP

收到, 不好意思啊!!我也不是原作者!所以源用了原名
ICQ:177658888
http://sunpig.cn
阳光下的猪

TOP

发新话题