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 01-23-2007 10:00 PM

CES Site News
 
CES Site News
Version: 1.6.3
vBulletin 3.7.x, 3.8.x supported

*** NEWS ***
5/15/2008 - v1.6.3 released
5/5/2008 - v1.6.2 released
5/2/2008 - v1.6.1 released
4/17/2008 - v1.6.0 released
11/7/2007 - v1.5.1 released
9/9/2007 - v1.5.0 released
4/12/2007 - v1.4.1 released
4/5/2007 - v1.4.0 released
4/1/2007 - 4/2/2007 - v1.3.1 through v1.3.2 released
3/30/2007 - v1.3.0 released
3/23/2007 - 3/26/2007 - v1.2.0 through v1.2.4 released
3/14/2007 - v1.1.1 released
3/12/2007 - v1.1.0 released
2/9/2007 - v1.0.8 released
1/29/2007 - v1.0.7 released
1/23/2007 - 1/27/2007 - v1.0.0 through v1.0.6 released

Known Issues:
- none

What It Does:
This allows you to turn one of your forums into a news blog.

Live Installation: http://www.crackedeggstudios.com/news.php
This site is usually an update or two ahead of what's available in this thread, because that's where we do all our testing.

Products to Install: 1
Plugins Included: 14
Files to Upload: 7
Files to Edit: 0
New Templates: 8
Template Edits: 0

Mod Features:
- adds options to the Forum Manager
- uses forum permissions
- threads in the given forum become articles
- pull articles from other forums
- full-text articles are displayed in a customized forumdisplay
- post replies are added as comments
- set number of articles and comments per page
- turn on/off announcements in news display
- turn on/off attachments in news display
- turn on/off last comment in news display
- ajax quick edit in news display (basically, quick edit in forum display)
- display articles on every comments page
- limit size of article preview
- additional BB-Code tags for articles

BB-Code Tags:
[previewlength]value[/previewlength]
Placing this anywhere in an article overrides the preview limit for that article only. Multiple [previewlength] tags are cumulative. A "Read More..." link will appear if this tag is used.

[preview]value[/preview]
Placing this anywhere in an article defines text that will only show on Newsdisplay. Text contained in this tag completely replaces the post text on Newsdisplay. Multiple [preview] tags are cumulative. A "Read More..." link will appear if this tag is used.

[more]value[/more]
Placing this anywhere in an article defines text that will only show on Shownews. Text contained in this tag does not replace the post text on Shownews. It only hides text from Newsdisplay.

*** Changelog ***
As of Version 1.6.3:
- bug fix: preview functions do nothing since alias support added
- bug fix: preview functions never worked on editpost or newthread
- bug fix: inconsistent postbit after quick edit
- updated files: news.php, shownews.php, ces_news_bbcode.php,
ces_news_quick_edit.js

As of Version 1.6.2:
- bug fix: more database errors in vB 3.6.x
- bug fix: post controls hide on news display in IE7
- bug fix: threadbit and postbit widths inconsistent
- updated templates: ces_news_postbit, ces_news_threadbit
- updated files: shownews.php

*** Screenshots ***
1. New Forum Manager Option
2. Site News Settings
3. News Articles (forumdisplay)
4. Comments (showthread)

vspro 01-24-2007 02:06 AM

why?
I want download file it. and I want see demo

thincom2000 01-24-2007 02:13 AM

I'll upload screenshots in a few minutes :D

TheBlackPoet 01-24-2007 02:26 AM

i must be using 3.62? or 3 ... it wont let me install.. other hacks i can still install, but this one is being a skank.... i'd like to check it out, if you code it to accept my settingss

thincom2000 01-24-2007 02:35 AM

Okay, I didn't think people would be PREVENTED from installing it if they had lower, I will downgrade the version requirement to 3.6.0 for the next update. I already found an annoying visual error with the SHOWNEWS template, so it will be soon!

Invalid ID 01-24-2007 02:58 AM

Waiting for the Demo :)

