Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Super quick thread comments system Details »»
Super quick thread comments system
Version: 1.00, by peterska2 peterska2 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 11-27-2006 Last Update: Never Installs: 23
Template Edits
 
No support by the author.

This is a really quick modification made by request which changes all posts after the first post into a thread comments system with a minimal postbit only.

Request: https://vborg.vbsupport.ru/showpost.php?p=1127072

Templates to edit: 1 - postbit or postbit_legacy

In your template postbit or postbit legacy

At the very top of the template before anything else

ADD

Code:
<if condition="($thread[forumid] == X) && ($post[postcount] != 1)">
<if condition="($post[postcount] == 2)">
        <div class="smallfont"><a href="newreply.php?do=newreply&noquote=1&p=$post[postid]"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /></a></div>
<div style="padding-top:$stylevar[cellpadding]px"></div>
</if>

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span style="float:right">$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if></span>
$post[musername]
</td>
</tr>
<tr>
<td class="alt1">
$post[message]
</td>
</tr>
</table>
<else />
At the very end of the template

ADD

Code:
</if>
Replace the X with the forumid number of the forum that you want to use this in.

Save the template and you are done.

Limitations: This only works in one forum at present, but is useful for replies to announcements or to articles.

Future Changes: If demand is there then a multiple forum version will be made.

Why don't you do this with a plugin? Why make a mountain out of a molehill? If a quick and easy template edit does the job then why go all around the houses writing a plugin to attempt to do the same thing.

Changes since screenshot taken: Added a reply button below the first post.

[high]Permission is NOT given for any ports of this modification[/high]


If you like this modification, please click install.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-28-2006, 04:14 PM
RobParker RobParker is offline
 
Join Date: Nov 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Superb

Thanks a lot
Reply With Quote
  #3  
Old 11-28-2006, 05:50 PM
Mr Pink's Avatar
Mr Pink Mr Pink is offline
 
Join Date: Oct 2006
Location: [Italy]
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great one! Thanks peterska2!
Maybe I will try it in my local forum. However, I want click 'install', becouse it's a really great mod.
Reply With Quote
  #4  
Old 11-28-2006, 07:17 PM
AzH's Avatar
AzH AzH is offline
 
Join Date: Feb 2005
Location: UK
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Why don't you do this with a plugin? Why make a mountain out of a molehill? If a quick and easy template edit does the job then why go all around the houses writing a plugin to attempt to do the same thing.
Plug ins are great for people who perhaps have several different forum styles and would need to edit templates several times to implement something such as this.
Reply With Quote
  #5  
Old 11-29-2006, 03:07 PM
UltraVR's Avatar
UltraVR UltraVR is offline
 
Join Date: Feb 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a wonderful mod!

Would it be too complicated to enable multiple forums for this like you said? I'd love to enable this for all the article related forums I have. I'm not sure how it would work, with an array or a conditional of some sort?
Reply With Quote
  #6  
Old 11-29-2006, 08:00 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AzH View Post
Plug ins are great for people who perhaps have several different forum styles and would need to edit templates several times to implement something such as this.
And the fact that there are no suitable comments to add a plugin replacement to means that it isn't possible. Of course if you have parent and child styles then you only have to do it once
Reply With Quote
  #7  
Old 11-29-2006, 08:02 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UltraVR View Post
This is a wonderful mod!

Would it be too complicated to enable multiple forums for this like you said? I'd love to enable this for all the article related forums I have. I'm not sure how it would work, with an array or a conditional of some sort?
I'm going to be changing it for multiple forums for my own site in the next couple of days so I'll do an update when I've done it.
Reply With Quote
  #8  
Old 11-29-2006, 08:22 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeeeeh, no bad and good idea, congrat Kerry-Anne

Click Install*
Reply With Quote
  #9  
Old 11-29-2006, 08:23 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Allan
Reply With Quote
  #10  
Old 11-30-2006, 06:33 AM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04984 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete