PDA

View Full Version : [RELEASE vB2.0] Code Buttons and Clickable Smilies (major update)


Kier
08 Mar 2001, 20:04
Latest version: 1.4 / 12th March 2001

http://kier.3dfrontier.com/vbhacks/vbcode.gif

This major rewrite of my original vbcode buttons hack now supports two code-entering modes, allowing complex nesting of vBcode tags, a limited number of clickable smilies on the posting page and a smiley overflow popup window.

Version 1.2 updates:
New replacement functions for array.push() and array.pop(), which are unsupported in IE versions less than 5.5. Everything should work properly in IE4.0, IE5.0 now. Also added a simple inline help/prompt system.
Version 1.4 updates:
Enhanced mode no longer allows multiple open tags of the same type ({b}{b}{b}xxxxx) etc).
Templateized the whole system for easier addition of more fonts/colours/sizes etc.
Moved all text-prompts to a separate vbcode_language.js file for easy modification for non-english boards
Updated documentation to fix spellchecker problems
Various cosmetic changes, mainly to prevent Nutscrape from messing it up...

Full documentation / installation / upgrade instructions are available here (http://kier.3dfrontier.com/vbhacks/vbcode.php)
A basic demo can be seen here. (http://kier.3dfrontier.com/vbhacks/vbcode_example.htm)

The templates and code for the hack are attached to this post.

Please post comments, suggestions and questions in this thread.

08 Mar 2001, 22:20
Awsome, really really awsome hack. It just looks plain beautiful. The 404 thing i was talking about is nothing. It was just a bad server.

08 Mar 2001, 22:22
Aah, glad it works for you :)

08 Mar 2001, 23:39
wow, you did that smileys change already!!! you are a complete star. Thanks so much going to install this today.

08 Mar 2001, 23:42
p.s. before i go for this, are there any changes that result from the change to beta3 i just installed?

08 Mar 2001, 23:44
I'm just looking at the Beta3 code right now, but as far as I can see, there are no changes required to this hack for vB2.0b3 compatability :)

I've just finished upgrading, and the installation instructions for vb2.0beta2 require no modifications for beta3 installation.

09 Mar 2001, 00:36
Ok what happened to me:

i) i could only find one place to change the code inside the private template?

ii) one of the template changes required you to add the name=vbcode as the form had apparently not been named. Perhaps add this to instructions

iii) the "enhanced mode" just gives me a javascript error

iv) when i tried to reply to a private message i just get "array". I don't know if this is because of the the vb beta 3 upgrade or because of the hack or beacuse i could not find the second place to edit the tempalte.

Thanks for a great hack getting these few things fixed would be wicked :)

09 Mar 2001, 00:55
i) i could only find one place to change the code inside the private template?

Sorry, that was an error in the documentation. It's calendar.php that requires the double replacement, not private.php

ii) one of the template changes required you to add the name=vbcode as the form had apparently not been named. Perhaps add this to instructions

Done

iii) the "enhanced mode" just gives me a javascript error

That's wierd... I can't reproduce that at all, and I've tested with IE5, IE5.5, NS4.6 and NS6.0... have you got a link to a page where I can see this happening?

iv) when i tried to reply to a private message i just get "array". I don't know if this is because of the the vb beta 3 upgrade or because of the hack or beacuse i could not find the second place to edit the tempalte.

Likewise, I can't reproduce that either. A link would help in the diagnosis.

09 Mar 2001, 01:01
http://ascifi.com/forums/newreply.php?action=newreply&threadid=2987

is a place to try but you would have to register don't worry if you don't have time at the mo.

The smileys are also not coming in with reply but i think this is probably me not installing it properly. I am not sure how i could have done the "array" thing or the javascript error though.

09 Mar 2001, 01:08
Originally posted by chrispadfield

The smileys are also not coming in with reply

Yeah that was me, fixed it. Not sure about the others though?

