Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
CES Site News Details »»
CES Site News
Version: 1.6.3, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 01-23-2007 Last Update: 05-14-2008 Installs: 60
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #272  
Old 02-01-2008, 04:35 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
I Appreciate Your Help!! :up:

Preguntas y Respuestas

My Best Regards!!

Did you saw the missig Titles, thincom2000??

http://inciarco.com/foros/forumdisplay.php?f=332

The News - Blog, system of this Mod is Great, but with those Missing Titles the Users could get Confused about the Content of the Articles!!

My Best Regards!!

Reply With Quote
  #273  
Old 02-02-2008, 04:48 PM
blastup blastup is offline
 
Join Date: Feb 2007
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey is there a way on the forum make it not redirect to newsdisplay.php .. like keep it as showthread.php..but yea in newsdisplay.php you can still see it as a news. because i think i would like my visitors to see both styles.. in regular thread and news. because in regular thread you are more able to choose what topic you want to see! let me know thanks
Reply With Quote
  #274  
Old 02-02-2008, 10:49 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Did you saw the missig Titles, thincom2000??
Well you have so many mods installed that I can't really be sure. But try this...

In includes/ces_news_functions.php, find:
PHP Code:
$thread['threadtitle'] = fetch_censored_text($thread['threadtitle']); 
Add below:
PHP Code:
$thread['title'] = $thread['threadtitle']; 
Reply With Quote
  #275  
Old 02-11-2008, 01:08 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thincom2000 View Post
Replace goldbrick's postbit_attachment plugin file with this:

PHP Code:
<?php
/**
 * Enables attachments to use Goldbrick
 * 
 * @active          true
 * @version         $Revision: 87 $
 * @modifiedby      $LastChangedBy: digitallyepic_nix $
 * @lastmodified    $Date: 2007-10-21 22:21:30 -0700 (Sun, 21 Oct 2007) $
 */
global $vbulletin;
$forumid $vbulletin->GPC['forumid'];

if (
$vbulletin->forumcache[$forumid]['gb_enabled'])
{
    if (
$attachment['visible'] AND $vbulletin->options['gb_enabled'] AND $vbulletin->options['gb_attach'])
    {
        
        
$vbulletin->input->clean_array_gpc('r', array(
            
'gb_options_on'        => TYPE_BOOL,
            
'gb_title'            => TYPE_NOHTML,
            
'gb_width'            => TYPE_UINT,
            
'gb_height'            => TYPE_UINT,
            
'gb_autoplay'        => TYPE_BOOL,
            
'gb_loop'            => TYPE_BOOL
        
));
        
        if (
$vbulletin->GPC['gb_options_on'])
        {
        
            
$gb_options = array(
                
'use'        => $vbulletin->GPC['gb_options_on'],
                
'title'        => $vbulletin->GPC['gb_title'], 
                
'width'        => $vbulletin->GPC['gb_width'], 
                
'height'    => $vbulletin->GPC['gb_height'], 
                
'autoplay'    => $vbulletin->GPC['gb_autoplay'], 
                
'loop'        => $vbulletin->GPC['gb_loop']
            );
        }
        
        require_once(
DIR '/goldbrick/includes/functions_public.php');
        
        
$find addslashes('</td> </tr>');

        
$replace addslashes('</td> </tr>
        <tr> 
            <td colspan=\"2\">$attachment[goldbrick]</td>
        </tr>'
);

        
$vbulletin->templatecache['postbit_attachment'] = str_replace($find$replace$vbulletin->templatecache['postbit_attachment']);
        
        
$info goldbrick_process_attachment(
            
$attachment['attachmentid'], 
            
$vbulletin->userinfo['userid'], 
            
$post['postid'], 
            
$attachment['attachmentextension'],
            
$gb_options
        
);
        
        eval(
'$attachment[goldbrick] = "'  fetch_template('gb_player') . '";');
    }
}
?>



Could you please confirm if this is still valid with Goldbrick 1.5? Thanks
Reply With Quote
  #276  
Old 02-11-2008, 01:41 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Basically you just need to global $vbulletin and then replace all $this->registry with $vbulletin. This is because in the News module the process_attachments function is not inside a class if you have attachments enabled on Newsdisplay. If this becomes too much of an issue for you, you can always disable attachments on Newsdisplay from the mod's settings.
Reply With Quote
  #277  
Old 02-11-2008, 01:34 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thincom2000 View Post
Well you have so many mods installed that I can't really be sure. But try this...

In includes/ces_news_functions.php, find:
PHP Code:
$thread['threadtitle'] = fetch_censored_text($thread['threadtitle']); 
Add below:
PHP Code:
$thread['title'] = $thread['threadtitle']; 
I Just saw your message, thincom2000, and I confirm you that the Code Line you mention is missing in the File I Have of Version 1.5.1, so I guess that's the Problem; where should that Code Line be Located, for me to Include it?? (Under/Above what other Code Line??)

You should Check the Files in the Zip File and Confirm this!!

Perhaps would be Good an Update with the Updated Files you're currently Managing in your Forums!!

My Best Regards!!

Reply With Quote
  #278  
Old 02-11-2008, 01:52 PM
maniguang maniguang is offline
 
Join Date: Dec 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the major difference between this mod and the VBAdvanced CMPS news module?
Reply With Quote
  #279  
Old 02-12-2008, 03:04 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maniguang View Post
what is the major difference between this mod and the VBAdvanced CMPS news module?
I don't use VBAdvanced, so I don't really have an answer there. Maybe someone else can tackle this question?
Reply With Quote
  #280  
Old 02-26-2008, 06:38 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right now I have Highslide installed and also Godlbrick Media module which has highslide integrated. What I wish to do is remove the original Highslide hack as GB applies its own HS to the entire forum, except CES. How do I adjust CES to use GB highslide from hereon?

Thanks for any tips
Reply With Quote
  #281  
Old 02-27-2008, 12:38 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not familiar with the GB Highslide. Highslide is a default feature in vBulletin 3.7 and as such will be a default feature in the next update of CES Site News. So I really don't feel I should recommend attempting to integrate yet another highslide.

I've just been a little backed up since I have a bunch of mods that needed updating and I'm trying to get each one bug free before moving on to the next mod.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05393 seconds
  • Memory Usage 2,354KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete