376

(18 replies, posted in Feature requests)

Hummmmmmmmmmmm

I don't know where is the "bug"

If a user has safari, the BUTTONS don't work ... but TEXTAREA WORKS in Safari no ? (hahahahaa).

So ... This feature is not a nuisance about compatibility. Only this future doesn't work on Safari, but don't prevent user from posting anyway. Right ?

I'm on the web since 1998 ... and you remember me people who wanted to claim "NETSCAPE 4 IS BETTER THAN IE"

Let me laugh, today.

The ONLY browsers which are perfect today are Gecko and Opera. If you want to use an "original" browser, don't cry. Simply.

377

(18 replies, posted in Feature requests)

mmmmmmmmm how to explain ... do you want this code compatible with Mozaic or Lynx too ?!

mmmmmmmm I see my stats ... Ohhhhhhhhhhh incredible !

IE = 82%

Mozilla / Firefox / Gecko Browser = 14%

ALL OTHER BROWSERS = 4%

Safari = 0,5%


In this case, the SCALING image in 1.2.1 is a problem for you too no ?

SAFARI = minority of the web.

Firefox is on all plateforms ...

378

(76 replies, posted in News)

Hum ...
But you realize (and are OK) a "scaling image" is not good ... so ... could it be possible to choose in admin WHICH method we want to use ? For me Scaling image is not the best choice. And it's possible to detect a code

[url=blabla][img]img.jpg[/img][/url]

and a JS alert says "no no guy, you can't do this"

For me my actual site
http://www.fantasya.net/forum ... people post ART pics ... and SCALING image is not the good choice to see "good" the pic.

379

(18 replies, posted in Feature requests)

Hummmm ... in fact since I have seen minmax.js I suppose JavaScript becomes our "friend" (and cool smile)
...

So I have found a BBcode really easy ...

<script language="Javascript">
var isMozilla = (navigator.userAgent.toLowerCase().indexOf('gecko')!=-1) ? true : false;
var regexp = new RegExp("[\r]","gi");

function storeCaret(selec)
{
    if (isMozilla) 
    {
    // Si on est sur Mozilla

        oField = document.forms['news'].elements['newst'];

        objectValue = oField.value;

        deb = oField.selectionStart;
        fin = oField.selectionEnd;

        objectValueDeb = objectValue.substring( 0 , oField.selectionStart );
        objectValueFin = objectValue.substring( oField.selectionEnd , oField.textLength );
        objectSelected = objectValue.substring( oField.selectionStart ,oField.selectionEnd );

    //    alert("Debut:'"+objectValueDeb+"' ("+deb+")\nFin:'"+objectValueFin+"' ("+fin+")\n\nSelectionné:'"+objectSelected+"'("+(fin-deb)+")");
            
        oField.value = objectValueDeb + "[" + selec + "]" + objectSelected + "[/" + selec + "]" + objectValueFin;
        oField.selectionStart = strlen(objectValueDeb);
        oField.selectionEnd = strlen(objectValueDeb + "[" + selec + "]" + objectSelected + "[/" + selec + "]");
        oField.focus();
        oField.setSelectionRange(
            objectValueDeb.length + selec.length + 2,
            objectValueDeb.length + selec.length + 2);
    }
    else
    {
    // Si on est sur IE
        
        oField = document.forms['news'].elements['newst'];
        var str = document.selection.createRange().text;

        if (str.length>0)
        {
        // Si on a selectionné du texte
            var sel = document.selection.createRange();
            sel.text = "[" + selec + "]" + str + "[/" + selec + "]";
            sel.collapse();
            sel.select();
        }
        else
        {
            oField.focus(oField.caretPos);
        //    alert(oField.caretPos+"\n"+oField.value.length+"\n")
            oField.focus(oField.value.length);
            oField.caretPos = document.selection.createRange().duplicate();
            
            var bidon = "%~%";
            var orig = oField.value;
            oField.caretPos.text = bidon;
            var i = oField.value.search(bidon);
            oField.value = orig.substr(0,i) + "[" + selec + "][/" + selec + "]" + orig.substr(i, oField.value.length);
            var r = 0;
            for(n = 0; n < i; n++)
            {if(regexp.test(oField.value.substr(n,2)) == true){r++;}};
            pos = i + 2 + selec.length - r;
            //placer(document.forms['news'].elements['newst'], pos);
            var r = oField.createTextRange();
            r.moveStart('character', pos);
            r.collapse();
            r.select();

        }
    }
}

</script>

In text Area ...


<form name="news">
<input type="button" value="b" style="width:50px;font-weight:bold" onclick="storeCaret('b')">
<input type="button" value="i" style="width:50px;font-style:italic" onclick="storeCaret('i')">
<input type="button" value="u" style="width:50px;text-decoration:underline" onclick="storeCaret('u')">
<input type="button" value="quote"style="width:50px" onclick="storeCaret('quote')">
<input type="button" value="code"style="width:50px" onclick="storeCaret('code')">
<input type="button" value="url"style="width:50px" onclick="storeCaret('url')">
<input type="button" value="img"style="width:50px" onclick="storeCaret('img')"><br>
<textarea name="newst" id="newst" rows="10" wrap="virtual" cols="45"></textarea>
</form>

Works perfectly under IE et Mozilla ... Are Paul and Rickard OK to include it on future versions ? A lot of people will thanx you smile

380

(76 replies, posted in News)

In fact ... the better solution is not javascript !!! but PHP !

In admin, create a section about images, and admin can allow max SIZE of the pic (example 450 px) and when a pic is called but > 450px, php (with GD ? ImageMagick (better)) does on the fly the pic in the good look ... because this "minmax.js" "destroys" the pics, really.