09 Mar 2001, 01:09
Chris, try out this dummy page and see if you still get javascript errors:

http://kier.3dfrontier.com/vbhacks/vbcode_example.htm

Oh, and what browser are you using?

09 Mar 2001, 01:11
javascript error is

"object does not support this propery or method"

at line 87 and 90

09 Mar 2001, 01:11
yes, same error. IE 5.00

09 Mar 2001, 01:20
I've just tried it with another copy of IE5.0 and it would seem that IE5 doesn't support the <arrayname>.push(var) method...

I'm looking for a workaround.

It works fine in IE5.5 and all versions of Nutscrape.

09 Mar 2001, 01:24
i am using my non standard comp hence ie5 though i should upgrade it.. but i bet some of my users will use ie5.00 so a work round would be good.

cheers...

any ideas on that array in pm? perhaps it is a vb beta 3 thing (has anyone upgraded?)

09 Mar 2001, 01:30
also when i edit a post, the post appears blank. Is this perhaps because of changing the name for the form? will it make a difference?

09 Mar 2001, 01:32
Your PM array problem is easy to fix:

Just replace your message textarea with this:

<TEXTAREA NAME="message" ROWS=20 COLS=60 WRAP="VIRTUAL">$message[message]</TEXTAREA>

In fact, you seem to have lost quite a few of the correct variables for the contents of your textarea elements in your templates. Review the default templates and check that you have the correct variables inbetween the <textarea> and </textarea> tags. This will fix your editpost and priv_sendprivmsg problems.

Finding a workaround for IE versions less than 5.5 having no array.push() method is going to be a little more tricky...

09 Mar 2001, 01:39
thanks, just found the text area problem, silly me :)

Looking forward to the advanced fix although the "simple" version works brilliantly.

09 Mar 2001, 01:51
Dig out a copy of Nutscrape or upgrade to IE5.5 and try out the 'enhanced' mode - now that kicks ass ;)

Hmm... workaround....

09 Mar 2001, 01:57
just tried nutscrape 4.6 a horrible browser... anyway had a few problems.

I did:

italic with the promt, (I)
and then some text
and then closed it.. fine

so got

[*I]sdfsfsdfdf[*/I]

then i used the buttons tounderline, italic and bold typed some text and then said close all. But i got:

[*/U][*/I][*/I][*/U][*/U][*/I][*/I][*/I][*/I][*/I]

for some reason.

The other thing is that pressing "close" makes the cursor go to the start of the text box which is pretty annoying...

09 Mar 2001, 06:56
ok, this is kinda off the topic but, i love your smilies, can you please post them here or tell me where i can get the,


thanks

09 Mar 2001, 13:10
Gee Chris, you seem to have quite a collection of broken browsers ;)

just tried nutscrape 4.6 a horrible browser...

indeed ;)

italic with the promt, (I)
and then some text
and then closed it.. fine

so got

[*I]sdfsfsdfdf[*/I]

I have to admit that for about 10 minutes there I was really confused as to why the script would be putting asterisks into your tags... then I worked out what you were saying :rolleyes:

then i used the buttons tounderline, italic and bold typed some text and then said close all. But i got:

[*/U][*/I][*/I][*/U][*/U][*/I][*/I][*/I][*/I][*/I]

This sounds like another problem with the array.push() and array.pop methods, which are used to store and retrieve the tag history. I can't reproduce it on the version of NS4.6 I have here, but hopefully the workaround will fix this for you.

The other thing is that pressing "close" makes the cursor go to the start of the text box which is pretty annoying...

This always happens with NS4.6, I'm afraid there's no way to position the cursor at the end of the text in that browser. It does pop to the end using later browsers though.

09 Mar 2001, 13:12
Originally posted by surfichris
ok, this is kinda off the topic but, i love your smilies, can you please post them here or tell me where i can get them, thanks

The majority of those smilies are the old ones from vB1.1x, which is still available for download in the members' area.

