vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Chief First Post - Every Page - 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=156141)

gbml4u 09-27-2007 10:35 AM

Can u change to Set the Normal Postbit as default

Because I got some problems when posting a new thread with default Postbit article.

inciarco 09-27-2007 01:35 PM

Quote:

Originally Posted by inciarco (Post 1347085)
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?? :confused:

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?? :confused:

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!!

:)

inciarco 09-27-2007 02:20 PM

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!! :(

:)

rapidphim 09-27-2007 03:25 PM

How are you going to make postbit_article as default?

Wheezy 09-27-2007 04:03 PM

Quote:

Originally Posted by Spermy (Post 1348096)
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?

vitrag24 09-27-2007 04:28 PM

Quote:

Originally Posted by vitrag24 (Post 1347321)
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.

MaXxed 09-27-2007 04:35 PM

Quote:

Originally Posted by Spermy (Post 1348096)
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?

Defkalion 09-27-2007 09:46 PM

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?

Spermy 09-27-2007 10:58 PM

Quote:

Originally Posted by Wheezy (Post 1348334)
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 (Post 1325313)
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 (Post 1348124)
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 (Post 1348298)
How are you going to make postbit_article as default?

That is automatic after installation.

Quote:

Originally Posted by MaXxed (Post 1348353)
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.

elmati 09-28-2007 01:27 AM

Quote:

Originally Posted by inciarco (Post 1348247)
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


All times are GMT. The time now is 01:11 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.01523 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete