vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - AJAX Tabs Content Script - Version 3.0 (YUI) (https://vborg.vbsupport.ru/showthread.php?t=191106)

bobster65 09-24-2008 10:35 PM

Quote:

Originally Posted by hornstar1337 (Post 1629598)
[S]I got this error:

Warning: require_once(./includes/vba_cmps_global.php) [function.require-once]: failed to open stream: No such file or directory in [path]/tabsample1.php on line 28

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/vbtest/forums/tabsample1.php on line 28
[/S]
Fixed: I deleted line 28 and now it is working after clearing my cache.


Any recommendation on where a good place to show this on the forums is? which template and spot?


Also, I think I would like to show this up as if it was an extra forums on the site. how would I go about doing that? code would be needed, as I am not that experienced just yet.

Many thanks for such a wondering mod.

ah crap.. I keep forgetting to strip out that function (its not needed)... it was for some older stuff that only dealt with CMPS .. I need to update those files asap...

As far as where? Anywhere that you want to have tabbed content.. FORUMHOME, Specific Forums, Custom Pages, vBa CMPS etc...

If you want it to appear on the Forum Home page, then you can edit the FORUMHOME Template and add the template code right after or before the <! -- MAIN areas (that will make it appear above or below the forums listings) ..

bobster65 09-25-2008 01:32 PM

btw, if anyone was having issues with IE, the culprit was 2 unvalidated tags in the header (forgot the / to close the links to the CSS)...

simple fix.. (IN RED BELOW)

Step 3. Add the below code to the end of your HEADINCLUDE TEMPLATE.

Code:

<!-- YUI CSS for TabView -->
<link rel="stylesheet" type="text/css" href="clientscript/yui/tabview/assets/tabview.css" />
<link rel="stylesheet" type="text/css" href="clientscript/yui/tabview/assets/tabview-skin.css" />
<!-- JavaScript Dependencies for Tabview: -->
<script type="text/javascript" src="clientscript/yui/utilities/utilities.js"></script>
<script type="text/javascript" src="clientscript/yui/element/element-beta-min.js"></script>
<!-- Source file for TabView -->
<script type="text/javascript" src="clientscript/yui/tabview/tabview-min.js"></script>
<!-- Source file for Dispatcher -->
<script type="text/javascript" src="clientscript/yui/tabview/dispatcher-min.js"></script>


gwerzal 09-26-2008 01:54 PM

Hi

I installed this on http://www.uk-betting-tips.co.uk and it is working great. This is a very good mod.

But...

I then installed in on http://www.cashloopholes.co.uk and the tabs are showing up but no content. I have re-installed and it is still the same.

Cant think what i am doing wrong.

Anyone got any ideas?

If you look on the site it is right at the bottom of the homepage.

bobster65 09-26-2008 09:18 PM

Quote:

Originally Posted by gwerzal (Post 1630935)
Hi

I installed this on http://www.uk-betting-tips.co.uk and it is working great. This is a very good mod.

But...

I then installed in on http://www.cashloopholes.co.uk and the tabs are showing up but no content. I have re-installed and it is still the same.

Cant think what i am doing wrong.

Anyone got any ideas?

If you look on the site it is right at the bottom of the homepage.

Check the end of these to make sure you have the / at the end (in red below).. I know that sometimes effects things..

Code:

<link rel="stylesheet" type="text/css" href="http://uk-betting-tips.co.uk/clientscript/yui/tabview/assets/tabview.css" />
<link rel="stylesheet" type="text/css" href="http://uk-betting-tips.co.uk/clientscript/yui/tabview/assets/tabview-skin.css" />


gwerzal 09-26-2008 09:43 PM

sorry for bein thick but where do i check that above please

bobster65 09-26-2008 09:46 PM

Quote:

Originally Posted by gwerzal (Post 1631245)
sorry for bein thick but where do i check that above please

HEADINCLUDE TEMPLATE (see step 3) ..

gwerzal 09-26-2008 10:02 PM

thank you very much. i will check it now.

gwerzal 09-26-2008 10:07 PM

Its still not working

any more ideas

bobster65 09-26-2008 10:29 PM

Quote:

Originally Posted by gwerzal (Post 1631258)
Its still not working

any more ideas

are both sites on the same server? And you set both up the same exact way? How about the content files.. did you try the content files that are working on the first site to see if they work on the 2nd site?

gwerzal 09-26-2008 11:39 PM

I have a dedicated server and both of the sites are on there.

I have set them up exactly the same way.

I will try copying the content files from one to the other and see if that works.


All times are GMT. The time now is 06:17 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.01351 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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