vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - United-Forum Nivo Slider Widget (https://vborg.vbsupport.ru/showthread.php?t=267024)

Wizza 05-07-2012 02:40 PM

I really wanted to use this but when I installed it the articles was all showing in a row in the box and the images was at the top but not as images - as broken image icons.

Any help?

My debug info is:

DEBUG MODE is ON!
slider_img_filepath: /home/XXXXX/public_html/slider/
width: 650 height: 250
Strech or Crop?
show_articles_without_image: bool(false)
fallback_img: /home/XXXXXX/public_html/slider/uf_fallback_slider.png
#img: 10
description_length: 95
directory /home/XXXXXX/public_html

Warning: getimagesize(attachment.php?attachmentid=43&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=43&cid=24

Warning: getimagesize(attachment.php?attachmentid=42&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=42&cid=24

Warning: getimagesize(attachment.php?attachmentid=41&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=41&cid=24

Warning: getimagesize(attachment.php?attachmentid=40&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=40&cid=24

Warning: getimagesize(attachment.php?attachmentid=39&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=39&cid=24

Warning: getimagesize(attachment.php?attachmentid=38&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=38&cid=24

Warning: getimagesize(attachment.php?attachmentid=37&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=37&cid=24

Warning: getimagesize(attachment.php?attachmentid=36&ci d=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=36&cid=24
#articles - featured and databasepull int(8) int(8)

basilrath 05-07-2012 04:47 PM

Same issues on the new software so dropped onto

https://vborg.vbsupport.ru/showthrea...268817&page=18

MaxLiao 05-14-2012 12:54 PM

I do see the fallback image, but I am not seeing the actual preview images.

Quote:

Originally Posted by Mooff (Post 2221916)
Q: Captions appear and the slider works, but i can't see images
A:
- Do the images show up in the folder you specified? NO
- Does the fallback image show up if you set the switch to yes? YES

I made the change as indicated HERE, and we still have the same issue - with this log as the result.
DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
Strech or Crop?
show_articles_without_image: bool(false)
fallback_img: slider/uf_fallback_slider.png
#img: 10
description_length: 95
directory /***/***/***/***/***/lom_vB4
Error occurred: picture is not readable.http://legionofmyth.com/attachment.p...ntid=21&cid=24
Error occurred: picture is not readable.http://legionofmyth.com/attachment.p...ntid=20&cid=24
#articles - featured and databasepull int(2) int(10)
I also verified the following:

Quote:

Originally Posted by Reycer (Post 2320461)
I got it working. Had to add a file called php5.ini and add

Code:

allow_url_fopen on

This command is set to on.

If I just simply follow the URL in a browser (http://legionofmyth.com/attachment.p...ntid=21&cid=24) it works just fine.

Website URL: http://legionofmyth.com

Crotan 05-18-2012 12:08 AM

Quote:

Originally Posted by MaxLiao (Post 2329283)
I do see the fallback image, but I am not seeing the actual preview images.



I made the change as indicated HERE, and we still have the same issue - with this log as the result.
DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
Strech or Crop?
show_articles_without_image: bool(false)
fallback_img: slider/uf_fallback_slider.png
#img: 10
description_length: 95
directory /***/***/***/***/***/lom_vB4
Error occurred: picture is not readable.http://legionofmyth.com/attachment.p...ntid=21&cid=24
Error occurred: picture is not readable.http://legionofmyth.com/attachment.p...ntid=20&cid=24
#articles - featured and databasepull int(2) int(10)
I also verified the following:

This command is set to on.

If I just simply follow the URL in a browser (http://legionofmyth.com/attachment.p...ntid=21&cid=24) it works just fine.

Website URL: http://legionofmyth.com

If I follow that attachment URL I get
Quote:

Invalid Attachment specified. If you followed a valid link, please notify the administrator
Did you try making attachments visible to guests? Like it says in the FAQ

Quote:

Q: Attachments aren't working for me
A: If your guests do not have the rights to see attachments - neither does the slider.

MaxLiao 05-18-2012 07:35 AM

So, I checked the permissions - I knew I had changed them to allow guests to d/l attachments. Well, I was only partially right. I had changed the usergroup and the individual forum permissions, but I had not changed the vBulletin CMS permissions. Once I changed the permissions there the mod is working.

Thank you.

mjay1113 05-27-2012 02:50 AM

does this work on VB4.2? I uploaded the files and widget but nothing appears..

Losias 05-31-2012 12:26 PM

Quote:

Originally Posted by mjay1113 (Post 2333359)
does this work on VB4.2? I uploaded the files and widget but nothing appears..

Same here. Nothing appears for me since 4.2.


Here is the debug code.

Code:

slider_img_filepath: nivoslider/
width: 1024 height: 250
Strech or Crop?
show_articles_without_image: bool(true)
fallback_img: nivoslider/uf_fallback_slider.png
#img: 10
description_length: 180
directory /home/XXXXXX/public_html

Warning: getimagesize(attachment.php?attachmentid=39&cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=39&cid=24
Warning: article has no previewimage or sprite is no ressource.
Warning: article has no previewimage or sprite is no ressource.
#articles - featured and databasepull int(9) int(9)


zooki 06-08-2012 05:21 PM

Got it to work, just can not see the images..... :S

iM on 4.2

Code:

DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
Strech or Crop?
show_articles_without_image: bool(false)
fallback_img: slider/uf_fallback_slider.png
#img: 10
description_length: 95
directory /mnt/Target01/323293/www.mywebsite.com/web/content
Error occurred: picture is not readable.attachment.php?attachmentid=51&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=50&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=45&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=41&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=38&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=37&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=36&cid=24
Error occurred: picture is not readable.attachment.php?attachmentid=35&cid=24
#articles - featured and databasepull int(8) int(9)

allow_url_fopen is ON

charlesr 06-15-2012 11:51 PM

Same issue here. Using another temporarily, but would like to come back to this one when fixed.

MaxLiao 06-24-2012 02:38 PM

I haven't started to use another one yet, but I'm considering doing that in the near future.

I like this one, and will stick with it until I just can't do it anymore, so hopefully it gets an update soon. :)

[EDIT]

I just updated to PHP 5.3 and made one php.ini config change allow_url_fopen = On and now this mod (and everything else) on my site seems to be working perfectly. I don't know if it will help anyone else, but that did the trick for me.

Naijasite 06-26-2012 11:25 PM

I have installed the slider on my forum and it's working fine. But the slider is unable to pull thumbnail images from the Article.http://www.naijafinder.com/content/

Note: All my Article images are not uploaded images but they are copied and past into the Article.


The slider default images it's showing on my forum but can't pull my Article images.
Please how do i make the slider to pull thumbnail images from my Articles.

charlesr 06-27-2012 09:05 AM

Your site is running 4.2
This slider does not work without modification on 4.2 (see recent posts)

forumistat 06-29-2012 01:21 PM

Can someone help me set up this slider i only get a blank white box with nothing on it...

manyaa 07-25-2012 07:29 PM

1. My nivo-slider files and fallback_slider.png are at this location: ..stories.com/forum/slider/
2. Similarly all my VB files for cms, blog, forum are in: ..stories.com/forum/
( meaning slider and all files are in a folder named forum.)

3. I created php widget by making following changes in your code:
$fallback_img = $slider_img_filepath . 'fallback_slider.png';
$slider_img_filepath = '/slider/';

4. But the linked images and linked articles are not showing up. They are being linked as follows:
..stories.com/content.php?r=50-destination
..stories.com/slider/fallback_slider.png

5. While the actual location of articles and images are:
..stories.com/forum/slider/fallback_slider.png
..stories.com/forum/content.php?r=50-destination

6. Question: Where and what change should I be making to correct this problem? Thank you so much for your help.

dormopoco 08-11-2012 03:21 PM

A little question: Hot to storage image in folder /images/ ad script in another folder?

image in clientscript/slider/images/
script in clientscript/slider/

tnx for support

And how to setup only fade effect?

Elenna 08-11-2012 08:40 PM

Personally I would recommend NOT storing the images in the clientscript folder. That's a rather sensitive folder that should remain secure, so I wouldn't have a folder in there (images) that is chmod 777.

Either way, I think the mod is hard-coded to assume that the script and image directory is the same, and you'd need to change a bunch of stuff. IMHO it's just easier to follow the instructions and leave both in the same folder.

dormopoco 08-12-2012 06:36 AM

Quote:

Originally Posted by Elenna (Post 2356290)
Personally I would recommend NOT storing the images in the clientscript folder. That's a rather sensitive folder that should remain secure, so I wouldn't have a folder in there (images) that is chmod 777.

TNX for support

I tried and tried but I can not only set the fade effect.

Elenna 08-12-2012 02:06 PM

Quote:

Originally Posted by dormopoco (Post 2356349)
TNX for support

I tried and tried but I can not only set the fade effect.

Do you mean that it isn't transitioning between images at all? Or it IS pulling your images successfully, but that you only want to have it do the "Fade" effect and not any of the other ones?

If you only want the fade effect, edit your widget code like this:

Find:
Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider();
    });
    </script>

Replace with:
Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider({
        effect: 'fade' // Specify sets like: 'fold,fade,sliceDown'
                });
    });
    </script>

The available "options" for the red text are:
sliceDo
  • wn
  • sliceDownLeft
  • sliceUp
  • sliceUpLeft
  • sliceUpDown
  • sliceUpDownLeft
  • fold
  • fade
  • random
  • slideInRight
  • slideInLeft
  • boxRandom
  • boxRain
  • boxRainReverse
  • boxRainGrow
  • boxRainGrowReverse

You can choose more than one by putting a comma between them (like effect: 'fade, sliceUp, boxRain').


Another quick tip, if you want to have it re-get your article images, you can either FTP into that images folder and delete any of the article___ ones, OR edit the widget and change the cache time to a low number (like 1 minute). Don't forget to change it back. :)

dormopoco 08-12-2012 06:33 PM

Quote:

Originally Posted by Elenna (Post 2356415)
Do you mean that it isn't transitioning between images at all? Or it IS pulling your images successfully, but that you only want to have it do the "Fade" effect and not any of the other ones?

If you only want the fade effect, edit your widget code like this:

Find:
Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider();
    });
    </script>

Replace with:
Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider({
        effect: 'fade' // Specify sets like: 'fold,fade,sliceDown'
                });
    });
    </script>


Not Working, :-( whit this code i see only one line. Solved now the correct code is:


HTML Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider({
        effect: "fade"
                });
    });
    </script>


Elenna 08-12-2012 11:03 PM

Hmm, strange. The only difference is removing the "Specify sets...." comment? Wouldn't have thought that would matter.

Glad you got it working, though!

dormopoco 08-13-2012 11:17 AM

The differense is:

'fade'

to

"fade"

Elenna 08-13-2012 01:09 PM

haha Oops, thanks. :)

dormopoco 08-13-2012 01:16 PM

TNx at you.

Elenna 08-14-2012 01:54 AM

I'm not sure if this has been mentioned before, but I adapted code from this site to make it crop your Slider image from the direct center of the article image.

I really can't give support for this, since I barely managed to figure it out myself, but if you DO give it a try, let us know if it works!

PHP Code:

// DEBUG MODUS !
$debug_modus false;

if(
$debug_modus === false)
{
    
ob_start();
}

//nivo slider - uf - vb.org version
//set these values as you need them:

//your slider folder - has to be read and writeable
//folder where all slider files are saved
$slider_img_filepath 'slider/';   

//picture width and height !same as in the CSS FILE! - was 650
$maxwidth 385;                                  
$maxheight 250;    

//do you want images without previewimage to be shown? slider is using the fallback then
$show_articles_without_image false;           

//picture shown if your articles has no previewpicture
$fallback_img $slider_img_filepath 'Fallback.jpg';  

//hardcoded maximum is 20 - if you want more just ask
$number_of_articles_shown 10;                                
            
//lengh in characters of the article descriptions - was 95
$description_length 50;

//stretch picture or crop them? false = strechting (default) true = cropping (beta)
$crop true;


//Debug Messages
if($debug_modus)
{
    echo 
"<span style='color:red;'>DEBUG MODE is ON! </span><br />";
    echo 
"slider_img_filepath: $slider_img_filepath <br />";
    echo 
"width: $maxwidth   height: $maxheight <br />";
    echo 
"Strech or Crop? $crop <br />";
    echo 
"show_articles_without_image: "
        
var_dump($show_articles_without_image); 
        echo 
" <br />";
    echo 
"fallback_img: $fallback_img <br />";
    echo 
"#img: $number_of_articles_shown <br />";
    echo 
"description_length: $description_length <br />";
    echo 
'directory ' DIR '<br />';

}




$article_type vb_Types::instance()->getContentTypeID("vBCms_Article");
$time TIMENOW;
 
if(!
extension_loaded('gd'))
{
    echo 
'<span style="color:red">Error occurred:</span> Your System does not support the GD-Libary. Please install the GD-Libary.<br />';
}
       
    
$article_get vB::$db->query_read('
        SELECT
            article.pagetext,
            article.previewimage,
            node.url,
            node.publishdate,
            node.parentnode,
            parentnode.url AS parenturl,
            thread.replycount,
            info.title,
            node.nodeid,            
            GROUP_CONCAT( category.category )
        FROM
            '
.TABLE_PREFIX.'cms_article AS article INNER JOIN
            '
.TABLE_PREFIX.'cms_node AS node 
                ON (node.contentid = article.contentid AND node.contenttypeid = ' 
vb::$db->sql_prepare($article_type) .') INNER JOIN
            '
.TABLE_PREFIX.'cms_nodeinfo AS info 
                ON info.nodeid = node.nodeid INNER JOIN
            '
.TABLE_PREFIX.'cms_node AS parentnode 
                ON parentnode.nodeid = node.parentnode LEFT JOIN
            '
.TABLE_PREFIX.'thread AS thread ON thread.threadid = info.associatedthreadid LEFT JOIN
            '
.TABLE_PREFIX.'cms_nodecategory AS nodecategory ON nodecategory.nodeid = node.nodeid LEFT JOIN
            '
.TABLE_PREFIX.'cms_category AS category ON nodecategory.categoryid = category.categoryid 
        WHERE
            node.setpublish = 1 AND
            node.publishdate > '
vb::$db->sql_prepare($time) .' -34560000 AND
            node.publishdate < '
vb::$db->sql_prepare($time) .
        GROUP BY node.nodeid
        ORDER BY node.publishdate
        DESC LIMIT 20'
);

    
$database_articles = array();
    
    
/* my version of sorting the articles via relevance - i'll keep it in case someone is interested*/
    
while($article vB::$db->fetch_array($article_get))
    {
        
$article['value'] = ( - ($time $article['publishdate'] ) / 86400 ) * ( - ($time $article['publishdate'] ) / 86400 ) * ( - ($time $article['publishdate'] ) / 86400 ) + (10 $article['replycount']);
        
$database_articles[] = $article;        
    }
    
    foreach(
$database_articles as $c => $key)
    {
        
$sort_value[] = $key['value'];
    }
    
    
array_multisort($sort_valueSORT_DESC$database_articles);    
    
    
//
    
$i 0;
    
$section_array = array();
    
$featured_articles = array();
    
    foreach(
$database_articles AS $article)
    {
        
$section_array[$article['parentnode']]++;

        
$categories explode(',' $article['GROUP_CONCAT( category.category )']);
     
        if(
$show_articles_without_image == true OR $article['previewimage'])
        {
            if(
$section_array[$article['parentnode']] < 50 AND $i $number_of_articles_shown)
            {
                if(
$debug_modus == true OR !file_exists($slider_img_filepath 'slide_' $article['nodeid'] . '.jpg'))
                {
                    
//rebuild image to the height and width we want in the slider 
                    //called sprite since i got the code from our sprite addon :P
                    
$sprite imagecreatetruecolor($maxwidth$maxheight);
                    if(
is_resource($sprite) AND $article['previewimage'] )
                    {                                   
                                                if(
substr($article['previewimage'],0,10) == 'attachment')
                                                {
                                                       
$article['previewimage'] = 'http://uat.echoesoftyria.com/' $article['previewimage'];
                                                };
                        
$imageinfo getimagesize($article['previewimage']);
                        if(
is_array($imageinfo))
                        {   
                            
$image null;
                            switch(
$imageinfo[2])
                            {
                                case 
IMAGETYPE_PNG:
                                
$image imagecreatefrompng($article['previewimage']);
                                break;
                                case 
IMAGETYPE_GIF:
                                
$image imagecreatefromgif($article['previewimage']);
                                break;
                                case 
IMAGETYPE_JPEG:
                                
$image imagecreatefromjpeg($article['previewimage']);
                                break;
                                default:
                                echo 
'<span style="color:red">Error occurred:</span> Unknown image format. ' $article['previewimage']. '<br />';
                                break;                        
                            }
                            
                            if(!
is_resource($image))
                            {
                                
//resiziing did not work - we are using the fallback image.
                                
echo '<span style="color:red">Error occurred:</span> imagecreation failed. ' $article['previewimage']. '<br />';
                                
$article['previewimage'] = $fallback_img;
                            }
                            else
                            {
                                
$img_width $imageinfo[0];
                                
$img_height $imageinfo[1];                            
                                
                                if(
$crop == false)
                                {                                    
                                    
imagecopyresampled($sprite$image0000$maxwidth$maxheight$img_width$img_height );
                                    
imagedestroy($image);
                                }
                                else
                                {
                                    
//cropping
                                    
$ratiox $maxheight $img_height ;
                                    
$ratioy $maxwidth $img_width ;
                                    
$new_height $img_height;
                                    
$new_width $img_width;
                                    
                                    if (
$maxheight $img_height OR $maxwidth $img_width)
                                    {
                                        if(
$ratiox $ratioy)
                                        {
                                            
$new_height round($img_height $ratiox);
                                            
$new_width round($img_width $ratiox);
                                        }
                                        else
                                        {
                                            
$new_height round($img_height $ratioy);
                                            
$new_width round($img_width $ratioy);
                                        }                                        
                                    }

                                    
$x_mid $new_width/2;  //horizontal middle - NEW CODE
                                    
$y_mid $new_height/2//vertical middle - NEW CODE

                                    // WAS $cropx = $new_height - $maxheight
                                    // WAS $cropy = $new_width - $maxwidth

                                    
                                    // WAS: imagecopyresampled($sprite, $image, 0, 0, 0, 0, $new_width, $new_height, $img_width, $img_height);
                                    
imagecopyresampled($sprite$image00, ($x_mid-($maxwidth/2)), ($y_mid-($maxheight/2)), $img_width$img_height$img_width$img_height); // NEW CODE
                                    
imagedestroy($image);
                                    
                                }
                                
                                
                                
$img_filepath $slider_img_filepath 'slide_' $article['nodeid'] . '.jpg';
                                
$success imagejpeg($spriteDIR  . ($img_filepath[0] != DIRECTORY_SEPARATOR ?  DIRECTORY_SEPARATOR '') . $img_filepath);
                                
imagedestroy($sprite);
                                if(
$success)
                                {
                                    
$article['previewimage'] = $img_filepath;
                                }
                                else
                                {

                                    
$img_filepath DIR  . ($img_filepath[0] != DIRECTORY_SEPARATOR ?  DIRECTORY_SEPARATOR '') . $img_filepath;
                                    echo 
'<span style="color:red">Error occurred:</span> imagejpeg failed. ' $article['previewimage']. '<br />
                                    directory: '
$img_filepath ;
                                    
                                    
$article['previewimage'] = $fallback_img;
                                }
                            }
                            
                        }
                        else
                        {
                            
//resiziing did not work - we are using the fallback image.
                            
echo '<span style="color:red">Error occurred:</span> picture is not readable.' $article['previewimage']. '<br /> ';
                            
$article['previewimage'] = $fallback_img;
                        }                  
                    }
                    else
                    {
                        
//resiziing did not work - we are using the fallback image.
                        
echo '<span style="color:red">Warning:</span> article has no previewimage or sprite is no ressource. ' $article['previewimage']. '<br />';
                        
$article['previewimage'] = $fallback_img;
                    }
                }
                else
                {
                    
//we already have the image, no need to resize or crop anything
                    
$article['previewimage'] = $slider_img_filepath 'slide_' $article['nodeid'] . '.jpg';
                }

                
/*remove everything from the previewtext - html and bb. I do not want bold or colored text there. Cut to a decent length.*/        
                
$article['pagetext'] = strip_bbcode($article['pagetext'], truetruefalsetruefalse);

                
$article['previewtext'] = strip_tags($article['pagetext'], '<a>');
                    
                
$len $description_length;
                if ( 
strlen($article['previewtext']) > $len )
                {                    
                    
$article['previewtext'] = substr$article['previewtext'] , strrpossubstr$article['previewtext'], 0$len), ' ' ));
                }   

                
$i++;
                
//Build Array
                
$article_neu = array();
                
$article_neu['description'] = '<h2 style="font-weight:bold; font-size: 14px">'$article['title'].'</h2><span>'$article['previewtext'] .'</span> <a href="/content.php?r=' $article['nodeid'] . '-' $article['url'] . '">read on</a>';
                
$article_neu['htmlcaptionname'] = 'htmlcaption' $article['nodeid'] ;
                
$article_neu['picture'] = '<a href="/content.php?r=' $article['nodeid'] . '-' $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'$article['nodeid'] . '" /></a>';
                
                
$featured_articles[] = $article_neu;
            }
        }
    }
    
    
//Randomize Array
    //shuffle($featured_articles);

    //Debug Messages
    
if($debug_modus)
    {
        echo 
'#articles - featured and databasepull ';
        
var_dump(count($featured_articles));
        
var_dump(count($database_articles));
    }

    
$output_bits '
    <link rel="stylesheet" href="' 
.$slider_img_filepath'nivo-slider.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="' 
.$slider_img_filepath'nivo-slider_uf_theme.css" type="text/css" media="screen" />
    <div style="height:' 
$maxheight 'px;">
    <div id="wrapper">
        <div class="slider-wrapper theme-uf">
            <div class="ribbon"></div>
            <div id="slider" class="nivoSlider">'
;
            
                foreach(
$featured_articles AS $article)
                {
                    
$output_bits .= $article['picture'];
                }
            
$output_bits .= '
            </div>'
;
            
            foreach(
$featured_articles AS $article)
            {
                
$output_bits .= '<div id="' $article['htmlcaptionname'] . '" class="nivo-html-caption">' $article['description'] .'</div>';
            }
            
            
$output_bits .= '         
        </div>

    </div>
    <script type="text/javascript" src="' 
.$slider_img_filepath'jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="' 
.$slider_img_filepath'jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider();
    });
    </script>
    </div>
    '
;
        
$output $output_bits;
 
if(
$debug_modus === false)
{
    
ob_end_clean();        



Elenna 08-15-2012 01:35 AM

Arg, I'm not sure what I did! I have two sites, a test site and a live site (which we are getting ready to launch).

Now the Test site was an upgrade from a 4.1 board, but Live site is a fresh 4.2 install. They are using the same hosting company and both using the php.ini and php5.ini.

On my Test site things are working great. On Live, I'm getting the dreaded "Blank Box", with no images and no article text. The arrows show up and when using the Inspect Element (in Chrome) I see the script "running" and trying to switch between things.

Images are not being saved to the directory, and the fallback image isn't being used.

I triple-checked and the files and code are the exact same between my test and live sites.

My CMS permissions are the same (allow guests to download attachments). I re-copied the "no background" template.

My file permissions are the same between sites, and I'm not referencing the test site in any way.

The source code on my Test site references one jQuery line from Google, but that isn't interfering with the Test site. For kicks I copied the line into Live, and it still didn't work.

PROBLEM FIXED - please see my next post.

Elenna 08-15-2012 05:38 PM

I found and fixed my issue!! After running various queries based on the code, I figured out that it only shows articles with a Publish Date of the last 12-13 months. Since we are still building our Live site, we were testing with a few older articles, with Publish Dates in 2010.

Once I changed the dates to something more recent - voila! I have a slider. :)

Hope this helps someone else some day.

bintoro 08-22-2012 12:23 PM

:( I give up after six month on how to figure out slider in cms. Uninstalled and thanks.

DemoVFW 08-28-2012 09:37 PM

Can anyone make this work for 4.2? It's exactly what I need. I'll pay for help. PM me if interested. Thanks.

basilrath 08-28-2012 09:53 PM

use the vf coders slide its effective

DemoVFW 08-29-2012 01:40 AM

Quote:

Originally Posted by basilrath (Post 2360811)
use the vf coders slide its effective

Thanks for the suggestion, but I really prefer the look of this one. Thanks though.

MaxLiao 08-31-2012 05:13 AM

So, my slider stopped working. For various reasons it took a while for me to discover this sad fact. After going through all of the troubleshooting steps I was about ready to remove this dang slider mod and try something else. As a last resort, I checked my php.ini file. Right away this jumped out at me: it was set to version 5.2.

Due to some other troubleshooting, my webhost changed my PHP version back to 5.2 (without telling me). I bumped that baby back up to version 5.3 and the slider is working great! I don't claim this will work for everyone, but if you're having troubles, check it out.

Quote:

Originally Posted by MaxLiao (Post 2342545)
I just updated to PHP 5.3 and made one php.ini config change allow_url_fopen = On and now this mod (and everything else) on my site seems to be working perfectly. I don't know if it will help anyone else, but that did the trick for me.


initiald 09-01-2012 09:01 AM

Yeah this work on 4.2. I have it going smoothly.

Jamie G 09-01-2012 11:03 PM

I cannot get this working on 4.2.0. I get the slider, the animation and the full bck image and the article text. However, I cannot get the images to display.

Additionally, the images link incorrectly. My site is stored in a folder, not root.

So, my installation is in root/V2. Article links point to domain.com/v2/content.php - but the slider points to domain.com/content.php - does this plugin not work unless the vB install is in the root?

Hopefully someone can help ASAP.

dormopoco 09-03-2012 10:32 AM

Not Working whit vbulletin 4.2.0 can't open attachment error. My code is:

HTML Code:

// DEBUG MODUS !
$debug_modus = false;

if($debug_modus === false)
{
        ob_start();
}

//nivo slider - uf - vb.org version
//set these values as you need them:

//your slider folder - has to be read and writeable
//folder where all slider files are saved
$slider_img_filepath = 'clientscript/slider/'; 

//picture width and height !same as in the CSS FILE!
$maxwidth = 470;                                 
$maxheight = 300;   

//do you want images without previewimage to be shown? slider is using the fallback then
$show_articles_without_image = false;         

//picture shown if your articles has no previewpicture
$fallback_img = $slider_img_filepath . 'uf_fallback_slider.png'; 

//hardcoded maximum is 20 - if you want more just ask
$number_of_articles_shown = 10;                               
           
//lengh in characters of the article descriptions
$description_length = 95;

//stretch picture or crop them? false = strechting (default) true = cropping (beta)
$crop = true;


//Debug Messages
if($debug_modus)
{
        echo "<span style='color:red;'>DEBUG MODE is ON! </span><br />";
        echo "slider_img_filepath: $slider_img_filepath <br />";
        echo "width: $maxwidth  height: $maxheight <br />";
        echo "Strech or Crop? $crop <br />";
        echo "show_articles_without_image: ";
        var_dump($show_articles_without_image);
        echo " <br />";
        echo "fallback_img: $fallback_img <br />";
        echo "#img: $number_of_articles_shown <br />";
        echo "description_length: $description_length <br />";
        echo 'directory ' . DIR . '<br />';

}




$article_type = vb_Types::instance()->getContentTypeID("vBCms_Article");
$time = TIMENOW;
 
if(!extension_loaded('gd'))
{
        echo '<span style="color:red">Error occurred:</span> Your System does not support the GD-Libary. Please install the GD-Libary.<br />';
}
     
        $article_get = vB::$db->query_read('
        SELECT
            article.pagetext,
            article.previewimage,
            node.url,
            node.publishdate,
            node.parentnode,
            parentnode.url AS parenturl,
            thread.replycount,
            info.title,
            node.nodeid,           
            GROUP_CONCAT( category.category )
        FROM
            '.TABLE_PREFIX.'cms_article AS article INNER JOIN
            '.TABLE_PREFIX.'cms_node AS node
                ON (node.contentid = article.contentid AND node.contenttypeid = ' . vb::$db->sql_prepare($article_type) .') INNER JOIN
            '.TABLE_PREFIX.'cms_nodeinfo AS info
                ON info.nodeid = node.nodeid INNER JOIN
            '.TABLE_PREFIX.'cms_node AS parentnode
                ON parentnode.nodeid = node.parentnode LEFT JOIN
            '.TABLE_PREFIX.'thread AS thread ON thread.threadid = info.associatedthreadid LEFT JOIN
            '.TABLE_PREFIX.'cms_nodecategory AS nodecategory ON nodecategory.nodeid = node.nodeid LEFT JOIN
            '.TABLE_PREFIX.'cms_category AS category ON nodecategory.categoryid = category.categoryid
        WHERE
            node.setpublish = 1 AND
            node.publishdate > '. vb::$db->sql_prepare($time) .' -34560000 AND
            node.publishdate < '. vb::$db->sql_prepare($time) .' AND
            category.categoryid IN ( 54 )
        GROUP BY node.nodeid
        ORDER BY node.publishdate
        DESC LIMIT 20');

    $database_articles = array();
   
    /* my version of sorting the articles via relevance - i'll keep it in case someone is interested*/
    while($article = vB::$db->
fetch_array($article_get))
    {
        $article['value'] = ( 5 - ($time - $article['publishdate'] ) / 86400 ) * ( 5 - ($time - $article['publishdate'] ) / 86400 ) * ( 5 - ($time - $article['publishdate'] ) / 86400 ) + (10 * $article['replycount']);
        $database_articles[] = $article;       
    }
   
    foreach($database_articles as $c => $key)
    {
        $sort_value[] = $key['value'];
    }
   
    array_multisort($sort_value, SORT_DESC, $database_articles);   
   
    //
    $i = 0;
    $section_array = array();
    $featured_articles = array();
       
    foreach($database_articles AS $article)
    {
        $section_array[$article['parentnode']]++;

        $categories = explode(',' , $article['GROUP_CONCAT( category.category )']);
   
        if($show_articles_without_image == true OR $article['previewimage'])
        {
            if($section_array[$article['parentnode']] < 50 AND $i < $number_of_articles_shown)
            {
                                if($debug_modus == true OR !file_exists($slider_img_filepath . 'slide_' . $article['nodeid'] . '.jpg'))
                                {
                                        //rebuild image to the height and width we want in the slider
                                        //called sprite since i got the code from our sprite addon :P
                                        $sprite = imagecreatetruecolor($maxwidth, $maxheight);
                                        if(is_resource($sprite) AND $article['previewimage'] )
                                        {                                                 
                                                $imageinfo = getimagesize($article['previewimage']);
                                                if(is_array($imageinfo))
                                                { 
                                                        $image = null;
                                                        switch($imageinfo[2])
                                                        {
                                                                case IMAGETYPE_PNG:
                                                                $image = imagecreatefrompng($article['previewimage']);
                                                                break;
                                                                case IMAGETYPE_GIF:
                                                                $image = imagecreatefromgif($article['previewimage']);
                                                                break;
                                                                case IMAGETYPE_JPEG:
                                                                $image = imagecreatefromjpeg($article['previewimage']);
                                                                break;
                                                                default:
                                                                echo '<span style="color:red">Error occurred:</span> Unknown image format. ' . $article['previewimage']. '<br />';
                                                                break;                       
                                                        }
                                                       
                                                        if(!is_resource($image))
                                                        {
                                                                //resiziing did not work - we are using the fallback image.
                                                                echo '<span style="color:red">Error occurred:</span> imagecreation failed. ' . $article['previewimage']. '<br />';
                                                                $article['previewimage'] = $fallback_img;
                                                        }
                                                        else
                                                        {
                                                                $img_width = $imageinfo[0];
                                                                $img_height = $imageinfo[1];                                                       
                                                               
                                                                if($crop == false)
                                                                {                                                                       
                                                                        imagecopyresampled($sprite, $image, 0, 0, 0, 0, $maxwidth, $maxheight, $img_width, $img_height );
                                                                        imagedestroy($image);
                                                                }
                                                                else
                                                                {
                                                                        //cropping
                                                                        $ratiox = $maxheight / $img_height ;
                                                                        $ratioy = $maxwidth / $img_width ;
                                                                        $new_height = $img_height;
                                                                        $new_width = $img_width;
                                                                       
                                                                        if ($maxheight >
$img_height OR $maxwidth > $img_width)
                                                                        {
                                                                                if($ratiox > $ratioy)
                                                                                {
                                                                                        $new_height = round($img_height * $ratiox);
                                                                                        $new_width = round($img_width * $ratiox);
                                                                                }
                                                                                else
                                                                                {
                                                                                        $new_height = round($img_height * $ratioy);
                                                                                        $new_width = round($img_width * $ratioy);
                                                                                }                                                                               
                                                                        }
                                                                        $cropx = $new_height - $maxheight;
                                                                        $cropy = $new_width - $maxwidth;
                                                                       
                                                                        imagecopyresampled($sprite, $image, 0, 0, 0, 0, $new_width, $new_height, $img_width, $img_height);
                                                                        imagedestroy($image);
                                                                       
                                                                }
                                                               
                                                               
                                                                $img_filepath = $slider_img_filepath . 'slide_' . $article['nodeid'] . '.jpg';
                                                                $success = imagejpeg($sprite, DIR  . ($img_filepath[0] != DIRECTORY_SEPARATOR ?  DIRECTORY_SEPARATOR : '') . $img_filepath);
                                                                imagedestroy($sprite);
                                                                if($success)
                                                                {
                                                                        $article['previewimage'] = $img_filepath;
                                                                }
                                                                else
                                                                {
                                                                        $img_filepath = DIR  . ($img_filepath[0] != DIRECTORY_SEPARATOR ?  DIRECTORY_SEPARATOR : '') . $img_filepath;
                                                                        echo '<span style="color:red">Error occurred:</span> imagejpeg failed. ' . $article['previewimage']. '<br />
                                                                        directory: '. $img_filepath ;
                                                                       
                                                                        $article['previewimage'] = $fallback_img;
                                                                }
                                                        }
                                                       
                                                }
                                                else
                                                {
                                                        //resiziing did not work - we are using the fallback image.
                                                        echo '<span style="color:red">Error occurred:</span> picture is not readable.' . $article['previewimage']. '<br /> ';
                                                        $article['previewimage'] = $fallback_img;
                                                }                 
                                        }
                                        else
                                        {
                                                //resiziing did not work - we are using the fallback image.
                                                echo '<span style="color:red">Warning:</span> article has no previewimage or sprite is no ressource. ' . $article['previewimage']. '<br />';
                                                $article['previewimage'] = $fallback_img;
                                        }
                                }
                                else
                                {
                                        //we already have the image, no need to resize or crop anything
                                        $article['previewimage'] = $slider_img_filepath . 'slide_' . $article['nodeid'] . '.jpg';
                                }

                /*remove everything from the previewtext - html and bb. I do not want bold or colored text there. Cut to a decent length.*/       
                $article['pagetext'] = strip_bbcode($article['pagetext'], true, true, false, true, false);

                $article['previewtext'] = strip_tags($article['pagetext'], '<a>');
                   
                $len = $description_length;
                if ( strlen($article['previewtext']) > $len )
                {                   
                    $article['previewtext'] = substr( $article['previewtext'] , 0 , strrpos( substr( $article['previewtext'], 0, $len), ' ' ));
                } 

                $i++;
                //Build Array
                $article_neu = array();
                $article_neu['description'] = '<h2 style="font-weight:bold; font-size: 14px">'. $article['title'].'</h2><span>'. $article['previewtext'] .'</span> <a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">Leggi Altro</a>';
                $article_neu['htmlcaptionname'] = 'htmlcaption' . $article['nodeid'] ;
                $article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $article['nodeid'] . '" /></a>';
               
                $featured_articles[] = $article_neu;
            }
        }
    }
   
    //Randomize Array
    //shuffle($featured_articles);

        //Debug Messages
        if($debug_modus)
        {
                echo '#articles - featured and databasepull ';
                var_dump(count($featured_articles));
                var_dump(count($database_articles));
        }

   
$output_bits = '
    <link rel="stylesheet" href="' .$slider_img_filepath. 'nivo-slider.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="' .$slider_img_filepath. 'nivo-slider_uf_theme.css" type="text/css" media="screen" />
    <div style="height:' . $maxheight . 'px;">
    <div id="wrapper">
        <div class="slider-wrapper theme-uf">
            <div class="ribbon"></div>
            <div id="slider" class="nivoSlider">';
           
                foreach($featured_articles AS $article)
                {
                    $output_bits .= $article['picture'];
                }
            $output_bits .= '
            </div>';
           
            foreach($featured_articles AS $article)
            {
                $output_bits .= '<div id="' . $article['htmlcaptionname'] . '" class="nivo-html-caption">' . $article['description'] .'</div>';
            }
           
            $output_bits .= '       
        </div>

    </div>
    <script type="text/javascript" src="' .$slider_img_filepath. 'jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="' .$slider_img_filepath. 'jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider({
        effect: "fade"
                });
    });
    </script>
    </div>
    ';
        $output = $output_bits;
 
if($debug_modus === false)
{
        ob_end_clean();       
}


JAnders 09-26-2012 06:26 PM

try doing:

$slider_img_filepath = '/clientscript/slider/';

JAnders 09-26-2012 06:32 PM

Quote:

Originally Posted by Jamie G (Post 2361839)
I cannot get this working on 4.2.0. I get the slider, the animation and the full bck image and the article text. However, I cannot get the images to display.

Additionally, the images link incorrectly. My site is stored in a folder, not root.

So, my installation is in root/V2. Article links point to domain.com/v2/content.php - but the slider points to domain.com/content.php - does this plugin not work unless the vB install is in the root?

Hopefully someone can help ASAP.

I have the same problem but a bit different in the img_dir I have

$slider_img_filepath = '/foros/slideshow/';

this works as it executes the jscript and displays the articles with the default image however the article images/attachments do not display when I look at the debug code the absolute path that it shows is incorrect as it shows /sitehomedir/foros/foros/slideshow/ and of course it doesn't find the images there.

if I change the img_filepath to remove the duplicate foros entry like this:

$slider_img_filepath = '/slideshow/';

then it doesn't find the rest of the script and only it looks worst.

this sounds like an easy fix but I just don't know where to specify the full server path even if I hardcode it in.

JAnders 09-26-2012 07:21 PM

this is the output from my debug file:

Code:

Warning: getimagesize(attachment.php?attachmentid=1043&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1043&cid=24

Warning: getimagesize(attachment.php?attachmentid=1054&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1054&cid=24

Warning: getimagesize(attachment.php?attachmentid=1049&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1049&cid=24

Warning: getimagesize(attachment.php?attachmentid=1045&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1045&cid=24

Warning: getimagesize(attachment.php?attachmentid=1042&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1042&cid=24

Warning: getimagesize(attachment.php?attachmentid=1037&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1037&cid=24

Warning: getimagesize(attachment.php?attachmentid=1029&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1029&cid=24

Warning: getimagesize(attachment.php?attachmentid=1026&amp;cid=24) [function.getimagesize]: failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 133
Error occurred: picture is not readable.attachment.php?attachmentid=1026&cid=24

Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/foros/slideshow/slide_134.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200
Error occurred: imagejpeg failed. http://sphotos-b.xx.fbcdn.net/hphotos-ash4/404066_480548928630053_423049842_n.jpg
directory: /home/content/s/i/a/siaar/html/fifamexico/foros/foros/slideshow/slide_134.jpg
Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/foros/slideshow/slide_133.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200
Error occurred: imagejpeg failed. http://sphotos-a.xx.fbcdn.net/hphotos-ash3/601400_462243877129771_376031935_n.jpg
directory: /home/content/s/i/a/siaar/html/fifamexico/foros/foros/slideshow/slide_133.jpg


JAnders 09-27-2012 03:17 PM

alright after various trials and errors i got it to kinda work, never found how to fix the issue with attachments but I figured out a way around that

this is how it looks now:
www.fifamexico.net/foros

ar15dcm 09-30-2012 07:38 AM

I didnt go through all 32 pages, but can the image be displayed as its original size to prevent distortion?

intruder 01-22-2013 07:09 AM

Php Info:
allow_url_fopen On

Vbulletin CMS > Permisions > Slider Specific Section > Can Download Attachments > All

Usergroups > Unregistred users > Forum Viewing Permissions > Forum Viewing Permissions > Can Download Attachments > YES

Unlogged www.mysite.com/attachment.php?attachmentid=494&cid=18 - attachment is working fine


EBUG MODE is ON!
slider_img_filepath: /slider/
width: 650 height: 351
Strech or Crop? 1
show_articles_without_image: bool(false)
fallback_img: /slider/uf_fallback_slider.png
#img: 2
description_length: 95
directory /home/raptor/html/www.mysite.com

Warning: getimagesize(attachment.php?attachmentid=494&cid=1 8): failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 135
Error occurred: picture is not readable.attachment.php?attachmentid=494&cid=18

Warning: getimagesize(attachment.php?attachmentid=487&cid=1 8): failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 135
Error occurred: picture is not readable.attachment.php?attachmentid=487&cid=18
#articles - featured and databasepull int(2) int(14)

Slider folder:
Chown apache.apache
Chmod 775

$slider_img_filepath = '/slider/'; is correct

Still getting that error... any ideeas?


All times are GMT. The time now is 09:00 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.02339 seconds
  • Memory Usage 2,205KB
  • 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
  • (8)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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