匠心不改,精益求精!
[ 登陆 - 注册 ]

相关分类

欢迎 小蝌蚪加大 的加入!

插件类的命名以 mobileplugin_类名//pc端class plugin_zsbanner{}//移动端class mobileplugin_zsbanner {}引入模版文件//pc端include template('zsbanner:forum/banner');  //模版存放位置 /source/plug

找到msyql安装目录,我在是在这D盘这里,重命名或删除ib_logfile0   ib_logfile1 这两个文件,在重启mysql

自已开发的插件上线了,本地安装不了找到 /source/function/function_cloudaddons.php 120行左右,将这段代码注释掉  // cpmsg('cloudaddons_genuine_message', '', 'error&

<?php /**  *  Copyright 2021-2099 51助手网(www.51zuso.com)  */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); }

显示所有错误提示函数error_reporting(7);

在/config/config_global.php 添加 $_config['plugindeveloper']  参数$_config['plugindeveloper'] =1; //开启后台开发模式$_config['plugindeveloper&#

<?php // 调用语言包 // 模版中调用模板文件语言包,通过 {lang identifier:english} 方式调用。 // 程序脚本中调用脚本文件语言包,通过 lang('plugin/identifier

/* 获得当前页面URL开始 */  function curPageURL() {      $pageURL = 'http';      if&nbs

使用prop方法,动态添加checked选中状态<input class="target checked"  name="check" type="checkbox"> <script type="text/j

//原始数组是这样的,希望能够按照第二维中的run_date升序或者降序进行排序:$arr=array(                0=>array(                &nbs

目录1 showsetting()表单显示2 cpmsg()提示消息3 showformheader()创建表单头4 showformfooter()创建表单尾5 showtableheader()创建表格头6 showtablefooter()创建表格尾7&

//例: function ad_subnavbanner(){ global $_G; loadcache('plugin'); $setData = $_G['cache']['plugin']['zsBanner']; var_du

实现方法,通过discuz的diy 添加一个模块,放入自定义的html代码,通过外部js与css控制<div id="banner"> <div class="swiper-container">   <

diy标签 ,id值可以修改,class="area" 是固定的<!--[diy=diy1]--><div id="diyzs" class="area"></div><!--[/diy]-->

模版图片文件存在位置修改

在门户添加了一个添加频道,发现不是管理员就会访问不了修改把这里选择是,搞定!

一、冲突原因(看不懂的跳过)jQuery是通过一个全局变量$来引用的,而Discuz的common.js文件加载时也占用了$。因而冲突的根源就是全局变量$。说得明白点:当jQuery和common.js共存的时候,$究竟是谁?分析jQuery和common.js的源代码可以知道,这两个库在加载的时候都会占用$变量。因此,按照覆盖的原理,谁后加载,$变量就是谁

loadcache('plugin');debug($_G['cache']['plugin']['wyzuso']);

error_reporting(E_ALL); 打开所有报错表单令牌$formhash = FORMHASH;<input type="hidden" name="formhash"  value="$formhash">

<?phpif(!defined('IN_DISCUZ')) { exit('Access Denied');}class table_test extends discuz_table{ public function __construct() { $this->_table = 'test'