VB Code tags.. Smileys..etc

ThePentiumGuy

Well-known member
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
Hey,

As I reply to some posts, I paste my code using the [ VB ] code tags of course.
But when I paste it, it randomly squishes my words together.

Code:
[size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Class[/color][/size][size=2] clsText
 
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] TheFont [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Direct3D.Font = [/size][size=2][color=#0000ff]Nothing
 
[/color][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] rect [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]New[/color][/size][size=2] Rectangle(0, 0, 0, 0)
 
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] x [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Vector3
 
[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] y [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Vector3
 
[/size][size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2][color=#0000ff]New[/color][/size][size=2]([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] d3ddev [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Direct3D.Device, [/size][size=2][color=#0000ff]Optional[/color][/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] fontname [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]String[/color][/size][size=2] = "Courier", [/size][size=2][color=#0000ff]Optional[/color][/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Size [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]Integer[/color][/size][size=2] = 10)
 
TheFont = [/size][size=2][color=#0000ff]New[/color][/size][size=2] Microsoft.DirectX.Direct3D.Font(d3ddev, [/size][size=2][color=#0000ff]New[/color][/size][size=2] System.Drawing.Font(fontname, Size))
 
[/size][size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub
 
[/color][/size][size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2] Drawtext([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] text [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]String[/color][/size][size=2], [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Color [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Drawing.Color)
 
[/size][size=2][color=#008000] TheFont.DrawText(text, rect, Microsoft.DirectX.Direct3D.DrawTextFormat.NoClip, Color)
 
[/color][/size][size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub
 
End[/color][/size][size=2][color=#0000ff]Class

Notice the squished words?
Edit: to be more specific, it seems that it squishes any subsequent keywords(represented by blue)together.
[/color][/size]

Also, id have to mess with the fonts within vb tags, and then change the size! Shouldnt the forum do that automatically. Another issue im having is the automatic double spacing of code. .. This gets really annoying, When you dont have any doublespaces, it should appear without doublespaces. And in your code, when you do have a line break between a line, it appears as 2! The last issue with the code
is that it should be automatically indented.. but whatever. If I type in text, and I just want to indent a line just a bit (without usign the indent tool) itll delete the spaces that I typed in ....

The text that Im typing in right now appears in Verdana size 2 - but when I preview it, it appears in size like... 3 or 4. This isnt WYSIWYG isnt it ;p.



Another issue is with the smileys. When I was making my tutorials for the tutors corner, my post was ~20,000 characters, so I had to split it into 2 ~10,000 character posts. I added a smiley or 2 (a total of 3 smileys), and hit preview. The thing inserted the URL
for the smileys (www.computerhelp.forum/blah/blah/smile.gif/)! I went back to change the smileys. I typed in the smileys manually and i hit preview and it happened again! Then I tried again with the dropdown menu, and it finally worked..

I thought this problem was caused by the preview, but unfortunately, the preview button actually "edits" your post to how you see it in the preview.
For example I told you about the URL being shown rather than the smiley - this wasnt just in the preview, this was in the post I was typing in as well...


Edit: and notice my font changing randomly?
Edit again: quick fix for this - hold control and scroll with your mouse until the fonts are the same size... or do otherwise to see what my problem is (you need to make it slightly bigger to see what i mean)

Is there any known reason for these problems? And is there a solution?

Thanks,
-The Pentium Guy



 
Ive just been annoyed by the way the code tags remove your formatting.

It used to hold your tabs and indentations found in code, but now it strips them out and its all flat against the left hand margin.
 
We have been after the owners of the site to fix this for months, but they simply will not do it. Unfortunately were powerless to fix things of this nature right now.
 
Ah - then this means that the other forums by iNet are having this problem as well?
Im sure if we all (the forums owned by iNet) collaborate and ask, they will surely have do it. Sort of .. nonviolent protest ;p.

Pent
 
I dont understand how this forum is or used... but cant you simply change the code ? We are all (or almost) VB.NET and C# proficient, master or guru programmer here. Cant we do the job ?

Want more detail plz.
 
The forums are owned by iNet Interactive and are largely in their control. The Forums Administrators have some access to the systems but not enough to just go and re-write chunks of the forum code on a whim - such things need approval. Unfortunately as simon mentioned above we are having a hard time getting them to recognise the issues we a re suffering.
 
Yeah... I see. Good product with bad support isnt it ?

Maybe they shall more hear what all of their buyer say. Its worthwile to have a good support.

Anyway... good luck ! Hope it will be fixed because it really sux some times... and its not hard to correct bug (seen from the outside).
 
Denaes said:
Ive just been annoyed by the way the code tags remove your formatting.

It used to hold your tabs and indentations found in code, but now it strips them out and its all flat against the left hand margin.
They should realize that this is a programming forum. This is the kind of thing that we need :D.

Has anyone from XVBF(Sister site) complained yet? I was hoping maybe we both can ask them - seriously were their(iNETs) community - they should at least privide us with some support, trying to upgrade their forums as such.

I realize that other forums(such as their "OC forums") dont need this coding support. But man, all forums need smileys lol. I hate it when it replaces the smileys with the hyperlink to the image of the smiley.

My suggestion: Email them once in a while asking them to patch up some minor issues(make it sound wicked minor, "we just want our code to be indented and not doublespaced". And do that for other problems as well)

- The Pentium Guy
 
Last edited by a moderator:
Back
Top