PDA

View Full Version : [Design Issue] Announcements don't work like they should...


Grover
Thu 14th Mar '02, 9:05am
Hi,

When I post an announcement it is IMPOSSIBLE for me to use VB code in it. I would like to use the [url]-tags for example, but it just isn't working.

Everytime I try to edit the announcement, the 'Allow vB code'-option switches to 'No'. I can set it to 'Yes', but when I go back to the forum to check the announcement, it STILL doesn't show the correct VB code.....

When I go back to edit the announcement.....the 'Allow vB code'-option autmatically switches to 'No'.

Am I doing something wrong, or is this a bug? I use vB 2.2.2

Grover.

okrogius
Thu 14th Mar '02, 9:17am
Use html code in announcments.

Grover
Thu 14th Mar '02, 2:15pm
No, I do not want that. I prefer the VbCodes.

So this is a bug then?

Grover.

- - - - - - - - - - - - - - - - - - - - -
URL: www.xxx.nl/forum (http://www.xxx.nl/forum)
PHP version: 4.1.2
MySQL version: 3.23.32
Apache/webserver version: 1.3.23
Server operating system: Linux
Whether or not you have edited any files: NO!
- - - - - - - - - - - - - - - - - - - - -

Grover
Sat 16th Mar '02, 3:14am
Hi all,

Is this actually a bug in 2.2.2 or am I missing something?

Grover.

eva2000
Sat 16th Mar '02, 3:19am
upgrade to 2.2.4 if you haven't ?

as to the code if you use vB code and edit the announcement you need to use html code

Grover
Sun 17th Mar '02, 4:39am
as to the code if you use vB code and edit the announcement you need to use html code

?

So I can use VBCode to create the announcement, but i can NOT use it when I edit one?

I do not understand this. Why can't I use VBcode all the way?

Grover.

Grover
Tue 19th Mar '02, 4:10am
as to the code if you use vB code and edit the announcement you need to use html code .

?

Ok, when I post an announcement, the options are as follows:

- - - - - - - - - - - -
Allow HTML code
No

Allow vB code
Yes

Allow smilies
Yes
- - - - - - - - - - - -

I can use VB code all the way, which is very handy because I can simply write the announcement like a normal message, which I am used to.

BUT when I want to edit the announcement.....the announcement has been converted to HTML. Although it was originally written in VBcode. Therefor I get the following options:

- - - - - - - - - - - -
Allow HTML code
Yes

Allow vB code
No

Allow smilies
No
- - - - - - - - - - - -

There's NO way I can choose the 'Allow VB Code' again, because the message has been converted to HTML and I can not use VBcode in it anymore.

I do not know if this has been asked before (I guess it is...), but: WHY are the announcements converted to HTML and why cant I use VBcode anymore when I want to edit them?

I find it to be not very handy.

Grover.

kippesp
Wed 10th Apr '02, 5:00am
I don't know why a developer hasn't chimed in.

But I discovered the same thing in 2.2.4 & 2.2.5. Two things are confusing the issue. First, if you go to modify an announcement, the yes/no options are pre-defaulted--they don't remain what you last set them to. Second, there is a bug. Line #134 of admin/announcement.php is missing an underscore and should use the variable $annc_allowvbcode.

Now, with the bug fixed, specifying yes to either "Allow vB code" or "Allow smilies" will convert the appropriate text to html tags. So even if you don't want HTML in your announcement, there is no way around it. Once you hit "save changes," any vbCodes or smilies there will be converted (if the option was enabled).

The bug only exists when editing an announcement. The first time through--saving--works fine...or rather, as designed.

Grover
Wed 10th Apr '02, 6:54am
Thanx kippesp for your reply,

What you say in your message about this issue is correct. I also would very much like to hear the opinion of the Vbulletin developers on this.

Grover.

Grover
Thu 6th Jun '02, 10:50am
Dear VBTeam,

Again, I would like to hear the opinion of the developers on this one.

Thanks,
Grover.

Grover
Sat 22nd Jun '02, 11:19am
Is this going to be solved in VB3? I very much would appreciate an answer from the developers.

Thanks for the support,
Grover.

Mike Sullivan
Sat 22nd Jun '02, 12:28pm
In terms of 2.x, the only bug is the vB code thing kippesp mentioned. It works correctly otherwise, just not how you think (pre-parsing to HTML).

3.0 has already basically rewritten announcements.

Grover
Wed 28th Aug '02, 10:24am
Originally posted by Ed Sullivan
In terms of 2.x, the only bug is the vB code thing kippesp mentioned. It works correctly otherwise, just not how you think (pre-parsing to HTML).

3.0 has already basically rewritten announcements.

Hi Ed,

So VB3 hasn't got these 'problems' then? I was just writing another announcement on my Vb2.x forum today...and it keeps annoying me that an announcement is converted to HTML and I can not use VBcode anymore after I published the announcement.....

Hope VB3 is more userfriendly on this matter. Keep up the good work!

Joshua Clinard
Wed 28th Aug '02, 10:38am
It appears this has been fixed in 2.2.7!