P.Jackson 01-24-2007 08:22 AM

Same :)

beduino 01-24-2007 08:24 AM

Looks great :) Waiting for the changes.
Beduino

Staxed 01-24-2007 10:59 AM

sounds interesting....how are those screenshots and demo coming along??

vspro 01-24-2007 11:55 AM

it not pro.
But I like it

Brandon Sheley 01-24-2007 03:14 PM

demo please :)
sounds interesting

dlee 01-24-2007 03:18 PM

Demo and I'll install!

Qwest 01-24-2007 06:00 PM

I highly recommend you integrate this hack into it so it updates all the services to give you the blog and ping effect ;)

nonamer69 01-24-2007 06:50 PM

what is CES?

gersforum@gmail 01-24-2007 07:04 PM

Demo?

tteal 01-24-2007 07:50 PM

Demo? Screen shot?

trancetopia 01-24-2007 08:18 PM

Ok i've installed this on my forum but if I choose any forum to be a news forum, I get a page 404 error. I turn the news system off for the forum and it works again.

I'm interested to see what this is supposed to do.

Any idea why i'd get a 404 on any forum this is activated for?

Thanks

trancetopia 01-24-2007 08:29 PM

Oops didn't upload the news.php file.

I get the following error when trying to view the "news activated" forum:

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
                        customavatar.width, customavatar.height
                FROM user AS user
                LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
                LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
                WHERE user.userid =;

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6


thincom2000 01-24-2007 09:58 PM

Quote:

Originally Posted by Qwest (Post 1166548)
I highly recommend you integrate this hack into it so it updates all the services to give you the blog and ping effect ;)

If that hack already automatically updates services when a new thread or post is created, it should require no integration.

Quote:

Originally Posted by trancetopia (Post 1166631)
Oops didn't upload the news.php file.

I get the following error when trying to view the "news activated" forum

Please give me a little more information. The SQL error was good, but where was the link you clicked for example?

Mr_Snob 01-25-2007 12:07 AM

dont work for me.
when i click like sitename.com/news.php?f=2 its give error
Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
customavatar.width, customavatar.height
FROM user AS user
LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.userid =;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
Error Number : 1064

thincom2000 01-25-2007 12:13 AM

I cannot replicate this error on my installation.

Also that SQL code is not mine. What products do you have installed that use forumdisplay hooks?

Mr_Snob 01-25-2007 12:15 AM

Quote:

Originally Posted by thincom2000 (Post 1166718)
I cannot replicate this error on my installation.

Also that SQL code is not mine. What products do you have installed that use forumdisplay hooks?

(Hook) : forumdisplay_complete
  1. Forum Display Stats Cache Serialized
  2. Separate Sticky and Normal Threads
  3. Zoints Thread Tags (Forum display)

(Hook) : forumdisplay_start
  1. Cyb - Sticky-Closed-Poll Prefixes
  2. Do not show who's online for guests (2/3)
  3. Echo the Javascript Inline Subscription Management
  4. Forum Statistics (2)
  5. Separate Sticky and Normal Threads
  6. thread visitor counts

thincom2000 01-25-2007 12:24 AM

Please list the products. Some of those are plugin names and I can't find them on here without knowing the product.

Or we can save some time if you feel comfortable giving me a temp admin account to figure out what plugin is causing the error.

trancetopia 01-25-2007 07:17 AM

Ok - i've found what is causing the avatar query problem for me at least. It's the avatar thread mod that puts the avartar of the thread starter next to the thread title in forumdisplay.

trancetopia 01-25-2007 07:24 AM

I have found a little bug. The link for the post icon for the thread is broken. Here is what it's trying to display:

Code:

http://www.littlewales.com/images/greenfox/statusicon/post_.gif
You can see it here:

http://www.littlewales.com/news.php?f=202

thincom2000 01-25-2007 04:33 PM

Thanks. That little bug was actually on a low priority but I have fixed it for the next update. ;)

trancetopia 01-25-2007 06:19 PM

