PDA

View Full Version : VB3 Odd Problem??


Cyricx
02-11-2004, 10:20 PM
I obviously did something wrong, so, lol ...

On either the new thread or on the reply page... the block where you put in the text that you want to post to the thread / forum.

I added a hack that had nothing to do with the block. And now the block is resizing itself whenever I add text & etc... SS can be provided on request.

I didn't even touch any templates / files that controls the new thread / reply. :ermm:

So, unsure what happened exactly.

Cyricx

Cyricx
02-11-2004, 10:27 PM
Ah, here's the SS so you can see... Realized I didn't want to be spammed with requests, lol...

Cyricx

Xenon
02-11-2004, 11:07 PM
textarea width seems to get overwritten somehow

check out what variables the hack changes..

Cyricx
02-11-2004, 11:28 PM
It didn't even overwrite anything.

It was just adding the <if> conditions...

Cyricx

Xenon
02-11-2004, 11:43 PM
you don't have to overwrite code to get bugs.

just imagine a added code like $DB_site = NULL; and no db query would be possible anymore without overwriting any piece of code.

g-force2k2
02-12-2004, 12:32 AM
you didn't alter the cols or rows? or perhaps you didn't close the <if statement correctly or properly. If you could provide some source template code I can take a look.

Cheers,
g-force2k2

Cyricx
02-12-2004, 02:01 AM
I only edited two templates... postbit and postbit_legacy ... Then I gave it a try, then it just went nuts. :| So, I'm attaching them, I ran it through my syntax checker, there's nothing wrong.

Cyricx

Cyricx
02-12-2004, 07:45 PM
An update...

After a well-deserved night of sleep... I went through the code once again...

I see nothing out of place. :( So, someone help me out here. LOL

The files I attached in the above post are the only two files that I edited before the textarea went ape-nuts...

Cyricx

Xenon
02-12-2004, 07:51 PM
well, the postbits have nothing to do with the editor part, so there must be something else you've done wrong before...

Cyricx
02-12-2004, 08:02 PM
Yea, I'm starting to think that...

Can you tell me what files uses the text area? So I can go through the code? Just be sure that I didn't miss any files that should be looked at.

Cyricx

Xenon
02-12-2004, 08:50 PM
it's mainly functions_editor.php and the js scripts i think

g-force2k2
02-13-2004, 05:06 AM
Did you check the editor templates? because that is actually where the actual wysiwyg is built, so you might have accidently edited something within that template.

Cheers,
g-force2k2

Cyricx
02-13-2004, 04:21 PM
Oh, forgot to reply...

It's my fault, lol ...

I added a hack. Totally broke the site, so, I deleted everything I could. But it was a HTL install, lol ... Didn't really delete everything... Makes me mad, lol ... I went through EVERY template, and found it. :| lol ...

Good thing it was a test site... I know for certain, I won't be applying that hack when I upgrade the live site this Sunday Evening.

Cyricx