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)

DoDe 11-22-2011 09:16 PM

SOLVED:
I got it work. I downloaded the newest "jquery-1.7.1.min.js" released yesterday (21st november) and it resolved my problem.
If anyone interested then here is the [ link ].

Loversama 11-23-2011 08:24 AM

This isn't 100% related just to this mod but I thought I'd ask as I have been unsuccessful.

I bought VB CMS just to have this mod.

The United-Forum has the widget as the background, I too am trying to load the widget somewhere else, not using the CMS system, I am trrying to do this:

{vb:raw header}
{vb:raw output} <--- The Slider
{vb:raw navbar}
{vb:raw toolbar}

The widget does not load, I know its abit of a noobie question, but I am lost lol

Thanks in Advanced ^____^

DoDe 11-23-2011 10:33 AM

Quote:

Originally Posted by Loversama (Post 2271081)
This isn't 100% related just to this mod but I thought I'd ask as I have been unsuccessful.

I bought VB CMS just to have this mod.

The United-Forum has the widget as the background, I too am trying to load the widget somewhere else, not using the CMS system, I am trrying to do this:

{vb:raw header}
{vb:raw output} <--- The Slider
{vb:raw navbar}
{vb:raw toolbar}

The widget does not load, I know its abit of a noobie question, but I am lost lol

Thanks in Advanced ^____^

I would first try this tip: https://vborg.vbsupport.ru/showthrea...07#post2222907

Loversama 11-23-2011 11:16 AM

Quote:

Originally Posted by DoDe (Post 2271099)

I have had a look, but I don't really understand it, will that allow me to design a secondary header with the widget built into it, rather then using 'Layout Manager' to place my widget.

It would be nice if {raw: output} in any template would show the slider, how/what do I hook to allow my vbcms_page to load the widget inside ;o

PHP Code:

$templater = \vB_Template::create('vbcms_page');
$templater->register('output'$output);
$template_hook['process_templates_complete'] .= $templater->render(); 

Template Name: vbcms_page

Thats my widget settings, and ofc {raw: output} inside of vbcms_page.

karlm 11-23-2011 10:38 PM

Working good on my 4.1.8 :)

Webbstre 11-24-2011 05:31 AM

I'm just going to echo loversama and repeat that I'm trying my best to get the header to who up inside my header, site-wide. I've followed everything mentioned here but I'm just stumped. I've got the widget loaded into a plugin, it loads on process_templates_complete, and this is the bottom three lines of my plugin:

Code:

$templater = vB_Template::create('nivo_slider');
$templater->register('output', $output);
$template_hook['process_templates_complete'] .= $templater->render();

I've also made that template and on any page other than the CMS home I still get this:

Quote:

Fatal error: Class 'vb_Types' not found in /home/user/mysite.com/includes/class_bootstrap.php(549) : eval()'d code on line 78
If I load the CMS home it will load without any error but there is no slider anywhere, as I've removed it from my CMS layout.

PS. If we can get this slider loading site-wide and get the instructions up on this thread in an easy-to-understand manner I'll gladly donate 25 bucks to your site ;)

Loversama 11-24-2011 08:28 AM

Quote:

Originally Posted by Webbstre (Post 2271397)
I've also made that template and on any page other than the CMS home I still get this:
PHP Code:

Fatal error: Class 'vb_Types' not found in /home/user/mysite.com/includes/class_bootstrap.php(549) : eval()'d code on line 78 


I am getting something similar, but my forum is failing to load due to Database Error.

My logs show

PHP Code:

[24-Nov-2011 02:22:37PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home1/******i/public_html/includes/class_bootstrap.php(555) : eval()'d code on line 548 

I am having to manually go through my DB to try and fix this =[

I found that

PHP Code:

($hook vBulletinHook::fetch_hook('process_templates_complete')) ? eval($hook) : false

Is on line 555 of bootstrap, so that kinda shows why its phailing, now to look into that *Sigh*



I really want the slider working nicely, its the whole reason I bought the publishing suite :P

Webbstre 11-24-2011 08:54 AM

Remove the \ from the first of the three lines I listed. That moves you on to the other error.

Loversama 11-24-2011 09:24 AM

Quote:

Originally Posted by Webbstre (Post 2271430)
Remove the \ from the first of the three lines I listed. That moves you on to the other error.

Ahh, I did that, didnt get my old Error anymore but I still get a Database problem, nothing showed up in the logs though..

So lost untill Mooff shares his infinite wisdom on how they managed to do it :P

Webbstre 11-24-2011 09:56 AM

Also lost :P I'm serious about a donation though.


All times are GMT. The time now is 09: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.07384 seconds
  • Memory Usage 1,760KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_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