vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   First post on every page of thread. (https://vborg.vbsupport.ru/showthread.php?t=93706)

Daniel 04-11-2006 05:02 AM

Good work, will install soon enough.

esology 04-21-2006 11:38 AM

Quote:

Originally Posted by Andreas
@insane-topics
I've made a few changes to this Hack
- optimized/less code
- works with "Newest First" now too
- no need to manually create postbit_first

Fell free to use it if you want.

Very nice. Just needed to add AdSense.

Wordplay 04-24-2006 10:49 AM

something really strange happened, i copied my postbit and pasted it into postbit_firstpost, installed the product and now i get this error:

Quote:

Fatal error: Cannot redeclare get_editlevels() (previously declared in /home/digguh/public_html/board/includes/init.php(292) : eval()'d code:22) in /home/sigguh/public_html/board/includes/init.php(292) : eval()'d code on line 120
on everypage, everywhere. how is that possible?

my init.php file has NEVER been edited before. and i'm running 3.5.4.

how do i revert this if i cant get onto my forums?

Tyegurl 04-24-2006 11:09 AM

you try

http://www.yoursite.com/yourforum/admincp/index.php????

GrendelKhan{TSU 04-25-2006 10:14 AM

sorry if this was asked, but is there a way to restrict this to only certain forums?

MissKalunji 04-25-2006 10:15 AM

Quote:

Originally Posted by MissKalunji
how does the "Last Update " work?



bump

Tyegurl 04-25-2006 01:01 PM

Quote:

Originally Posted by MissKalunji
bump

i haven't had a problem yet...just have to remind myself when there is a postbit edit that i have to edit the postbit_first template too...usually i just copy and paste lol.

kurtbarker 04-27-2006 11:01 AM

this is an awesome hack

just got a couple of questions...

can this be done on an individual level... so, set the default forums to show first post of each page via ACP, but then allow members to turn it on and off via the User CP for where they want...

That would make a great addition as members have already asked me for that ability

almukmin 04-27-2006 01:05 PM

Also another addon is, can you make that I can enter specific info to be displayed for the first post for each thread?

MissKalunji 04-27-2006 01:37 PM

Quote:

Originally Posted by Tyegurl
i haven't had a problem yet...just have to remind myself when there is a postbit edit that i have to edit the postbit_first template too...usually i just copy and paste lol.


i meant to ask you know like here....

it says last update : with the date

i wanted to know how THIS works how do you do it that way?

Tyegurl 04-27-2006 01:45 PM

Quote:

Originally Posted by MissKalunji
i meant to ask you know like here....

it says last update : with the date

i wanted to know how THIS works how do you do it that way?

gotcha lol and that i have been wondering myself....must be strictly vbulletin template or post template..

MissKalunji 04-27-2006 02:03 PM

Well let me know if you figure out :-p and i'll do the same

michaelsilvia 04-27-2006 02:08 PM

INSTALLED. Useful hack, but may have been better if you set the plug in as "on" vice off. I had to go through all my forums individually and turn them on. Not complaining, just a suggestion.

Boofo 05-02-2006 12:36 PM

Quote:

Originally Posted by Moya
Here is the template and the icon on the left. Just copy and paste the text into the firstpost template and upload firstpost.gif to images directory

Can we see a pic of it, please? ;)

AndyP 05-16-2006 02:07 AM

Just installed this. I love the idea, as I can see a couple of the forum areas on our site where it will be really handy. Thanks.

At this stage, everything appears to be fine, I might get around to editing the template, so the initial post stands out a little more, later on.

HeLLCiTo 05-18-2006 02:42 PM

i install it, all ok , but normal posbit_first show avatar on de top, and a want it like a normal post(vertical), at the left, anyone can post template for it?

thanks a lot.

Scharesoft 05-22-2006 01:42 PM

Is it possible to make, that you can choose if the first post should be always the first in every thread? Not in a hole forum... I mean that if someone makes a new thread he can decides if the first post should be the first post of every site.

Is the origianal hack that vbulletin.org uses free to download?

Fidox 06-16-2006 12:49 PM

Great add-on, thank you.

I got one question. Is there a way how to display page navigation and thread toolbar BELOW the first post (exactly like it is here at vbulletin.org)? I am playing with this three hours with no luck...

KOKS@LN 06-16-2006 02:02 PM

Quote:

Originally Posted by michaelsilvia
INSTALLED. Useful hack, but may have been better if you set the plug in as "on" vice off. I had to go through all my forums individually and turn them on. Not complaining, just a suggestion.

It was already explained how to easily enable all the forums to show first message on all pages.

https://vborg.vbsupport.ru/showpost....&postcount=166

To be able to run SQL Queries, you need to put your member ID in your config.php

PHP Code:

    //    ****** USERS WITH QUERY RUNNING PERMISSIONS ******
$config['SpecialUsers']['canrunqueries'] = ''


RFViet 06-16-2006 02:29 PM

I would be great if someone can share a nice template :D

MissKalunji 06-16-2006 03:14 PM

theres 2 attached to the thread you didnt see them?

MissKalunji 08-05-2006 12:42 PM

will that one work with 3.6?

armkbdotcom 08-05-2006 07:16 PM

Need template for 3.6, attached templates are not going to be good.

PimvanJ 08-06-2006 12:31 PM

Installing the product, making a new template copy the code from postbit
When enabling "Show First Post On Every Page" I'm getting this MySql error:

Database error in vBulletin 3.5.4:

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,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid

, IF(SUM(photoplog_fileuploads.moderate) > 0 AND 1 = 0,COUNT(photoplog_fileuploads.moderate) - SUM(photoplog_fileuploads.moderate),COUNT(photoplo g_fileuploads.moderate)) AS photoplog_filecount
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
LEFT JOIN photoplog_fileuploads AS photoplog_fileuploads ON(photoplog_fileuploads.userid = user.userid)
WHERE post.postid IN (0,13126,13126)
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 : Sunday, August 6th 2006 @ 03:19:36 PM
Script : mydomain/showthread.php?t=3249
Referrer : mydomain/forumdisplay.php?f=55
IP Address : my Ip
Username : Pim
Classname : vb_database


No code master yet, so can anyone tell me what going wrong here?

PimvanJ 08-14-2006 06:25 PM

No one?

Aneurysm 08-14-2006 11:10 PM

I have done some searching but cant find anything, is this available for VB 3.6?

PimvanJ 08-16-2006 03:01 PM

Anyone installing this as product in Vb 3.5.4 and get it work right out the box?

Harley D 08-17-2006 04:10 PM

Quote:

Originally Posted by PimvanJ
Installing the product, making a new template copy the code from postbit
When enabling "Show First Post On Every Page" I'm getting this MySql error:

No code master yet, so can anyone tell me what going wrong here?

Code:

Database error in vBulletin 3.5.4:

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,
                        post_parsed.pagetext_html, post_parsed.hasimages,
                        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
                       
                        , 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 post AS post
                LEFT JOIN user AS user ON(user.userid = post.userid)
                LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
                LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
                LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
                LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
                        LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
                LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
                LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1)
                        LEFT JOIN photoplog_fileuploads AS photoplog_fileuploads ON(photoplog_fileuploads.userid = user.userid)
                WHERE post.postid IN (0,13126,13126)
                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        : Sunday, August 6th 2006 @ 03:19:36 PM
Script      : mydomain/showthread.php?t=3249
Referrer    : mydomain/forumdisplay.php?f=55
IP Address  : my Ip
Username    : Pim
Classname    : vb_database

Same error on my 3.54 board, can anyone please help?

PimvanJ 08-17-2006 07:27 PM

It can work on 3.5.4 and even on 3.5.5 look here...

http://www.sevenstring.org/forum/showthread.php?t=1287

I'm complete lost with this error I have absolutely no idea where to look for it.

Any help is highly appreciated.

Pim

MissKalunji 08-23-2006 01:56 PM

working on 3.6

Serkan Yılmaz 08-24-2006 03:12 PM

Bu dosya 3 6 0 sürümüne olurmu ?denilenleri yaptım ama çıkmadı

MissKalunji 08-24-2006 09:38 PM

only one thing the multi quote doesnt work...when that hack is installed

PimvanJ 09-07-2006 08:33 AM

I'm clearing the showthread_query a little and deleted all code for attachments viewing.

This code is left in the showthread_query.
_______________________________
if ($forum['showfirstpost'])
{
$ids .= ",$thread[firstpostid]";
$postids = "post.postid IN (0" . $ids . ")";
_______________________________
The db error disappear and all seems to work..... -postbit_first template shows up- .......but only on the first page.:(

Why is that?

Any help is mostly appreciated.

HeLLCiTo 09-17-2006 06:52 AM

this version works, in 3.6 ??? i have 1.0.0, that not work

Kadi 09-21-2006 01:28 PM

Didn't work for me. 3.6.0 version

djjeffa 09-25-2006 02:20 AM

Quote:

Originally Posted by HeLLCiTo
this version works, in 3.6 ??? i have 1.0.0, that not work

same here but im wondering if there is a way to make it an option in any post instead of making it everyone in that section.

ehsanix 09-29-2006 06:20 PM

thank u for this usefull hack...

Neutral Singh 10-01-2006 06:06 AM

works with 3.6.1 flawlessly... :)

aveon 10-10-2006 10:58 PM

it doesnt work for 3.6.x can u guys update it please

MissKalunji 10-10-2006 11:03 PM

yes it does

www.dancehallareaz.com/forum/

go in announcement u'll see for yourself


All times are GMT. The time now is 09:32 AM.

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.01564 seconds
  • Memory Usage 1,835KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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