vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - AJAX Tabs Content Script v2 (https://vborg.vbsupport.ru/showthread.php?t=161197)

D|ver 10-30-2007 08:23 AM

Really awesome mod :)
I am also really not familiar with php and have a question:
Is it possible to use the php files within the modules folder of vba cmps without modification?
Or does every cmps module need a customisation for using it?

Sorry for this beginner question.

bobster65 10-30-2007 02:07 PM

Quote:

Originally Posted by D|ver (Post 1371783)
Really awesome mod :)
I am also really not familiar with php and have a question:
Is it possible to use the php files within the modules folder of vba cmps without modification?
Or does every cmps module need a customisation for using it?

Sorry for this beginner question.

No, you can not simply point to one of the php files in the modules folder. You can copy those files and the modify them tho. If you are not familiar with php tho, it could be somewhat of a challenge. Hopefully, members of the community will share their Custom Content files with everyone :) I will have a few more custom content files for use soon.

DragonMasterNYC 10-30-2007 04:16 PM

This is the thread I've been looking for. Thanks for the mod and the help.

Dragon

cygy2k 10-31-2007 12:43 PM

Any news on when to expect the recent threads enhancement? Thanks for the most amazing mod!

cygy2k 10-31-2007 02:52 PM

Problem:

I have vbSEO installed and I'm getting the archive page numbers on the bottom of the tabs content module (along with at the normal bottom of page location).

bobster65 10-31-2007 03:00 PM

Quote:

Originally Posted by cygy2k (Post 1372720)
Any news on when to expect the recent threads enhancement? Thanks for the most amazing mod!

Sometime today....

bobster65 10-31-2007 03:05 PM

Quote:

Originally Posted by cygy2k (Post 1372789)
Problem:

I have vbSEO installed and I'm getting the archive page numbers on the bottom of the tabs content module (along with at the normal bottom of page location).

hmmmmm I don't have or use vbSEO, so I don't know why it would be doing that. I'll take a look and see if there is something in the content file that isn't needed and strip it out.

cygy2k 10-31-2007 04:38 PM

Thank you so much, this is such a fantastic mod!

bobster65 10-31-2007 04:42 PM

Quote:

Originally Posted by cygy2k (Post 1372720)
Any news on when to expect the recent threads enhancement? Thanks for the most amazing mod!

Download the attachment within this post and see if its more along the lines of what you are looking for. You will need to make some simple edits to the file before you can use it tho...

Line 81. This is where you put the forumID's that you wish to pull recent threads from. In this example, I have it set to pull from 5 seperate forums. Just change the ID numbers to match the forums on your site that you wish to pull from. If you want less than 5, remove one of the or statements.. if you wish to pull from more, add another or statement.

Line 83. This is where you set the limit on the amount of threads to show. Its set at 15, change this to what ever you like.

Line 210. This is the visual output. Simply change all the paths in this block to match your site. The defaults in the example are all www.domain.com/forum

NOTE: This will produce an output similar to the 3rd screen shot.

cygy2k 10-31-2007 05:24 PM

That is great! Is there a way to have it still show bold for unread threads, a down arrow to go to most recent unread post, etc? Sorry for sounding like a pest:)

Also - when I try to just add text to your example tabexternal.php file where the echo part is at the bottom, I always get an error message saying that a ' or ; was expected on line 46. I must not be following some sort of coding pattern I guess.


All times are GMT. The time now is 03:54 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.01693 seconds
  • Memory Usage 1,739KB
  • 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
  • (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