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 11-25-2011 04:28 PM

Just a quick note to that vb_Types error, that is this line:

Code:

$article_type = vb_Types::instance()->getContentTypeID("vBCms_Article");
For our board the article content type id is 18. That might be different for your board, check your database and then change it to the number like this
Code:

$article_type = 18;
But that aside if you do want to use it in the cms anyway, why don't you use the php-eval content type (to have that in your content selector you need to activate html for your usergroup, yeah that is confusing)? Or create a bunch of subsections where you want to have it?

That template way is for sites not in the cms, like forumhome or external php files (files like this: http://www.united-forum.de/external/.../membermap.php - in the framework using the template system, but link leads to a php file, no slider on that example though).


edit: btw. you might want to change the variable name $output to something else in a global plugin. That might colide with $output variables vbulletin is using. Rename it everywhere to $slider_output or something.

DoDe 11-26-2011 12:01 PM

Strange thing now happens with my slider.
In debug mode I receive this message:

PHP Code:

DEBUG MODE is ON
slider_img_filepathslider
width950 height390 
Strech 
or Crop
show_articles_without_imagebool(false
fallback_imgslider/uf_fallback_slider.png 
#img: 10 
description_length95 
directory 
/var/www/mnt/nfs03/nfs2/html/pro/dfgrom.com/root
Error occurred
picture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=64&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=59&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=58&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=56&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=41&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=40&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=36&cid=24
 #articles - featured and databasepull int(7) int(7) 


The permissions in the cms permissions section are:
www.dode.dfgrom.com/permissions.JPG
The slider folder is 0777.
GD library is installed.

Any ideas?

Mooff 11-28-2011 01:35 AM

manually opening one of your attachment links gives me an auth box - the slider will see the same and therefore cannot read that attachment.

DoDe 11-28-2011 06:02 AM

thanks,
that was the problem :up:

Loversama 11-28-2011 07:35 AM

Quote:

Originally Posted by DoDe (Post 2272098)
Strange thing now happens with my slider.
In debug mode I receive this message:

PHP Code:

DEBUG MODE is ON
slider_img_filepathslider
width950 height390 
Strech 
or Crop
show_articles_without_imagebool(false
fallback_imgslider/uf_fallback_slider.png 
#img: 10 
description_length95 
directory 
/var/www/mnt/nfs03/nfs2/html/pro/dfgrom.com/root
Error occurred
picture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=64&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=59&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=58&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=56&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=41&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=40&cid=24
Error occurredpicture is not readable.http://www.dfgrom.com/attachment.php?attachmentid=36&cid=24
 #articles - featured and databasepull int(7) int(7) 


The permissions in the cms permissions section are:
www.dode.dfgrom.com/permissions.JPG
The slider folder is 0777.
GD library is installed.

Any ideas?



Quote:

Originally Posted by DoDe (Post 2272640)
thanks,
that was the problem :up:

I have got to that bit now also!

Did you get it working? ;o

DoDe 11-28-2011 12:08 PM

Well in my case I had that problem due to the .htaccess on the website. I'm at the stage of making my website and I don't want anyone else to see it online till it's finished and that's why I've put the .htaccess file (you know, no one can access the website or any file on the server without entering the login and password which are configured in the .htaccess file). To check the proper functionality I removed during the test that file and everything started to work properly.

If that's not your case then I suggest looking into the cms permissions of "Can Download Attachments" for unregistered users.
Try clearing the system cache in the maintenance tab after adding an article.
Check the folder where you store the slider files and see if it's attributes are 0777.

karlm 11-28-2011 06:24 PM

I wish to make use of this in different areas (categories) of the site, I've followed the instructions on how to do that from the FAQ.
I made a separate folder and gave it 777 permissions - it reflected the standard logo. However, once I add the code from the FAQ for categories....

Code:

    node.publishdate < '. vb::$db->sql_prepare($time) .' AND
        category.categoryid IN ( 9 )
        GROUP BY node.nodeid

It stops working entirely and shows only a blank slate.

Coolbluelogo 11-28-2011 10:53 PM

Quote:

Originally Posted by Loversama (Post 2272651)
I have got to that bit now also!

Did you get it working? ;o

I'm also having this issue.

Error occurred: picture is not readable.<link>

However, when I manually open the link, the image is displayed...anyone know what the problem is?

Maybe a bug in the latest release?

intruder 11-29-2011 05:35 AM

Is there any way to add the text below the image in the slideshow?
http://alturl.com/p6fws

Thanks

Loversama 11-29-2011 07:45 AM

Quote:

Originally Posted by DoDe (Post 2272702)

If that's not your case then I suggest looking into the cms permissions of "Can Download Attachments" for unregistered users.
Try clearing the system cache in the maintenance tab after adding an article.
Check the folder where you store the slider files and see if it's attributes are 0777.

Well I can see its not the .htaccess file, and I have also tried what you have suggested but I am still getting the same issue.

The attachments look like this:

PHP Code:

????JFIF``??C          $.' ",#(7),01444'9=82<.342??C       2!!22222222222222222222222222222222222222222222222222????"??      ?ĵ}!1AQa"q2???#B??R??$3br?     %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????????????????????????????????????????????????????????????????????????      ?ĵw!1AQaq"2?B????    #3R?br? $4?%?&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz?????????????????????????????????????????????????????????????????????????? ?椄???{?$@?+f?Q???? 

Well theres lots more, but I know thats the Images code stuffs, so I might be like that...

But I have checked permissions ect, refreshed the cache ect..

DoDe did you actually get it working then? ;o


All times are GMT. The time now is 11:00 AM.

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.01908 seconds
  • Memory Usage 1,774KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (4)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