vb.org Archive

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

cellarius 09-10-2009 10:00 PM

Cel Sponsors/Subscribers on Forumhome
 
1 Attachment(s)
Now available for vB4:
https://vborg.vbsupport.ru/showthread.php?t=228095

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.
  • New in 3.8.003: show sponsors to certain usergroups only
  • New in 3.8.003: limit numbers of sponsors shown in list (randomly selected, current user always showing), show "see all" link to selected usergroups
  • Other customzation: box title (phrase), icon, box title and icon link
  • Note that the mod adds another query to forumhome (alltogether two, then) if you decide to show the subscription titles. If you choose not to, the mod will simply assign numbers to them.
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
Screenshots
  • AdminCP (new in 3.8.002)
  • Guest or member who is not subscriber
  • Member who is subscriber
  • Administrator
  • Member who is subscriber, multiple subscriptions (new in 3.8.002)
Version History
  • 3.8.001: Initial release
  • 3.8.002: new: show more/all subscription. Look out for new settings and extended templating/phrases
  • 3.8.003: new: show to selected usergroups only, limit number of sponsors shown
### Don't forget to click install! ###
(No support if you don't)


NLP-er 09-11-2009 06:35 PM

Interesting :)

cellarius 09-11-2009 06:51 PM

Minor bug fixed.

cellarius 09-11-2009 08:10 PM

Screenshots added.

saadessa 09-11-2009 08:18 PM

nice thank you ..... installed

MentaL 09-11-2009 09:39 PM

Hey this is pretty good actually, none of that silly crap that you see copying each other.. well done, a unique addon :P simple too

chennairam 09-12-2009 01:59 AM

can you tell it will work on vb3.7.2

cellarius 09-12-2009 04:48 AM

Quote:

Originally Posted by chennairam (Post 1883467)
can you tell it will work on vb3.7.2

I have no longer a testbed available with 3.7.x, but there's nothing I can think of that it should stop it from working with that version. Just give it a try - it's fast installed and, if there should be issues, fast deinstalled :)

If you try, let us know :)

cellarius 09-12-2009 05:24 AM

Quote:

Originally Posted by cellarius (Post 1883501)
I have no longer a testbed available with 3.7.x, but there's nothing I can think of that it should stop it from working with that version. Just give it a try - it's fast installed and, if there should be issues, fast deinstalled :)

If you try, let us know :)

I just put up a testbed for 3.7 (had to fix all those PHP 5.3.0 issues since I run that on localhost :D), being interested in that question myself. Works fine and dandy. Going to release it for 3.7, too.

VonDoom 09-12-2009 05:46 AM

Will this by chance work with AW Coding's Subscription System?
This looks like a potential Nomination for sure. Just wondering because im using that product also.


All times are GMT. The time now is 10:59 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.01894 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_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