发信人: shipping (小平~~~还是书痴), 信区: ANSI
标 题: Re: menu.ini 内各设定的意义
发信站: 日月光华 (2002年04月27日11:31:28 星期六), 站内信件
这个要从menu的实现方法说起
整个menu.ini实际上只是两个层次的内容,一个是背景图象, 一个是前景文字
当你编辑好menu之后,系统所作的工作就是把这两个层次的内容重叠起来,
就成了我们所看到的界面.
接下来要理解bbs上的所谓权限, 很大一部分体现在menu里面.为什么普通用户
的主菜单没有admin选项? 因为在menu里面限定了只有相应or更高权限的用户才能
看到. 换句话说, 只要你能修改menu.ini, 实际上你已经掌握了系统的最高权限
(当然这样很危险的, 呵呵不要乱来就是)
下面是menu的ansi制作的困难点---背景和前景的重叠问题.
我发现系统好像只是很简单的把背景和前景的menu ansi代码重叠到一起然后
解释, 这样, 代码本身在屏幕上的位置也就要考虑不可以互相影响.
上面这一点可以解释为什么我们的菜单选项经过多次调整还是全部放在了左边
而且几乎所有的bbs的菜单都是在左边(如果有稍微复杂的背景的话)----因为菜单
摆在右边的话几乎不可避免地要跟背景左边的代码重叠产生错误(实际上情况比这个
还要复杂一些)
这样也就可以解释上面那个谁谁给康状bbs的菜单不可用了---左边复杂的背景
不可能允许中间的菜单的存在.
【 在 wanderer (喜欢吃星星的熊) 的大作中提到: 】
: 那你告诉我,为什么上门谁谁的那副送给扛状bbs的
: 在技术上不能实现呢?
: 【 在 shipping (小平~~~还是书痴) 的大作中提到: 】
: : 你看menu.ini %S_MAIN
: : %
: : 之间的不就是ansi么, 要做的就是这个.
--
━━━━━── ─ - ┌══════════════╬ ━━━━━── ─ -
━━━─ ─ - - ║ shipping再次严正提醒各位: ║ ━━━─ ─ - -
━━── -‥ ║ “灌水”固然重要 ║ ━━── -‥
━━━─ ─ - - ║ 但也别忘了好好学习: ) ║ ━━━─ ─ - -
━━━━━── ─ - └══════════════╬ ━━━━━── ─ -
It means that " it's easier to say than to water "......
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 10.83.0.81]
Sender: shipping Xiaoping is still a bookworm, message area: ANSI
Title: Re: The meaning of each setting in menu.ini
Sending station: Sun and Moon Guanghua Saturday, April 27, 2002 11:31:28, in-site mail
This starts with the implementation method of menu
The entire menu.ini is actually just two levels of content, one is the background image, and the other is the foreground text.
After you edit the menu, what the system does is to overlap the content of these two levels.
It becomes the interface we see.
Next, we need to understand the so-called permissions on bbs, a large part of which is reflected in the menu. Why do ordinary users
There is no admin option in the main menu? Because the menu restricts that only users with corresponding or higher permissions can
See. In other words, as long as you can modify menu.ini, you actually have the highest authority of the system.
Of course, this is very dangerous, haha, just don’t do it randomly
The following is a difficult point in the ANSI production of the menu: the overlapping problem of the background and foreground.
I found that the system seems to simply overlap the background and foreground menu ansi codes together and then
To explain, in this way, the position of the code itself on the screen must also be considered and cannot affect each other.
The above point can explain why our menu options are all placed on the left after many adjustments.
And almost all bbs menus are on the left. If there is a slightly complicated background, because the menu
If it is placed on the right, it will almost inevitably overlap with the code on the left side of the background and cause errors. In fact, the situation is better than this.
More complicated
This can also explain the unavailability of the menu of so-and-so giving Kangzhuang bbs above. The complicated background on the left
It is not possible to allow the existence of intermediate menus.
Mentioned in wanderer's masterpiece: The Bear Who Likes to Eat Stars:
: Then tell me why so-and-so came to the door and gave that pair to the bbs
: It’s not technically possible
: Mentioned in shipping Xiaoping is still a bookworm’s masterpiece:
: :Look at menu.ini %S MAIN
: : %
: : Isn’t the thing in between ansi? This is what we need to do.
Shipping once again solemnly reminds everyone:
Irrigation is important
But don’t forget to study hard:
It means that " it's easier to say than to water "......
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.83.0.81]