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 - [WIDGET] Slider (https://vborg.vbsupport.ru/showthread.php?t=233909)

pilotxx 02-18-2010 08:01 PM

Hii,
Great mod! any chance to add this code not as a widget? i want to add it to my forum.

ShawnV 02-19-2010 05:32 AM

Tagged, watching this one closely. Great idea!

cory_booth 02-20-2010 03:06 PM

Quote:

Originally Posted by Datenpapst (Post 1976689)
I am using this one:
http://testforum.c-arena.com/demoslideshow.php

atm as an iframe

My code in the admincp is:

HTML Code:

ob_start();

require_once './demoslideshow.php';

$output=ob_get_contents();
ob_end_clean();

Still got the problem :(

For yours, since it is a different slide show... I am not sure how it is rendered.
But I would suggest, follow very closely the code's <div> tags and make sure all <table> <tr> <td> <div> tags are open and closed properly.

Sometimes I start in the middle of the code and slowly work my way out until I spot a potential problem.

I am assuming this is the issue... Your slider has some unclosed tags...

cory_booth 02-20-2010 03:08 PM

Quote:

Originally Posted by pilotxx (Post 1985884)
Hii,
Great mod! any chance to add this code not as a widget? i want to add it to my forum.

Hmmm... To do this I would have to learn the plugin/template system. :-)

I wish I could pop this out, but I have a lot to learn in that department.

Mastergumble 02-26-2010 11:08 PM

Quote:

Originally Posted by Datenpapst (Post 1976689)
I am using this one:
http://testforum.c-arena.com/demoslideshow.php

atm as an iframe

My code in the admincp is:

HTML Code:

ob_start();

require_once './demoslideshow.php';

$output=ob_get_contents();
ob_end_clean();

Still got the problem :(

How did you fix it?

mmostafayousef 02-27-2010 09:22 AM

Quote:

Originally Posted by cory_booth (Post 1966641)
Hey man... I checked your site:
www.mastdunya.com right?

Your attachment.php is at the root...

So you should drop those changes and put back to:
PHP Code:

$link "../showthread.php?t=".$threadid."";
$imagepath "../attachment.php?attachmentid=".$pic['attach']; 

Did you upload slider to the correct directory? /clientscript

I think your lines should look like this:

PHP Code:

$link "./showthread.php?t=".$threadid."";
$imagepath "./attachment.php?attachmentid=".$pic['attach']; 


mmostafayousef 02-27-2010 09:26 AM

Quote:

Originally Posted by cory_booth (Post 1968229)
Yeah that would be nice...
I'll look into it in the future...


I suggest you use the class:

vBCms_Search_Result_Article

Located in /packages/vbcms/search/result/content.php (line 28)

Check it and reply please.

Manoel J?nior 02-27-2010 11:08 AM

I did not understand ... Where pulls the images and the textual?

cory_booth 03-05-2010 06:06 PM

Quote:

Originally Posted by Manoel J?nior (Post 1992737)
I did not understand ... Where pulls the images and the textual?

This is designed for you to select a specific forum (in the code).
This will pull the first attachment in that forum...

So the idea is you can have a forum where you make annoucements or reviews and the first post will have an image attached.

Now on your site you can have a "slider" that rotates through those images and links back to the forum posting.

its VERy rough around the edges, but functional...

CFodder 03-05-2010 07:45 PM

Hmmmm, hate to ask a stupid question but I'm getting used to it.

I've installed the mod and setup where it pulls the posts from but it's not displaying anything, no pictures or the text, just a blank widget. Have checked all the permissions etc so was wondering if there's a js script I should download for this?


All times are GMT. The time now is 10:06 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.01412 seconds
  • Memory Usage 1,749KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (6)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