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)

thincom2000 04-10-2008 03:18 AM

I am wrapping up version 1.6.0, because it's pretty much ready for release.

This subversion is based on vBulletin 3.7 and the following features have been added:

- Lightbox in News Display
- AJAX Title Edit in News Display
- AJAX Article Open/Close in News Display
- AJAX Quick Edit in News Display (that's right)
- Stickies are back

The redirect bug has also been addressed.

If anyone has any feature requests and bugs to report, do it in the next few days so I can get it into this update.

blastup 04-13-2008 09:57 PM

awesome let me know thanks bro

blastup 04-13-2008 10:01 PM

your product is awesome

blastup 04-17-2008 02:45 PM

i stil cant wait for it .. hurry lol

thincom2000 04-18-2008 03:19 AM

Well there you go, blastup. Version 1.6.0. This was updated with new vBulletin 3.7 features, but they should only work if you have 3.7 installed. The redirect bug has been addressed.

New in 1.6.0, on News Display we now have: AJAX title editing, AJAX open/close, AJAX Quick Edit, Sticky Articles.

meenstreek 04-18-2008 04:00 AM

I just tried to install 1.6.0 on my vB3.7.x and when I tried to import the xml install file I get this:

Code:

Installing Version 1.0.0...
Reading existing announcements...
Creating query-less announcements... Done.
Upgrading to Version 1.2.0...
Inserting 'previewlength' into BB-code table... Done.
Inserting 'preview' into BB-code table... Done.
Inserting 'more' into BB-code table... Done.
Rebuilding BB-code cache... Done.
Upgrading to Version 1.4.0...
Installation Complete!
:

<if condition="trim($GLOBALS[nuwiki_forum_header]) != '' OR $announcebits">

       
trim        trim($GLOBALS[nuwiki_forum_header])


in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of()

When I got to create a new forum, there is no option to make it a "News Forum". I'm guessing didn't finish installing? I do have vBadvanced installed, I was going to integrate these two.

thincom2000 04-18-2008 06:08 AM

Apparently vBulletin doesn't trust trim() in templates by default. You can either add it to your template_safe_functions and try again, or download the product file again. I have removed the trim() calls.

blastup 04-18-2008 10:51 AM

awesome you updated it thanks bro

blastup 04-19-2008 05:04 PM

ah ok i guess ill just wait for vb 3.7 gold to be stable.. then install this.. awesome thanks

meenstreek 04-20-2008 06:56 AM

Quote:

Originally Posted by thincom2000 (Post 1493527)
Apparently vBulletin doesn't trust trim() in templates by default. You can either add it to your template_safe_functions and try again, or download the product file again. I have removed the trim() calls.

Thanx bro, works great :).
Now to get it to work with vBadvanced and AJAX Tabs heh.

Got any tips? :)

meenstreek 04-20-2008 07:38 AM

If I copy the news.php file and pass it the "f" variable ( http://www.domain.com/forums/news_copy?f=2) is there a way that I can just show the information between <!-- show threads --> and <!-- end show threads --> and not everything else? I'm trying to put that information in a AJAX tab for my front page in vbAdvanced.

meenstreek 04-20-2008 07:58 AM

Never mind :) I've figured it out ;).
I'll show you what I'm talking about later if you are wondering heh.

meenstreek 04-20-2008 10:36 AM

Having trouble with the "Limit News Preview to How Many Words?" option. I've set it to like 50 words but it doesn't cut off the article and display the "Read More" link. Here is what I'm talking about:
http://www.invictrum.com/news.php?f=2

thincom2000 04-21-2008 01:11 AM

Ah, thanks. That actually revealed a couple of bugs in news.php in 1.6.0. Still looking into a couple of things, but a new patch should be available shortly.

thincom2000 04-29-2008 03:22 PM

The fact that vB 3.7.0 is now stable and also includes CSRV protection (as does 3.6.10), and this mod doesn't currently have the appropriate form elements, means that pretty much every user of this mod is experiencing security token errors when attempting to use any of the AJAX features or inline moderation.

