The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i am working on an pretty big members profile mod. that are using vs-interavtive profiles as a base.
is there a way to show the same info as the recent thread module in vbadvanced cmps, in the profile ? i want to show the threads from the specific user and from a specific forum in a block in the profile.. is this even possible ? |
#2
|
|||
|
|||
![]()
If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.
|
#3
|
|||
|
|||
![]()
the function is not in the modd.. i am adding a code of my own and wanted helo with it.. has nothing to do with the hack
|
#4
|
||||
|
||||
![]()
It is actually possible to render vbAdvanced modules in normal vB pages, you just have tweak things a little to give the CMPS module code neough of its environment to do it's business.
Here's some sample code I use for doing almost exactly what you are wanting to do, where I place the "News" mod in certain profile pages: Code:
define(CMPS_NEWS_MODID,4); $save_modules = $modules; $modules = array(); $modules[0] = CMPS_NEWS_MODID; $mods =& $vbulletin->adv_modules[CMPS_NEWS_MODID]; $mod_options =& $cmps_options['adv_portal_' . $mods['identifier']]; require_once(DIR . '/includes/class_bbcode.php'); $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); require(DIR . "/modules/news.php"); $modules = $save_modules; $welcome_bits = $home[CMPS_NEWS_MODID]['content']; Also in my app, the define() line above is actually in a config file. You'll have to change that to define the module ID you want, and also change the require() path, to the module php you want. To find the ID of the module you want to use, go to the CMPS 'Edit Modules' page, and check the URL's as you hover over the links. The above code may or may not work for the Recent Threads module, but I think it will. -- hugh |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|