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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] SupeSite7.5 让会员中心拥有不同的title和提示信息

[复制链接]
有模板 发表于 2010-1-31 14:50:48 | 显示全部楼层 |阅读模式
注意本人分享的都是原理,所有的创意还需要您自己去思考与完成;

在space.html.php里的最顶上插入:
  1.    1. <!--{if $_GET['op'] == 'news'}-->  
  2.    2. <!--{eval $title=$member[username]."发布的资讯 - ".$_SCONFIG[sitename]; $nnav=$member[username].'发布的资讯'; $towhere='<a href="http://u.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">进入重庆博客 &nbsp; &nbsp; </a>';}-->  
  3.    3. <!--{/if}-->  
  4.    4.  
  5.    5. <!--{if $_GET['op'] == 'uchphoto'}-->  
  6.    6. <!--{eval $title=$member[username]."上传的照片 - ".$_SCONFIG[sitename]; $nnav=$member[username].'在重庆博客上传的照片'; $towhere='<a href="http://u.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">进入重庆博客 &nbsp; &nbsp; </a>';}-->  
  7.    7. <!--{/if}-->  
  8.    8.  
  9.    9. <!--{if $_GET['op'] == 'uchblog'}-->  
  10.   10. <!--{eval $title=$member[username]."发布的日志 - ".$_SCONFIG[sitename]; $nnav=$member[username].'在重庆博客发布的日志'; $towhere='<a href="http://u.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">进入重庆博客 &nbsp; &nbsp; </a>';}-->  
  11.   11. <!--{/if}-->  
  12.   12.  
  13.   13. <!--{if $_GET['op'] == 'bbs'}-->  
  14.   14. <!--{eval $title=$member[username]."在重庆论坛发布的帖子 - ".$_SCONFIG[sitename]; $nnav=$member[username].'在重庆论坛发布的帖子'; $towhere='<a href="http://bbs.nihaocq.com/" class="r" target="_blank" style="text-decoration: none;">进入重庆论坛 &nbsp; &nbsp; </a>';}-->  
  15.   15. <!--{/if}-->
复制代码
对get出来的网址进入判断.


在导航处把 $tohere 变量和$nnav放到适当的位置就可以了.
792268 发表于 2010-1-31 14:53:45 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-29 11:37 , Processed in 0.184724 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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