Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest Paid Subscribers v1.1 Details »»
Latest Paid Subscribers v1.1
Version: 1.00, by paul41598 paul41598 is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.4 Rating:
Released: 10-09-2006 Last Update: 02-27-2007 Installs: 84
Uses Plugins Template Edits
 
No support by the author.

Latest Paid Subscribers v1.1 (LITE VER)

- This Hack Does Use The Usergroups Markup Color For A More Accurate Display Of Subscription Members!! This Hack Has It All!

Description:
This hack is fully functional and flexible allowing you to display the latest [x] subscribers on your forumhome! It also allows you to display a reminder/alert to your users who's subscriptions are expiring.

Features: (Lite Version)
  • Activate The System (Latest Paid Subscribers)
  • Select The Number Of Subscribers To Show On ForumHome

Features: (Premium Version Only)
  • Activate The System (Latest Paid Subscribers)
  • Select The Number Of Subscribers To Show On ForumHome
  • Display A Reminder/Alert Window To Warn Subscribers When Their Subscription Is Up
  • Select The Number Of Days Before That Reminder Shows
  • Never Show This Again For Reminder Alert!
  • Allow The Subscriber Info In The Title HoverOver Or Turn It Off
  • Select A Date Format For That HoverOver

Installation:
1.) 1 Template Edit
2.) 1 Product Upload
3.) Enjoy Release

Bug Fixes:
Allow Subscriber Info In HoverOver Never Worked - FIXED
Activate Latest Paid Subscribers Only Deactivated The Users, Not The Phrases Or Expiry Alert. - FIXED
SQL Bugs. - FIXED

Notes:
- Adds 1 extra query
- Premium Version Of Hacks Found Here

If you find any bugs, have comments, questions feel free to post them. I'll do my best to accomidate anything.
Disclaimer: Any modification to this hack, must get prior consent/authorization by me first.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-20-2007, 01:42 AM
afmarko99's Avatar
afmarko99 afmarko99 is offline
 
Join Date: Jan 2007
Location: Louisiana
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paul41598 View Post
the updated zip file has the hook location at forumhome. The hack works.

b.t.w, for those who cant edit the phrase directly through the hyperlink, you can fix it by editing the phrase: (setting_latest_paid_subscribers_desc)

and change:

&e[1]

to:

&e[global]

Where do I find these codes? FORUMHOME template? I looked there but didnt find these.

Also how would I go about changing the color of the usernames?
Reply With Quote
  #43  
Old 01-20-2007, 02:02 AM
jdebler jdebler is offline
 
Join Date: Sep 2002
Location: Detroit
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paul41598 View Post
Its in the template "expirydatebits"
Thanks for the clarification!

Question...
When modifying that template, if I have two different subscriptions and I want to display one of two different expiration warning messages that depends on the subscription they are currently on, how would I do that?

I tried the following based on the usergroup that my subscriptions put the user in:

Code:
<if condition="is_member_of($post, 1)">
	<div align="center" class="tborder" style="padding: 2px;">
		(Expiration warning message to Subscription level 1)</span></div>
	</div>
</if>

<if condition="is_member_of($post, 2)">
	<div align="center" class="tborder" style="padding: 2px;">
		(Expiration warning message to Subscription level 2)</span></div>
	</div>
</if>
But that didn't work, neither message shows up. What did I miss? Also, is there a specific if condition that I should use that is based on current subscription instead of current usergroup?
Reply With Quote
  #44  
Old 01-20-2007, 12:15 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EaglezEye View Post
Where do I find these codes? FORUMHOME template? I looked there but didnt find these.

Also how would I go about changing the color of the usernames?
They're in the phrases. Can't change the color of the usernames, thats why this hack focus's on usergroup markup colors. Theres another subscription hack on here, that will allow you to change the colors, but its not nearly as advanced as mine.

Quote:
Originally Posted by jdebler View Post
Thanks for the clarification!

Question...
When modifying that template, if I have two different subscriptions and I want to display one of two different expiration warning messages that depends on the subscription they are currently on, how would I do that?

I tried the following based on the usergroup that my subscriptions put the user in:

Code:
<if condition="is_member_of($post, 1)">
	<div align="center" class="tborder" style="padding: 2px;">
		(Expiration warning message to Subscription level 1)</span></div>
	</div>
</if>

<if condition="is_member_of($post, 2)">
	<div align="center" class="tborder" style="padding: 2px;">
		(Expiration warning message to Subscription level 2)</span></div>
	</div>
</if>
But that didn't work, neither message shows up. What did I miss? Also, is there a specific if condition that I should use that is based on current subscription instead of current usergroup?
Try $bbuserinfo instead of $post in those conditions
Reply With Quote
  #45  
Old 01-22-2007, 02:07 PM
jdebler jdebler is offline
 
Join Date: Sep 2002
Location: Detroit
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paul41598 View Post
Try $bbuserinfo instead of $post in those conditions
BAH! I knew it was something like that. It worked, thanks!

Nice car.
Reply With Quote
  #46  
Old 01-24-2007, 08:56 PM
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just what I was looking for... I'm going to possibly come back and let you know how it works in 3.61
Reply With Quote
  #47  
Old 01-25-2007, 12:09 PM
jdebler jdebler is offline
 
Join Date: Sep 2002
Location: Detroit
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine on 3.6.4
Reply With Quote
  #48  
Old 01-27-2007, 03:00 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this on my new site but it seems to stretch the 'whats going on box' (current activity). Any fix to this?

Thank yoU!!
Reply With Quote
  #49  
Old 01-27-2007, 04:49 PM
mandy71480's Avatar
mandy71480 mandy71480 is offline
 
Join Date: Jun 2005
Location: South Carolina
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great and will really help out woth my boards now that I'm offering paid memberships
Reply With Quote
  #50  
Old 02-06-2007, 09:26 PM
T_Richardson T_Richardson is offline
 
Join Date: Jul 2006
Location: Canada
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on 3.6.4

One question, does anyone know how i can add the amount they paid along side?

Thanks.
Reply With Quote
  #51  
Old 02-10-2007, 03:48 AM
T_Richardson T_Richardson is offline
 
Join Date: Jul 2006
Location: Canada
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
For example;

Thankyou to our latest contributing members: Memername Feb, 10 2007, $10.00, Membername2 Feb, 09 2007, $5.00

or have it in a table ;

Memername $10.00 | Feb, 10 2007
Membername2 $5.00 | Feb, 09 2007

I would do it myself, but getting data from mysql is beyond me.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:49 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.07177 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete