One of the major objectives of owning a website is to have as many forum users and members as possible. It does not help in any way to own a forum which is dormant. In some forums software like Vbulletin, the reply button is default even to guests, though a person will have to login in order to make the reply.
At first i was using SMF 1.1.13, then i upgraded to SMF 1.1.14, I searched the simple machines mods to find one which would add a reply button below each post even to guests. The mods i could find where not of too much use since most of them where not compatible with the version i had. However, i finally got the help i needed to from the SMF forums.
To add a reply button even for guests, you will need to open your Display.template.php and find the following code
'reply' => array('test' => 'can_reply', 'text' => 146, 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies']),
Then replace it with the code below
'reply' => array('text' => 146, 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies']),
Showing Reply Button to guests on SMF 2.0 Final Gold
Reply Button in SMF 2.0 Final
A few days ago, i converted from SMF 1.1.14 to SMF 2.0 final. I then discovered that some of the edits i had made on most of the template files had disappeared, this including the reply button which was also viable to the guests.
Well, i used the same method as above, however, i realized that the code which was supposed to replace in the Display.template.php had changed from the one i gave you above to this one
'reply' => array('test' => 'can_reply', 'text' => 'reply', 'image' => 'reply.gif', 'lang' => true, 'url' => $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';last_msg=' . $context['topic_last_message']),
Well, that should nor make you scared, it is still for the same command, just replace it with the one i gave you above. You will get a reply button in your SMF which even guest will be able to see and when they click on it, they will be redirected to the Register page
Note
Never edit your template files without backing them up
I am just trying to help, i bare no responsibility for any out come
0 Comments.