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)
-   -   vBa CMPS - Member of the Day (https://vborg.vbsupport.ru/showthread.php?t=81178)

Nordinho 05-13-2005 03:39 PM

For some reason the 'memberoftheday' template remains uncached, it's added to the special templates and global templated...I can manually add it to each page, but isn't there an easier way??

restless 05-14-2005 12:54 AM

Quote:

Originally Posted by Nordinho
For some reason the 'memberoftheday' template remains uncached, it's added to the special templates and global templated...I can manually add it to each page, but isn't there an easier way??

not 100% sure what you mean.

Nordinho 05-14-2005 01:54 AM

Quote:

Originally Posted by restless
not 100% sure what you mean.

hmmm...well, the 'memberoftheday' template is uncached. I did add the modifications to global.php. I know I can add the code in each file to cache the module, but isn't there an easier way to do it, instead of editing each file?? hope this is more clear...

edit- solved, and off course my own stupid mistake ;) (vba cmps has some globaltemplates as well in global.php and I added them to that)

Nordinho 05-17-2005 11:48 PM

Hey Restless,

The hack stops functioning when I move the avatars to be stored as files, instead of the being in the database...I think the line below should point to the custom avatar path if that's used...

PHP Code:

 $avatarurl "$vboptions[bburl]/image.php?u=$mday[userid]"


Nordinho 05-20-2005 01:52 PM

Quote:

Originally Posted by Nordinho
Hey Restless,

The hack stops functioning when I move the avatars to be stored as files, instead of the being in the database...I think the line below should point to the custom avatar path if that's used...

PHP Code:

 $avatarurl "$vboptions[bburl]/image.php?u=$mday[userid]"


any idea's??

KW802 05-20-2005 07:11 PM

Before modifying global.php, did you try adding "memberoftheday" to the "Templates to be included" section of the module?

deb0 05-22-2005 04:30 AM

avatar icon is not showing up in CMPS. I have followed all instructions exactly. Shows the no avatar.gif. User does have customer avatar.

deb0 05-22-2005 05:18 AM

I figured it out. Thanks.

Nordinho 06-23-2005 07:35 PM

Quote:

Originally Posted by deb0
I figured it out. Thanks.

hmmm, how did you get it to work with custom avatars??

Sean S 06-23-2005 08:06 PM

Quote:

Originally Posted by Nordinho
any idea's??

thank you restless for the module! :D


All times are GMT. The time now is 07:18 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.01170 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (5)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
  • (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