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)

inciarco 02-01-2008 04:35 AM

Quote:

Originally Posted by inciarco (Post 1430484)
I Appreciate Your Help!! :up:

Preguntas y Respuestas

My Best Regards!! ;)

:)

Did you saw the missig Titles, thincom2000?? :confused: :(

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!! ;)

:)

blastup 02-02-2008 04:48 PM

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

thincom2000 02-02-2008 10:49 PM

Quote:

Originally Posted by inciarco (Post 1433668)
Did you saw the missig Titles, thincom2000?? :confused: :(

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']; 


Chadi 02-11-2008 01:08 AM

Quote:

Originally Posted by thincom2000 (Post 1412415)
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

thincom2000 02-11-2008 01:41 AM

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.

inciarco 02-11-2008 01:34 PM

Quote:

Originally Posted by thincom2000 (Post 1434921)
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??) :confused: :(

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!! :rolleyes: ;)

My Best Regards!! ;)

:)

maniguang 02-11-2008 01:52 PM

what is the major difference between this mod and the VBAdvanced CMPS news module?

thincom2000 02-12-2008 03:04 AM

Quote:

Originally Posted by maniguang (Post 1440781)
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?

Chadi 02-26-2008 06:38 PM

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

thincom2000 02-27-2008 12:38 AM

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.


All times are GMT. The time now is 11:40 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.01800 seconds
  • Memory Usage 1,776KB
  • 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_php_printable
  • (5)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