vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   WYSIWYG Post Editor v1.0 (https://vborg.vbsupport.ru/showthread.php?t=40283)

MalaK_3araby 06-28-2002 08:07 AM

This is an awsome script & is long awaited ... Thanks alot.

1- i got a Syntax Error : Line 376 Char 23 .. and this is the line:
Quote:

oImg = sImgTag<i>;
char 23 is " ; ".
I know i have done everything as pr the install .. and i reinserted the changes just in case.

2- When saving user options, value is not updated and thus not stored in the database.

3- how do i change the diretion to be "rtl".

Thanks

Birdie501 06-28-2002 11:19 AM

Look here firefly, another one with the same problem!



-----Urspr?ngliche Nachricht-----
Von: vBulletin.org Forum Mailer [mailto:post@vbhacks.com]
Gesendet: Freitag, 28. Juni 2002 05:03
An: dfdfk@dfdfak.de
Betreff: WYSIWYG Post Editor v1.0


Hello Birdie501,

LoveShack has just replied to a thread you have subscribed to entitled -
WYSIWYG Post Editor v1.0 - in the Full Releases forum of vBulletin.org
Forum.

~~~~~ NEW ~~~~~
New at vBulletin.org!
You can now reply to the thread by replying to this message. All you
need to do is to make sure this code appears in the e-mail subject:
You should also remove this text to ensure your
reply is readable by other forum users. ~~~~~ NEW ~~~~~

Here are the contents of the post: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Slightly off topic, but is anyone else getting a lot of repeated e-mail
updates about this thread? I keep getting them. It's getting to the
point where I'm going to have to unsubscribe.

Paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This thread is located at:
https://vborg.vbsupport.ru/showthrea...83&goto=newpos
t

There may be other replies also, but you will not receive any more
notifications until you visit the board again.

Yours,
vBulletin.org Forum team

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this thread, please visit this page:
https://vborg.vbsupport.ru/member2.p...threadid=40283

To unsubscribe from ALL threads, please visit this page:
https://vborg.vbsupport.ru/member2.p...type=allthread

Frenck 06-28-2002 02:43 PM

Well I have installed it, and I'm sorry to say it, but it really sucks.

After reading a lot of posts I noticed that the install.txt wasn't updated, so I fixed some stuff. Now it works (That's what you call works).

Some things I really don't like:
  • At first I would say it's very messy! There is javascript everywhere! (How about a single file? instead of heaving all the code in all the templates...)
  • Bad communication between the authors (example: a bad updated install.txt)
  • Editting a post, shows all normal vBcode (it's not converted)
  • The Color function appears not to work with all the colors
  • missing image/php/quote/code
  • After pressing a toolbar option, it wil not remain clicked
  • The color selection is better of intergrated instead as an popup. I isn't handy for people with popup killers..(Could be intergrated like the fonts are intergrated)
  • Option to switch from wysiwyg to normal editing mode, directly from the form? (Just a simple link?)
  • Add a browser detection? Because it doesn't work in all browsers?
  • Intergrate smileys? (As an toolbar?)
  • vBcode/Smilies are always inserted @ the end of the message (Better at the place of the cursor?)

(There is more, but was direct on my mind)

Some things I like:
  • No need to enable the HTML
  • Visual of what you are doing (Good for newbies to forums)

Well I change it back to the old fasion way, maybe if this hack is updated to a better hack, than I will install it again.

(Sorry for my bad english)

Boofo 06-28-2002 09:15 PM

Would you please let me know exactly where to put the tweaks? I don't want to mess up what looks like to be a geat hack! :)

Quote:

Originally posted by Erwin
Thanks to Superman and Firefly for the new tweaks. Works great! The text looks good, and the saving of that one query is a bonus! :) Can't wait for the other new features...

Martin CX 06-29-2002 12:43 AM

Frenck, if there is something you don't like about a hack, just improve it. I'm sure we all would like it if some of the problems you address were solved. :)

If the hack is not for you, however, there is nothing easier than not installing it. I, for one, recognize the work the authors have put it in this hack, and that the hack is still very much a work in progress. It is not perfect, but what it does, it does well, IMHO.

Nevertheless, if you could please solve some of the problems, you've listed - and I agree that you point out some very valid criticisms - you would make me (and probably yourself? ;)) a happier person.

Superman53142 06-29-2002 05:11 AM

Quote:

