PDA

View Full Version : "Please register if you'd like to comment" for blog guests


Doug Nelson
Sat 17th Nov '07, 12:04am
Is there a function or an edit where unregistered guests can be encouraged to register and leave comments for blogs?

Jose Amaral Rego
Sun 18th Nov '07, 2:06am
You can maybe add this to which ever equals to a FORUMHOME template and then add custom phrases or maybe this would work asis. If it does not work, then replace phrases within code with custom phrases.

<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>

Doug Nelson
Sun 18th Nov '07, 2:52am
Thanks. I'm not entirely certain what that's supposed to do or look like, so I don't know where to put it. If its the same welcome message the forum displays to new users, I already have that showing in the blogs. I was hoping for something to go over or under existing comments, or under blog posts if there aren't any comments yet.