![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||
Add "Post Comment" buttons to CMS Articles & Blogs for guests
![]() Developer Last Online: Feb 2021 ![]() ![]() ![]()
![]() The default templates for the CMS and Blog don't display any indication to the guest that comments can be posted, especially if no comments exist for that article or blog post.
Two simple template edits adds a "Post Comment" button for guests to the CMS and Blog pages. It simply links to the register page. The button will not show up for logged in users; the reply box will appear as normal for them. For CMS Articles and Blogs that do not allow comments, it will not show up. Here is an example of it working on a CMS Article: http://cellphoneforums.net/content/c...ten-years.html And a blog post: http://nikonites.com/blogs/jdeg/73-a...portation.html Here's how to do it: In template vbcms_comments_page find:
Add after:
In blog_show_entry find:
Add after:
Download Now Only licensed members can download files, Click Here for more information. Show Your Support
The following members like this post: sensimilla
|
Comments |
#3
|
|||
|
|||
I do not allow comments on the CMS but
I will use the Post Comment for the Blogs and guests can now say hello to my register page. Thanks for Sharing ![]() No members have liked this post.
|
#4
|
|||
|
|||
Thank you! This should be an integral part of the vBulletin software. Since moving to vBulletin I get ZERO comments...
No members have liked this post.
|
#5
|
|||
|
|||
How would I do this for mobile style as well?
__________________
The #1 Site for BlackBerry Users... www.BlackBerryOS.com
No members have liked this post.
|
#6
|
|||
|
|||
I can't find where you are supposed to be able to edit the "vbcms_comments_page", is it in "Style Manager"?. Or, where is the place you edit that?.
No members have liked this post.
|
#7
|
||||
|
||||
Style Manager > select "Edit Templates" for the style you want to edit > "vBulletin CMS Templates"
__________________
John No members have liked this post.
|
#8
|
|||
|
|||
Originally Posted by tpearl5
I found it by Expanding "Blog Temples". I didn't know there were templates hidden within templates. After adding all of the code, now people can comment on my "blog":![]()
http://bloggingforum.org/entry.php?3...n-In-vBulletin Thanks so much for this tutorial!. Hope my problem and solution will help others out. No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by hotdogcooker
Well, no, this just adds the comment button for guests which links to register.php. They can't actually comment until they register...![]()
Also, if you want to edit a template in the future and you already have some code, it may be easier to use the search feature on a bit of the code to find the template.
__________________
John No members have liked this post.
|
#10
|
|||
|
|||
Originally Posted by tpearl5
Well, I guess like most big sites you have to register before you comment on stuff. Well, in this case I found the template without searching, I'll try next time but I guess it was obvious that the templates expand, they had to be somewhere. Thanks.![]()
BEFORE doing this fix, there was no comment box there at all, NOTHING. I tried other browsers too, it was messed up!. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:35.