![]() |
Then it should look as seen on the screenshots.
It works as it should here, and seems no other has the problem you have, so i think you have made a little mistake in your templates |
something in your installation.txt was wrong Xenon...
I changed the following in SHOWTHREAD Template: Code:
<br> Code:
<br> cu Schorsch |
????
are you sure your showthread.php has this lines in it? PHP Code:
|
Here's the code you re-did for me because of the hack I have installed. Will this still work with your changes? This doesn't look the same in some areas as the new code. Just wanted to make sure after your last message. :)
PHP Code:
|
yes it'll work.
the new code doesn't have strong codechanges, just a variable name has changed: just replace all $closereason with $threadinfo[closereason] in this part of your code and in showthread template and you have the actualst version ;) |
I think you measn to replace it with "$thread[closereason]" not "threadinfo[closereason]", right? :)
Also, I am really confused here. In the third line, you have $closereason but in lines 7 and 8 you have $thread[closereason]. Shouldn't that second line be $thread[closereason], also? Or am I missing the point again? :) I'm just going by what you told me to replace in that last message. PHP Code:
Quote:
|
yes, i meant $thread[closereason], sorry seems to be a bit confused these days ;)
hmm i don't have $closereason in my file any more, you are correct it should also be $thread[closereason]. but it is here at my last file version ;) |
You might want to check that file in post #4 again then. It still has the following in it (on line 3 of the replace part and a couple of other spots in the file). (And I did clean my cache :))
PHP Code:
Quote:
|
i got every thing working right but i just wana know how to include date and time in message
|
after re.open a closed thread the close reason still appeared at the top of the thread without the box around
problem fixed thanks Xenon :) |
have fixed the problem per icq :)
@all: be sure you have installed the newest version before posting small problems if you have just one $closereason in your showthread.php its an old version and PsYc's bug can occur if you have just $thread[closereason] in your showthread.php then it's the newest one ;) |
Hallo
Beim öffnen des Threads verschwindet zwar der Rahmen aber nicht der eingegebene Text. Wo liegt der Fehler? Gruß brauner |
sh mein obiges posting, in deinen templates darf kein $closereason mehr drinnen sein, nur noch ein $thread[closereason]
|
Meinst Du in dieser Zeile hier?
<textarea name="reason" rows="6" cols="45" wrap="virtual" tabindex="2">$threadinfo[closereason]</textarea> Woanders kann ich nichts mehr finden. <<<voll hilflos ist>>> PS: Englisch klappt bei mir fast nur mit einem ?bersetzer daher habe ich obiges nicht ganz verstanden,sorry. Hier mal die ?bersetzung: PHP Code:
|
in deiner showthread.php muss das sein:
PHP Code:
muss $thread[closereason] enthalten und das template showthread muss ebenfalls $thread[closereason] enthalten, und kein $closereason |
Du wirst es nicht glauben aber ich habe nochmal nachgeschaut und es ist alles so wie du sagtest.
Was mache ich denn nun? h???lfe |
http://www.crazypalace.info/upload/test Kopie2.gif
Falls mir einer nicht glaubt *fg* Oben der geschlossene Thread ==>alles in Ordnung Unten der ge?ffnete Thread ==> Nicht so toll :-(( |
PHP Code:
beachte genau die obere if-abfrage: Wenn thread offen dann $thread[closereason]="" .... wenn da ein $closereason="" oder garnix dergelichen steht isses falsch ;) |
Das habe ich zweimal in meiner postings.php
PHP Code:
PHP Code:
|
du musst nur die zweile in der openclose section austauschen.
und nein daran liegts nicht, es kann nur in der showthread.php oder zugehörigen templates liegen |
Habe einfach alle nochmal gemacht und jetzt geht es <<<hüppel_im_Kreis_herum>>>
Was anderes. Kann man das so machen, das wenn man keinen Grund angibt, ein vordefinierter Text da steht? |
ja kann man
in der postings.php finde das: PHP Code:
PHP Code:
ach ja stell solche fragen zu erweiterungen besser in englisch, damit andre auch was davon haben ;) |
DAnke Dir.
In Englisch?! Dann versteht es gar keiner mehr ;-)) |
Quote:
[Nein dann kommt gar nichts] |
yeah sorry was my fault, i have edited my post above, now it should work ;)
|
Sorry, no goes not yet
[Nein geht immer noch nicht] |
hab zu wenig geschlafen ^^
jetzt sollts gehen (zumindest auf meinem testserver gings nu) |
Öhhhhhhm, leider nein.
Wenn ich jetzt was reinschreibe, erscheint der vordefinierte Text. Lasse ich das Feld leer kommt nichts Ist mir jetzt echt schon Peinlich. |
ersetze das == mit einem !=, hab ich in meinem post schon gemacht, daran lag ja der fehler
|
Super das war es.
Sagst mir nur nocg wie ich die Uhrzeit wann geschlossen wurde da rein bringe und ich lade Dich zum Kaffee ein <<<<mal_doll_knuddelt>>> |
ersetze das $bbuserinfo[username] mit dem da:
$bbuserinfo[username]." um ".vbdate($timeformat,time()) das sollte gehn ;) ich nehme dann einmal schwarzen kaffe ^^ |
So Kaffee ist fertig
Komm schnell her :-) Noch ne Frage erlaubt? Jetzt steht die Zeit aber nur drinne wenn ich keinen Grund angebe. Kann das geändert werden, das die Zeit und wer geschlossen hat, auch drinne steht wenn ich selber Text eingebe? Ach ja und anstatt die Uhrzeit leiber das Datum <<<<mhhhhhhh, zum Kaffee gibt es Maulwurfkuchen von der Tochter>>> Echt nett von Dir das mit dem Support |
Come on, guys, can we do it in English? :) Maybe we can learn something from waht is going on. :)
|
Hehe, sorry boofo, most of the last text was off topic ;)
before he asked about a standart reason if you don't enter one... @brauner: naja das uhrzeit und wer auch dasteht wenn man was eingibt wollte ich mal machen, bin aber noch nicht dazugekommen... (kannste aber immer in den threadeigenschaften (edit thread) nachsehn yes, just change $timeformat to $dateformat." ".$timeformat and you've date and time closed ;) |
No problem on the non-English. I tried to folllow it, but got lost a long way back in the converstaion. I was hopng you guys would switch to English sooner or later. :)
How do you add the date and time closed? I must have missed that. :) |
Quote:
|
Ok, I saw that, but I still don't understand where it goes. :)
|
in english:
replace $bbuserinfo[username] with Code:
$bbuserinfo[username]." at ".vbdate($dateformat." ".$timeformat,time()) |
Can one limit all this to certain forums?
|
No, I understood that part of it. I just don't see $bbuserinfo[username] anywhere in your closed reason code. I have "By: $thread[whoclosed]" from Lesane's addon.
Quote:
|
All times are GMT. The time now is 04:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|