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

Reply
 
Thread Tools
Chief First Post - Every Page - 3.6.x Details »»
Chief First Post - Every Page - 3.6.x
Version: 1.01, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 08-23-2007 Last Update: 08-25-2007 Installs: 339
Uses Plugins Template Edits
 
No support by the author.

Chief First Post - Every Page
With this mod, you can convert the view of the thread in to 4 different type. Additionally you can change the view as you edit click the edit button. The 1st message of the thread will stay at top all the time even while you are checking other messages related to this subject.


Thread Type
Postbit Article
Postbit Flipped
Postbit Normal
Postbit Legacy


install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-chiefpost.xml' from your computer then press 'Import'

Modifications Info

Plugin : 12
Phrases : 3
Template : 3
Setting : 0

Versions:
v1.0 - 24 August 2007
-First release

v1.0.1 - 26 August 2007
-Rating Phrase fixed

With this mod, you can convert the view of the thread in to 4 different type. Additionally you can change the view as you edit click the edit button. The 1st message of the thread will stay at top all the time even while you are checking other messages related to this subject.

Show Your Support

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

Comments
  #102  
Old 09-28-2007, 03:14 AM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spermy
To remove the sig form articles read Rat1972's post below.
Thanks much
Reply With Quote
  #103  
Old 09-28-2007, 10:57 AM
Aeolian Aeolian is offline
 
Join Date: Apr 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the developer must incorporate the changes suggested/submitted in the posts above to the actual MOD itself..
Thanks
Reply With Quote
  #104  
Old 09-28-2007, 01:29 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elmati View Post
Im using Photoplog and vb 3.6.8 with chief 1st post active and works fine

i think u have done something wrong or misconfiguration...
Please Tell me what's wrong and where can I locate the Error, because I've tryed reinstalling this Hack and the same Error keeps appearing when I set to yes the Displaying of the First Post in a Forum.

Could you Please analyze the Error and Tell me what's wrong??

What should I check?? What should I change??

The only way for the Hack to Work is by Disabling the Photoplog Hack in my Forum, that's why I deduced that some Incompatibility is Happening, also by the Error Message and the piece of code that says "COUNT(photoplog_fileuploads.moderate) - SUM(photoplog_fileuploads.moderate),COUNT(photoplo g_fileuploads.moderate)) AS photoplog_filecount" that includes "COUNT" and is related with Photoplog; but this Error only happens when the Chief First Post Hack is Activated and set to Yes in a Forum, so something isn't working, at least in Version 3.6.7 PL1; I hope you could analyze the Error and Orient me in what should I check/change/set for this Hack to work Ok in my Forums!!

I appreciate your Help and your Patience!!

My Best Regards!!

I copy/paste again the Error Message for you to Analyze it:

Code:
Database error 
The INCIARCO - FOROS - Comunidades Virtuales de Integraci?n database has encountered a problem. 

--------------------------------------------------------------------------------
 
Please try the following: 
Load the page again by clicking the Refresh button in your web browser. 
Open the inciarco.com home page, then try to open another page. 
Click the Back button to try another link. 
 
The inciarco.com forum technical staff have been notified of the error, though you may contact them if the problem persists. 
 
We apologise for any inconvenience. 


Database error in vBulletin 3.6.7:

Invalid SQL:

		SELECT
			post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
			user.*, userfield.*, usertextfield.*,
			icon.title as icontitle, icon.iconpath,
			avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
			deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
			editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
			editlog.reason AS edit_reason,
			postparsed.pagetext_html, postparsed.hasimages,
			sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
			sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
			IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
			
			, IF(SUM(photoplog_fileuploads.moderate) > 0 AND 1 = 0,COUNT(photoplog_fileuploads.moderate) - SUM(photoplog_fileuploads.moderate),COUNT(photoplog_fileuploads.moderate)) AS photoplog_filecount
		FROM vb_post AS post
		LEFT JOIN vb_user AS user ON(user.userid = post.userid)
		LEFT JOIN vb_userfield AS userfield ON(userfield.userid = user.userid)
		LEFT JOIN vb_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
		LEFT JOIN vb_icon AS icon ON(icon.iconid = post.iconid)
		LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)
			LEFT JOIN vb_deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
		LEFT JOIN vb_editlog AS editlog ON(editlog.postid = post.postid)
		LEFT JOIN vb_postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 3 AND postparsed.languageid = 2)
		LEFT JOIN vb_sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 3 AND sigparsed.languageid = 2)
		LEFT JOIN vb_sigpic AS sigpic ON(sigpic.userid = post.userid)
			LEFT JOIN photoplog_fileuploads AS photoplog_fileuploads ON(photoplog_fileuploads.userid = user.userid)
		WHERE post.postid IN (0,8415,8415)
		ORDER BY post.dateline;

MySQL Error  : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number : 1140
Date         : Tuesday, September 25th 2007 @ 05:12:30 PM
Script       : http://zzz/showthread.php?t=1909
Referrer     : http://zzz/forumdisplay.php?f=85
IP Address   : zzz.zzz.zzz.zzz
Username     : zzz
Classname    : vb_database
Reply With Quote
  #105  
Old 09-28-2007, 04:15 PM
mvigod mvigod is offline
 
Join Date: Dec 2001
Location: Jersey
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mvigod
Anyone aware of an if condition that would allow only a usergroup to lock the first post instead of it globably applying to the entire forum?
The answered by mvigod below.


Quote:

Originally Posted by mvigod
For other usergroups, just add their usergroup id to the if condition:
= Code:
<if condition="is_member_of($bbuserinfo, 6,5,7)">



Spermy,
That works for the postbit selection, however it is still globally locking the first post. What would be even better is if this had a selection in the usergroup permissions that allowed an admin to set "can lock first post" yes/no. And then have it as a radio button within the postbit.

Failing that I guess a new user field could be generated and then added to the template:

Code:
if ($forum['chiefpost'] AND $vbulletin->userinfo[fieldx]=='Yes')  
However change that to a specific bbgroup.
Reply With Quote
  #106  
Old 09-28-2007, 07:12 PM
Spermy Spermy is offline
 
Join Date: Oct 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but that I don't know about.
Reply With Quote
  #107  
Old 09-29-2007, 01:21 AM
MaXxed MaXxed is offline
 
Join Date: Jun 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spermy View Post
What version of VB? I run 3.6.8
It might be different for another version.
Same, 3.6.8.

Perhaps im pasting it incorrectly? How should it be formatted in there?
Reply With Quote
  #108  
Old 09-29-2007, 02:01 AM
xandizitxu xandizitxu is offline
 
Join Date: Mar 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get this plugin working with VBTT properly... Disappointed.
Reply With Quote
  #109  
Old 09-29-2007, 10:51 AM
Spermy Spermy is offline
 
Join Date: Oct 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MaXxed View Post
Same, 3.6.8.

Perhaps im pasting it incorrectly? How should it be formatted in there?
Can you copy and paste your whole postbit_articles template to me in a PM?

Quote:
Originally Posted by xandizitxu View Post
I don't get this plugin working with VBTT properly... Disappointed.
I haven't used vbtt in awhile, but all you should need to do is add the vbtt edits you would do in any of the postbits into the postbit_articles. Can you send me a link to the new vbtt and when I get some time I will look at it.
Reply With Quote
  #110  
Old 09-29-2007, 11:36 AM
xandizitxu xandizitxu is offline
 
Join Date: Mar 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already tried it. Didn't work, the link is
www.torrenttrader.org
Reply With Quote
  #111  
Old 09-30-2007, 10:04 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those who just want to keep the "Article" layout and not have the other postbit options in (new thread/edit post) can simply disable plugins:

editpost_edit_complete
editpost_update_complete
newpost_complete
newthread_form_complete
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 09:02 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.05086 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
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
  • (7)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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