歡迎光臨, 訪客. 請先 登入註冊一個帳號.
五月 06, 2024, 11:57:28 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
  列出文章
頁: 1 [2] 3 4 ... 6
16  開發 / 外掛程式 / Re: 秘密文章問題 於: 三月 07, 2006, 11:57:21 上午
看不出有甚麼問題
17  開發 / 外掛程式 / Re: 讓 LifeType 使用 TinyMCE 的 g2image plugin 來選取 Gallery2 的照片 於: 三月 04, 2006, 10:27:51 上午
twu2大兄,

又是我這個問題青年,

照你的方法setup下,出現這個error

引用
{$lang_g2image_g2_fatal_error}Error (GALLERY_SUCCESS)
in at line 0

我想應該是G2的path出現問題,
網址及檔案位置
LT: http://hkplog.com                /home/hkplogadmin/lifetype-1.0.2
G2: http://gallery.hkplog.com   /home/hkplogadmin/gallery2

會否影響到$g2ic_gallery2_embed_uri = '/';的設定呢?

thx
18  開發 / 外掛程式 / 解決了 - Gallery2 plugins問題 於: 三月 03, 2006, 03:52:48 下午
參考了版上各位兄弟的做法,我仍未能成功整合.雖然之前都有人說還是分開的好,不過G2的功能的確比檔案中心強大,而且亦有朋友是成功整合的,所以我不會放棄.

現在的問題是,

1. plugin的link可以用,可以embed在LT下,不過所有的圖片都不能顯示.

2. 如果G2開啟了URL REWRITE的話,只開到G2首頁,進入不了相簿.

LT:1.0.3
G2:2.0.3
plugin設定:
程式碼:
/home/hkplogadmin/gallery2/embed.php
index.php?op=gallery&blogId=2
/
gallery2

LT PATH: /home/hkplogadmin/lifetype-1.0.2
G2 PATH: /home/hkplogadmin/gallery2

想問是否Relative path出了問題?還是其他地方出了問題呢?

另外,我再找到一個tinymce的g2plugin,可以配合tinymce使用,不過亦是embed mode出現問題,顯示不了圖片.

如果embed mode成功的話,整合就更完美了.
19  支援 / 安裝與設定 / Re: why my WYSIWYG editor is gone??? 於: 三月 03, 2006, 08:44:45 上午
先檢查一下 管理面版 » 全部站台管控 » 全域設定 內
htmlarea_enabled
啟用或停用即視即所得(WYSIWYG)文章編輯。
是否已開啟?
20  開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣?? 於: 三月 02, 2006, 03:31:20 下午
另外,我試了一次基本步法,取消了網址改寫,但問題仍是出不了圖,沒有了theme.
21  開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣?? 於: 三月 02, 2006, 03:17:24 下午
再thx,

不過仍未成功,code有點問題.
你提供的code
程式碼:
RewriteCond %{THE_REQUEST} /v/([^?]+)(?.| .)
RewriteCond %{REQUEST_FILENAME} !/index.php$
RewriteRule .   index.php?op=gallery&blogId=1&g2_view=core.ShowItem&g2_path=%1   [QSA,L]

我的G2的code
程式碼:
    RewriteCond %{THE_REQUEST} \ /v/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /main.php?g2_view=core.ShowItem&g2_path=%1   [QSA,L]

我見是少了幾個"\"的,所以我跟著你的code去改
程式碼:
    RewriteCond %{THE_REQUEST} \ /v/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !index\.php
    RewriteRule .   /index.php?op=gallery&blogId=1&g2_view=core.ShowItem&g2_path=%1   [QSA,L]

還是一樣不行.

thx
22  開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣?? 於: 三月 02, 2006, 01:24:33 下午
先THX twu2大兄,

因為小弟還未升級2.1 rc1,所以只是沿用sf上下載的舊版.不過為了方便,我是有使用"網址改寫"->"顯示項目",不過的去掉了/v這個perfix.

