ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / Code Hack Requests / Link in/darin Zitat:


Seite 1 von 1

fingers schrieb am 29.04.2003 um 14:50 Uhr

Wondering :)
Would it be easy or possible to put a link in the Zitat: back to the original post, not just the thread, but the actual original post
such as

http://www....../showtopic.php?threadid=$VVV&time=$WWW&pagenum=$XXX&board[boardid]=$YYY#$ZZZ

Why???
because... a Zitat: can occur anywhere inside a thread
yes I know this would not work unless the post was from Zitatantwort link
any comments
fingers

MrNase schrieb am 29.04.2003 um 17:46 Uhr

shouldn't be that hard to construct...
Every post in one certain topic has it's own number...
It starts with a 000 (look above your username left to your posting...)

Open the postingrow-template an add anywhere at the top <a name="$post[postnumber]"></a> and you can direktly jump to post 049 with http://www.thwboard.de/forum/showtopic.php?threadid=4443#049 for instance...

this could be used for a php construction ;)

fingers schrieb am 29.04.2003 um 18:07 Uhr

your half right except the number that is shown isn't the postid its a visable number in that thread the actual code that i have working in a quotation reply is

[url="http://www.xxxx/forum/showtopic.php?threadid='.$thread['threadid'].'&pagenum='.$pagenum.'#'.$post['postid'].'"]Quoted Post Link[/url]

in the showtopic.php at

if( !$post['username'] )
        {
            $replytext = '[quote]XXXXXXXXX[b]' . $post['username'] .' postete[/b]'."\n".$post['posttext'].'[/quote] '."\n";

but i need the $config[] variables to replace

MrNase schrieb am 29.04.2003 um 18:17 Uhr

yes but my posting is located at http://www.thwboard.de/forum/showtopic.php?threadid=4443#001 if you build in the code i gave u ;)

The problem with the new window is very hard so solve :(

fingers schrieb am 29.04.2003 um 18:32 Uhr

they do do the same thing i tested the code you gave me converting to a [url] tag
:) thx
but what of the other 2 problems
1 open new page
2 the config variables

fingers schrieb am 29.04.2003 um 18:42 Uhr

Also when a post is deleted the postnumber gets resorted, this would lead to a wrong link but no error and the postid would lead to an the same error so at this stage it is buggy and would need more code to give a fixed id and more code to error check maybe a new table $pref.post.field

theDon schrieb am 29.04.2003 um 19:31 Uhr

MrNase postete
yes but my posting is located at http://www.thwboard.de/forum/showtopic.php?threadid=4443#001 if you build in the code i gave u ;)

The problem with the new window is very hard so solve :(

there's a thread about that around here somewhere :)

MrNase schrieb am 29.04.2003 um 20:03 Uhr

yes you're right @ theDon

sorry, i didn't knew :( @ fingers

fingers schrieb am 30.04.2003 um 01:18 Uhr

theDon postete
there's a thread about that around here somewhere :)

anyone able to tell me where most of the time it is translate and then read for me

Seite 1 von 1