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.

cellarius 09-12-2009 05:56 AM

Sorry, I can't say, since I don't use and don't know the mod you mentioned. If it puts subscriptions in vB's subscriptions table, it might work - if not, then not ;)

VonDoom 09-12-2009 06:07 AM

oh well either way i know it will work on my new board and will report back on my findings with subscription System Mod. *Installed* and Nominated. :D

Hi-Jack 09-12-2009 06:43 AM

mmmm I managed to install this (it's so easy) but where do you edit the message? The configuration does not show anything to edit the default message people see when subscribed...

Thx

cellarius 09-12-2009 06:57 AM

It's a phrase (as the mod description clearly states...). Edit in AdminCP phrase cel_sponsors_message.

maxether 09-12-2009 07:00 AM

I have installed it but dont see any change in the forum home.......
Do I have to manually create the payments.php?

cellarius 09-12-2009 07:21 AM

No. payments.php is a vB standard file.

Chances are: You have either
  • not added the right subscription ID in AdminCP
  • 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

maxether 09-12-2009 08:15 AM

I have checked and found

In my skin forumhome_wgo_pos2 is present in the FORUMHOME template
where can I define the subscription?
It is activated in Admin Cp
I just typed the usergroup ID there...

I have a usergroup named Subscribed Users which ID is 11......
I put them manually in this group while they pay.....

cellarius 09-12-2009 09:09 AM

You have to insert the ID of the subscription, not a usergroup ID.

MagicThemeParks 09-12-2009 01:21 PM

Nice idea to showcase and thank subscribers. :)

Jezlad 09-12-2009 02:04 PM

Is it possible to add more than 1 subscription ID?

Ideally i'd like to display all of the paid subscription types.

cellarius 09-12-2009 02:43 PM

Not at the moment. I'll note that down for a possible future version (no promises).

Namaless 09-16-2009 06:00 AM

Please add to "cache_templates" your template 'forumhome_cel_sponsors' ^^

Thanks for releasing :D

cellarius 09-16-2009 09:36 AM

- bugfix: template not cached (fixed)
- new feature: now handles more or all of your subscriptions
- now fully templated and phrased for all kinds of customizations

Namaless 09-16-2009 11:43 AM

Quote:

Originally Posted by cellarius (Post 1885653)
- bugfix: template not cached (fixed)
- new feature: now handles more or all of your subscriptions
- now fully templated and phrased for all kinds of customizations

Thanks for fixed bug :)

Update my site ^_^

stamos2003 10-27-2009 10:03 PM

nice mod.
what about a cutting number, like last 30 subscribers only etc?
imagine you have 1000 subscribers, will occupy pretty much space.

cellarius 10-31-2009 09:41 AM

I'll think about it, seems a good suggestion. One would have to make it random, so not the first x subscribers get displayed always.

ProFifaLeagues 10-31-2009 10:17 AM

Best mod ive found thanks love to let the members of our board know how much we valve them!!!
many thanks

cellarius 11-16-2009 11:53 AM

This mod is now also available for vB4:
https://vborg.vbsupport.ru/showthread.php?t=228095

bada_bing 11-17-2009 01:16 AM

OK I like this mod bud because of the additional queries this uses how can I set this up so that only certain user groups can actually see this mod? I dont think that non registered users should add additional queries or have the ability to see this data.

Also needs to only show a set limit of users, may uninstall until these features are added.

cellarius 11-17-2009 05:39 AM

The vB4 version has both features. I'll look, if it's not too much work, I'll implement them for the vB3 version, too.

cellarius 11-17-2009 06:57 AM

New version 3.8.00:

  • 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

bada_bing 11-17-2009 12:53 PM

Quote:

Originally Posted by cellarius (Post 1915749)
New version 3.8.00:

  • 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

Awesome thanks..

Question though.. If I click the "see all" and now it show all my site sponsors does this get reverted back to limited view if I have only to display 20 when I logout and log back in or is the "see all" not perminent?

cellarius 11-17-2009 01:00 PM

The show all is not permanent, of course. No need to log out or anything, just browse away from the forumhome and come back or remove the parameters added to it by clicking the link.

cellarius 11-17-2009 11:06 PM

...

anthony parsons 11-19-2009 07:06 AM

Very nice cellarius... look forward to implementing this within the gold version.

cellarius 11-19-2009 07:13 AM

Quote:

Originally Posted by anthony parsons (Post 1917066)
Very nice cellarius... look forward to implementing this within the gold version.

3.8 has been gold long ago ;)

(you probably meant the vB4 version, I gather :))

WNxWakko 11-23-2009 01:25 AM

How do I make all the member names display based on the color defined in their usergroup similar to the whois list?

cellarius 11-23-2009 05:46 AM

This is not possible with this mod atm.

LordDB 12-20-2009 09:57 AM

any chance of a widget code of vBa CMPS, please? :)

cellarius 12-20-2009 11:43 AM

Quote:

Originally Posted by daPLAYBOY (Post 1933955)
any chance of a widget code of vBa CMPS, please? :)

Since I don't use it: No :)


All times are GMT. The time now is 02:34 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.01379 seconds
  • Memory Usage 1,812KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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