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)

Mooff 09-09-2011 09:57 PM

Please try switching allow_url_include to ON aswell. It's got to be one of those two.

Kr33p3r 09-09-2011 10:36 PM

Same result, sadly.

allow_url_include On On

Code:

DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
show_articles_without_image: bool(false)
fallback_img: slider/uf_fallback_slider.png
#img: 5
description_length: 95
directory /home/straleyw/public_html/cp/forums
Error occurred: picture is not readable.slider/uf_fallback_slider.png
#articles - featured and databasepull int(1) int(1)


The Rocketeer 09-10-2011 01:15 AM

1 Attachment(s)
Quote:

Originally Posted by Kr33p3r (Post 2244094)
Same result, sadly.

allow_url_include On On

Code:

DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
show_articles_without_image: bool(false)
fallback_img: slider/uf_fallback_slider.png
#img: 5
description_length: 95
directory /home/straleyw/public_html/cp/forums
Error occurred: picture is not readable.slider/uf_fallback_slider.png
#articles - featured and databasepull int(1) int(1)


Hey Kr33p3r, I see you are having a problem with the fallback or source image, I had the same issue, cant remember how I solved it but might be something in the first few pages.

Anyway, I just visited your site and I wanted to ask. Can you share with us the code / edits that makes the articles appear so neatly on your CMS? Inside the green line below ?

https://vborg.vbsupport.ru/attachmen...1&d=1315620875

I have been long waiting for such a nice flow, and I think me and a lot of others using the vbulletin CMS would certainly benefit from having it.

Edit: not trying to steal your code, just the way your articles are displayed on the home page / blog roll. You know all images nicely at the left, and the info on the right. It looks perfect!

Gamelobby 09-10-2011 03:56 AM

1 Attachment(s)
@ Rocketeer..
That looks like the default CMS design..!?
You dont need a slider for that.



Quote:

Originally Posted by Mooff (Post 2244052)
@Gamelobby
I'm not sure i understand what your question is.
This addon provides a bridge between vb4 articles and the nivo slider. Therefore it is an article slider widget.
The image which the CMS automatically pulls from the article is used for the slider.
If it doesn't right now do that in your case please refer to post 227.

Quote:

Originally Posted by Mooff (Post 2243837)
Seems like error messages are suppressed in your php settings.

Some questions for you guys then:
- Is the slider folder writeable for your webserver?
- Do you have the php GD libary installed?
- Is allow_url_access set to false in your php settings?

@Gamelobby
The slider does pull your article preview images and automatically resizes and saves them to the slider folder.

I'm not sure, how/where do i check this..? (is it in the widget.?)

Here is what i found.. (this part is untouched from what you have above, that we are supposed to put in php widget)
Code:

//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 "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 />';

}


Here is what i get..
The UF image with my article text:
https://vborg.vbsupport.ru/attachmen...1&d=1315630872



ALSO..
I just noticed that when i click on an image it takes me to the wrong url.. its not showing the"forum" folder in the path.?
Code:

http://www.mysite.com/content.php?r=251
Should be:
Code:

http://www.mysite.com/forum/content.php?r=251
Could that be part of the problem.?

The Rocketeer 09-10-2011 06:41 AM

Quote:

Originally Posted by Gamelobby (Post 2244145)
@ Rocketeer..
That looks like the default CMS design..!?
You dont need a slider for that.

Nope, That's not the default CMS design.
I was talking about the article display design he had. Its custom.

