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
  #92  
Old 09-27-2007, 10:35 AM
gbml4u gbml4u is offline
 
Join Date: Aug 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can u change to Set the Normal Postbit as default

Because I got some problems when posting a new thread with default Postbit article.
Reply With Quote
  #93  
Old 09-27-2007, 01:35 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Hello Atakan KOC!! :up:

I'm trying to Activate this Great Hack in My Forums, but when I try to see a Thread in the Forum I've designated to have this Functionality (Chief Post Show first post on every thread page? as Yes) I'm receiving an Error.

Also when I try to create a New Thread in the Forum where I've Chosen to Activate this Hack, the Create New Thead Form appears with the Four New Options (postbit Article, Flipped, Normal, and Legacy), but when I create the Thread, I receive the same Error when the Forum try to show it to me!!

What should I do to use this Hack?? What Should I Change?? Do I Have To Edit a Template??

Thank You For Your Help!!

I'm copying the Error Message:

Forum: http://inciarco.com/foros/forumdisplay.php?f=85
Thread: http://inciarco.com/foros/showthread.php?t=1909

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
Atakan KOC, have you Tested the Forum I've referred in my message??

Forum: http://inciarco.com/foros/forumdisplay.php?f=85
Thread: http://inciarco.com/foros/showthread.php?t=1909

I've been keeping Active this Hack in that Forum only for you to Test It!!

You can Create an Account in my Forum to Test the Error!!

Please Test it and Tell me What's Wrong, so that I can Correct the necessary options for it to Work Fine in my Forums!!

I appreciate Your Help!!

I'll Wait for your Answer!!

My Best Regards!!

Reply With Quote
  #94  
Old 09-27-2007, 02:20 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems like an Error Caused for Not Compatibility with the Hack PhotoPlog Lite Gallery!!

Thread: PhotoPlog: The Lite Gallery
https://vborg.vbsupport.ru/showthread.php?t=101368

http://www.photoplog.com/forum/forumdisplay.php?f=5

When I Disable the PhotoPlog Lite Hack in the Forum, Your Hack Works but I Receive The Error Message, repeated Several Times:

Quote:
Parse error: parse error, unexpected '\'' in /hsphere/local/home/inciarco/inciarco.com/foros/includes/class_postbit.php(296) : eval()'d code on line 36
I Hope You Can Correct that Not Compatibility with the PhotoPlog Lite Gallery, I think is Related with the Code I've referred in my Previous Messages!!

For Now, I'll Not Use This Hack Because Causes Conflict with the Hack PhotoPlog Lite Gallery!! (I'm Very Sad, Because I'd have Liked to be able to Use this Hack in my Forums, to have the Similar Behavior like the VBulletin.Org Site where the First Post is shown in all the Pages of a Thread)

My Best regards!!

Reply With Quote
  #95  
Old 09-27-2007, 03:25 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How are you going to make postbit_article as default?
Reply With Quote
  #96  
Old 09-27-2007, 04:03 PM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spermy View Post
I had that same problem, so I just took out the code for the sig in the Articles.
Could you advise me how to do that? Or do you just mean you didnt attach a signature in the thread?
Reply With Quote
  #97  
Old 09-27-2007, 04:28 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vitrag24 View Post
I have installed it but how to enable/configure it.
By screenshots i'm confused
i think it'll show 1st post of thread on each page.
isnt it?
will it do anything else?screenshots are confusing me.
I have lots of sections.
do i have to edit and set yes in all ?there shd be option which globally set yes for all sections.
no one rpelied so quoting my own post.
plz reply.
Reply With Quote
  #98  
Old 09-27-2007, 04:35 PM
MaXxed MaXxed is offline
 
Join Date: Jun 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spermy View Post
I had that problem at first when I inserted it in the wrong place.Make sure it is right before<a
checked, and rechecked, its just not happening. I get an error every time.

Any other ways to get this working?
Reply With Quote
  #99  
Old 09-27-2007, 09:46 PM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack. Congrats to the author.

Is it possible to keep the "thread type" selection, but NOT the "sticky" 1st post in thread function? anyone knows how to do this?
Reply With Quote
  #100  
Old 09-27-2007, 10:58 PM
Spermy Spermy is offline
 
Join Date: Oct 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wheezy View Post
Could you advise me how to do that? Or do you just mean you didnt attach a signature in the thread?
To remove the sig form articles read Rat1972's post below.

Quote:
Originally Posted by Rat1972 View Post
I don't like the sign in the first post, so i removed it. So the first thread looks a lot better without an anoying sign.


All you have to do is this:

Go to postbit_articles

Find:
PHP Code:
        <if condition="$post['signature']">
        <!-- 
sig -->
            <
div>
                
__________________<br />
                
$post[signature]
            </
div>
        <!-- / 
sig -->
        </if> 
And delete it.
Quote:
Originally Posted by gbml4u View Post
Can u change to Set the Normal Postbit as default

Because I got some problems when posting a new thread with default Postbit article.
Search this thread, it has been posted both for normal and legacy.

Quote:
Originally Posted by rapidphim View Post
How are you going to make postbit_article as default?
That is automatic after installation.

Quote:
Originally Posted by MaXxed View Post
checked, and rechecked, its just not happening. I get an error every time.

Any other ways to get this working?
What version of VB? I run 3.6.8
It might be different for another version.
Reply With Quote
  #101  
Old 09-28-2007, 01:27 AM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
It seems like an Error Caused for Not Compatibility with the Hack PhotoPlog Lite Gallery!!
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...


@Spermy

I think we need to add the postbit selector with quick edit... i dont have time rite now, maybe weekend.

Thank for your reply
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 11:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04826 seconds
  • Memory Usage 2,338KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (11)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