Seite 1 von 1
Help with a little fix in code
Verfasst: So 23.Mär, 2008 22:01
von mariokaz
Hi there,
I installed a Mod in my forum but I have a little problem...........
The Mod have a code that is not working in my forum, this one:
Code: Alles auswählen
$custom_message .= "[b]".$forms['title']."[/b]\r\n$value\r\n\r\n";
$break = "\r\n\r\n";
the problem are the
\r\n\r\n
I want to do a space like when we use the ENTER button in the keyboards of our computers
And with this the
<br /> is showing it in the posts.
Code: Alles auswählen
$custom_message .= "[b]".$forms['title']."[/b]: $value<br /><br />";
$break = "<br /><br />";
How can I fix it ?
Help!!!!!
Verfasst: So 23.Mär, 2008 22:13
von oxpus
Just use \n, not \r\n...
Verfasst: So 23.Mär, 2008 22:30
von mariokaz
Hi oxpus,
Like this?
Code: Alles auswählen
$custom_message .= "[b]".$forms['title']."[/b]\n\n$value\n\n";
$break = "\n\n";
\n\n to show double space
Verfasst: So 23.Mär, 2008 22:34
von mariokaz
And also is the syntax correct ?
Verfasst: So 23.Mär, 2008 22:41
von mariokaz
This is also not working:
Code: Alles auswählen
$custom_message .= "[b]".$forms['title']."[/b]\n$value\n";
$break = "\n";

Verfasst: Mo 24.Mär, 2008 01:57
von mariokaz
WOOOWWWW I did it and it is working....................
Code: Alles auswählen
$custom_message .= "[b]". $forms['title'] ."[/b]<br/> $value <br /><br />";
$break = "<br />";
And now to add Red Color in the $value What I have to do

?
Thank you a lot!!!
Verfasst: Mo 24.Mär, 2008 13:08
von oxpus
Topic Nachricht:
Siehe die nachfolgenden Texte hierzu:
Sonstiges
Bumping
Es ist nicht erwünscht, mehrere Posts nacheinander zu verfassen und damit als Bumping oder aus Bequemlichkeit heraus ständig ncit ungelesene Nachrichten zu erzeugen.
Bitte den jeweils letzten Beitrag editieren, anstelle immer neue Beiträge hinzuzufügen, solange noch nicht darauf geantwortet wurde.
Wenn Du nicht mit dieser Nachricht einverstanden bist, dann schreibe bitte dem Teammitglied eine Nachricht, welches diesen Beitrag verfasst hat.
Verfasst: Mo 24.Mär, 2008 17:46
von mariokaz
So sorry my friend I don´t know german.

Verfasst: Mo 24.Mär, 2008 20:45
von oxpus
Just simple in english: DO NOT BUMP!
Verfasst: Mo 24.Mär, 2008 20:59
von mariokaz
And what is Bump

? sorry for my bad english also.
Verfasst: Mo 24.Mär, 2008 21:42
von oxpus
Just do not post after your own posts!
Edit your last post, until no other user have answered to your post!
Verfasst: Mo 24.Mär, 2008 22:04
von mariokaz
Oh ok, again sorry a lot.
And can you help me in this Oxpus ?
[quote="mariokaz";p="85735"]WOOOWWWW I did it and it is working....................
Code: Alles auswählen
$custom_message .= "[b]". $forms['title'] ."[/b]<br/> $value <br /><br />";
$break = "<br />";
And now to add Red Color in the $value What I have to do

?
Thank you a lot!!![/quote]
Verfasst: Mo 24.Mär, 2008 22:41
von oxpus
HTML/CSS-Code for a red font color is...

?
And if you use bbcodes as in your code you must enter
