PDA

View Full Version : Display message for guests under post


blueperspective
02-19-2012, 08:18 AM
Hi everyone.

I've just started a thread on this problem on vb.com, but I was reffered here by a member. The thread is here: https://www.vbulletin.com/forum/showthread.php/396611-Display-message-for-guests-under-post

The idea is that I've just enabled the posibility of leaving a reply for guests. Unfortunatelly, vBulletin doesn't have the Quick-Reply window for guests and that's a minus in my opinion. Any ideea on how can I add a short message that will appear under each post for guests only, informing them that they can click Reply to thread in order to respond to that specific topic ?! I know that could be done by adding a lines of code or smth, but I don't know what code and where to add it. I found a good post about this problem here: http://www.mydigitallife.info/how-to-add-and-display-ad-or-message-to-unregistered-guest-only-in-vbulletin/
The article is good, but I don't want the message on home page or footer like they say there.. I just want it under each post.
Any help, please ?!

Abhik
02-19-2012, 11:30 AM
Hi everyone.

I've just started a thread on this problem on vb.com, but I was reffered here by a member. The thread is here: https://www.vbulletin.com/forum/showthread.php/396611-Display-message-for-guests-under-post

The idea is that I've just enabled the posibility of leaving a reply for guests. Unfortunatelly, vBulletin doesn't have the Quick-Reply window for guests and that's a minus in my opinion. Any ideea on how can I add a short message that will appear under each post for guests only, informing them that they can click Reply to thread in order to respond to that specific topic ?! I know that could be done by adding a lines of code or smth, but I don't know what code and where to add it. I found a good post about this problem here: http://www.mydigitallife.info/how-to-add-and-display-ad-or-message-to-unregistered-guest-only-in-vbulletin/
The article is good, but I don't want the message on home page or footer like they say there.. I just want it under each post.
Any help, please ?!
The postbit_signature_start or the postbit_messagearea_start template hook is probably the best place.
You can use this condition to show a message only to guests.
<vb:if condition="$show['guest']">Show this to guest only</vb:if>

blueperspective
02-19-2012, 03:45 PM
Abhik, thanks for your kind answer.
Tested it and it works.. for those that bhave a signature active. In message area doesn't look good.
But I've got a new idea, a new place.. just I don't know what's the name of the file in the template for that place. Look, I want it displayed there, near Reply to Thread... it will fit perfectly! See the image beyond:

https://vborg.vbsupport.ru/external/2012/02/14.jpg

Waiting for a response. Thanks again!

Abhik
02-22-2012, 02:51 PM
At SHOWTHREAD template find the
<div id="pagination_bottom" class="pagination_bottom">
Place your code just before that.