TShopping

 找回密碼
 註冊
搜索
查看: 5523|回復: 4

[教學] X1.5 FB插件 修改詳解

    [複製鏈接]
發表於 2011-7-1 21:26:14 | 顯示全部樓層 |閱讀模式
 
Push to Facebook
forum.php
找到
  1. $modcachelist = array(
  2. 'index' => array('announcements', 'onlinelist', 'forumlinks', 'advs_index',
  3. 'heats', 'historyposts', 'onlinerecord', 'userstats'),
  4. 'forumdisplay' => array('smilies', 'announcements_forum', 'globalstick', 'forums',
  5. 'icons', 'onlinelist', 'forumstick','threadtable_info', 'threadtableids', 'stamps'),
  6. 'viewthread' => array('smilies', 'smileytypes', 'forums', 'usergroups', 'ranks',
  7. 'stamps', 'bbcodes', 'smilies', 'custominfo', 'groupicon', 'stamps',
  8. 'threadtableids', 'threadtable_info'),
  9. 'post' => array('bbcodes_display', 'bbcodes', 'smileycodes', 'smilies', 'smileytypes',
  10. 'icons', 'domainwhitelist'),
  11. 'space' => array('fields_required', 'fields_optional', 'custominfo'),
  12. 'group' => array('grouptype'),
  13. );
複製代碼
換成
  1. $modcachelist = array(
  2. 'index' => array('announcements', 'onlinelist', 'forumlinks', 'advs_index',
  3. 'heats', 'historyposts', 'onlinerecord', 'userstats', 'plugin'),
  4. 'forumdisplay' => array('smilies', 'announcements_forum', 'globalstick', 'forums',
  5. 'icons', 'onlinelist', 'forumstick','threadtable_info', 'threadtableids', 'stamps', 'plugin'),
  6. 'viewthread' => array('smilies', 'smileytypes', 'forums', 'usergroups', 'ranks',
  7. 'stamps', 'bbcodes', 'smilies', 'custominfo', 'groupicon', 'stamps',
  8. 'threadtableids', 'threadtable_info', 'plugin'),
  9. 'post' => array('bbcodes_display', 'bbcodes', 'smileycodes', 'smilies', 'smileytypes',
  10. 'icons', 'domainwhitelist', 'plugin'),
  11. 'space' => array('fields_required', 'fields_optional', 'custominfo', 'plugin'),
  12. 'group' => array('grouptype', 'plugin'),
  13. );
複製代碼
group.php
找到
  1. $cachelist = array('grouptype', 'groupindex');
複製代碼
換成
  1. $cachelist = array('grouptype', 'groupindex', 'plugin');
複製代碼
home.php
找到
  1. $cachelist = array('magic','userapp','usergroups');
複製代碼
換成
  1. $cachelist = array('magic','userapp','usergroups', 'plugin');
複製代碼
misc.php
找到
  1. $modcachelist = array(
  2.         'ranklist' => array('forums'),
  3. );
複製代碼
換成
  1. $modcachelist = array(
  2.         'ranklist' => array('forums', 'plugin'),
  3. );
複製代碼
portal.php
找到
  1. $cachelist = array('userapp', 'portalcategory');
複製代碼
換成

  1. $cachelist = array('userapp', 'portalcategory', 'plugin');
複製代碼
template/default/common/header_common.htm
找到
  1. <html xmlns="http://www.w3.org/1999/xhtml">
複製代碼
換成
  1. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">
複製代碼
找到
  1. <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
複製代碼
下面加上
  1. <meta http-equiv="X-UA-Compatible" content="IE=8" />
複製代碼
找到
  1. <meta http-equiv="MSThemeCompatible" content="Yes" />
複製代碼
下面加上 [code]<!--{if $_G[tid]}-->
        <meta property="og:type" content="article"/>
        <meta property="og:site_name" content="$_G['setting']['bbname']"/>
        <meta property="og:title" content="$_G[forum_thread][subject] - $_G['setting']['bbname']"/>
        <meta property="og:description" content="{if !empty($metadescription)}{echo htmlspecialchars($metadescription)}{/if}"/>
        <!--{if in_array('forum_viewthread', $_G['setting']['rewritestatus'])}-->
        <meta property="og:url" content="$_G[siteurl]thread-{$_G[tid]}-{$_G

 

臉書網友討論

本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
發表於 2011-7-2 23:37:49 | 顯示全部樓層
請問x2可以同用嗎

版主招募中

 樓主| 發表於 2011-7-2 23:40:53 | 顯示全部樓層
沒試過 不過應該差不了多少 要試試看才知道


發表於 2012-2-10 05:50:43 | 顯示全部樓層
謝謝!謝謝!謝謝!


發表於 2013-7-12 13:47:16 | 顯示全部樓層
TEST TEST TEST TEST TEST TEST TEST


*滑块验证:
您需要登錄後才可以回帖 登錄 | 註冊 |

本版積分規則



Archiver|手機版|小黑屋|免責聲明|TShopping

GMT+8, 2024-3-29 18:12 , Processed in 0.054113 second(s), 21 queries .

本論壇言論純屬發表者個人意見,與 TShopping綜合論壇 立場無關 如有意見侵犯了您的權益 請寫信聯絡我們。

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表