打印

[教程] 相对链接教程

21

相对链接教程


由于不同的地区和国家的人使用了不同的访问地址对本论坛进行访问,而经常会有发生把网址拷贝到帖内的情况的发生,不同地址浏览器会记录不同的cookie,因此常常发生打不开帖子提供的链接地址或者是需要重新登陆的问题,目前论坛新增了 相对链接 这一功能就是为了解决这个问题。
1.主帖的相对链接
把主帖链接内bbs/(或forum/)之后的地址粘贴下来然后加上[bbs]代码就可以了
如:

主帖的相对链接为

2.回复楼层的相对链接
点击回复楼层右边的楼层数字就会提示“帖子链接已复制到粘贴板”,然后把复制的内容(如:viewthread.php?tid=9862720&page=34#pid103186858)加上[bbs]代码
如:

第334楼的相对链接为

3.带文字的相对链接
点击

出现

在里面输入相对链接和文字

提交即可
4.带颜色的相对链接
点击

在里面输入相对链接、颜色和文字提交

即可

TOP

7

效果

1.forum-123-1.html
2.viewthread.php?tid=9862720&page=34#pid103186858
3.建议帮助投诉区
4.建议帮助投诉区
复制内容到剪贴板
代码:
1.[bbs]forum-123-1.html[/bbs]
2.[bbs]viewthread.php?tid=9862720&page=34#pid103186858[/bbs]
3.[bbs=forum-123-1.html]建议帮助投诉区[/bbs]
4.[bcolor=forum-123-1.html,red]建议帮助投诉区[/bcolor]

TOP

当前时区 GMT+8, 现在时间是 2024-9-13 06:51

Fatal error: Uncaught RedisException: OOM command not allowed when used memory > 'maxmemory'. in /home/wwwroot/sis/public_html/forum/include/dRedis.class.php:35 Stack trace: #0 /home/wwwroot/sis/public_html/forum/include/dRedis.class.php(35): Redis->exec() #1 /home/wwwroot/sis/public_html/forum/include/statistics.inc.php(287): dRedis::pipeExec() #2 /home/wwwroot/sis/public_html/forum/include/global.func.php(490): dstatistics() #3 /home/wwwroot/sis/public_html/forum/forumdata/templates/22_footer.tpl.php(41): output() #4 /home/wwwroot/sis/public_html/forum/forumdata/templates/22_viewthread.tpl.php(559): include('/home/wwwroot/s...') #5 /home/wwwroot/sis/public_html/forum/viewthread.php(440): include('/home/wwwroot/s...') #6 {main} Next RedisException: OOM command not allowed when used memory > 'maxmemory'. in /home/wwwroot/sis/public_html/forum/include/dRedis.class.php:35 Stack trace: #0 /home/wwwroot/sis/public_html/forum/include/dRedis.class.php(35): Redis->exec() #1 /home/wwwroot/sis/public_html/forum/include/statistics in /home/wwwroot/sis/public_html/forum/include/dRedis.class.php on line 35