PDA

View Full Version : How to disable "Email Blog Entry" for visitors?



beishe8
Sat 1st Sep '07, 3:55am
Usergroup: Unregistered / Not Logged In


Forum viewing permissions
Can use email to friend : no

General permissions
Can email members : no


Blog General Permissions

There is no such question.
Any visitor can use the"Email Blog Entry"

dlutt
Mon 10th Sep '07, 7:33pm
I'm interested in this too...

In template "blog_show_entry" you'll find this:


<if condition="$show['emailentry']">
<a href="blog.php?$session[sessionurl]do=sendtofriend&amp;b=$bloginfo[blogid]"><img src="$stylevar[imgdir_misc]/blog/email_go.gif" border="0" class="inlineimg" alt="$vbphrase[email_blog_entry]" /></a>
</if>

Where's the checkbox for this setting? Where can this option be set?

As a workaround delete these lines?

To reduce "spamming" this option were nice.

Daniel

Freddie Bingham
Tue 11th Sep '07, 4:10pm
This function works in the same manner as the similar function for the forum. There is no usergroup option for either function.

optrex
Tue 1st Jan '08, 6:44am
I also need to disable this feature. It's not available in other parts of my forum and I dont want my smtp server opened upto spam from unregistered people.

The email is enabled for other usergroups, but disabled for guests. I'm not quite sure what you mean freddie by there is no usergroup option for these funtions. There is in the fourm

Lois215
Thu 10th Jan '08, 2:14pm
Did you try deleting those lines and did it work?

Lois215
Fri 11th Jan '08, 1:28pm
For others who may want to disable this feature:

Remove the following code from all blog templates:

<if condition="$show['emailentry']">
<a href="blog.php?$session[sessionurl]do=sendtofriend&amp;b=$bloginfo[blogid]"><img src="$stylevar[imgdir_misc]/blog/email_go.gif" border="0" class="inlineimg" alt="$vbphrase[email_blog_entry]" /></a>
</if>

This is found in "blog_show_entry". If you do this, guests to your blogs cannot use your board to send spam.