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 12-20-2007 01:57 AM

Yes it seems the issue is with that mod's postbit_attachment.php plugin file. I plan to install that mod shortly. When I do I'll let you know what changes need to be made. In the mean time I recommend disabling it.

Chadi 12-21-2007 10:56 PM

Unfortunately he claims it is not goldbrick

https://vborg.vbsupport.ru/showthrea...150491&page=87

But I hope you can help at least. I do not have the expertise to trace the problem :)

Chadi 12-31-2007 02:11 AM

Please help me out on this. I'd really appreciate it.

thincom2000 12-31-2007 05:12 AM

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') . '";');
    }
}
?>


blastup 01-01-2008 11:12 PM

does this work with 3.6.8 it doesnt seem to work for me on the news.php and displayed a blank but shownews.php seems to work.. do you have a solution for solving this problem? i have looked into the threads .. but cant really find anything .. i own millionwebmasters.com its on http://millionwebmasters.com/news-tips/ .. let me know asap thanks

thincom2000 01-03-2008 05:46 AM

I am not sure what may be causing your issue. It is likely another plugin you have that modifies forumdisplay.php. For extendability's sake with respect to other mods, news.php uses forumdisplay hooks, but this can sometimes lead to conflicts since the two files are not exactly the same. Try me on AIM around 1pm ET.

Chadi 01-06-2008 04:52 AM

Thanks thincom for your help on the goldmedia issue.

You know, GG also uses the highslide javascript now on file attachments (images). I had a highslide attachment hack installed from a while ago and you helped me get it working on CES. I wish to remove that one now that GB is handling it throughout the forum, except CES which is still using the old hack.

How can I have CES partake in the GB media attachment hack?

blastup 01-15-2008 02:07 AM

hey thanks for helping me earlier..
can you help me to display the news by date posted.. mine is displaying news by when comments are posted for some reason. let me know thanks alot.. i tried to find it but cant find it for somereason

blastup 01-16-2008 09:03 PM

nvm i found it .. so stupid lol.. thanks alot

blastup 01-16-2008 09:42 PM

[previewlength]value[/previewlength] hey does this work? i tried it but i think there must be some errors in it.. it only display the stuff in the [previewlength]value[/previewlength] in the newsdisplay and shownews ... can it do like show that [previewlength]value[/previewlength] just inside newsdisplay.. and shownews the whole thing the whole written thing. let me know thanks


All times are GMT. The time now is 10:59 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.01399 seconds
  • Memory Usage 1,761KB
  • 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_php_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