09 Mar 2001, 13:29
Originally posted by surfichris
ok, this is kinda off the topic but, i love your smilies, can you please post them here or tell me where i can get the,


thanks

Crap loads here
http://www.smilecwm.com/

09 Mar 2001, 14:40
that is the absolute nuts

that is amazing, and i want it

ok 1st get vB2 then gt a book on PHP then add that hack !

(then come back here when i have broken my forum)

~Ben

09 Mar 2001, 15:34
thanks a lot, i should have said i added the * to stop vbcode happening, sorry ;)

Perhaps i should start a collection of rubbish old browers hehe... really need to upgrade them all...!

09 Mar 2001, 17:36
I've just updated this to version 1.2, including a fix for older versions of IE. Check the first post in the thread for more. :)

09 Mar 2001, 18:17
Looks very good! One thing though; The standard javascript-prompts are ugly as hell, it would be very nice if a next version contains self designed popups where you can fill in some parameters...

09 Mar 2001, 18:18
One question though: Why don't you use the vbulletin standard template mechanism in order to integrate it fully into it and make it easier to let it be included in a next version?

09 Mar 2001, 19:28
added this to b3 and when i enter the calendar and try to enter a pub event nothing shows up the template seems to be unchanged but if i goto the templates they are all there as require dthe custom ones and the changed calendar_enterevent ???
any ideas

09 Mar 2001, 19:29
i love the hack, the only annoying thing is it means you can't use the tab button so easily when replying to get to the post box... to get that to work would require a major rehash of the templates (puting the text box on the left where Your Reply is now and the putting all the vb code and smileys on the right.) maybe in the future i might do this though.

09 Mar 2001, 19:44
Originally posted by pestilence
added this to b3 and when i enter the calendar and try to enter a pub event nothing shows up the template seems to be unchanged but if i goto the templates they are all there as require dthe custom ones and the changed calendar_enterevent ???
any ideas

calendar requires the change to be made twice, did you do it twice (one for public one for private events i assume).

edit: that is in calendar.php i mean.

09 Mar 2001, 19:59
This could be fixed with the 'tabindex' property:


The TABINDEX attribute can be used to set a tabbing order for the user to navigate around the main <FORM>. For example, if <FORM> elements have TABINDEX properties set, when the user is focused on an element, pressing the 'Tab' key will pass the focus to the element with the next highest TABINDEX property.

09 Mar 2001, 20:29
thanx mate spot on i forgot the second instance :) works like a charm now...kudos to kier on a job well done :)

09 Mar 2001, 21:04
Kier, i have most of them but i don't see the paddle pop one in the members area, maybe it was because i am half asleep

10 Mar 2001, 08:02
How to specify the max number of smilies to display on the posting page? in another word how to set value of $maxSmilies ?

10 Mar 2001, 09:04
Originally posted by Mas*Mind
One question though: Why don't you use the vbulletin standard template mechanism in order to integrate it fully into it and make it easier to let it be included in a next version?

Most of the hack is handled through the standard template system. The only thing that isn't done with templates is the text for the onmouseover prompt box. All the text for this is included in the vbcode.js file, in order to speed-up page load times, as the vbcode.js file is cached by the browser. It's easy to find the text to replace in the vbcode.js file though, if you want to change it.

Originally posted by Mas*Mind
Looks very good! One thing though; The standard javascript-prompts are ugly as hell, it would be very nice if a next version contains self designed popups where you can fill in some parameters...

The only thing that uses a javascript alert() prompt in version 1.2 is the [help] link. If you are referring to the actual text prompt boxes, I won't be altering these, as loading a new page for each prompt is (IMO) too slow and unneccesary for a simple text input.

Originally posted by epic
How to specify the max number of smilies to display on the posting page? in another word how to set value of $maxSmilies ?

This is explained in the documentation. Simply add two arguments to the call to getclickysmilies() on each page.