381

(76 replies, posted in News)

I'm very sad !!!!

Why replacing scrolling div method by scaling method !!!


Images loose their apparence, it pixellises ....

What a pity.

382

(8 replies, posted in PunBB 1.2 bug reports)

Hi ... a very funny bug ... but interesting ...


you can put this code

[quote=] blalblablabla[/quote]

All the following posts loose their Style Sheet smile

look at http://www.airtightinteractive.com/simpleviewer/

it would be great to associate your attach mod with this ... of course it needs thumbnails ... but ... instead reading a post with 40 pages, you have a link in front of the topic which is "look at all attach images of this topic", you open this ... mmmmmmm great no ?!

384

(5 replies, posted in Feature requests)

Few forums do it, indeed ...

I see your post with a great interest ... I would like to use
- system login on my whole site
- use parser.php on my whole site
... that's all ... but this "all" is GREAT ... and even if a lot of posts are talking about this issue, ANY OF THEM shows simply "HOW TO".

386

(5 replies, posted in Feature requests)

Beneath the post, on your bottom left, you have some options
"delete this topic"
"move this topic"
"Close this topic"
"Scotch this topic"

Orange color is your answer ...

Pour ma part
http://www.fantasya.net/
http://www.fantasya.net/forum > site art fantastique erotique manga, photo ...

http://www.sortons.net
http://www.sortons.net/forum/ > site sur les sorties sur Rouen et son Agglomeration ...

388

(68 replies, posted in PunBB 1.2 discussion)

It's incredible the lot of people who don't want to show their stuff on the web but ask very annoying questions ...

To help YOU, WE HAVE TO see your work ... unless you have something to hide ?

389

(12 replies, posted in Archive)

Super Kiplantt, merci smile

390

(16 replies, posted in PunBB 1.2 show off)

Like very Much Zoey smile

Thanx a lot Serge !!!

I have another question

I want my layout appears and disappears when I onmouseover/onmouseout on it ... it's the case on the code I have sent.

But I want during this delay (1000 ms), if someone goes ON the DIV, it stays !

I have tested

<div id="test2" onmouseover="drop('test2','block')" onmouseout="dropoff('test2','none')">Blalablala</div>

But in spite of putting the onmouseover, the LAYER disappears !!! sad

And of course, If I have 1, 2 or 10 menus, it would be the same thing ...

Have you a solution ?

392

(12 replies, posted in Archive)

voila, ya pas mal de bugs et j'aimerais ke le traducteur se manifeste pour nous aider smile

Kan on veut updater certains trucs (exemple : profil a mettre à jour), ca nous renvoie sur "lien périmé veuillez réessayer"

visiblement il y a eu des oublis de                   \' ....



non ?

Here's my script

count=1;
function drop(id,display) {
    clearTimeout(count);
    document.getElementById(id).style.display=display;
}

function dropoff(id,display) {
    count=setTimeout("document.getElementById(id).style.display=display",1000);
}

my function is called like that :

<a href="url.htm" onmouseover="drop('test2','block')" onmouseout="dropoff('test2','none')">Test Show/Hide Menu</A>

And of course, a div with id = test 2

<div id="test2">Blablablablabla</div>

When I onmouseover, if the div test is display : none ... I have no problem : the div appears ... but in mouseout, there is a bug with settimeout which says "ID is undefined" ...

Has someone has an idea (I could of course give the name inside the script of the ID of the DIV, but I want to have SEVERAL menus)

394

(6 replies, posted in PunBB 1.2 bug reports)

Excellent smile

395

(18 replies, posted in PunBB 1.2 show off)

Cette teknik provient d'Eric Meyer ( http://www.meyerweb.com ) et depuis sa creation, d'autres sites ont crée des choses bien + interessantes pour simuler ca (en tout cas sous IE)

396

(22 replies, posted in Feature requests)

Grrrrrrrrrrrrr smile

Not nice people .... bouhhh bouhhhh smile

VERY LAST ARGUMENT ...

use some of these variables not only on a forum ...

example ... on my whole site, I want mmmmm I don't know ... gggrrr no example ... I want an element ... I can put it on my site only with (for example)        {element1}            hop ... implementation finished ...

mmmmmm well ... nobody likes me sad

397

(26 replies, posted in Programming)

The best for me
http://www.s7u.co.uk ... incredible css experiments about design (csszengarden sounds like a baby next to this site)

398

(22 replies, posted in Feature requests)

my last argument smile

paul and rickard change some things in viewtopic.php

they say "hayy man, upload this new file, but apply again your modifications"

but if I have had my design modifications in a different file, neither again change the viewtopic.php, and possibility to upload new modifications .........

399

(22 replies, posted in Feature requests)

It's not only table vs divs : it's to create forums like we want : not only colors or fonts, but our "vision" of a forum, whichi is not sometimes the same like punBB dev team smile

400

(22 replies, posted in Feature requests)

No no ... Simple ...

One main.tpl > control le layout inside an existing layout, or to change the width of a forum, for example
One css file > to control all css file about size, colors, blabla ...
One core.tpl > containing all could be customizable about the appareance of the site : If you want table, divs ... you choose !!! You want elements appears or disappear ... you control ALL on viewtopic, index, profile and viewforum

And all the forum code ...

In fact, IF I WANT to change SOMETHING in my forum, I don't have to open 40 files : ONLY me core.tpl, the good line and ... hop, it's OK.

So of course, more memory : but punBB against phpBB : 4 faster ... if it's only 3 faster ... we'll all win smile

Try to think a such template system ... more easy to customize (I think)