how to add auto reply after first topic ??
like this
using phpbb latest version and subsilver2


<!-- END postrow --><!-- IF postrow.S_FIRST_ROW -->
<!-- INCLUDE first_response.html -->
<!-- ENDIF --><!-- IF postrow.S_FIRST_ROW and not S_HIDE_ADS -->
<!-- INCLUDE viewtopic_ads1.html -->
<!-- ENDIF -->
<!-- END postrow -->





Sniper_E wrote:We had a topic somewhere giving more details on this but I couldn't find it.


stitch626 wrote:This is interesting. Would it be possible to have the auto reply grab the authors username form the first post?
<!-- IF postrow.S_FIRST_ROW -->
Hello <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->, thanks for your post.
<!-- ENDIF -->
<!-- END postrow -->




Sniper_E wrote:What you see there is ads after the first post. You could add a reply template there also.
Open template/viewtopic_body.html
Find
- Code: Select all
<!-- END postrow -->
Before add???Then you create a first_response.html template with your message in it. It will show after the first post.
- Code: Select all
<!-- IF postrow.S_FIRST_ROW -->
<!-- INCLUDE first_response.html -->
<!-- ENDIF -->


altafali wrote:Sniper_E wrote:What you see there is ads after the first post. You could add a reply template there also.
Open template/viewtopic_body.html
Find
- Code: Select all
<!-- END postrow -->
Before add???Then you create a first_response.html template with your message in it. It will show after the first post.
- Code: Select all
<!-- IF postrow.S_FIRST_ROW -->
<!-- INCLUDE first_response.html -->
<!-- ENDIF -->
before or after??
one thing more i wish to add a user profile with this reply like yours board has?
thanks for advice

Sniper_E wrote:You would want this to show after the first post only on the first page.
Like: <!-- IF postrow.S_FIRST_ROW and postrow.S_FIRST_PAGE --> <- I have no idea what IF statement needs to be use.



Sniper_E wrote:stitch626 wrote:This is interesting. Would it be possible to have the auto reply grab the authors username form the first post?
Sure you can, as long as you are between the <!-- BEGIN postrow --> and <!-- END postrow --> tags.
An example, we would show an added post with our Gonculator as the auto replier thanking the poster.
But we would need a different IF statement for that. This IF statement will show that after the first post of each page.
You would want this to show after the first post only on the first page.
Like: <!-- IF postrow.S_FIRST_ROW and postrow.S_FIRST_PAGE --> <- I have no idea what IF statement needs to be use.
<!-- IF postrow.S_FIRST_ROW and not PREVIOUS_PAGE --><!-- INCLUDE first_response.html --><!-- ENDIF -->
<!-- END postrow -->first_response.html template of an example welcome/thanks post for this?


Users browsing this forum: VoilaBot [Bot] and 29 guests