For a table with 3 columns and 10 smilies, use this:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

10 Mar 2001, 10:02
Kier-

Just wanted to say thanks for the great hack.... I got it up and running in no time thanks to the great docs, and really love it.

Thanks :)

10 Mar 2001, 17:09
Parse error: parse error in ./global.php on line 78

After I uploaded admin/functions.php :(

10 Mar 2001, 19:04
Originally posted by DeathLoad
Parse error: parse error in ./global.php on line 78

After I uploaded admin/functions.php :(

Without a more in-depth explanation of your error, all I can suggest is that you didn't copy the new code into functions.php properly.

10 Mar 2001, 19:11
I pasted it in in after <?php

on the second line that is..

isn't that right ?

10 Mar 2001, 19:14
Guess a developer should pop in..

I will see what I can do about putting this into beta 4. Please let me know when it is considered in a finished state so I can modify it as needed to add CP options. This functionality was on our todo list but we didn't have a chance to get around to it so it is on the 2.1 list but this one looks very nice so we can go ahead and use it.

10 Mar 2001, 19:25
If this is going to be included in beta4 I will do some cleaning-up of the code and check some more browsers.

I will also alter the text-prompts system to use a template, for multi-language capabilities.

I'll post back soon.

10 Mar 2001, 19:27
Originally posted by DeathLoad
I pasted it in in after <?php

on the second line that is..

isn't that right ? Yes, that's right... what version of PHP are you using? As you can see, no one else (has reported) this error, so perhaps it's something wierd with your PHP version?

10 Mar 2001, 19:28
It needs to not break any browsers but it is acceptable if it doesn't work for everyone since it is javascript. I tested it with the webTV browser and had no major problems. I would have templateized it but if you want to go ahead :)

10 Mar 2001, 19:36
Okay, question:

When I am templatizing (new word of the day) the prompts, would you prefer to have one template which contains stuff like

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

or to have lots of little templates for each prompt? The only problem I can forsee with having multiple templates is the fact that Javascript will freak if there are linebreaks in there.

I won't be adding the rest of the contents of vbcode.js to templates, as it seems like a huge waste of bandwidth to continually download the same static code for every posting. I'll be leaving that as an external javascript file.

10 Mar 2001, 19:52
We don't like lots of little templates unless it is something we really have to do.

Also I think I will add a user option to enable/disable using the Code Buttons and Clickable Smilies. I do forsee some power users being upset at being forced to view the options on their post entries.

10 Mar 2001, 20:03
Splendid.

In that case, I will templatize it like this:

vbcode_prompts
will contain the javascript prompts that appear in the prompt textbox

vbcode_buttons
will contain the main HTML for the buttons and menus

vbcode_fontbits
will contain the <option> bits for the fonts select

vbcode_sizebits
will contain the <option> bits for the font-size select

vbcode_colorbits
will contain the <option> bits for the font-color select

vbcode_smilies
will contain the table for the posting-page smilies

vbcode_smiliebits
will contain the individial smilies for the posting page

vbcode_smilies_getmore
will contain the button to launch the overflow smilies window

popup_smilies
will contain the HTML for the smilies popup window

popup_smiliesbits
will contain the individual smilies for the popup
Will that be acceptable?

10 Mar 2001, 20:14
That sounds fantastic!
I'm really looking forward to that!

10 Mar 2001, 20:42
Awsome hack!

Mines up @ http://forums.nzgn.net.nz/

10 Mar 2001, 21:07
I'm using php 3..

I fixed the problem now, must have been something with pasting, but now I have another problem...

I can't add smilies by clicking on them, when I click on b.. it keep adding b tags not /b tags, and that goes for every tag.

Could it be that I'm doing something wrong? or is it IE5.5?

10 Mar 2001, 21:10
Originally posted by DeathLoad
I'm using php 3..

I fixed the problem now, must have been something with pasting, but now I have another problem...

I can't add smilies by clicking on them, when I click on b.. it keep adding b tags not /b tags, and that goes for every tag.

Could it be that I'm doing something wrong? or is it IE5.5?

To close a tag, click the 'close current tag' button, or switch to 'normal mode'

10 Mar 2001, 21:21
Love the hack.

Thoughts: How about an admin function to enable/disable this "ability"?

Also, is there any way to make it so that if you click the button again it checks to see if the previous tag is the same one you're clicking on and whether or not it's closed yet? And if it is closed it?

And *pants* is there any way to make it so that the button appears to be in a "down state" when enabled, so the above comes true..

Thus eliminating the ned for a "close all tags" button...

? :)


Thanks,

Maz

BTW, Awesome hack, loved it since day 1 -- and GREAT! Can't wait to see it in Beta4!!

Maz

10 Mar 2001, 21:36
Thoughts: How about an admin function to enable/disable this "ability"?

Freddie says he will be doing this for the integration in beta4. I was planning to add it for the next version, but as freddie volunteered... ;)

