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)

jb-net 01-16-2012 06:40 AM

Excellent vb4 mod!

I'm not the best php coder so I would like to ask you:

Is there a possibility to add a static slide independently from the last articles?

Example:
Slide 1 - 3 ... the last articles from the cms
Slide 4 ... a static one, per example an advertisement for the vbulletin iphone app, linked to an external website (like itunes store)

Is there a easy way to realize something like this?

The Rocketeer 02-06-2012 03:38 AM

@Mooff

Hey Mooff, is there anyway to make this thing work without fopen please? then if you could please post detailed instructions?
One of our sites was recently compromised by a exploit (JA Agent), and we have spent weeks repairing things and switching servers. So a bit hesitant to allow_url_fopen On. Even the new server host said I could try adding this code php_value allow_url_fopen On to the .htaccess, I am still a bit hesitant in doing so.

The Rocketeer 02-06-2012 08:47 PM

Also Mooff, Its giving me some issues, all I get is the fallback image, and also it doesn't update newly chosen articles anymore. I am not sure what the problem is, I have fopen from the .htaccess file. I here is the debug

Code:

DEBUG MODE is ON!
slider_img_filepath: frontpage_nivo_slider/
width: 650 height: 250
show_articles_without_image:
fallback_img: frontpage_nivo_slider/uf_fallback_slider.png
#img: 10
description_length: 95
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png
Error occurred: picture is not readable.frontpage_nivo_slider/uf_fallback_slider.png

here's a link to my the forum
Code:

tomorrowsgaming.com

iyama 02-08-2012 02:21 PM

Installed buth only see the uf_fallback_slider.png with the articel txt.

The Rocketeer 02-10-2012 09:18 AM

Also same problem here. We need Mooff. :(

basilrath 02-10-2012 12:55 PM

Paths are incorrect

i had same issue

iyama 02-13-2012 08:09 AM

path is correct here, and stil noo images.

basilrath 02-13-2012 04:43 PM

Did you read this and have you tried it?

Quote:

Love this mod

works fab with 4.1.9 also

Just worth mentioning the codeline
PHP Code:
$article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $article['nodeid'] . '" /></a>';
youl probably have to drop the r= out for direct links to be achieved correctly

Plus if your board has a url like mine such as

http://www.tabletennistalk.co.uk/forum/forum.php

your slider folder still should be 'slider/'

which is confusing some i think and will rectify many errors

UK CHI3F 02-15-2012 02:30 PM

Hello, I currently have a poor image sliderat the top of my page

But love the way this is supposed to look,
unfortunately I am no expert but believe I followed the instructions correctly.

At the bottom of my site you will see the slider
http://www.xboxplayers.co.uk/site/content.php

Below is the first part of the code and the revised path was copied directly from my cpanel file manager and pasted in.

Both widget and css file have the same image sizes.

I changed the image path if no image found to true but no fallback image has appeared.

Really appreciate any help. Thanks in advance


// 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 = '/public_html/site/Slider';

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

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

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

The Rocketeer 02-15-2012 09:12 PM

nope still not working, only see fallback and old articles text. ever since the 418 upgrade this has never been working the same. now in 410 its fully broken.

where is mooff?


All times are GMT. The time now is 09:15 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.03535 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete