• Signature image v2.3 5 0 5 1
Currently:  

Author Topic: Signature image v2.3  (Read 619668 times)

0 Members and 2 Guests are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.22
« Reply #345 on: August 07, 2008, 08:00:23 AM »
use $imagedata['image_name'] variable
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Signature image v2.22
« Reply #346 on: August 07, 2008, 04:10:32 PM »
use $imagedata['image_name'] variable
Thank you very much for your prompt reply.
I tried and it worked!

However, I found that the Chinese characters are not supported.
I tried to google but couldn't find any Chinese/utf-8 gdf fonts.
I guess I need to give it up, but...thanks ^_^.

Best regards,
Sleepy

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Signature image v2.22
« Reply #347 on: August 07, 2008, 04:20:54 PM »
i don't know if this will help

utf8_encode($imagedata['image_name'])

[EDIT]
sometimes i'm stupid :) you need fonts too...
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: Signature image v2.22
« Reply #348 on: August 07, 2008, 08:21:44 PM »
But if you are using Windows OS, you can use fonts from it
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Signature image v2.22
« Reply #349 on: August 12, 2008, 09:56:40 PM »
But if you are using Windows OS, you can use fonts from it
Thanks for your reply.
How could I use Windows ttf font in the signature png file?
Would you please tell me how to do it?

Thank you very much ^_^.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.22
« Reply #350 on: August 13, 2008, 02:01:40 AM »
never mind, thought I published my "other" version where I've used ttf fonts...sorry.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Signature image v2.22
« Reply #351 on: August 20, 2008, 11:15:23 PM »
never mind, thought I published my "other" version where I've used ttf fonts...sorry.
If you'd like to publish your "other" version using ttf fonts, please let me know ^_^.
Anyways, thank you very much.

Offline l1some

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Signature image v2.22
« Reply #352 on: August 24, 2008, 04:08:31 AM »
Can anyone help me add user flag info. and user IP into the signature image.

Offline Lunat

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • В объективе - МИР!
Re: Signature image v2.22
« Reply #353 on: October 21, 2008, 09:39:10 PM »
Sorry, my english is bad and i'm don't understand what doing this mod...
Is it watermark?

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Signature image v2.22
« Reply #354 on: October 21, 2008, 09:55:11 PM »
Sorry, my english is bad and i'm don't understand what doing this mod...
Is it watermark?

Your posting here is wrong, This is signature thread

Offline samla

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Signature image v2.22
« Reply #355 on: November 15, 2008, 06:12:49 PM »
Gibt es die Anleitung auch in Deutsch ???  :roll:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: Signature image v2.22
« Reply #357 on: January 16, 2009, 01:08:39 AM »

As of categories, you can replace
Code: [Select]
         FROM ".CATEGORIES_TABLE;with:
Code: [Select]
         FROM ".CATEGORIES_TABLE."
         WHERE auth_viewcat < ".AUTH_ACL;

Thanks for this it works fine for me. Is it possible to use something like this to count only the images which can be viewed by all? So it don't count the images only admin or private groups can see.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.22
« Reply #358 on: January 16, 2009, 02:20:12 AM »
Sure, replace // --- Total images -----
  
$sql "SELECT COUNT(*) AS total_images
          FROM "
.IMAGES_TABLE."
          WHERE image_active = 1"
;


With:
// --- Total images -----
  
$sql "SELECT COUNT(i.image_id) AS total_images
          FROM "
.IMAGES_TABLE." i
          LEFT JOIN "
.CATEGORIES_TABLE." c ON (c.cat_id = i.cat_id)
          WHERE i.image_active = 1 AND c.auth_viewcat < "
.AUTH_ACL;
« Last Edit: January 17, 2009, 04:57:54 AM by V@no »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lunique

  • Full Member
  • ***
  • Posts: 109
  • V 1.7.7
    • View Profile
Re: Signature image v2.22
« Reply #359 on: January 16, 2009, 03:52:40 PM »
Thanks a lot but now There is nothing at the place the number should be (also not a 0) http://silent.moonlightonmygrave.de/signature.php
And the image shows not everytime. Sometimes it shows an error and sometimes the picture. This is the error it shows sometimes:
Code: [Select]
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web443/html/silent/includes/db_mysql.php:192) in /var/www/web443/html/silent/signature.php on line 356

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web443/html/silent/includes/db_mysql.php:192) in /var/www/web443/html/silent/signature.php on line 357

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web443/html/silent/includes/db_mysql.php:192) in /var/www/web443/html/silent/signature.php on line 358

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web443/html/silent/includes/db_mysql.php:192) in /var/www/web443/html/silent/signature.php on line 359

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web443/html/silent/includes/db_mysql.php:192) in /var/www/web443/html/silent/signature.php on line 360