Quote:

Originally Posted by thincom2000 (Post 1167104)
Thanks. That little bug was actually on a low priority but I have fixed it for the next update. ;)

Excellent - many thanks.

I've just found another little problem. If you take a look at the same thread/forum:

Code:

http://www.littlewales.com/news.php?f=202
I've attached an image but I think the formatting is missing a </tr><tr> somewhere.

trancetopia 01-25-2007 06:25 PM

I'd also like to make a request - hope you don't mind.

Would it possible to have an option at forum level to select to display attachements or not.

And here is why:

I have some custom image positioning bbcode so I can really make the news article stand out. I'd like to attach the images I want to use with the thread and use them positioned within the post so having the ability to hide what is attached would really enhance the appearance of the article.

Would this be possible?

Thanks.

thincom2000 01-25-2007 08:35 PM

Sure that should be simple, just adding another setting. Will be in the next update.

Quote:

Originally Posted by trancetopia (Post 1167175)
I've just found another little problem. If you take a look at the same thread/forum:

Code:

http://www.littlewales.com/news.php?f=202
I've attached an image but I think the formatting is missing a </tr><tr> somewhere.

I'm not seeing the image in your forum level. Please note that html, bbcode, img code, and smilies are not being parsed on the forum level in version 1.0.1 (I have fixed this in the next update).

Also, I get a 404 when I try to view the thread, and session data is appearing in your sites URLs (this should be a problem elsewhere). Have you uploaded shownews.php?

EDIT: Seems to be working now. Thanks for pointing this out.

thincom2000 01-26-2007 05:50 PM

If anyone has found any more bugs, please report them so I can include them in the next update later tonight. :rolleyes:

trancetopia 01-26-2007 07:59 PM

I've haven't noticed anything after the last update.

Would there be any chance of adding the option to hide the attachements only when viewing the article?

thincom2000 01-27-2007 12:07 AM

Do you mean on the Comments page?

There is already the option to hide attachments at the forum level.

trancetopia 01-27-2007 07:44 AM

Oh yes - i've only just noticed the new option - brilliant! Thanks.

I'm not sure if this is working but please correct me if i'm wrong. I have the new option chosen but looking at the same link I posted previously:

Code:

http://www.littlewales.com/news.php?f=202
The thumbnail area is still visible for the article.

thincom2000 01-27-2007 02:27 PM

It is working fine on my installation. Please make sure you have reverted the templates and uploaded the newest version of news.php.

Also note that "yes" shows the attachments on NEWSDISPLAY while "no" hides them.

thincom2000 01-28-2007 03:47 AM

*bump*

Just bringing this to the top of list again because the new version is much much better than the previous one, in terms of performance at least. :D

TheMilkCarton 01-28-2007 08:40 AM

I'm not sure why, but when I upload everything and install the product, it keeps trying to access mydomain/news.php instead of mydomain/forums/news.php like it should be.....

Is this a bug in your code? Everything was obviously installed right.. the install was very simple.

I mean, I even put a copy of news.php and shownews.php in the site root despite what your instructions say to do, and I just get a bunch of PHP errors.

Am I missing something?

thincom2000 01-28-2007 11:43 PM

You're right. This was a bug in the code. Thanks for reporting this, I will include it in the next update.

TheMilkCarton 01-28-2007 11:56 PM

That's sad to hear. I was hoping it was my fault. :)

Is there any straightforward way of fixing it? I'd really like to try the system out.

thincom2000 01-29-2007 10:09 AM

I was just surprised no one had noticed it earlier.

Also a little surprised because the files were originally copies of unmodified forumdisplay.php and showthread.php (now quite modified), did you have to change those?

thincom2000 01-31-2007 03:00 AM

*bump*

I've made some very slight updates to the mod again. I would have released 1.0.8 already, but I would really like some more input for more features, any bugs I've missed, etc. before releasing such a minor update.


All times are GMT. The time now is 06:06 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.01513 seconds
  • Memory Usage 1,830KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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