![]() |
Hmm I'm still having problems. I changed the file folder to the one of my personal computer but not everything is completed. Only 2 articles show up on the slider even though on the custom settings it is set for more and I read this message with the debug on...
PHP Code:
|
We are using the following modifikation:
https://vborg.vbsupport.ru/showthread.php?t=230417 All our articles are forum threads and comments show up in both the thread and the article. (In my opinion that should be a basic vbcms function, but isn't) Anyway. That does work very well for us. The slider doesn't pick a random picture, it does use the article previewpicture which is selected by the vbcms system (which can be a http-picture or an attachment). If it doesn't show images from your articles something is wrong. Please follow the steps in the faq. And yes, that thumbnail view in your slider link is possible with the nivo slider. |
@Sm1th146
please use the newest version, it has more debug. In default mode the slider uses only articles which are not older than 40 days. Could that be a problem? That could be easily changed. |
I just re-installed the newest version and still running into a similar problem. The articles are with in the last 2 weeks so that isn't a problem. Here is the error I am receiving...
PHP Code:
|
Debug shows that you have 4 articles within the last 40 days.
Out of those 4 articles 2 have a previewimage. And since you set 'show_articles_without_image' to false it does show the two articles which do have a previewimage and not the other 2. |
Quote:
thanks Andy |
Please go through the faq in post two and see if that does help.
If it doesn't please post the debug (last faq question). Regards Mooff |
Hi - I do not get any error messages, just my fall back image. I have gone through FAQ and everything appears to be set correctly?
|
Great MOD! Thank you!
I've tried to develop a module for Vbadvanced CMPS but with no luck. I'm not a programmer. Does anyone could build this for us? I think it's not so difficult for people with programming experience. After building this I get this error: Class 'vb_Types' not found PHP Code:
Thank You |
I dont have an error per say but it shows up all wrong.
Check the image. http://www.pdcm.net/slider.gif |
I received a question via private message about slider timings. Since that might interest other site owners aswell.
How do I slow down the image timings, at the moment its a bit fast? Answer: That is a setting for the nivo slider: http://nivo.dev7studios.com/#usage There you can see what you can change. I'll give an example for the timings. Search: Code:
<script type="text/javascript"> Code:
<script type="text/javascript"> @croft please go through the faq and post the debug you get (last question) if the other questions do not help. It does look like a combination of a jquery (either to many jquery files or old jquery version or no jquery at all) issue and some problems with saving the resized image to file. Debug will help with the last one. If you can't find the jquery problem a link to the site where the slider is implemented would help. Cheers |
Hi Mooff. I have this installed and looks good. I have one problem the link to the article when clicked takes me to my index page. When you hover over the link it shows the proper URL however.
|
Quote:
Any ideas? |
Hi,
i need a live demo of that redirect bug. Doublecheck if the hover urls really are correct. If they are i can't think of a reason why it shouldn't work. |
Quote:
I just checked the hover URL's and they are correct. Thanks |
Links in the slider are:
http://www.canadianriflesregiment.co...?r=160-Welcome... correct would be: http://www.canadianriflesregiment.co...hp?160-Welcome... You are missing the crrforums part, thus the link leads to nowhere and gets redirected. search this part: Code:
$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>'; Code:
$article_neu['description'] = '<h2 style="font-weight:bold; font-size: 14px">'. $article['title'].'</h2><span>'. $article['previewtext'] .'</span> <a href="/crrforums/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">read on</a>'; |
Mooff you are number ONE in my books!:up:
Thank you. 5 stars and nominated! |
I managed to get the slider to show and an image in it, but it doesn't add text and it doesn't move from article to article.
|
Sounds like a jquery problem. Can you link me to your (test)site where the slider is installed?
|
Thanks very much for the help Mr Mooff. This addition is a must and exactly what I've been waiting for. I can't believe it's taken so long for someone to do and I'm really grateful for all your efforts and help.
Thanks! |
Since the question came up some times allready:
Q: I want the slider without widget title - how to do that? Answer: create a new template (main style or all styles you have your slider running) Name: vbcms_php_no_title code: Code:
<div class="cms_widget"> go to widget configuration of the slider widget, change template name to vbcms_php_no_title save. Reload slider. Title is gone. |
Ok, so first off, THANK YOU!!!
I have been waiting for a long time for this mod, and this one does EXACTLY what I wanted!! It installed easily and works perfectly! Please view installation on my site at http://www.teamotec.net I have 3 ?????? 1. Earlier you showed how to change the image speed, but didn't specify what file to edit. Can you please clarify this for me, I want to slow mine to a 5 second pause. 2. How can you limit the sections that the slider displays? I only want to display articles from the sections "Event Coverage" "Featured Rides" & "Photography" 3. The dots that show that you are on slide 1 of 5 display in the middle of my image instead of at the top or bottom. How can I move them up or down? (I don't particularly care where they end up) Thanks again for this great mod!! 5 Stars, Nominated, and Marked as Installed!!! |
1. Not a file. That's in the php widget code, close to the bottom.
2. I'll post code for both sections and categories, since i'll link that post in the FAQ. How to show only articles out of specific sections or categories: for sections find: Code:
WHERE Code:
WHERE Code:
WHERE Code:
WHERE Be careful not to miss the AND part In the Brackets the sections-Ids/ categories-Ids you want have to be included. In your case it would be ( 144, 145, 149 ) In general you can see the fitting ids in the links which lead to the section or category: For example: /content/category/31-esport.html Category esports on our site has the ID 31. ---- category/section part ends here - in case you followed the faq link ---- 3. In the nivo-slider_uf_theme.css file find: Code:
.theme-uf .nivo-controlNav a { Code:
.theme-uf .nivo-controlNav a { |
Mooff, thank you again. I have wanted this on my site for ages and on one rainy sunday morning I was able to add it and have it completely working and customized to my wants in a matter of hours. Support like this is what makes VB great.
FYI in the css file my code looked like this Code:
.theme-uf .nivo-controlNav a { Code:
.theme-uf .nivo-controlNav a { |
help, the only image showing is the UF fallback image,
and yes the slider folder is read and writable. the website is www.gamerschallenge.net if someone could please help. really need this slider so bad. thanx edit: I was the FAQ and I think it might be cause the guests can't view the attachments, can anyone tell me how do I change the permissions for that? I cant find anywhere. edit: changed the permissions settings for guest to view attachments, didnt fix the problem. |
Are you sure you have given read and write permissions to the folder as it says in the instructions?
|
Quote:
|
I think the slider_img_filepath is wrong.
Can't confirm without the debug messages, but as a guess, change it to: $slider_img_filepath = 'slider/'; |
thats what it is right now, it can't be wrong since the UF does show.
and thanx for the fast reply |
I see. Please post the debug - last FAQ question.
|
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: 7 description_length: 95 directory /home/gamersch/public_html Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Warning: getimagesize(http://gamerschallenge.net/attachmen...=39&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Error occurred: picture is not readable.slider/uf_fallback_slider.png Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Warning: getimagesize(http://gamerschallenge.net/attachmen...=40&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Error occurred: picture is not readable.slider/uf_fallback_slider.png Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Warning: getimagesize(http://gamerschallenge.net/attachmen...=38&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Error occurred: picture is not readable.slider/uf_fallback_slider.png Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Warning: getimagesize(http://gamerschallenge.net/attachmen...=37&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Error occurred: picture is not readable.slider/uf_fallback_slider.png Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Warning: getimagesize(http://gamerschallenge.net/attachmen...=36&cid=24) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 128 Error occurred: picture is not readable.slider/uf_fallback_slider.png #articles - featured and databasepull int(5) int(5) |
that is the error:
Code:
URL file-access is disabled in the server configuration Best is to ask the techadmin of your server what setting does cause this, why it is off and if it can be activated. If it can't be activated an option would be not to resize the pictures at all - BUT then the slider will look odd if the pictures do not have the required width and height the slider needs. |
alright, I opened a support ticket to my host provider since I couldnt find such an option in my cpanel.
URL file-access is now enable and slider works fine. thanx for the support. nominated this mod for MOTM. |
works fine on 4.1.5 pl1
thanks for the killer slider mod. |
It didint wwork for me something must be wrong with my installation
|
My admin members have asked me to remove the slider because of the 1) size of the frame and 2) how the frame stretches the images.
A lot of my contributes are writers and have trouble re-sizing images to match the slider frame, thus a lot of their images look very poor when in reality they are just not the same size as the frame. Is there any way to display the images as they should be, appreciate some of the images may be small but at least they will not be stretched. BETTER still - is there are way of automatically resizing the image to say a maximum hight of say 300 pixels? thanks |
Well Ive read the entire thread and tried all the fixed. I just got off the phone with my host and they will NOT be turning (URL file-access) back on and they suggested using an alternative.
They of course didn't offer any further help then that so I hope someone here can help me get this sorted out. With debug on I get the errors at the bottom of this post only once they they vanish after visiting another url. If I clear the cache they come right back or if I refresh the page they stay at the top. The slider seems to be working fine except for the fact that it doesnt pull any attachments and I do not see any images saved in my slider folder. Attachments for guests are on both in usergroups and CMS Folder is 777 Path is correct I changes the size but also changed it in the CSS HTML Code:
DEBUG MODE is ON! |
@ andycaps
First post section "Custom Settings" Make changes here Code:
//picture width and height !same as in the CSS FILE! Code:
.theme-uf #slider { Different sizes for each image is not supported by the nivo slider - well it can be done, but does look horrible. Of course additional rules for the resizing process can also be added. Let's say pictures is smaller than 200px -> it won't be used and the slider takes the fallback image instead (that's basecially how we do it on our site). As said in the first post, if one wants something special, just ask - i will try to come up with some code, but won't promise i will. |
Quote:
An idea would be to use cURL instead especially for attachments. Meaning 'reparsing' the previewimage when it is an attachment to get the attachment id, then starting a curl request to the attachment.php file and send the id as post/get value. With such a fix attachments should start working even with allow_url_include disabled. But, and i'm sorry to say that, i won't code that - just wanted to add the idea if one want's to take a shot at it. Regards edit: another option would be disableing the image resize process. Then you should make sure that your attachments are allready uploaded in the size the slider does need. |
So theres no other fix if the host refuses to turn of the URL file-access? I haven't a clue how to recode for curl.
And for the re-size. I already got that in both. |
All times are GMT. The time now is 08:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|