vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Display subscription expiration date throughout forum (https://vborg.vbsupport.ru/showthread.php?t=163066)

Newtonhead1 11-18-2007 10:44 PM

Display subscription expiration date throughout forum
 
Greetings everyone,

I would like to display my member's subscription expiration date in the navbar, the usercp and on my vBadvanced CMPS.

kall wrote a nice hack back in April of 2005 that does what I need, but it can only be displayed in the Forumhome template, I assume because the necessary variables are only called up in the root/index.php file.

https://vborg.vbsupport.ru/showthread.php?t=80171

What I need is the file name(s) and location(s) to drop in the line of code to make the following variables available in the navbar, the usercp and in my vBadvanced CMPS:

$expirytitle
$nzbexpirydate
$expiryremaining

Thanks,

Newtonhead1

Recitals:

1. I searched and discovered that this question has been asked and gone unanswered at least 5 times in the past, but let's see it this time is the charm.

2. I need this for vB 3.0, so I don't need an installation file, I just need the file name(s) and location(s) to drop in the line of code to make the "$expirytitle", "$nzbexpirydate" and "$expiryremaining" variables available throughout the forum.

amc 01-05-2008 03:25 AM

I too am looking for this same hack for Version 3.6.8!

jasculs 03-04-2008 09:18 AM

I need this too


All times are GMT. The time now is 05: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.00967 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete