Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] X3的插件二次开发教程实在是无比无比无比的差劲

[复制链接]
y119977 发表于 2013-10-5 01:48:16 | 显示全部楼层 |阅读模式
X3的插件二次开发教程实在是无比无比无比的差劲,尤其是嵌入点教程,写的狗屁不通根本看不明白,写个插件想在全局嵌入点 global_usernav_extra3 输出一句话都无法实现,真JB垃圾。就输出一句话有这么难吗
  1. <?php

  2. class plugin_dayfreedown {
  3.         function global_usernav_extra3() {
  4.                 return "eeeeeeeeeeeeeeeeeeeee";
  5.         }
  6.         function global_usernav_extra3_output() {
  7.                 return "eeeeeeeeeeeeeeeeeeeee";
  8.         }
  9. }
  10. class plugin_dayfreedown_common extends plugin_dayfreedown {
  11.         function global_usernav_extra3() {
  12.                 return "eeeeeeeeeeeeeeeeeeeee";
  13.         }
  14.         function global_usernav_extra3_output() {
  15.                 return "eeeeeeeeeeeeeeeeeeeee";
  16.         }
  17. }
  18. class plugin_dayfreedown_forum extends plugin_dayfreedown {
  19.         function global_usernav_extra3() {
  20.                 return "eeeeeeeeeeeeeeeeeeeee";
  21.         }
  22.         function global_usernav_extra3_output() {
  23.                 return "eeeeeeeeeeeeeeeeeeeee";
  24.         }
  25. }
  26. class plugin_dayfreedown_group extends plugin_dayfreedown {
  27.         function global_usernav_extra3() {
  28.                 return "eeeeeeeeeeeeeeeeeeeee";
  29.         }
  30.         function global_usernav_extra3_output() {
  31.                 return "eeeeeeeeeeeeeeeeeeeee";
  32.         }
  33. }
  34. class plugin_dayfreedown_home extends plugin_dayfreedown {
  35.         function global_usernav_extra3() {
  36.                 return "eeeeeeeeeeeeeeeeeeeee";
  37.         }
  38.         function global_usernav_extra3_output() {
  39.                 return "eeeeeeeeeeeeeeeeeeeee";
  40.         }
  41. }
  42. class plugin_dayfreedown_member extends plugin_dayfreedown {
  43.         function global_usernav_extra3() {
  44.                 return "eeeeeeeeeeeeeeeeeeeee";
  45.         }
  46.         function global_usernav_extra3_output() {
  47.                 return "eeeeeeeeeeeeeeeeeeeee";
  48.         }
  49. }
  50. class plugin_dayfreedown_portal extends plugin_dayfreedown {
  51.         function global_usernav_extra3() {
  52.                 return "eeeeeeeeeeeeeeeeeeeee";
  53.         }
  54.         function global_usernav_extra3_output() {
  55.                 return "eeeeeeeeeeeeeeeeeeeee";
  56.         }
  57. }
  58. class plugin_dayfreedown_ranklist extends plugin_dayfreedown {
  59.         function global_usernav_extra3() {
  60.                 return "eeeeeeeeeeeeeeeeeeeee";
  61.         }
  62.         function global_usernav_extra3_output() {
  63.                 return "eeeeeeeeeeeeeeeeeeeee";
  64.         }
  65. }
  66. class plugin_dayfreedown_search extends plugin_dayfreedown {
  67.         function global_usernav_extra3() {
  68.                 return "eeeeeeeeeeeeeeeeeeeee";
  69.         }
  70.         function global_usernav_extra3_output() {
  71.                 return "eeeeeeeeeeeeeeeeeeeee";
  72.         }

  73. }
  74. ?>
复制代码



湖中沉 发表于 2013-10-5 08:35:54 | 显示全部楼层
楼主的理解能力实在是……呵呵
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-14 14:24 , Processed in 0.050809 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表