ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / English support board / I made some changes


Seite 1 von 1

henno schrieb am 22.08.2003 um 11:02 Uhr

I discovered this forum about a week ago and I think it great. But there are still some minuses of it. For example thereīs no support for other languages. But I took some time and added some stuff to the forum and also changed some of the original script. And one of the things I added was a lang file. I havenīt programmed a script that users can choose the language yet but it is much easier to translate the forum to other languages. And I am planning to add the "users can choose their board language" in the future. Also I removed the reply to the topic form from the show topic page and made a completely new reply page. Also I added a login form to the index page so the users who are not logged in can log in faster. And there are some other changes I made. So if anyone is interested of looking of my forum then contact me.

MrNase schrieb am 22.08.2003 um 12:44 Uhr

Iam very interested in the new reply page, i planned to do that next week :rolleyes:
Could you please send me the code to mrnase@sportboard.de?
I will translate it and make it public at hacks.slware.com where hacks are normally published ;)
You may also post the link to your forums so everybody can see what you've done :)

henno schrieb am 22.08.2003 um 13:13 Uhr

ok, I'll send it to you within two hours. And my board url is: http://online.pidur.com

* oh, and my board is in Estonian right now so it may seem a little strange

MrNase schrieb am 22.08.2003 um 13:47 Uhr

OMG, i don't understand a word :D
you got a really nice one :)

But why: thwboard 3* ??

henno schrieb am 22.08.2003 um 14:01 Uhr

MrNase postete
OMG, i don't understand a word :D
you got a really nice one :)

But why: thwboard 3* ??

Well actually it was the latest version 3 beta 2.81. but after I had changed some things I thought it is something different then 2.81 so I left only the 3 there, but since it was not the original version and the version 3 does not exist I added the `*ī there. And I donīt know if you saw , but when you click on the footer version image a popup window appears and there is a text about the board version and the original copyright holders.

MrNase schrieb am 22.08.2003 um 14:43 Uhr

hm strange language ;)

Got your files and started translating, but how do you get to the vasta.php? What did you change in the templates?

henno schrieb am 22.08.2003 um 15:10 Uhr

Oh jee, I forgot :)

In the posings.htm temlate you add a link to:
vasta.php?threadid=$thread[threadid]

And if you look at my forum then I added two buttons the first one is the new topic and the second one is the reply. The new topic idea came from vbulletin.

MrNase schrieb am 22.08.2003 um 15:22 Uhr

Alright :)
And changing it to:

<a href="vasta.php?threadid=$thread[threadid]&replyto=$post[postid]&time=$time&pagenum=lastpage#reply">Zitatantwort</a> ||
 

What iam doing now is adding the last 5 replies to vasta.php so you can see what the last 5 people wrote:)

henno schrieb am 22.08.2003 um 15:27 Uhr

Thatīs great. When you finish you could send me the new files, ok?

henno schrieb am 22.08.2003 um 15:33 Uhr

MrNase postete
Alright :)
And changing it to:

<a href="vasta.php?threadid=$thread[threadid]&replyto=$post[postid]&time=$time&pagenum=lastpage#reply">Zitatantwort</a> ||
 

What iam doing now is adding the last 5 replies to vasta.php so you can see what the last 5 people wrote:)

<a href="vasta.php?threadid=$thread[threadid]&replyto=$post[postid]&time=$time">Zitatantwort</a> ||
 

the pagenum=lastpage and the #reply are not required

MrNase schrieb am 22.08.2003 um 15:35 Uhr

no problem :)

Templates are done, i'll send you the files in about 30 minutes.
Please let your community test it, give me a feedback, make some improvements and i'll release it :)

henno schrieb am 22.08.2003 um 15:38 Uhr

ok

MrNase schrieb am 22.08.2003 um 15:48 Uhr

Mail send :)

One thing i noticed:

open the vasta.php after you inserted my code and add

if( $vorschau['userid'] == 0 )
    {
        $vorschau['username'] = $vorschau['postguestname'];
        }

above

while( $vorschau = mysql_fetch_array($r_vorschau) )
{

otherwise, guest won't show up properly :)

And you should delete

$vorschau['postnumber'] = sprintf("%03d", $i);

and

$vorschau['useravatar'] = parse_code( $vorschau['useravatar'] );

henno schrieb am 22.08.2003 um 16:46 Uhr

Ok, so I changed the posters name into a link to the posters profile

In the replypreview.html

Find:

$vorschau[username]

Change into:

<a href="v_profile.php?userid=$vorschau[userid]" target="_blank">$vorschau[username]</a>

MrNase schrieb am 22.08.2003 um 16:49 Uhr

k :)

Test it for a day or two and wait for your users feedback, than i'll release it :)
I can't browse your forums because i don't understand a word ;)

henno schrieb am 22.08.2003 um 17:01 Uhr

Ok, I'll try to add a multilanguage support to my board. And also I added this to the script:

In the vasta.php

Find:

$previewusernumber = 5;

Replace with:

$previewusernumber = $config['postsonreply'];

And add this to sql (donīt foreget to change "YOUR-PREF-HERE"):

INSERT INTO `YOUR-PREF-HERE_registry` ( `keyname` , `keyvalue` , `keytype` , `keydescription` , `keydetails` , `keygroupid` , `keydisplayorder` ) 
VALUES (
'postsonreply', '5', 'integer', 'Max latest posts on reply', 'The maximum amount of posts to show on the reply page.', '3', '16'
);

and now you can edit the amount from the admin centre :)

MrNase schrieb am 22.08.2003 um 19:23 Uhr

ok :)

some other improvements to do?

henno schrieb am 22.08.2003 um 20:22 Uhr

Is there a full multilingual forum hack, because I am planning to finish mine tonight.

MrNase schrieb am 22.08.2003 um 21:17 Uhr

http://www.thwboard.de/forum/board.php?boardid=13&time=

i can't repeat everything that is said there ;)

henno schrieb am 06.10.2003 um 16:19 Uhr

OK, I made a new style for my forum and I thought that I will show it here also.
http://online.pidur.com

And I also made a tab for msn 6 - you can see the screenshot here:
http://pidur.com/henno/filed/pof-msn.jpg

MrNase schrieb am 06.10.2003 um 17:50 Uhr

Nice, very nice :)

One thing: the copyright isn't right. You say "Foorum: THVB 3*" but look at the footer of this page. This isn't enough :)

henno schrieb am 06.10.2003 um 21:06 Uhr

yes, but if you click on it then you can see the longer text and there are the same things. but if somebody has a problem whit it then I don't mind buting the long copywright to the footer it yost looks better with the shorter one.

MrNase schrieb am 06.10.2003 um 21:27 Uhr

Sorry, didn't see the popup :)

Seite 1 von 1