Originally posted by Frenck
Well I have installed it, and I'm sorry to say it, but it really sucks.
Such tact! :p
While I do appreciate your input, I don't like to be told that my work sucks :)
[*] At first I would say it's very messy! There is javascript everywhere! (How about a single file? instead of heaving all the code in all the templates...)

OK, I'll do this in a later update. I basically only wrote the switchit() function and integrated into the already existing code I was given.
[*] Bad communication between the authors (example: a bad updated install.txt)

I will create a new install.txt with complete instructions when I get some more updates done.
[*] Editting a post, shows all normal vBcode (it's not converted)

I will work on this. I'll have to do it the hard way (.substr(int,int)) because .replace(regExp, string) doesn't work correctly with [ and ]
[*] The Color function appears not to work with all the colors

This is a possibility. As I said, all I did was the function, but I will look at this tommorow as well.
[*] missing image/php/quote/code

I will put the vbCode button bar back into the template. I don't know why eiSecure removed it anyway.
[*] After pressing a toolbar option, it wil not remain clicked

This is a technical impossibility. If you were to move the cursor, the button would still remain highlighted. Until someone can figure out how to get the cursor position in an iframe, then this cannot be done.
[*] The color selection is better of intergrated instead as an popup. I isn't handy for people with popup killers..(Could be intergrated like the fonts are intergrated)

OK, should be able to use almost the same function.
[*] Option to switch from wysiwyg to normal editing mode, directly from the form? (Just a simple link?)

I am not proficient enough in understanding the vBulletin PHP coding to do this.
[*] Add a browser detection? Because it doesn't work in all browsers?

What would you like it to do? The browser detection? I can detect the browser, that's no problem, but what to do when an incompatible browser is detected?
[*] Intergrate smileys? (As an toolbar?)

I'm confused about the necessity of this? The smilies are right next to it :) I will however, have them show up as the actual smilies. I think I can do it; I'm just not sure about erasing them.
[*] vBcode/Smilies are always inserted @ the end of the message (Better at the place of the cursor?)

Does anyone know how to track the position of the cursor in an iframe? Otherwise I can't do this either.

"(Sorry for my bad english)"

You're English seemed pretty good to me :)[/B][/QUOTE]

Velocd 06-29-2002 06:58 AM

Some of you users out there may only be bad mouthing this hack because it did not work for you, and thus become fustrated so you gave us bad input, like "it really sucks". The hack works perfect, I have it installed on my forums and everything is clean. There are some very small minor bugs, such as html tags showing up some times, but I have only encountered the problem once or twice. If you installed everything perfect, you should have not encountered any serious problems. If you are really paranoid about the HTML tags, because they are showing up frequently, enable HTML in that forum and then they should disappear. So far for me my members are loving it, as it makes formatting sooo much easier. (like lists, how often do you use those on vbcode? now i'm seeing this show up more often for organization on my forums, rather than sloppy list). If I have time tomorrow I will re-write the instructions, as they might be sorta clcear, and give it to eiSecure to repost.

Erwin 06-29-2002 07:17 AM

This hack works well.

You can even use MS-Word shortcuts like Ctrl-B for bold, and Ctrl-I for italics etc.

Boofo: The tweaks are all in the thread. Just read through it - the main one is making the default font the same as your forum.

josh929 06-29-2002 08:03 AM

I'm trying to add vbcode buttons.

I removed the src=vbcode.js from the vbcode_buttons template, and added it to the non-WYSIWYG templates. Then I added the variable for $vbcode_buttons, and that worked fine.

Now, what I tried to do instead of the above was this:
Add all the code from the vbcode_buttons template EXCEPT for the src=vbcode.js thing to one of the WYSIWYG templates. It seems like this would work, since should be the same thing as above, right?

But it doesn't, and I was wondering if anyone knew why.

Any help on this would be greatly appreciated.

P.S.
The reason I wanted this to work is so that I could add only some of the vbcode buttons.

josh929 06-29-2002 08:03 AM

I'm trying to add vbcode buttons.

I removed the src=vbcode.js from the vbcode_buttons template, and added it to the non-WYSIWYG templates. Then I added the variable for $vbcode_buttons, and that worked fine.

Now, what I tried to do instead of the above was this:
Add all the code from the vbcode_buttons template EXCEPT for the src=vbcode.js thing to one of the WYSIWYG templates. It seems like this would work, since should be the same thing as above, right?

But it doesn't, and I was wondering if anyone knew why.

Any help on this would be greatly appreciated.

P.S.
The reason I wanted this to work is so that I could add only some of the vbcode buttons.


All times are GMT. The time now is 11:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01919 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete