vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [ADDON] cinq's vbArticles Latest 3 Featured Articles CMPS Module (https://vborg.vbsupport.ru/showthread.php?t=76823)

King Kovifor 06-29-2005 09:32 PM

cinq, what would we do if the global php section isn't there?

Mythotical 07-02-2005 05:02 AM

Ok these edits I'm posting are if you us vbadvanced portal 2.0 then follow these steps:
In your vba_cmps_include_template.php find:
Code:

$specialtemplates = array_merge($specialtemplates,
        array(
                'adv_modules',
                'adv_portal_opts',
                'adv_portal_page',
                'attachmentcache',
                'bbcodecache',
                'birthdaycache',
                'eventcache',
                'iconcache',
                'maxloggedin',
                'rankphp',
                'smiliecache',
                'userstats',
        )
);

Replace with:
Code:

$specialtemplates = array_merge($specialtemplates,
        array(
                'adv_modules',
                'adv_portal_opts',
                'adv_portal_page',
                'attachmentcache',
                'bbcodecache',
                'birthdaycache',
                'eventcache',
                'iconcache',
                'maxloggedin',
                'rankphp',
                'smiliecache',
                'userstats',
        'vbart_options'
        )
);


In your vba_cmps_include_top.php find:
Code:

$cmps_options = unserialize($datastore['adv_portal_opts']);
Add Above:
Code:

$vbart_options = unserialize($datastore['vbart_options']);
unset($datastore['vbart_options']);

Enjoy and glad I could help.

michaelsilvia 08-09-2005 07:37 AM

Did everthing, but it is not showing up.

In my ACP, the modules are showing in the CMPS hack, BUT the module does not show up:

http://forums.usfkclassifieds.com/

What do you mean by this:

5. Don't forget to update your index pages(s) to show the new module.

Mike

DonLKSAB 08-31-2005 01:37 PM

Same here cant get it to show up.

Anyone managed to get the module to show up in RC2?

/DonLKSAB

DonLKSAB 09-17-2005 06:20 PM

Noone managed to get it to show up?

/DonLKSAB

wim20178 10-09-2005 08:06 PM

my mistake ... shouldnt have posted :o

Sean S 01-05-2006 01:55 AM

Quote:

Originally Posted by wim20178
my mistake ... shouldnt have posted :o

I just installed this one today for my site and I also couldn't get the thumbnails to show up, so here is a little fix that I made for the thumbnails to show, it worked for me so hopefully it will work for you.

first, for the new version of vba, follow the updated instructions at post 42, https://vborg.vbsupport.ru/showpost....8&postcount=42

after that, replace lines 20 to 22 in cmps_articles.php with the following,

Code:

                $articon=$featuredbits['icon'];
                $articonimg = '<a href="' . $vboptions[bburl] . '/articles.php?action=viewarticle&artid=' . $articleid . '"><img title="' . $title . '" src="' . $articon . '" border=1></a>';

that should fix the problem with the images not showing up.


All times are GMT. The time now is 01:42 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.01069 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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