Also, is there any way to make it so that if you click the button again it checks to see if the previous tag is the same one you're clicking on and whether or not it's closed yet?

I will be adding this tonight. <quote>It was on the to do list, but didn't quite make it into the last release</quote> ;)

And if it is closed it?

Hmm... perhaps... it would be easy to do, I'm just not sure that I would want to... I'll mull it over.

And *pants* is there any way to make it so that the button appears to be in a "down state" when enabled, so the above comes true..

Using <input type=button> buttons, there is no way to specify a 'down' appearence for the buttons. They would need to be images for this, which I don't want to do.

Thus eliminating the ned for a "close all tags" button...

I don't actually understand why this would remove the need for the 'close all tags' button... my users actually requested this specifically, so that they could close a {quote}{b}{i}{u} tag set with a single click.

10 Mar 2001, 21:57
Good points.. My users are stupid .. and don't read this board.. That is stupid when it comes to technology.

The close all button is great to have. Saying to get rid of it didn't make sense after i asid it :)...

And it'd be easy enough for me to create the image states in replace of the button, so no worries.

I personally like where you're going with this -- great work!

Maz

**waits impishly for the next version** :)

10 Mar 2001, 22:50
That's fine .. Just let me know when it is "done".

11 Mar 2001, 01:07
Kier, I have to say this is one incredible hack. And now that it's going to be implemented in beta 4, even better! :) Congratulations on a job very well done!

11 Mar 2001, 01:39
I noticed after implementing the hack that when you send a PM the smilies on the left don't work. Is this normal?

Thanks,

Michael

11 Mar 2001, 01:41
I donno, this may be dumb. But my users LOVE adding glow text. Any way you can add a drop down bar with colors to make text glow?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Just an idea?


mkilty - I get the same thing

11 Mar 2001, 01:48
What exactly is glow text? I keep hearing about it but I've never actually seen it I don't think...

11 Mar 2001, 02:42
glow text is simply a fat color behind the normal text. I took a screen shot (attached) to give an example.

11 Mar 2001, 03:09
So when's Kier going to join the development team? :)

This is an awesome hack.. Just had to say that again.

Maz

11 Mar 2001, 03:47
Originally posted by freddie
I will see what I can do about putting this into beta 4.

That would be wonderful, thanks :)

11 Mar 2001, 03:53
I also have an error with the SpellChecker now. It says:
Line:297
Char:34
Error: Message not Null or not an object

JavaScript Error:
http://www.clublexus.com/vb/newthread.php?action=newthread&forumid=14,
line 321:

f has no properties.
JavaScript Error:
http://www.clublexus.com/vb/newthread.php?action=newthread&forumid=14,
line 321:

f has no properties.
==========================



Now can someone else duplicate this or did I somehow mess up on that php script.....