G2的.htaccess內是這樣
程式碼:
RewriteCond %{THE_REQUEST} \ /([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_FILENAME} !main\.php
RewriteRule .   /main.php?g2_view=core.ShowItem&g2_path=%1   [QSA,L]

LT的.htaccess加入了
程式碼:
RewriteCond %{THE_REQUEST} /([^?]+)(?.| .)
RewriteCond %{REQUEST_FILENAME} !/index.php$
RewriteRule .   index.php?op=gallery&[color=Red]blogId=1[/color]&g2_view=core.ShowItem&g2_path=%1   [QSA,L]

加了這段的問題是整個plog都不能進入,會出error 500

不加這段的結果是顯示不到相片,從LT進入不到G2.上面紅色的blogId=1是否主因?因為我的blog id不是1是2.如果是這個問題,其他的blog又可以如何使用?

我的PLOG網址http://sunkit.hkplog.com,可否請大兄再指點一二.


23  開發 / 外掛程式 / Re: Galerry2 整合 lifetype 1.0.3 後,可以用但無法回上一層??怎麼會這樣?? 於: 三月 02, 2006, 10:45:58 上午
twu2大兄,

得知你對GALLERY2整合甚有心得,小弟有以下幾問.

1. 小弟的LT跟G2都是mulituser的,之前試過用G2 plugin的random photo是整個G2的random photo,想問有方法做到指定album內的random,設定上,LT的blog_ownername跟G2的album name是相同的.

2. 如果以上功能是現階段無法達成,那麼只要簡單的embed就可以,就像你的blog那樣,menu bar中相簿的link,想請問是如何設置才做得到可以embed在blog.

thx!
24  支援 / 安裝與設定 / Re: 關於tinymce的問題與建議! 於: 二月 16, 2006, 08:23:19 上午
LSS大兄,問題解決了,thx!

資料如下:
LT : 1.0.3 (由1.0.2 UPGRADE)
Tinymce : 2.0.1 final (在更新 TinyMCE 編輯器版本至 2.0.1 final 這篇下載)
Tinymce 迴響 是參照這篇 替回響加上 TiyMCE 的功能(增修 1 版)

語系的問題,是這句嘛?
程式碼:
language : "zh_tw",

改成
程式碼:
language : "zh_tw_utf8", 
就可以用了.

再thx!
 
25  支援 / 安裝與設定 / Re: 關於tinymce的問題與建議! 於: 二月 15, 2006, 09:20:28 下午
THX LSS大兄,去掉x就可以了,

不過有另一個問題出現,頭三個icon不見了,出了x圖示,應該是粗,斜,底線三個,

發新文章那邊是正常可見的.

再thx
26  支援 / 安裝與設定 / Re: 檔案中心的兩個問題 於: 二月 15, 2006, 03:49:04 下午
Mark兄,再請教一個問題,下面紅色的link是我修改的,如果要在新視窗開啟可以如何改?
另外可否get username的,因為我的gallery2都是用username做album root的,
e.g. http://gallery.hkplog.com/sunkit/

引用
<ResourcesGroup url="http://gallery.hkplog.com" localeId="resourceCenter">
</ResourcesGroup>
27  支援 / 安裝與設定 / Re: 關於tinymce的問題與建議! 於: 二月 15, 2006, 01:58:59 下午
對不起lss,翻了這麼舊的post上來,不過我真的無法完成,發表文章的tinymce已完成,迴響的卻用不了.

以下是我的commentform.template, 麻煩lss大兄指點一二.thx!
程式碼:
<script language="javascript" type="text/javascript" xsrc="{$url->getBaseUrl()}/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" xsrc="{$url->getTemplateFile("tiny_mce-commentform.js")}"></script>
  <form action="{$url->getIndexUrl()}" method="post">
   <small>{$locale->pr("comment_topic")}</small><br/><input type="text" name="commentTopic" value=""/><br/>
   <small>{$locale->pr("comment_text")}*</small><br/><textarea rows="10" cols="37" name="commentText"></textarea><br/>
   <small>{$locale->pr("comment_username")}*</small><br/> <input type="text" name="userName" value=""/><br/>
   <small>{$locale->pr("comment_email")}</small><br/> <input type="text" name="userEmail" value=""/><br/>
   <small>{$locale->pr("comment_url")}</small><br/> <input type="text" name="userUrl" value=""/><br/>
   {if $authimage->isEnabled()}
<small><label for="authImage">AuthImage</label></small><br/>
<input type="text" name="authImage" id="authImage" value="" />
{$authimage->show()}
   {/if}
   <br/>
   <input type="submit" value="{$locale->pr("comment_send")}" name="Add"/>
   &nbsp;&nbsp;<input type="reset"><br/><br/>
   <input type="hidden" name="op" value="AddComment"/>
   <input type="hidden" name="articleId" value="{$post->getId()}"/>
   <input type="hidden" name="blogId" value="{$blog->getId()}"/>
   <input type="hidden" name="parentId" value="{$parentId}"/>

   {* Anti-Spam Comments *}
   {if !empty($hiddeninput)}
     {if $hiddeninput->isEnabled()}
       {foreach from=$hiddeninput->getHiddenFields() item=hiddenField}
       <input type="hidden" name="{$hiddenField}" value="GetOut!" />
       {/foreach}
     {else}
       Warning: {$locale->tr("HiddenInput")} is required or enabled.
     {/if}
   {/if}
   

  </form>

麻煩你.
28  支援 / 安裝與設定 / Re: 檔案中心的兩個問題 於: 二月 14, 2006, 04:14:52 下午
多謝mark幫我證實了是bug.
29  支援 / 安裝與設定 / Re: 檔案中心的兩個問題 於: 二月 14, 2006, 11:33:25 上午
想問,檔案中心是否無法關閉的?

我不希望user再使用LT內置的檔案中心.

THX

30  支援 / 使用與操作 / Re: 引用(trackback)問題 於: 二月 11, 2006, 10:18:10 下午
THX,

不過因為server另有gallery2 service提供,需要php 5.0.4以上,或者真的需要downgrade php了
頁: 1 [2] 3 4 ... 6