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 - nccsoft

Pages: [1]
1
I am working...

I try step to step.

Code: [Select]
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 14 -draw \"text 5,22 'http://phpbb.mychat.to'\" \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);


not work. so I try

Code: [Select]
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);


It's work. so I try

Code: [Select]
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);


It's no work. so I try

Code: [Select]
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill \"#BFBFBF\"  \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);


It's work.. so I try

Code: [Select]
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill \"#BFBFBF\" -pointsize 14 -draw \"text 5,22 'http://phpbb.mychat.to'\" \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);


It's ok. so I modify annotate.php and batch_annotate.php

find
Code: [Select]
-fill $ann_shadow_color
replace
Code: [Select]
-fill \"$ann_shadow_color\"

but I have new problem now.
My text is chinese charset. if I use Chinese text. not show Chinese.
only use english now.

2
Thx answer.
yes. DSCN0628.JPG.bak created.
so I telnet server in 4images root run
Code: [Select]
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
is OK.
but use system() is not work.

3
Mods & Plugins (Releases & Support) / not working...
« on: June 24, 2003, 10:39:21 AM »
I install this MOD. but not work.
My system is FreeBSD+PHP 4.3.2+Apache 1.3.27+ImageMagick 5.5.6

I try debug annotate.php.

find
Code: [Select]
if (!$use_shadow) {
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font $ann_font_path -fill $ann_fill_color -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$ann_src\" \"$ann_dest\"";
system($command);
}

replace
Code: [Select]
if (!$use_shadow) {
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font $ann_font_path -fill $ann_fill_color -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$ann_src\" \"$ann_dest\"";
system($command);
echo $command;
exit;
}

I try upload image. It show
Code: [Select]
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
but I look not create ./data/media/7/DSCN0628.JPG

I look Apache error_log have error message.
Code: [Select]
/usr/local/bin/convert: Missing an image filename.

I telnet server in 4images root and command
Code: [Select]
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
the DSCN0628.JPG is create.

please help me....
I try this MOD one week. but always not work..

4
Chit Chat / view profile add search 4images
« on: June 21, 2003, 07:17:12 AM »
templates file profile_view_body.tpl

find
Code: [Select]
<a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}
</a><br />

after add
Code: [Select]
<a href="{U_SEARCH_USER_4IMAGES}">
{L_SEARCH_USER_4IMAGES}</a><br />


includes/usercp_viewprofile.php

find
Code: [Select]
'L_SEARCH_USER_POSTS' => sprintf($lang['Search_user_posts'], $profiledata['username']),
after add
Code: [Select]
'L_SEARCH_USER_4IMAGES' => sprintf($lang['Search_user_4images'], $profiledata['username']),
find
Code: [Select]
'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username'])),
after add
Code: [Select]
'U_SEARCH_USER_4IMAGES' => append_sid("/4images/search.$phpEx?search_user=" . urlencode($profiledata['username'])),
lang_main.php
find
Code: [Select]
$lang['Search_user_posts'] = 'Find all posts by %s'; // Find all posts by username
after add
Code: [Select]
$lang['Search_user_4images'] = 'Find all images by %s';

5
Mods & Plugins (Releases & Support) / Integration 4images 1.7 / phpBB
« on: June 21, 2003, 04:12:35 AM »
Quote from: Aho
ich habe gerade was entdeckt was nicht so ganz passen kann. und zwar steht in der comment_bit.html dieses hier:
Code: [Select]
 {if comment_user_profile_link}<a href="../profile.php?mode=viewprofile&u=2"><img src="{template_url}/images/profile.gif" border="0" alt="{comment_user_name}" /></a>{endif comment_user_profile_link}

das kann doch garnicht sein. so wie der link zum profil da steht würde der immer das profil von user=2 anzeigen. das ist natürlich falsch. wie kann ich das ändern das der da stets die jeweilige variable für den user auswählt der das post gemacht hat ?


you can edit details.php
find
Code: [Select]
       "comment_user_profile_button" => $comment_user_profile_button,
after add
Code: [Select]
       "comment_user_profile_link" => $comment_user_profile_link,

Pages: [1]