vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Emailaddresses as GD image (https://vborg.vbsupport.ru/showthread.php?t=83082)

corn 06-14-2005 07:41 PM

:D:D:D
No flame Intended

But,
if possible, please advise, because the spam is killing me :D:D:D

jugo 06-14-2005 07:49 PM

Get this: http://playtime.uni.cc/downloads.php?page=gmail

I'm sure you can hack it into a function and make it parse the email addresses...I did it a while back for something else (can't find my modified code though sorry) but that was my starting point.

Good luck...>And if your host boots you, get in touch with me...LOL.

BTW, NOFT

corn 06-14-2005 07:56 PM

Thanks a lot !

I will release my hack soon :D:D

And btw, my current hostingprovider sucks :D so we don't care :D:D

jugo 06-14-2005 07:59 PM

Well then look at my signature.... ;-)

corn 06-14-2005 09:16 PM

its working !! :D:D

howto:

create a email.png file (ms paint, photoshop) size 275x20.

create a file called email.php, wich contains te following:
Code:

<?php
    header("Content-type: image/png");
    $im    = imagecreatefrompng("email.png");
    $color = imagecolorallocate($im, 0, 0, 0);
    $px    = (imagesx($im) - 7.5 * strlen($user)) / 2;
    imagestring($im, 4, $px, 1, $user, $color);
    imagepng($im);
    imagedestroy($im);
?>

upload these to files to the forum root dir.

open the MEMBERINFO template, and search for $userinfo[msn]
and replace that with <img src="email.php?user=$userinfo[msn]" border="0">

thats it !

yinyang 06-14-2005 09:27 PM

good job corn!

you should probably close this thread and start a new one with your code as a new Hack. that way, i can click install.

Andreas 06-14-2005 09:30 PM

Erm ... that does not make sense.

1. $userinfo[msn] is not the users eMail-Address - it's his MSN ID (which can be his eMail-Address, but can also be empty)
2. You still have the eMail-Address in the HTML - and thus spammers can still process it automatically.

eXtremeTim 06-14-2005 09:40 PM

Thats what I was just thinking lol

yinyang 06-14-2005 09:46 PM

please link to your finished product when done so we can see what it looks like.

eXtremeTim 06-14-2005 10:20 PM

If only his method of doing it worked. Right now he has high server load without accomplishing anything.


All times are GMT. The time now is 05:30 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
  • Page Generation 0.01090 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete