New blocktype Shoutbox

Started by Feline, 10 years ago

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Feline

*
#50
10 years ago
Quote from: FearlessG1, 10 years ago
Also, is there anyway to make it should after you hit enter rather than having to actually press shout with the mouse?

No .. on a Textareas the enter key is a valid input.

Fel
Many are stubborn in relation to the way, but less in relation to the target.

justdownload.us

*
#51
10 years ago
i got it!!! nice work!!  O0
DOn't BeLiEve tHat yOu kNow EverYthiNg!!

neverhurry

*
#52
8 years ago
Quote from: feline, 10 years ago
Open shoutbox.php, go to Line 358.
Find:
Code Select

<textarea id="shoutcontent" style="width:98%; overflow:auto; height:6.2em;'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? 'display:none;' : '') .'" name="post" cols="20" rows="4"></textarea>


Replace with:
Code Select
<textarea id="shoutcontent" style="width:98%; overflow:auto; height:1.4em;'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? 'display:none;' : '') .'" name="post" cols="20" rows="1"></textarea>


Fel



Thanks, but when I edit in 0.980 version, in 921 line the following it doesn't work, pls help.
because the textarea is just too high, i need only 1 line text. Thanks!!!

Code Select

<textarea id="shoutcontent"'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? ' style="width:98%; overflow:auto; height:1.4em; display:none;"' : '') .' name="post" cols="15" rows="1"></textarea>

Feline

*
#53
8 years ago
Change
Code Select

<textarea id="shoutcontent"'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? ' style="display:none;"' : '') .' name="post" cols="15" rows="4"></textarea>


to
Code Select

<textarea id="shoutcontent"'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? ' style="display:none;"' : '') .' name="post" cols="15" rows="1"></textarea>


Fel
Many are stubborn in relation to the way, but less in relation to the target.

neverhurry

*
#54
8 years ago
Quote from: feline, 8 years ago
Change
Code Select

<textarea id="shoutcontent"'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? ' style="display:none;"' : '') .' name="post" cols="15" rows="4"></textarea>


to
Code Select

<textarea id="shoutcontent"'. (!empty($this->cfg['config']['settings']['boxcollapse']) ? ' style="display:none;"' : '') .' name="post" cols="15" rows="1"></textarea>


Fel


Fel, I did what you suggest, but it has no effect on it, as if rows="1" has no impact.

Feline

*
#55
8 years ago
Also you have to modify the css settings in /Themes/default/PortaMx/portamx.css ..
Find
Code Select
#shoutcontent
{
width:95%;
margin:auto;
overflow:auto;
height:6.2em;
}


and set the heigh to 1.2em or what you want.

Fel
Many are stubborn in relation to the way, but less in relation to the target.

neverhurry

*
#56
8 years ago
Quote from: feline, 8 years ago
Also you have to modify the css settings in /Themes/default/PortaMx/portamx.css ..
Find
Code Select
#shoutcontent
{
width:95%;
margin:auto;
overflow:auto;
height:6.2em;
}


and set the heigh to 1.2em or what you want.

Fel


Fel, thanks a lot, that did the trick!

* Shouts

Feline
a year ago
Today we update our Forum to the Version 1.45
Feline
a year ago
Today we update our Forum to Version 1.4
This release is full compatible with the EU GDPR
Feline
a year ago
Update for PortaMx 1.54 ecl released.
With this updates the Portal works with PHP 7.x and SMF 2.0.15
Feline
a year ago
PortaMx Forum 1.3
released !

*
Feline
a year ago
Today we switched to PHP 7.2 and activate Opcode caching.
Fast .. Very fast *
Feline
2 years ago
Today we upgrade our old SMF 2.0 Forum to PortaMx Forum *

* Calendar

Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30