ucenter创始人密码忘记了的解决方法和直接重置密码文件

星期三, 2009-02-11 | Author: Lee | php | 没有评论

     今天升级论坛要把ucenter从1.0升级到1.5,密码不记得了,忙活了半天,把密码修改好其他按照官方就一切OK了,修改方法如下,有两种:

①.加密密码直接修改配置文件(uc下面/data/config.inc.php文件)
在里面你可以看到

1
2
define('UC_FOUNDERPW', '9be35ad751b976cb6a42e99196b8182a');
define('UC_FOUNDERSALT', '254654');

你的估计和我的是不一样的,你要是想省事的话,直接把上面两个复制下,把你的文件中的这两行给覆盖掉,密码是:123456,然后自行进入后台在【管理员】 选项中修改密码即可;不闲麻烦的也可以自行加密密码,原理如下:

用php输出下面的一个代码

$ucfounderpw= md5(md5($ucfounderpw).$ucsalt);

其中$ucsalt就是254654(这个根据您的需要而定,实际上是一个随机的六位数字即可)

$ucfounderpw是您要设置的密码。

得到的$ucfounderpw替换

define(‘UC_FOUNDERPW’, ‘9be35ad751b976cb6a42e99196b8182a’);

这个里面的9be35ad751b976cb6a42e99196b8182a就可以了。

②采用下面的文件进行升级式修改

  把文件updatepw.php上传到ucenter的根目录下,在浏览器中运行http://你的域名/uc/updatepw.php,然后填写密码即可;不过要记住的是,用完后要删除updatepw.php 文件,以免造成的后果很严重,呵呵;下载updatepw.php 文件

Tags: ,

Installing PHPEclipse–php IDE eclipse plugin

星期一, 2009-02-09 | Author: Lee | JAVA-and-J2EE, php | 没有评论

       今天给论坛升级,要发现自己忘记了Ucenter的密码了;又要md5加密密码了,赶紧找php的编辑文件好处理,发现电脑重装后,只把myeclipse升级到6.5,对应的插件都没有了,继续安装吧;明天还要继续安装php的环境,真是烦啊,倒谈不上难了,废话不多说了,开始安装这个插件吧;

The simplest way to install PHPEclipse is to use the PHPEclipse update site.
If you are using Eclipse 3.2 you will want to use the following URL for your update site:
http://update.phpeclipse.com/update/stable/1.1.x
For Eclipse 3.3 and 3.4 use
http://update.phpeclipse.com/update/stable/1.2.x

俺的是3.3的就用这个了

Then select Search for new features to install -> Next
You will create a new remote site Name: PHPEclipse 1.2.x
The url is http://update.phpeclipse.com/update/stable/1.2.x then click Ok

Make sure PHPEclipse 1.2.x is check then click Finish
After it is installed you will need to activate the Perspective
To do that got to Window-> Open Perspective ->Other -> Select PHP -> Ok

官方有个对应的图文可以参考:Installing PHPEclipse

 

Tags: , ,

CSS颜色代码大全–自己网上的颜色调色板-六位颜色值

星期四, 2009-02-05 | Author: Lee | pagemaker | 一条评论

弄个表格在wp中都是那么麻烦,装个编辑器插件,搞定,下次调颜色就方便很多了

#FFFFFF #DDDDDD #AAAAAA #888888 #666666 #444444 #000000
#FFB7DD #FF88C2 #FF44AA #FF0088 #C10066 #A20055 #8C0044
#FFCCCC #FF8888 #FF3333 #FF0000 #CC0000 #AA0000 #880000
#FFC8B4 #FFA488 #FF7744 #FF5511 #E63F00 #C63300 #A42D00
#FFDDAA #FFBB66 #FFAA33 #FF8800 #EE7700 #CC6600 #BB5500
#FFEE99 #FFDD55 #FFCC22 #FFBB00 #DDAA00 #AA7700 #886600
#FFFFBB #FFFF77 #FFFF33 #FFFF00 #EEEE00 #BBBB00 #888800
#EEFFBB #DDFF77 #CCFF33 #BBFF00 #99DD00 #88AA00 #668800
#CCFF99 #BBFF66 #99FF33 #77FF00 #66DD00 #55AA00 #227700
#99FF99 #66FF66 #33FF33 #00FF00 #00DD00 #00AA00 #008800
#BBFFEE #77FFCC #33FFAA #00FF99 #00DD77 #00AA55 #008844
#AAFFEE #77FFEE #33FFDD #00FFCC #00DDAA #00AA88 #008866
#99FFFF #66FFFF #33FFFF #00FFFF #00DDDD #00AAAA #008888
#CCEEFF #77DDFF #33CCFF #00BBFF #009FCC #0088A8 #007799
#CCDDFF #99BBFF #5599FF #0066FF #0044BB #003C9D #003377
#CCCCFF #9999FF #5555FF #0000FF #0000CC #0000AA #000088
#CCBBFF #9F88FF #7744FF #5500FF #4400CC #2200AA #220088
#D1BBFF #B088FF #9955FF #7700FF #5500DD #4400B3 #3A0088
#E8CCFF #D28EFF #B94FFF #9900FF #7700BB #66009D #550088
#F0BBFF #E38EFF #E93EFF #CC00FF #A500CC #7A0099 #660077
#FFB3FF #FF77FF #FF3EFF #FF0 0FF #CC00CC #990099 #770077

