Recent Topics

1 May 26, 2004 16:17    

Another thing that I started missing from geeklog. This provides a form to email a blog user without ever revealing the reciepients email address. So now it is safe to solicit email on your blog without risking that a spammer will pick up the address.

You can check it out on my blog [url=http://www.jeffbearer.com/index.php?title=email_users_patch_for_b2evolution&more=1&c=1&tb=1&pb=1]jeffbearer.com[/url]

Download: [url=http://www.jeffbearer.com/stuff/emailusers.tar.gz]emailusers.tar.gz[/url] (3079 bytes)

Here is the text of the README file:

Modifications made to b2evolition 0.9.0.3 to add a email form for blog users.
The form never reveals the users email address to the sender, so bloggers can solicit
email without soliciting spam.

by Jeff Bearer http://www.jeffbearer.com

Descriptions of the changes made in the patches.

[u]b2evocore/_functions_email.php[/u]
Just the function email_title() for display on the skins _main file with the other title functions.

[u]skins/_email.php[/u]
The from to compose the e-mail, this file is modeled after the user profile skin page.

[u]htsrv/email.php[/u]
The file that sends the email. Once it is sent the user is redirected to the redirect_to string, or
the referer of the skins/_email.php page.

[u]b2evocore/_functions.patch[/u]
adding the include for the _functions_email.php

[u]skins/custom/_main.patch[/u]
Added the call to the email_title() function
Added the email case to the $disp switch

Examples:

I didn't include an example call to the email form as I wasn't sure where it should be on a general
blog, and that the users ID is not always the same. Here are two examples of the link to the email
form.

http://www.myblog.com/index.php?disp=email&mailto_id=3
http://www.myblog.com/index.php?disp=email&mailto_id=3&redirect_to=http://www.myblog.com/

Use it so send me email if you approve :) Enjoy!

UPDATE: I had a mistake in my _main.patch, If you downloaded this before 12:34 edt you will need to get it again. sorry.

2 May 26, 2004 17:29

I get a 500 error when I try to hit those pages...

3 May 26, 2004 17:53

The links at the bottom? They aren't supposed to be hyperlinks, they are examples from the readme, the forum software decided to make them hyperlinks. Thanks phpBB

4 May 26, 2004 17:57

Opps... My bad... :oops:

6 Jul 17, 2004 04:28

Thanks for this one, it's super.

one question:
Is there a way to go back [u]two[/u] pages after submitting the form, so they go back to the page where they would click on the link to send an email?

Thanks,
Kelly

7 Jul 17, 2004 19:41

I'm having a little problem with this part:

skins/custom/_main.patch
Added the call to the email_title() function
Added the email case to the $disp switch 

What exactly am I supposed to do? :-/

8 Jul 17, 2004 21:58

Those aren't instructions, they're just a description of what the hack does.

9 Jul 19, 2004 20:26

This hack is great, I've got it running over at http://tin-men.net - although I'm glad it's been included in the main branch now, so I won't have to change it again when I upgrade.

10 Jul 19, 2004 20:48

This is included now? Kewl. What version will it be in?

11 Jul 19, 2004 22:36

It's in the CVS at the moment, I guess it will be included in the next release that isn't just a maintenance release (0.9.1 I guess).

12 Jul 20, 2004 01:52

Cool. I've been meaning to put this into my site, but I keep doing other things instead. I've been suspicious that the devs would get it into CVS before I had a chance to do it :)

13 Mar 22, 2006 14:35

Aight, so I tried to do this on my b2evo install (0.9.0.11). For the patch files, I just copied and pasted the code into the php files. However, once completed, I kept getting an error code coming from my function.php file at line 111 (the form section of the code). Anyone else do this install and run into these issues?

Thanks-

Neal

14 Mar 23, 2006 00:00

I had this running with no problems when I was still using b2evo (using wordpress now).

Is there any reason you're still using this version? There's been two stable releases since 0.9.0.11. This is included in 0.9.1 (it might even be in 0.9.0.12, I can't remember).

It's not all that hard to upgrade.

15 Mar 23, 2006 00:25

AFAIK this is not part of .9.1, though it is part of 1.6. .9.1 focused on improving the antispam mechanisms, most notably reducing the work your server had to perform before denying a spammer. You server will love you long time for upgrading to .9.1, and you personally may or may not be happy with going to version 1.6. Check the [url=http://forums.b2evolution.net/viewforum.php?f=35]bugs in version 1.*[/url] forum for what's up and down with 1.6. I THINK the biggest issues with 1.6 are related to multiple/subdomains and clean permalinks, but I'm on 1.7 and don't care about multiple/subdomains so my opinion is useless.

16 Mar 23, 2006 00:34

My mistake, I would take ed's word over mine. I bow down to his superior b2evo godliness...

17 Mar 23, 2006 00:42

Graham wrote:

My mistake, I would take ed's word over mine. I bow down to his superior b2evo godliness...

Funny how things change eh? Graham was the biggest forum junkie there was back when I was brand new to this software. Now, well, now the world has moved on I guess.

Note to Graham: you might want to look at 1.6 with a focus on the 'test' plugin. b2evolution is what it was only now it has REAL plugin capabilities. 1.6 seems to be more of a 'proof of concept' thing. The CVS version is getting way phat in that direction.

18 Mar 23, 2006 00:49

I will have a look, but I'll say one word that is currently keeping me very happy with WP - [url=http://akismet.com/]Akismet[/url]. No spam. Ever.

Never had a false positve, and I've never had a bit of spam go through.

Anyway, sorr for going off topic. Keep meaning to get back into the forum-y swing of things, but real life seems to be taking over. Godammit, I want to be a real geek again!

19 Mar 23, 2006 04:37

Thanks for all the help ... Maybe I can attempt an upgrade to .9.1 this weekend. Naturally, I finally get my custom skin the way I want it and it's time to upgrade :) Such is the way of things, right? I don't suppose it'll be that hard to change though. Thanks for all the assistance - you guys are teaching me a bunch.


Form is loading...