News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Depreciated]

Started by Depreciated, July 24, 2008, 03:18:45 PM

Previous topic - Next topic

saneone

I removed ".richedit_resize" class from my editor.css and editor_ie.css and I installed this mod:
http://custom.simplemachines.org/mods/index.php?mod=1164

For me, it's the best solution to this problem

Mikeric

Thanks, that works good for me.

dewdrinker19

Does anybody know what would cause this...?

SpectroPro

Are you serious?

Start at page one of this topic, and keep reading...  then smack yourself.  :)
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

alx

to me, nothing work good... still reading this post.
aLx | all4pg

since smf 1.1 RC 3

SpectroPro

The other night, I was bored, so I spent almost 2 hours on this.  The entire mod will need to be re-written to work correctly.  As I studied it (I can find error in code, and make some minor changes, but can NOT create code from scratch) I found it is quite flawed in how it is coded. 

Things are placed in the stupidest places in the code.  I took the line of code that puts the little bar (the one we have moving from the bottom to the top when you remove the <div> tags to lose the lines) and deleted it.  Ok, so now it is gone.  I then moved that line of code (making the necessary fixes where/when needed) and moved it all over that file.  It never went where you wanted it to go. 

I started really looking at the placement of things in the quick edit section.  Man...  it is allllllllll goofy!   For instance, if, in the section right above the code we all modified, where it puts the smileys (one of several times it does...mind you..), you put in a word.  On my page it said HELLO.  I made it so it would say that directly after the last smiley and the 'more' text.  When uploaded, and refreshed, the word HELLO did in fact show up there.  But also on a line above that, and on the line below that.  So my posting the word HELLO once, actually showed it 3 times.  This tells me that the code needs to be totally overhauled.  It is all goofy. 

I mean, we knew that when you remove 2 div tags and something at the bottom of a text box suddenly moves to the TOP of that same text box.  Even though the code is AFTER the drawing of the text box.  So something else is going very wrong with this code in 2b4. 

I hope someone will just do a total rewrite of the mod.  I was going to kill the mod altogether, but people love that quick edit feature.  I finally came to a compromise...  My resizer is STILL on top of the box, however, I was able to at least center it by shrinking the size of the bar it is in.

<div id="', $editor_id, '_resizer" style="display: none; width: 20%" class="richedit_resize"></div>

That did the trick! 
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

X3mE

You're talking about GenericControls.template.php, right?

This mod doesn't change anything in it, so this should be sorted by the SMF dev team.

There are many more CSS issues which came up in Beta 4, probably because the template system was heavily modified, so I hope they will all be fixed in versions to come.
Kids, you tried your best and you failed miserably. The lesson is - never try.

My mods:
OS & Browser Detection (1.5 is out!) | Skype Profile Field | GTalk Profile Field | AllCaps Blocker | SMF Syntax Highlighter (Beta) + 2 in development!

Personal websites:
Mobilize.rs (and forum) | Lolmao.info



SpectroPro

Yes, that is the file I am talking about.... well, at least that is good...  Then it is indeed a 2b4 problem, but I have a feeling, since it only seems to appear when using this particular mod, it most likely will NOT be addressed by them.  :(

Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Özgür

Quote from: dewdrinker19 on November 19, 2008, 12:31:32 AM
Does anybody know what would cause this...?

i fix this problem but i can't forget. my displaytemplate in the attachments.
So Long

mlepore

Thought I would see if this is a common problem or not. I've been trying to get the WYSYWIG quick reply working and it seemed to pop up fine but it seems with subsequent installs / removals the editor gets all bent out of shape. I would assume that the uninstaller is leaving some remanent code behind somewhere.

I have tried to manually edit all the files back to original and then re-install, no luck. Things are still not in place and I still have the same issue.

Here is an image.

WYSIWYG QUICK REPLY v1.1


If anybody has any tips on fixing this it would be greatly appreciated. I'm at a loss. If anyone can direct me to where the alignment etc is of this I'm sure I can tweak it but everything is all over the place and I can't seem to find it.

mlepore

There is another problem with this in SMF2b4.

When you have "show off by default" in the user CP panel and open the quick reply panel the WYSIWIG quick reply editor doesn't work properly when you open it.

That and the bar is still formatted wrong. I have no idea why it's placed on top of the box.

ɔɔɔɔɔɔuɥoɾ

Quote from: edi67 on November 07, 2008, 05:32:37 AM
Dont Worry Guys  ;) our Karl is busy so cannot find one solution for this, but this is solution for me and i hope to you

in GenericControls.Template.php find:

echo '
<div>
<div>
<textarea class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols="', $editor_context['columns'], '" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="width: ', $editor_context['width'], '; height: ', $editor_context['height'], ';', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '">', $editor_context['value'], '</textarea>
</div>
<div id="', $editor_id, '_resizer" style="display: none; width: ', $editor_context['width'], '" class="richedit_resize"></div>
</div>


and Replace with:

echo '
<textarea class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols="', $editor_context['columns'], '" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="width: ', $editor_context['width'], '; height: ', $editor_context['height'], ';', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '">', $editor_context['value'], '</textarea>
<div id="', $editor_id, '_resizer" style="display: none; width: ', $editor_context['width'], '" class="richedit_resize"></div>



Everything will be ok ;)

This worked for me too thanks! :)

one thing how do i make it more wider, where are the dimensions for it, the bbc buttons and smilies are wider than the type text box and its aligned left too

or just centering would be great



SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

ɔɔɔɔɔɔuɥoɾ

may I also add that All my post boxes are small, even normal reply


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

BahanesiBoL


Özgür

Please , attachment your display.template.php.
So Long

ɔɔɔɔɔɔuɥoɾ

#115
Mine looks worse than yours


can you help me with mine too please

Thanks

EDIT:
attached display template :)


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Özgür

So Long

ɔɔɔɔɔɔuɥoɾ



SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

grafitus


Özgür

Quote from: johncccccc on February 09, 2009, 03:16:06 PM
tried it nothing happened

Your site url and demo user please.


Quote from: grafitus on February 09, 2009, 03:35:24 PM
Compatible With: 2.0 RC1 ???

This package work fine 2.0Rc1. For me..
So Long

Advertisement: