vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Cel Sponsors/Subscribers on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=228095)

cellarius 11-15-2009 10:00 PM

Cel Sponsors/Subscribers on Forumhome
 
1 Attachment(s)
Quote:

New Version 4.0.005
The new version fixes a style issue that was caused by style changes in vB 4.0.8. Do install this new version only when upgrading to vB 4.0.8.
This mod will show the subscribers of a given paid subscription at the bottom of your forumhome in the What's Going On block. I'm using this to show and thank my forum sponsors.


Features
  • Show subscribers of one, more or all paid subscriptions in WGO on Forumhome (default: subscription with the ID 1)
  • Users who themselves are subscribers:
    • can be shown a thank you message (phrase, completely customizable)
    • will see the date their subscription(s) expire(s)
    • can see their username colored, depending on when their subscription expires (customizable, defaults: one week before->green, three days before->red)
  • Admins will see the subscribers sorted by expiry date (closest expiry date first), color markers as described above and the actual expiry date as a tooltip.
  • Other customzation: box title (phrase), icon, box title and icon link
  • Set a limit to how many users are shown. If a limit is set, the subscribers will be selected randomly, but the current user will always be shown. Show all link, can be set for certain usergroups only.
  • Restrict mod execution to defined usergroups.
  • Please note: The standard image used on installation was changed in vB4. If you don't see an image, you need to adapt the setting in AdminCP.
Installation
  • import product file
  • go to AdminCP->Options->Cel Sponsors/Subscribers on Forumhome and do settings
Templates and phrases used (for customization only)
  • forumhome_cel_sponsors: the template for the whole box
    • calls phrase cel_sponsors_title: The title for the box
    • calls phrase cel_sponsors_message: The thank you message for subscribed users
    • calls template forumhome_cel_sponsors_msgbit: the notices about subscriptions the current user has and their expiry date.
      • calls cel_sponsors_msg_single or cel_sponsors_msg_multiple, epending on how many subscriptions are active for the user
    • calls template forumhome_cel_sponsors_eachsub: the formatting of the line that lists the subscribers or a subscription
      • calls cel_sponsors_subusers: the formatting of a single username in the list and the seperator (default: comma)
I don't see anything after install!

Chances are you have either
  • not added the right subscription ID in AdminCP (not: Usergroup ID!)
  • deactivated the mod in AdminCP
  • no subscribers yet to the subscription you defined
  • a heavily customized skin. Check whether the template hook forumhome_wgo_pos2 is present in your FORUMHOME template
ScreenshotsVersion History
  • 4.0.005: fixed style issue for vB 4.0.8
  • 4.0.004: build for RC2
  • 4.0.003: build for beta4
  • 4.0.002: Added feature to restrict by usergroup
  • 4.0.001: Initial release for vB4, added feature to trim list
### Don't forget to click install! ###
(No support if you don't)

merk_aus 11-16-2009 12:31 PM

Awesome thanks mate.

Kolbi 11-16-2009 03:07 PM

I was searching this :)

sematopdemir 11-16-2009 04:51 PM

thanks

The Vegan Forum 11-16-2009 06:06 PM

It would be nice with an option that would show the list only to admins/mods.

abdobasha2004 11-16-2009 07:37 PM

thanks
reserved

cellarius 11-16-2009 07:52 PM

Quote:

Originally Posted by The Vegan Forum (Post 1915430)
It would be nice with an option that would show the list only to admins/mods.

Well, for admins you just have to look into AdminCP. The point of this mod is to thank the sponsors or advertise subscriptions, that would kinda beat the purpose, really.

AzzidReign 11-17-2009 03:57 AM

This is pretty cool! I have a lot of premium members...I'm wondering if this will help increase those numbers by shear "peer pressure" :)

cellarius 11-17-2009 05:24 AM

Version 4.0.002 released:
  • New in version 4.0.002: Restrict mod execution to defined usergroups.
  • Bug fixed in 4.0.002: Icon setting was not respected in 4.0.001. Please note: The standard image used upon installation was changed in vB4. If you don't see an image, you need to adapt the setting in AdminCP.

Silencer Groans 11-18-2009 12:42 AM

thanks


All times are GMT. The time now is 07:56 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.01088 seconds
  • Memory Usage 1,740KB
  • 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_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