I am not asking about the slider :confused: if you had read my post carefully I said I already had the slider installed :( (one of the first installs btw) and that others who are having the same issues as I had should look back in the first few pages

Anyhow to the OP, I am just wanting to know about his article display design. Go look at the default vB article layout, its messed up compared to his. Look at the articles 1x1 in a blog roll image above, examine the area I placed in Green.

Mooff 09-10-2011 07:26 AM

That doesn't look like a vb4-cms at all. Judgeding from the code i severly doubt it is one.

@Gamelobby
The wrong link to the articles has nothing to do with where the slider wants to save the images. Per default i'm asuming the content.php resides in the main http folder and not in a subfolder. Anyway, for that to work correctly

search in the php widget code
Code:

                //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' . $i ;
                $article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $i . '" /></a>';

and replace with this code
Code:

                //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="/Forum/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">read on</a>';
                $article_neu['htmlcaptionname'] = 'htmlcaption' . $i ;
                $article_neu['picture'] = '<a href="/Forum/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $i . '" /></a>';


As for the other question why the images do not show up. Can you please post the debug messages the slider puts out in debug mode?
As for checking how to find out whether fopen/ allow_url_open is active or not. I would have to google that aswell. Best is to ask your techadmin, since he is the guy who would need to activate it.

@Kr33p3r
I'll try to come up with a version on monday which pumps out a bit more debug to see what is going on there. Kinda lost right now.

Gamelobby 09-10-2011 07:32 AM

Yea, I meant it looks like just a default CMS layout. (1 Column & Sidebar) He just has articles on the left, & sidebar on the right... as far as i can tell. (If it's not default we can easily make that layout, cant we.?)

That's why i said you dont need a slider for that.
I knew it wasn't the slider. lol

Gamelobby 09-10-2011 07:35 AM

Quote:

Originally Posted by Mooff (Post 2244179)
@Gamelobby
The wrong link to the articles has nothing to do with where the slider wants to save the images. Per default i'm asuming the content.php resides in the main http folder and not in a subfolder. Anyway, for that to work correctly

search in the php widget code
Code:

                //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' . $i ;
                $article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $i . '" /></a>';

and replace with this code
Code:

                //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="/Forum/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">read on</a>';
                $article_neu['htmlcaptionname'] = 'htmlcaption' . $i ;
                $article_neu['picture'] = '<a href="/Forum/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $i . '" /></a>';


As for the other question why the images do not show up. Can you please post the debug messages the slider puts out in debug mode?
As for checking how to find out whether fopen/ allow_url_open is active or not. I would have to google that aswell. Best is to ask your techadmin, since he is the guy who would need to activate it.

Linksd are fixed. Thanks.



How do i do Debug mode.?
&
Who is my techadmin.? (Is that my hosting.?)

Mooff 09-10-2011 07:38 AM

Designwise it is possible, but it's not easy to force the vb4-cms to look decent. :P

Your techadmin is the guy who does all the coding on your board. Judgeding by your question you are. :P

Please set the slider to debug mode (last FAQ question) and post the output, something might show up what can help us to solve your problem.

Gamelobby 09-10-2011 07:51 AM

Yup i guess that would be me. lol


Here is what i got.
Code:

Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/Forum/slider/slide_0.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 163
Error occurred: imagejpeg failed. http://image.gamespotcdn.net/gamespo...4416_embed.jpg
directory: /home/content/08/4856008/html/gamelobby/Forum/Forum/slider/slide_0.jpg
Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/Forum/slider/slide_1.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 163
Error occurred: imagejpeg failed. http://l.yimg.com/a/p/sp/tools/med/2...1314751955.jpg
directory: /home/content/08/4856008/html/gamelobby/Forum/Forum/slider/slide_1.jpg
Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/Forum/slider/slide_2.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 163
Error occurred: imagejpeg failed. http://l.yimg.com/a/p/sp/editorial_i...ch_of_fish.jpg
directory: /home/content/08/4856008/html/gamelobby/Forum/Forum/slider/slide_2.jpg
Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/Forum/slider/slide_3.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 163
Error occurred: imagejpeg failed. http://s1.wp.com/wp-content/themes/v...ogo-shield.png
directory: /home/content/08/4856008/html/gamelobby/Forum/Forum/slider/slide_3.jpg
Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/Forum/slider/slide_4.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 163
Error occurred: imagejpeg failed. http://cache2.allpostersimages.com/p...onto-field.jpg
directory: /home/content/08/4856008/html/gamelobby/Forum/Forum/slider/slide_4.jpg



All times are GMT. The time now is 03:04 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.02316 seconds
  • Memory Usage 1,796KB
  • 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
  • (10)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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