I guess this will force me to release a new patch earlier rather than later this week.

Chadi 05-02-2008 01:13 AM

I'm getting a blank screen when visiting my blog.

I have Goldbrick installed and followed this step again

I also have this set as filenames:

newsces / shownewsces (confirmed they match the file names)

I have VBSEO as well (mentioning this in case you needed to know).

I did notice that within the blog, although a blank page it shows the actual file extension where usually VBSEO does not do that.

http://www.talkjesus.com/ (click on Blog under Info menu)
It shows this link: http://www.talkjesus.com/newsces.php?f=72

However, the menu link (and forum link) is:
http://www.talkjesus.com/blog/

thincom2000 05-02-2008 02:46 AM

You need to edit your php.ini to show the errors to the browser, otherwise I don't know what is causing this.

Chadi 05-02-2008 02:58 AM

Actually, the logs show this when I attempt to visit the main blog page (newsces.php as I have it set up)

Quote:

[Thu May 01 22:53:43 2008] [error] [client *****] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/*****/public_html/includes/functions_prefix.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/newsces.php on line 83, referer: http://www.talkjesus.com/

thincom2000 05-02-2008 03:28 AM

Okay, sounds like I forgot to put a check there for 3.7

You would wrap line 83 in the following conditional:
PHP Code:

if (FILE_VERSION >= '3.7.0'


Chadi 05-02-2008 10:52 AM

I'm using 3.6.1.0, not 3.7

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.

Chadi 05-04-2008 04:24 PM

I even get this error when attempting to post a blog post.


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,
spamlog.postid AS spamlog_postid,
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(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, user.infractiongroupid

, 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 spamlog AS spamlog ON(spamlog.postid = post.postid)
LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
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,107494)
ORDER BY post.dateline;

MySQL Error : Table 'admincd_vbulletin.spamlog' doesn't exist
Error Number : 1146
Date : Sunday, May 4th 2008 @ 12:23:01 PM
Script : http://www.talkjesus.com/shownewsces.php?t=20886
Referrer : http://www.talkjesus.com/newthread.p...newthread&f=72
IP Address : xxxxx
Username : Chad
Classname : vB_Database

thincom2000 05-04-2008 04:32 PM

Just curious, did you have 1.6.0 installed before upgrading to 1.6.1? (1.6.0 was released about 3 weeks ago)

Chadi 05-04-2008 04:42 PM

Honestly do not remember what the version was, but it was the latest at the time.

thincom2000 05-05-2008 06:37 PM

I cannot duplicate the gray color template bug you posted above. You mentioned it occurs in Firefox and Opera... Firefox is my main browser and I haven't found a combination of options to create this effect. What versions by chance are you using?

Regarding the IE7 button cutoff, that I have reproduced and am currently working on...

Chadi 05-05-2008 06:41 PM

Was using Firefox 2 (latest) at the time. Also tried in FF 3 Beta 5. Same results.

thincom2000 05-05-2008 08:02 PM

Ah, I see it in FF 3. Okay, well now that all of that is fixed, I'm uploading 1.6.2. Hopefully those were all the quirks...

Chadi 05-07-2008 11:43 PM

Thanks, but still one more issue :x

When I submit a new news post, it redirects me to the home page (yet successfully posting the new thread). However, when your on the home page or inside the CES News area and click on the post title, it redirects back to the home page again.

VBSEO related or not? Thanks again.

thincom2000 05-08-2008 01:18 AM

I would say it's vbSEO, because I have never encountered anything like that. And I just posted a new news item on my live site the other day...

Chadi 05-08-2008 01:01 PM

Problem persists with vbseo disabled too

thincom2000 05-08-2008 02:40 PM

Please check your server error logs and make sure you don't have an error 404 happening. Every time a link is clicked to read shownew.php on your site, it redirects to the forum home page. Make sure that in the options your Shownews Filename is set to "shownew"


All times are GMT. The time now is 04:05 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.01741 seconds
  • Memory Usage 1,842KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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