Spoiler/Off-Topic Mod + Advance Reply - نوشته شده در (1363 Views)
کاربر قفل شده
Max0005
مطلب: 294
294
I have to questions for add-ons:

1) Is it possible to have a feature like the one of phpbb in whiche there is a like a rectangle on which is written: Spoiler, click to view. You click on it and the hidden text appears. Same thing for Off-Topic.
2) A way of instead of viewing [*b][*/b] to make a text bold, see it directly bold. Same thing for smilies. Kind of like what Yahoo! and Hotmail do when you send e-mails.<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Senior Member
MaD2ko0l
مطلب: 1053
1053
1) there is already a spoiler tag, [spoiler][/spoiler] is what you will need to use...to see if just drag the mouse over it to highlight it,,,it coudl be modified to include the box aroudn it like pn the pHpbb's

--> Reveal hidden contentThis is a secret <--

2) dont know what u mean about this 1<
© 1999-2010 MaD2ko0l
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
If you search for [spoiler] in inc_func_common.asp, you'll find the HTML that it gets replaced with - a little bit of CSS there will style it any way you want it. If you want a button for it on the posting form, you'll need to edit inc_post_buttons.asp and inc_code.js. You should be able to determine what to do by looking at the rest of the buttons but let us know if you need help. Of course, you'll also need the actual button, which you'll have to make yourself - I use a blank one on my sites.
As to your second question, sounds like you're looking for a rich text editor. You'll be hard pressed to find one that works perfectly, especially across all browsers but have a search here for the one Nertz was working on a while back.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
It would take a good bit of editing to get that working with Snitz so that it uses forum code instead of HTML.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
 
شما باید یک متن وارد کنید