12 Mar 2001, 10:04
I got the same prob.. I give up :(
I'll overwrite my backup files again.

12 Mar 2001, 10:53
This is easy to fix.

In your editpost, newthread and newreply templates, find the onclick event for the Spell Check button, and you will see an assignment for a variable called 'f'.

This is the code from newreply:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Note that it expects to find a form called REPLIER in this case. You will need to replace REPLIER with vbform, as we renamed the form in order to make the clickable smilies work:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Okay?

12 Mar 2001, 12:39
This hack is now updated to version 1.4, which I believe will be the final update before its inclusion in vBulletin Beta4.

Note to freddie: the version attached to the first post of this thread is newer than the version I sent you at the weekend. Please use this version instead.

12 Mar 2001, 12:42
i dunno if this have been mentioned before, but in enhanced mode.. when i click a couple of tags.. like b, u and i.. and then delete those.. and then click on b, and then on close all tags.. then all tags i deleted are closed.. :)

12 Mar 2001, 12:46
Originally posted by X-PhoeniX
i dunno if this have been mentioned before, but in enhanced mode.. when i click a couple of tags.. like b, u and i.. and then delete those.. and then click on b, and then on close all tags.. then all tags i deleted are closed.. :) Nothing I can do about that I'm afraid.

12 Mar 2001, 14:19
Originally posted by Kier
Nothing I can do about that I'm afraid. I knów.. It's just that the close tags system isn't such a good idea afterall?

But otherwise, this hack roels :)

12 Mar 2001, 14:33
Originally posted by X-PhoeniX
I knów.. It's just that the close tags system isn't such a good idea afterall? Why is that? If you use the code buttons for all your markup, the close tags system works perfectly. If you don't want the close tags functionality, then use normal mode or type your tags in the old, long-hand fashion.

The only way I could account for users deleting tags they entered with the code buttons would be to write some very nasty regular expressions to parse the message textarea, which would not be pleasant to write in Javascript, and is not something I plan to do right now.

12 Mar 2001, 16:11
thank you so much for this terrific hack !
question : i got a javascript error concerning spell check :

i get an "Object Expected"

<INPUT TYPE = "BUTTON" VALUE = "Spell Check" onclick="var f=document.forms['vbform']; doSpell( 'en', f.message, 'http://delightboard.cjb.net/spellcheck/sproxy.php', true);">

here :VALUE = "Spell Check"

what can be it ?

THANK YOU

12 Mar 2001, 16:14
He just got finished explaining it. Look up in the thread a few posts...

12 Mar 2001, 16:18
The main documentation page (http://kier.3dfrontier.com/vbhacks/vbcode.php) has full instructions on how to prevent/cure the main error with Spellchecking. However, your error doesn't look like it's caused by the codebuttons hack... are you sure that you have included the reference to the spellchecker javascript file properly?

12 Mar 2001, 18:07
Awesome work Kier!

Thanks for making it easy for us neophites to add hacks :D

12 Mar 2001, 20:39
Is there any way to convert the buttons to images? I used type="image" and src="imagelocation" but it immediately submits the form after pressing the image.

It would be appreciated if the option of using images were included in the version to be implemented into beta 4. I greatly dislike the current buttons. Thanks.

12 Mar 2001, 20:41
Invalid attachment specified. If you followed a valid link, please notify the webmaster

-- on the latest version

12 Mar 2001, 20:56
yes everything is ok ...
i still have this error i did not change any reference, but could u just remind us what should i check ?

damn ur forum looks nice :) how much time do you spend to make sutomization and hacks ?

thanks again


