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 07-16-2009 04:28 PM

Quote:

Originally Posted by JVCode (Post 1850009)
How do I add custom content? the tutorial doesn't tell me how.

Simply create your own content files.. can be as basic is simple html in a .html file or as complex as you want with php in a .php file .. I've provided a few common content files (like recent threads and blogs) that you can modify to your liking, but the true power is coming up with your own custom content files..

JVCode 07-16-2009 04:43 PM

Ah, I get it now... thanks for your quick reply :) - I'm already using your other script for my A-Z game tabs, and I'll use this to generate what new 'Achievements' 'Media' and etc, have been added.

ConsoleCommunity

yotsume 07-21-2009 07:45 AM

1 Attachment(s)
Include Thread Prefix in Recent Threads?

How can I include thread prefixes in the recent threads tab? I really need that.

Attached is the file I am using.

Thanks!

bobster65 07-21-2009 01:20 PM

Quote:

Originally Posted by yotsume (Post 1852725)
Include Thread Prefix in Recent Threads?

How can I include thread prefixes in the recent threads tab? I really need that.

Attached is the file I am using.

Thanks!

I need up update the recent threads content file(s) to include them. They were written prior to thread prefixes... just need to update the SQL statement and the output is all..

yotsume 07-21-2009 06:32 PM

Quote:

Originally Posted by bobster65 (Post 1852857)
I need up update the recent threads content file(s) to include them. They were written prior to thread prefixes... just need to update the SQL statement and the output is all..

Ummm is there any chance of getting that soon? I just busted my @SS with another designer getting a certain prefix mod working which allows me to open and close threads based on inline prefix changing to create a help forum where the prefixs are color coded. Sort of useless in the help tab I made with your mod doesn't even list the prefixs in the first place. :(

Is this the point where I have to get down and beg? :erm:

bobster65 07-21-2009 06:56 PM

Quote:

Originally Posted by yotsume (Post 1853079)
Ummm is there any chance of getting that soon? I just busted my @SS with another designer getting a certain prefix mod working which allows me to open and close threads based on inline prefix changing to create a help forum where the prefixs are color coded. Sort of useless in the help tab I made with your mod doesn't even list the prefixs in the first place. :(

Is this the point where I have to get down and beg? :erm:

Ya, I will be updating a few of the basic content files next week (recent threads will be one of them)..

yotsume 07-21-2009 07:18 PM

Quote:

Originally Posted by bobster65 (Post 1853098)
Ya, I will be updating a few of the basic content files next week (recent threads will be one of them)..

THANKS! So needed! BTW aren't the content files missing a line break code to provide a space between vba blocks which are underneath...

bobster65 07-21-2009 07:27 PM

Quote:

Originally Posted by yotsume (Post 1853111)
THANKS! So needed! BTW aren't the content files missing a line break code to provide a space between vba blocks which are underneath...

That would be handled by the Module Wrapper, not each content file.

yotsume 07-21-2009 08:01 PM

Quote:

Originally Posted by bobster65 (Post 1853117)
That would be handled by the Module Wrapper, not each content file.

OPPS missed that so I added the br code to each of my content files which seemed to work. LOL

Better to place it in one central place then in many! DOH! Ill look into correcting that.

THANKS!

yotsume 07-21-2009 08:38 PM

1 Attachment(s)
Chatbox Evo and Tabs Bug

There is a problem with the tabs and Chatbox Evo. Since I have my tabs block under the chatbox block, the drop menu inside the chatbox where we can admin the messages opens up under the Tabs blocking the view of the menu.

(See attached screenshot)

Can this be fixed?

THANKS!

DjEddie 07-21-2009 11:32 PM

Hi,... does this work on vb 3.8.3 . or is it not meant to lol. i have it workin on one site which is 3.8.1, which works fine in FF and IE ... but on my 3.8.3 site.. it only shows in FF .. but not in IE

Any suggestions...

Thanks :)

masterweb 07-22-2009 04:15 PM

Downloaded and installed (also marked as installed plus nominated), thanks dude for your great job... go ahead and release some new content files too :D

yotsume 07-29-2009 09:45 PM

1 Attachment(s)
need the thread prefix to show in the tabs on both my form tabs and vbacmps tabs. Since the current version does not handle thread prefixes.... I installed a inline thread icon rotator because I need the prefix to show in my help forum where threads are marked as SOLVED or UNSOLVED.... At least with the thread icon rotator I can now rotate between the ? icon and a check mark. So I can quickly see what is a question that is unsolved and what is checked for solved. ;)

If anyone need a check mark for post icons for their editor here is mine in transparent PNG format. ;)

Looking forward this this set of mods' next version with new content files. :)

bobster65 07-29-2009 11:43 PM

1 Attachment(s)
Quote:

Originally Posted by yotsume (Post 1858155)
need the thread prefix to show in the tabs on both my form tabs and vbacmps tabs. Since the current version does not handle thread prefixes.... I installed a inline thread icon rotator because I need the prefix to show in my help forum where threads are marked as SOLVED or UNSOLVED.... At least with the thread icon rotator I can now rotate between the ? icon and a check mark. So I can quickly see what is a question that is unsolved and what is checked for solved. ;)

If anyone need a check mark for post icons for their editor here is mine in transparent PNG format. ;)

Looking forward this this set of mods' next version with new content files. :)

here is a recent threads content file that includes thread prefixes.. not sure which one of the recent thread content files you are using tho (There are many versions running around), so you might need to do some editing to this one to match the one you are using (this one is the most recent that I've released here or at vBa)..

yotsume 07-30-2009 12:27 AM

Ok I will try it out in a new tab is all and compare. THANKS!

yotsume 07-30-2009 12:46 AM

1 Attachment(s)
Oh BUMMER! your new version is missing the Forum Name. I need the Forum Name to replace the 2 columns of replies and views.

Here is the file I am using. Can you add the thread prefix code to my file version please. I really need my version of the file to include the thread prefix and keep forum names. Replies and views is much less useful for me. THANKS!

MY SUGGESTION:
We need to have these content files with even more code options in them we can comment out or include that are described in the file like the editable section towards the top. So if some want replies and views they can uncomment that block of code and if others want Forum Names they can uncomment that and block what they don't want.

yotsume 07-30-2009 12:51 AM

Security Issue Question
My site is a locked members only site. No content is shown to guests.

HOWEVER! Now that I am using your tab mods if you access the tab php files directly a bunch of private info can been seen. How can I prevent this please.

THANKS!

bobster65 07-30-2009 01:01 AM

1 Attachment(s)
Quote:

Originally Posted by yotsume (Post 1858215)
Oh BUMMER! your new version is missing the Forum Name. I need the Forum Name to replace the 2 columns of replies and views.

Here is the file I am using. Can you add the thread prefix code to my file version please. I really need my version of the file to include the thread prefix and keep forum names. Replies and views is much less useful for me. THANKS!

MY SUGGESTION:
We need to have these content files with even more code options in them we can comment out or include that are described in the file like the editable section towards the top. So if some want replies and views they can uncomment that block of code and if others want Forum Names they can uncomment that and block what they don't want.

here ya go..

bobster65 07-30-2009 01:04 AM

Quote:

Originally Posted by yotsume (Post 1858218)
Security Issue Question
My site is a locked members only site. No content is shown to guests.

HOWEVER! Now that I am using your tab mods if you access the tab php files directly a bunch of private info can been seen. How can I prevent this please.

THANKS!

wrap the content file(s) with a permissions conditional .. simple as that ;)

yotsume 07-30-2009 01:14 AM

Quote:

Originally Posted by bobster65 (Post 1858221)
wrap the content file(s) with a permissions conditional .. simple as that ;)

I know my name says coder but there are things I don't know yet....

For instance I could use some code help with that. PLEASE

Maybe usng my help file as an example. :)

SUGGESTION 2

You need to buy your own church so we all can worship you as god! HAHAHA

bobster65 07-30-2009 01:17 AM

Quote:

Originally Posted by yotsume (Post 1858225)
I know my name says coder but there are things I don't know yet....

For instance I could use some code help with that. PLEASE

Maybe usng my help file as an example. :)

SUGGESTION 2

You need to buy your own church so we all can worship you as god! HAHAHA

lol.. sorry bout that.. I'll drop another file later tonight or in the AM for ya with an example on using perms in these content files.. just sitting down for dinner and some R&R time with the GF :D

bobster65 07-30-2009 01:20 PM

1 Attachment(s)
Quote:

Originally Posted by yotsume (Post 1858225)
I know my name says coder but there are things I don't know yet....

For instance I could use some code help with that. PLEASE

Maybe usng my help file as an example. :)

SUGGESTION 2

You need to buy your own church so we all can worship you as god! HAHAHA

Try this .. (look at lines 48-59 to see what I did). This prevents guests from viewing the file directly or accessing the content via the Tabs..

FiMeTi 07-30-2009 03:59 PM

Hello bobster65!

I really dont want to bother you, but did you find the time to check the loading.gif problem in css yet? I´d appreciate your prof help.

bobster65 07-30-2009 04:03 PM

Quote:

Originally Posted by FiMeTi (Post 1858595)
Hello bobster65!

I really dont want to bother you, but did you find the time to check the loading.gif problem in css yet? I?d appreciate your prof help.

messing around with that now ;)

JVCode 07-30-2009 06:32 PM

Just wondering if your script would be able todo something like I'm wanting... see this thread for more info.

If it is possible, would I be able to get some help with implementing it on my website ?

Kind regards,
J.

yotsume 07-31-2009 06:55 PM

Quote:

Originally Posted by bobster65 (Post 1858510)
Try this .. (look at lines 48-59 to see what I did). This prevents guests from viewing the file directly or accessing the content via the Tabs.

Code:

userinfo['userid']==0
In your code do I have to change the user ID to match the usergroup(s) I wish to block from seeing the content?

You do not explain how to select which usergroups have access and which usergroups do not.

Can you please provide these instructions so I can finish securing my site.

THANKS!

bobster65 07-31-2009 08:00 PM

Quote:

Originally Posted by yotsume (Post 1859228)
Code:

userinfo['userid']==0
In your code do I have to change the user ID to match the usergroup(s) I wish to block from seeing the content?

The way I did that one was to only prevent "guests" Guests have a UserID of 0. You asked me to show you how to prevent "GUESTS" from viewing the tab content files directly.

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))

bobster65 07-31-2009 08:02 PM

Quote:

Originally Posted by JVCode (Post 1858679)
Just wondering if your script would be able todo something like I'm wanting... see this thread for more info.

If it is possible, would I be able to get some help with implementing it on my website ?

Kind regards,
J.

Im not seeing how this would work for what you want to do..

yotsume 07-31-2009 08:35 PM

Quote:

Originally Posted by bobster65 (Post 1859261)
The way I did that one was to only prevent "guests" Guests have a UserID of 0. You asked me to show you how to prevent "GUESTS" from viewing the tab content files directly.

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))

<--- on knees bowing to his god chanting THANK YOU!
Simple code! Thanks! Im learning all the vbphrases to code myself. ;)

bobster65 07-31-2009 08:45 PM

Quote:

Originally Posted by yotsume (Post 1859286)
<--- on knees bowing to his god chanting THANK YOU!
Simple code! Thanks! Im learning all the vbphrases to code myself. ;)

:cool: You'll catch on just fine. The best way to learn is just check out other modifications and core vB code...

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 09: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.01707 seconds
  • Memory Usage 1,855KB
  • 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
  • (5)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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