|
Hey TLers,
I have recently begun implementing my own forum and I have came across some bugs and problems. My natural instinct is to do a google search to try to find a solution, sometimes I can't find one.
My next instinct is to go to other forum websites and try to exploit the bug and see how they handle it. I have the chronic desire to go to teamliquid.net and do the same, but I do not want to post irrelevant messages to test how teamliquid handles these situations. As a result, I would like to devote this blog to handling these situations. In return, I will update the OP with the problems that I encountered and you may be likely to encounter if you ever implement your own forum.
If anybody knows how a solution to these problems, please offer your advice. I will be forever in your gratitude. My forum is located at http://www.savehoa.com/talk.php. Please don't critique my website or the storyline yet, it is not done. If you know any other common pitfalls and solutions of implementing forums, please share! Feel free to try to break my website.
Problem 1: How does TL gets the bold tag to surround the selected text? When I click the bold format button in my forum, it always adds the bold tag to the end of the textarea instead of around my selected text.
Problem 2: When I have a very long series of characters without spaces, it causes the table cell that displays my comment to expand and destroy the layout of my website. The problem can also be seen on the last comment of this forum: http://www.neopets.com/neoboards/topic.phtml?topic=153220327
[plus if TL ever needs a volunteer web developer, I would be happy to help]
   
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</table>
|
You need to highlight the text before clicking the bold tag. It appears you've already picked up on this, though.
|
United States10053 Posts
Where your next character typer thingy is (the flashing bar) is where all the tags and everything will be placed. you'd have to highlight and copy the text u want.
oops, didnt read above comment ><
|
On January 22 2013 15:03 Aerisky wrote: You need to highlight the text before clicking the bold tag. It appears you've already picked up on this, though.
yea, I'm trying to get this feature to work on my website. Everytime I highlight text on my website before clicking the bold tag, it doesn't work, it still appends the bold tag to the end. I'm trying to figure out how TL does it.
|
TL has a wizard.... Who, I am guessing, is bound by some moral code of magicians not to tell you his secrets.
|
Baa?21242 Posts
On January 22 2013 14:42 aztrorisk wrote: I have the chronic desire to go to teamliquid.net and do the same, but I do not want to post irrelevant messages to test how teamliquid handles these situations.
funnily enough, there are parts of TL that are dedicated to this kind of stuff
|
with the long string of characters, you need to force a maximum number of characters/pixels to a line. Not done web development in a long time but I used to do this in the CSS if memory serves.
|
On January 22 2013 22:21 emythrel wrote: with the long string of characters, you need to force a maximum number of characters/pixels to a line. Not done web development in a long time but I used to do this in the CSS if memory serves.
yes. First of all: have a set width for the div for the replies, that way the text will never ruin your design. afaik there is no way to break a long line with HTML/CSS (but I could be mistaken). You can however also hide this kinda stuff with CSS with overflow:hidden;
|
Long lines you say... hmm...
+ Show Spoiler + awaeijorwejalkwjfalwiehrauwiehrliauwlrawheuiwhrluaiwhuierauwiehfjksdhfkjasdlhfjsahfkjsdlhfiuwaeyrhoiuaweaweriouaweiorewaliraweirwaherhaweiurhawielurhwuerahihelwiurhilaweuhraluiwhruawehriuawehruawehrauwrhweirhjawkrhkejlrhkwjahrkljwerwearhawiluerhliwurhliwuerhiluHLRIUWAHERIOUWEHRAWHROUIAWEHRJFHALSKJHRUOIEVCBYRAUIORCAWERIUWERAWRAVEBYAWEIOYRIUWEFHOAUWFHWUEHRAWLJERHAWJELKRHBAEWKJRBAEWRHFBS,ADJBFSAKJAWHGOUERAWERAW
Damn, it breaks in preview but not in post!
awaeijorwejalkwjfalwiehrauwiehrliauwlrawheuiwhrluaiwhuierauwiehfjksdhfkjasdlhfjsahfkjsdlhfiuwaeyrhoiuaweaweriouaweiorewaliraweirwaherhaweiurhawielurhwuerahihelwiurhilaweuhraluiwhruawehriuawehruawehrauwrhweirhjawkrhkejlrhkwjahrkljwerwearhawiluerhliwurhliwuerhiluHLRIUWAHERIOUWEHRAWHROUIAWEHRJFHALSKJHRUOIEVCBYRAUIORCAWERIUWERAWRAVEBYAWEIOYRIUWEFHOAUWFHWUEHRAWLJERHAWJELKRHBAEWKJRBAEWRHFBS,ADJBFSAKJAWHGOUERAWERAW
|
|
|
|