Originally posted by Kier
The main documentation page (http://kier.3dfrontier.com/vbhacks/vbcode.php) has full instructions on how to prevent/cure the main error with Spellchecking. However, your error doesn't look like it's caused by the codebuttons hack... are you sure that you have included the reference to the spellchecker javascript file properly?

12 Mar 2001, 21:01
Originally posted by leadZERO
Invalid attachment specified. If you followed a valid link, please notify the webmaster

-- on the latest version

Seems to work for the other 14 people who have downloaded the attachment since I uploaded the new version earlier today... http://www.vbulletin.com/forum/images/icons/icon5.gif

Originally posted by Ryan Little
Is there any way to convert the buttons to images? I used type="image" and src="imagelocation" but it immediately submits the form after pressing the image. <input type=image> acts the same as <input type=submit>

It would be appreciated if the option of using images were included in the version to be implemented into beta 4. I greatly dislike the current buttons. Thanks.

How about using wluke's codebuttons then? His version uses images rather than form elements. If you want to modify my version, you will need to alter the function calls made on the onclick="" events for each of the buttons, as clicking an image does not expose this.form to javascript.

Originally posted by TheDude
yes everything is ok ...
i still have this error i did not change any reference, but could u just remind us what should i check ?

Check for the presence of this code in your templates.

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

The spellchecker module really isn't my turf, so I would suggest you direct your questions to the support forum, as you appear to have done everything correctly in installing this hack.

Originally posted by TheDude
damn ur forum looks nice :) how much time do you spend to make sutomization and hacks ?
Thanks. My forum currently has 257 customised templates, and just about every php page is hacked to pieces... I assume you have seen the image I posted here (http://www.vbulletin.com/forum/showthread.php?s=&threadid=11178)?

12 Mar 2001, 21:59
They must have been doing something with the database, because at the time I reported that error it showed it had been downloaded 0 times.

12 Mar 2001, 22:19
yes :)
and this only one part of it and it is already GREAT
are u a professional coder ? or u do this just for fun ?

12 Mar 2001, 22:32
Originally posted by TheDude
are u a professional coder ? or u do this just for fun ? I run a 3D animation company ( www.ap3d.com ), but web design/programming is one of my little sidelines.

13 Mar 2001, 05:56
Ok I have implemented this hack into beta 4 and you can test it on the beta board at beta.jelsoft.com

Please let me know if you encounter any anomalies with it. You can turn it on/off in your profile.

13 Mar 2001, 06:13
I like it, but I find it annoying that when you hit a button it returns you to the beginning of them essage dialog box.. Ack! At least it does in Netscape 4.5

13 Mar 2001, 06:17
Originally posted by Kier
The only way I could account for users deleting tags they entered with the code buttons would be to write some very nasty regular expressions to parse the message textarea, which would not be pleasant to write in Javascript, and is not something I plan to do right now. True, True..

13 Mar 2001, 09:49
That work very nice on my board:
www.jeuxwebmasters.com/forums/
Thx Kier :)

13 Mar 2001, 09:51
Originally posted by freddie
Ok I have implemented this hack into beta 4 and you can test it on the beta board at beta.jelsoft.com
Yay! :)

You can turn it on/off in your profile.
Yay! Again. :D

13 Mar 2001, 12:14
excellent !
waiting for beta 4 :)
thanks kier for this marvelous hack !

13 Mar 2001, 14:07
THe dude are you french????

13 Mar 2001, 14:57
Seems to be working fine over at beta.jelsoft.com

Freddie: I would make one suggestion for the default templates though: I noticed that you have set the smilies table to have five columns... which is fine for IE, but Netscrape really doesn't understand the CSS styling on the message textarea, (especially Nutscrape 6), as a result, the textarea is vastly over-wide in NS, and the wide smilies table just makes it even worse...

Just a thought.

13 Mar 2001, 15:28
I just set it to 5 to test the option to change the columns as I made it a CP option. It is set to 3 by default.

13 Mar 2001, 15:35
Yahouuuuuuuuuu
lol :)

13 Mar 2001, 15:53
Originally posted by freddie
I just set it to 5 to test the option to change the columns as I made it a CP option. It is set to 3 by default. Excellent. I was hoping you'd do that.