Tags: ,

新的一个音乐播放器,播放歌剧2–Vitas

星期四, 2009-02-05 | Author: Lee | movie-music | 没有评论

Oprea2_Vitas 来自白俄罗斯的 维塔斯的《歌剧2》,挺有感觉,每天进步一点点,也换个音乐播放器
感觉功能还蛮好的;use it

Tags: ,

好听的三首背景音乐

星期三, 2009-02-04 | Author: Lee | movie-music | 没有评论

1.Give Away:[audio:http://liyz.e3b.org/music/yuyue_41/music1Give_Away.mp3|titles=Give Away|artists=find by i5a6]
2.Is It Right:[audio:http://liyz.e3b.org/music/yuyue_41/music2Is_It_Right.mp3|titles=Is It Right|artists=find by i5a6]
3.Take Me Home:
[audio:http://liyz.e3b.org/music/yuyue_41/music3Take_Me_Home.mp3|titles=Take Me Home|artists=find by i5a6]

Tags: ,

漂亮的张家界风光

星期三, 2009-02-04 | Author: liyz | 体味生活 | 没有评论

张家界四奇:声、月、影、光
关于介绍见 百度百科

Tags:

SVN客户端subclipse的安装

星期二, 2009-02-03 | Author: Lee | JAVA-and-J2EE | 4条评论

其他的就不说了,直接对应相应的版本
New Remote Site,自定义一个名字,url选择下面其中一个
Name: Subclipse 1.4.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.4.x

Name: Subclipse 1.2.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.2.x

Name: Subclipse 1.0.x (Eclipse 3.0/3.1)
URL: http://subclipse.tigris.org/update_1.0.x
本人才用的myeclipse6.5自然选用http://subclipse.tigris.org/update_1.4.x
安装的时候遇见异常信息如下:Subclipse Integration for Mylyn 3.x (Optional) (3.0.0) requires plug-in “org.eclipse.mylyn.tasks.core (3.0.0)”, or compatible.
解决方法:第一个框框Integrations的勾干掉即可

至于服务端的安装,很久以前安装过,以后有时间再玩下;因今天安装遇见错误就记录下了;

Tags:

归去来兮

星期一, 2009-02-02 | Author: Lee | 体味生活 | 没有评论

1月31号,回来的,一觉睡到2月1号,呵呵,睡了一个月,感觉上还是当天!
今天有精神写点东西了,一直想写个回来的记录,无奈感冒严重,在家几天竟难受了几天,
头晕脑胀的,今天好了,赶快刷刷写两句!

Tags:

明天回家过年了

星期三, 2009-01-21 | Author: Lee | 体味生活 | 没有评论

明天就要回家过年了,在此记录下;
虽说需要先动车到镇江,不过感觉还好,能回家的感觉就不错,排了两天队买票,人都快废了!
到镇江,有时间去下梦溪园去逛逛,就是喜欢徒步去玩…
明天要出发,激动中…..

贴个图先

图片看不清,可点击查看,支持滚轮缩放….

› Continue reading

Tags: ,

添加到各大流行网摘的代码大全–可用修正版

星期一, 2009-01-19 | Author: liyz | pagemaker, wordpress | 没有评论

想给自己的blog填上网摘,以便收录,在网上找了好久也不行,就自己收录汇总下了可以直接使用
直接把下列代码放到你要收藏的单页即可,具体样式可以参考本文章的单页的下面:

1
2
3
4
5
<div align="center"><b>收藏本文到</b><!-- Start of add bookmark buttons created by wp_addbookmarks. Plugin by http://blog.i5a6.com/ -->
<a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400 '); return false;"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/delicious.gif" alt="Del.icio.us" title="添加到Delicious" border="0" /></a> <a href="javascript:location.href='http://www.google.com/bookmarks/mark?op=add&amp;bkmk='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images//google.png" alt="Google书签" title="添加到Google书签" border="0" /></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('http://digg.com/submit?phase=2&amp;url='+escape(d.title)+'&amp;newspath='+escape(d.location.href)+'&amp;subtitle='+escape(t),'Digg'));blog.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/digg.gif" alt="Digg" title="添加到Digg" border="0"/></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('https://favorites.live.com/quickadd.aspx?url='+escape(d.title)+'&amp;newspath='+escape(d.location.href)+'&amp;subtitle='+escape(t),'Live'));blog.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/live.gif" alt="Live Bookmark" title="添加到Live Bookmark" border="0"/></a> <a href="http://slashdot.org/" onclick="window.open('http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title), 'slashdot','toolbar=no,width=700,height=400 '); return false;"><img src="http://images.slashdot.org/favicon.ico" alt="Slashdot" height="16" width="16" title="添加到Slashdot" border="0" /></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('http://www.technorati.com/faves?add='+escape(d.title)+'&amp;newspath='+escape(d.location.href)+'&amp;subtitle='+escape(t),'Technorati'));blog.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/technorati.gif" alt="Technorati" title="添加到Technorati" border="0"/></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('http://furl.net/storeIt.jsp?u='+escape(d.title)+'&amp;newspath='+escape(d.location.href)+'&amp;subtitle='+escape(t),'Furl'));blog.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/furl.gif" alt="Furl" title="添加到Furl" border="0"/></a> <a href="javascript:location.href='http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+encodeURIComponent(location.href)+'&amp;t='+encodeURIComponent(document.title)"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/yahoo.gif" alt="Yahoo书签" title="添加到Yahoo书签" border="0" /></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://www.facebook.com/share.php?u='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t)+'&amp;st=2','facebook','scrollbars=no,width=800,height=600,left=75,top=20,status=no,resizable=yes'));yesky.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/facebook.gif" alt="Facebook" title="添加到Facebook" border="0"/></a> <a href="javascript:u=location.href;t=document.title;c = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&amp;iu=%22+encodeURIComponent(u)+%22&amp;dc=%22+encodeURIComponent(c)+%22&amp;fr=ien#nw=1%22;window.open(url,%22_blank%22,%22scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes%22); void 0"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/baidu.gif"  alt="百度搜藏" title="添加到百度搜藏" border="0" /></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=28&amp;title='+escape(d.title)+'&amp;url='+escape(d.location.href)+'&amp;desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/vivi.gif" alt="新浪ViVi" title="添加到新浪ViVi" border="0" /></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/365key.gif"  alt="365Key网摘" title="添加到365网摘" border="0" /></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t)+'&amp;st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/yesky.gif" alt="天极网摘" title="添加到天极网摘" border="0"/></a> <a href="javascript:t=document.title;u=location.href;e=document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():'');void(open('http://bookmark.hexun.com/post.aspx?title='+escape(t)+'&amp;url='+escape(u)+'&amp;excerpt='+escape(e),'HexunBookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/hexun.gif" alt="和讯网摘" title="添加到和讯网摘" border="0"/></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('http://www5.bolaa.com/CommendBlog/SmallLogin.aspx?title='+escape(d.title)+'&amp;newspath='+escape(d.location.href)+'&amp;subtitle='+escape(t),'bolaa','width=400px,height=400px'));blog.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/bolaa.gif" alt="博拉网" title="添加到博拉网" border="0"/></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t)+'&amp;img=http://www.h-strong.com/blog/logo.gif','keyit','scrollbars=no,width=475,height=575,status=no,resizable=yes'));keyit.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/poco.gif" alt="POCO网摘" title="添加到POCO网摘" border="0"/></a> <a href="javascript:var d=document,w=window,f='http://fanfou.com/share',l=d.location,e=encodeURIComponent,p='?u='+e(l.href)+'&amp;t='+e(d.title)+'&amp;d='+e(w.getSelection?w.getSelection().toString():d.getSelection?d.getSelection():d.selection.createRange().text)+'&amp;s=bm';a=function(){if(!w.open(f+'r'+p,'sharer','toolbar=0,status=0,resizable=0,width=600,height=400'))l.href=f+'.new'+p};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else{a()}void(0)"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/fanfou.gif" alt="添加到饭否"  title="添加到饭否" border="0"/></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(zhai=window.open('http://shuqian.qq.com/post?from=3&amp;title='+encodeURIComponent(document.title)+'&amp;u='+escape(d.location.href)+'&amp;c='+escape(t),'zhai','scrollbars=no,width=480,height=420,left=75,top=50,status=no,resizable=yes'));zhai.focus();"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/qq.gif" alt="QQ书签" title="添加到QQ书签" border="0"/></a> <a href="javascript:q=(document.location.href);void(open('http://www.digbuzz.com/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));"><img src="http://blog.i5a6.com/wp-content/plugins/wp_addbookmarks/images/digbuzz.gif" border="0" alt="Digbuzz我挖网" title="添加到Digbuzz我挖网" /></a> 
<!-- End of add bookmark buttons created by wp_addbookmarks. Plugin by http://www.i5a6.cn/ -->
</div>

Tags: , ,

Rss

Search

文章分类

Meta