Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dlmlmd

Pages: [1]
1
Mods & Plugins (Requests & Discussions) / help!!!
« on: November 08, 2007, 09:49:49 AM »
Quote
:( please help me !
i don't want auto-resize so i turn off it.
but i want images upload in userCP (when upload finish) and view (when not resize) is have width=400.
please help me!!!

oh! sorry edit
Code: [Select]
     
   if ($image_info[0] <= "400") {
$width_height = " ".$image_info[3];
} else {
$width_height = ' width="400"';
}

thank



2
Wait - I find here:

http://www.4homepages.de/forum/index.php?topic=4745.msg20105#msg20105

Is correct patch. ;)

first: Thank you very much!!!
sorry about my question.
in 4images old code is  set html=2.
when view sourcecode with brown is:
<tr>
            <td class="row1"><b>&#272&#7883a ch&#7881 Email:</b></td>
            <td class="row1"><input type="text" name="user_email"  size="30" value="<a href="mailto:admin@yourdomain.com">admin@yourdomain.com</a>" class="input" /></td>
          </tr>
          <tr>
            <td class="row2"><b>&#272&#7883a ch&#7881 email l&#7853p l&#7841i:</b></td>
            <td class="row2"><input type="text" name="user_email2"  size="30" value="<a href="mailto:admin@yourdomain.com">admin@yourdomain.com</a>" class="input" /></td>
          </tr>

i think it replace to html hyperlink -> error!
THANK YOU VERY MUCH!
i don't known everyone not see this bug! ( :() oh! my pc very bad  :evil: ->pc

oh!
bug:
  //$text = replace_url($text);  <--- my bug
  if ($word_wrap && $text != "") {
    $text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
  }
  $text = str_replace("\n", "<br />", $text);
  $text = str_replace("\\'", "'", $text);
  $text = str_replace("\\\"", "&quot;", $text);
  $text = replace_badwords(stripslashes($text));

if i set "//" , can my gallery have error?

a! my comment textarea name is "comment_text", pm textarea name is message.
in my comment javascript error. i can't use bbcode.
i will test repaid JS code!

3
Sorry ... I no get question ...

sorry!
I repaid "format_text" function for PM v2 but when i go to userCP to edit profile -> textbox email error!
in old code have set html==2, in new code html==0 only!
with old code "format_text" of 4images is ok.
i want use it for bbcode2  but function error.
i set "//" for some line have "<a href" in infunction but not ok.

4
function "format_text" when edit userCP at email

Email: <input ... vlue="<a href=">admin@yourdomain.com" class="input" />
email : <input ... vlue="<a href=">admin@yourdomain.com" class="input" />
please help me!!!

Pages: [1]