13 Mar 2001, 20:22
I have the beta 3 w/ the smilies thing installed and if i do the upgrade that will be relased with beta 4 will it screw it up since i already have it.

13 Mar 2001, 20:51
No, all the code that you entered for the hack will be completely overwritten when you upgrade to beta 4.

The transition should be completely transparent, apart from the new CP options.

13 Mar 2001, 22:37
alright kool

13 Mar 2001, 23:01
Wait a second, did I see it said that this hack would be incorporated as standard equipment starting with beta 4? Cool!

But will I have to do anything to uninstall it from beta 3 before I upgrade to beta 4?

13 Mar 2001, 23:14
Originally posted by JJR512
But will I have to do anything to uninstall it from beta 3 before I upgrade to beta 4?

See above.

14 Mar 2001, 13:04
Originally posted by jojo85
THe dude are you french????

hmm
well maybe ... why are you askin' ? do i seem french ?

14 Mar 2001, 13:15
i know you hehe

14 Mar 2001, 20:02
very nice hack!

no one could made it better!

check it out on our german board:

http://www.aktienboard.com/vb/

see ya

14 Mar 2001, 21:14
Originally posted by jojo85
i know you hehe

u know me ?
:)
well i don't :)

19 Mar 2001, 22:58
Hey Kier...great work on this one.

Quick Question...

If you send a PM to someone 80% of the time MySQL is crashing since I put the hack on...is this related to the hack or just murphy's law?

Errors are as follows:
=================================
Database error in vBulletin: Invalid SQL: SELECT dateline FROM privatemessage WHERE fromuserid=1 ORDER BY dateline DESC LIMIT 1
mysql error: Lost connection to MySQL server during query
mysql error number: 2013
Date: Monday 19th of March 2001 01:46:33 PM

===================================

Database error in vBulletin: Invalid SQL: UPDATE LOW_PRIORITY session SET lastactivity=985031171 WHERE sessionhash='97db39b7c99be25360cdc4164456b5d2'
mysql error: MySQL server has gone away
mysql error number: 2006
Date: Monday 19th of March 2001 01:46:35 PM
====================================

If I restart MySQL...away she goes... This just happens on the PM sending.. and only sometimes. I can send the message watch the server crash, startup the server and clikc back and send again..and this time it works?

Any Ideas?

Running on WinNT/MySQL/VB2.03 - Everything else runs flawlessly.

Thanks again

Zipur

19 Mar 2001, 23:14
very nice hack!
Thanks,

excellent
waiting for beta 4


http://daar.bokhalifa.net/bo/

19 Mar 2001, 23:14
Murphy's law I'm afraid. My hack doesn't touch the SQL calls at all.

24 Mar 2001, 11:38
on my newpost, newreply, and edit post page, the clicky smiles dosent come up. The window and everything is there and the get more fuction works but it just wont display my first 9, and it didt display the full before i edired for 3 colmns and 9 smilies. My board is located a http://forums.cheats2k.net can someone help me out?

24 Mar 2001, 15:54
I would suggest that you wait for vB2 beta 4 to be released, as this hack is now part of the official release.

24 Mar 2001, 18:31
when will it be released?????
got to admint i cant wait:):)
Keep up the good work guy's....

25 Mar 2001, 11:35
Any dates in mind??????????

27 Mar 2001, 21:38
no one can help me here? come on, someone had to of had this problem besides me, i know other people who got that to work and they have the same version as me

28 Mar 2001, 11:38
I take it there is no date yet for the release of beta 4??????????


Can any1 help me out with the hack please....
We have tried it 3 times now and still get clickysmiles error...

Thanx in advance..

Ps dont mind bunging £20.00 if some1 can get it working for me...

29 Mar 2001, 05:08
Hi,
This is really a lovely code. I wonder if i can install it with vb 1.1.6? or it supports vb 2.0 only?

29 Mar 2001, 05:18
It is only for vB2, and it is now standard equipment in vB2 (in the next release, which is beta 4).