vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Simple newsportal / thread overview to add to your board... (https://vborg.vbsupport.ru/showthread.php?t=38334)

Robink 04-24-2003 07:09 AM

You mean the bug which is mentioned on the first page with a 3-page long solution to resolve it?

KuraFire 04-24-2003 08:13 AM

Yes.

Robink 04-25-2003 03:13 PM

Greatr :D :D

(PS: Add it on the first page too :))

KuraFire 04-25-2003 03:51 PM

First post updated :)

Robink 04-25-2003 04:10 PM

Thanks you kind Sir.

I have been postponing the release of this for days becuase the hack-removal looked scary ;)

KuraFire 04-25-2003 04:17 PM

*grins* :)

Robink 04-25-2003 04:45 PM

Quote:

UPDATE PROCEDURE / BUG FIX:
Open newsportal.php from the attached zip-file, and use this query at the start (instead of the one that you can already find there):

PHP Code:

SELECT thread.threadid as tidthread.title as ttitle
thread.replycount as treplythread.postusername as user
thread.postuserid as useridthread.dateline as dateline
post.pagetext as pagetextMIN(p.postid) as postid 
FROM thread 
LEFT JOIN post USING 
(threadid
WHERE forumid=$newsforum 
GROUP BY thread
.threadid 
ORDER BY thread
.threadid DESC 
LIMIT $newslimit 


First I got a DB error, saying no such table called 'p'.
I changed p to post, then it works, but the error is still there. :(
:cry: :cry: :cry: :cry:

KuraFire 04-25-2003 04:48 PM

oh, my bad..
*fixes*


see the first post, the fix is: make it MIN(post.postid) instead of MIN(p.postid) :)

Robink 04-25-2003 05:10 PM

Somehow, after changing that, the error remains....

Odd... *goes to kill himself*

Robink 04-25-2003 05:12 PM

I mean the random post bug


All times are GMT. The time now is 02:34 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.01171 seconds
  • Memory Usage 1,742KB
  • 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_php_printable
  • (1)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
  • (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