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)

yotsume 07-31-2009 10:39 PM

Quote:

Originally Posted by bobster65 (Post 1859261)
To block specific user groups, use this instead... in this example, it blocks user groups 5 and 6 from seeing the content.

Code:

if (is_member_of($vbulletin->userinfo, 5,6))

This has worked perfectly on all my tab content files except one which I had to put this code into the actually Photopost Pro gallery php file: inc_features.php

So for people who are using Photopost Pro in a tab you must place the code not in your tab php file but in your pp gallery file directly: inc_features.php

Place the code just under: == END CONFIGURATION ==

Thanks for the help! All my tabs are now locked tight!

I highly suggest these instructions be added to your main instructions in your first posts. ;)

JVCode 08-01-2009 03:49 PM

Quote:

Originally Posted by bobster65 (Post 1859262)
Im not seeing how this would work for what you want to do..

Okay, thanks for the reply :)

yotsume 08-04-2009 10:03 AM

1 Attachment(s)
You Have Empty Profile Field ERROR

I Just added a new profile field that is required at registration and at all other time for gender. When a member logins in the theme of my vba homepage layout breaks and the message that you have uncompleted fields sits in the middle of the tabs. :(

I need to get this fixed ASAP please.

Please see attached screenshot of the error.

bobster65 08-04-2009 01:27 PM

Quote:

Originally Posted by yotsume (Post 1861134)
You Have Empty Profile Field ERROR

I Just added a new profile field that is required at registration and at all other time for gender. When a member logins in the theme of my vba homepage layout breaks and the message that you have uncompleted fields sits in the middle of the tabs. :(

I need to get this fixed ASAP please.

Please see attached screenshot of the error.

A screen shot doesn't do anyone any good in this case. Give me a link to your site with a username and password with a missing profile field so I can see what might be causing it. It could be malformed HTML in any of the Modules on the vBa page. Check the syntax in the first content file ("Instructions") to make sure it doesn't contain any malformed HTML ... Since its AJAX, it can only be the first content file, so it wouldn't matter what the other content files contain and I can tell ya that the core base code is compliant as long as you added it exactly like was specified.

JVCode 08-04-2009 02:43 PM

Am I able to have this set to only display in certain forums? and could I have different tabs/content displayed over multiple forums? And I mean almost 2000 forums, each with different content ? would this script handle it?

bobster65 08-04-2009 03:59 PM

Quote:

Originally Posted by JVCode (Post 1861238)
Am I able to have this set to only display in certain forums? and could I have different tabs/content displayed over multiple forums? And I mean almost 2000 forums, each with different content ? would this script handle it?

yes, the power is in the actual content files themselves.. you can modify them to your own needs as well as putting the tabbed script itself to run as many different content files on as many different templates as you wish.

JVCode 08-04-2009 04:20 PM

Great, what code would I need to go about displaying in certain forums only ?

bobster65 08-04-2009 04:52 PM

Quote:

Originally Posted by JVCode (Post 1861300)
Great, what code would I need to go about displaying in certain forums only ?

Included in the zip file is a folder with some sample types of content files (recent threads, news, blogs, etc) ... you can use those as a starting point and customize them to your specific needs.

yotsume 08-04-2009 05:53 PM

I will send you a PM now with admin login info.

I will need help hunting down and correcting code if thats the problem.

THANKS!

yotsume 08-06-2009 06:20 AM

1 Attachment(s)
Content File for Social Groups and Comment? (for vb 3.7x)

Can anyone please provide me with a working content file for Social Groups and comments?

The one I tried didn't work for me. :( (I attached it as reference.)

Developer God to the rescue???


All times are GMT. The time now is 10:58 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.01546 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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