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)
-   -   Add-On Releases - CES Site News (https://vborg.vbsupport.ru/showthread.php?t=137365)

Chadi 05-02-2008 11:11 AM

I also got a few of these email errors this morning:


Quote:

Database error in vBulletin 3.6.10:

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,


editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
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(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid
, '' AS field18
, journals.journaldesc, journals.journal_id
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 editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 31 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 31 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
LEFT JOIN journals AS journals ON (journals.journalist_id=post.userid)
WHERE post.postid IN (0,67504)
ORDER BY post.dateline;

MySQL Error : Unknown column 'editlog.hashistory' in 'field list'
Error Number : 1054
Date : Friday, May 2nd 2008 @ 07:09:17 AM
Script : http://www.talkjesus.com/shownewsces.php?t=11346
Referrer :
IP Address : 66.249.70.172
Username : Unregistered
Classname : vB_Database

thincom2000 05-02-2008 11:16 PM

Well hopefully this bug fix update covers all the backwards compatibility issues...

Chadi 05-02-2008 11:25 PM

Please see attached, it did not work.

blastup 05-03-2008 01:20 AM

hey i got an idea.. could you make news.php default to a news section? like newsdisplay.php?f=1 but you could just go to newsdisplay.php then it will appear! just by default! then it should also work if it is newsdisplay.php?f=2 or newsdisplay.php?f=3 !!! let me know thanks because i feel that using vbseo to put the file up in the homepage is a bad idea! it will be better if there is something at the index..

let me know thanks

also it seems like there is still bugs mentioned from a few people! let me know if its bug free again thanks

again awesome hack

blastup 05-03-2008 01:27 AM

i still have no idea on how to make the urls convert in vbseo! i am thinking of the best way is to use newsdisplay.php only and not shownews.php i think i am going to just going to make newsdisplay.php direct to the real thread! that way you can preserve the urls and have url free conflicts! I think im going to use if conditions to define the showpost.php so it will look like newsdisplays template on certain forum ids.

do you think this is a good idea? do you think this will be hard to do?

blastup 05-03-2008 01:30 AM

vbulletin.org did the same thing for the mods and styles section so i think it might just work!

thincom2000 05-03-2008 02:49 AM

Quote:

Originally Posted by blastup (Post 1506325)
hey i got an idea.. could you make news.php default to a news section? like newsdisplay.php?f=1 but you could just go to newsdisplay.php then it will appear! just by default! then it should also work if it is newsdisplay.php?f=2 or newsdisplay.php?f=3 !!! let me know thanks because i feel that using vbseo to put the file up in the homepage is a bad idea! it will be better if there is something at the index..

let me know thanks

also it seems like there is still bugs mentioned from a few people! let me know if its bug free again thanks

again awesome hack

You can accomplish this using .htaccess. Also if you add the do=main to the URL it is slightly different.

For example on my site I have:
Code:

RewriteRule ^main.php$ news.php?do=main&f=2 [L,QSA]
This makes forumid 2 display without extra forumdisplay stuff like subforums on the page main.php, which doesn't physically exist.

thincom2000 05-03-2008 02:54 AM

Quote:

Originally Posted by chadi (Post 1506252)
Please see attached, it did not work.

Hm... that's surprising. I actually fixed that for the last release, so I'm not sure why I had to do it again. Again, I took the trim() calls out of the product file, so you should just redownload it.

Chadi 05-04-2008 03:48 AM

Thanks, but still a few bugs.

See attached.

In IE7, it buries the bottom part of the post as you can barely see the icons/buttons.

In Firefox and Opera, it shows grey color on the right side for some reason.

thincom2000 05-04-2008 07:41 AM

Ah, I think those are related to the fact that you use postbit_legacy on your forum, and the mod doesn't have legacy versions. I will look into this.


All times are GMT. The time now is 02:36 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.01305 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)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