vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Latest Paid Subscribers v1.1 (https://vborg.vbsupport.ru/showthread.php?t=128735)

afmarko99 01-20-2007 01:42 AM

Quote:

Originally Posted by paul41598 (Post 1147768)
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?

jdebler 01-20-2007 02:02 AM

Quote:

Originally Posted by paul41598 (Post 1099629)
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?

paul41598 01-20-2007 12:15 PM

Quote:

Originally Posted by EaglezEye (Post 1163179)
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 (Post 1163184)
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 ;)

jdebler 01-22-2007 02:07 PM

Quote:

Originally Posted by paul41598 (Post 1163403)
Try $bbuserinfo instead of $post in those conditions ;)

BAH! I knew it was something like that. It worked, thanks!

Nice car. :cool:

KipLarson 01-24-2007 08:56 PM

Just what I was looking for... I'm going to possibly come back and let you know how it works in 3.61

jdebler 01-25-2007 12:09 PM

Works fine on 3.6.4

sunnycher 01-27-2007 03:00 PM

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!!

mandy71480 01-27-2007 04:49 PM

This is great and will really help out woth my boards now that I'm offering paid memberships

T_Richardson 02-06-2007 09:26 PM

Works great on 3.6.4

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

Thanks.

T_Richardson 02-10-2007 03:48 AM

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.

es-league.com 02-11-2007 02:45 PM

stretches the box for me too, would be great
If this could be made into a module for vbadvanced ....
Is it possible ??

Bounce 02-11-2007 07:21 PM

Quote:

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

Quote:

Originally Posted by es-league.com (Post 1179927)
stretches the box for me too, would be great



Reduce the number on display to 4 :D

mandy71480 02-11-2007 10:06 PM

I had to uninstall it because of the same problems with the stretching and also people getting confused in the who's online thinking they were listed twice. I hope to be able to install it again later if that gets fixed or if I get unlazy enough to figure it out on my own :p

paul41598 02-12-2007 03:44 PM

Quote:

Originally Posted by mandy71480 (Post 1180230)
I had to uninstall it because of the same problems with the stretching and also people getting confused in the who's online thinking they were listed twice. I hope to be able to install it again later if that gets fixed or if I get unlazy enough to figure it out on my own :p

for stretching reduce # to 4 for now.. and for people getting confused, just move the template code to somewhere else less confusing. Not hard...

T_Richardson 02-15-2007 09:40 AM

Quote:

Originally Posted by paul41598 (Post 1180714)
for stretching reduce # to 4 for now.. and for people getting confused, just move the template code to somewhere else less confusing. Not hard...

Exactly! I put the code in the Welcome Panel, fits nicely.

Would be nice if it showed the amount they donated, but it'll do.

winpro19 02-22-2007 04:11 AM

Hmm, I dont see any files ? :S

Tom_S 02-22-2007 01:19 PM

Me either. Where exactly is the download?

T_Richardson 02-22-2007 02:26 PM

The author must have taken it out for some reason.

Tom_S 02-22-2007 02:34 PM

I see the author online so maybe he will shed some light on the subject.

winpro19 02-23-2007 01:59 AM

Maybe....please help us out here Mr. Author. Thanks

paul41598 02-28-2007 01:27 PM

updated

dbirosel 02-28-2007 05:12 PM

I will be installing this soon, but was wondering, if it's possible to have a seperate page, to show all those kind people that donated?

This is how mine looks right now, and i have to update it every single time...

http://www.caraudiojunkyard.com/foru...hread.php?t=87

dbirosel 02-28-2007 05:17 PM

And also, i am really interested in paying if that is possible. for the pro version + my suggesiton.

paul41598 02-28-2007 06:22 PM

I think I can swing that & the ability to show how much the user paid as an option. Maybe I'll work on Version 2.0 now...

dbirosel 02-28-2007 06:24 PM

Quote:

Originally Posted by paul41598 (Post 1192810)
I think I can swing that & the ability to show how much the user paid as an option. Maybe I'll work on Version 2.0 now...

Sweet, please PM me when it's up and running. Like i said i will pay for the premium.:D Thanks

Tom_S 02-28-2007 09:57 PM

Great job on this mod ;)
Installed!

paul41598 03-01-2007 02:00 PM

The new "addon" will look something like below.

Taking some time to write, lotsa tricky code, but its just about near completion and will be put along side the premium version

beano33 03-04-2007 08:27 PM

It didn't work for me on 3.6.4 doing a clean install. I got the same sql error that's been mentioned by others in this thread. I was hoping to use the reminder feature only. I'm using MySQL Version 5.0.33-log.

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT subscriptionlog.userid, subscriptionlog.subscriptionid, subscription.subscriptionid, subscriptionlog.expirydate,
user.userid, user.username
FROM subscriptionlog AS subscriptionlog, subscription AS subscription
LEFT JOIN user AS user ON (subscriptionlog.userid = user.userid)
WHERE subscriptionlog.status != '0' AND subscriptionlog.subscriptionid = subscription.subscriptionid AND user.userid = 171 AND subscriptionlog.expirydate < 1175637844
ORDER BY subscriptionlog.expirydate ASC LIMIT 5;

MySQL Error : Unknown column 'subscriptionlog.userid' in 'on clause'
Error Number : 1054
Date : Sunday, March 4th 2007 @ 04:04:04 PM

paul41598 03-04-2007 09:28 PM

I believe thats due to the mysql version 5

dbirosel 03-05-2007 07:35 PM

Premium hack been updated yet?

paul41598 03-05-2007 07:49 PM

Quote:

Originally Posted by dbirosel (Post 1196530)
Premium hack been updated yet?

in terms of?

Bounce 03-05-2007 08:36 PM

Quote:

Originally Posted by paul41598 (Post 1195754)
I believe thats due to the mysql version 5


correct , will this hack be either updated or released for workingf on mysql 5 ?

I've had to remove it because of this :( great add on :)

Derekclarke 03-05-2007 09:56 PM

I updated to the latest version yesterday, and it has put the screen resolution of my forum out.

meaning you always have to scroll left to right to view the forum home page.

If i disable the plugins for this, the forum goes back to Normal.

Is it just me, or do others have this issue too.

and can it be fixed?

Many Thanks
Derek

paul41598 03-05-2007 10:57 PM

Quote:

Originally Posted by hIBEES (Post 1196581)
correct , will this hack be either updated or released for workingf on mysql 5 ?

I've had to remove it because of this :( great add on :)


Not unless Someones gets me a test server with mysql 5 on it, lol


Quote:

Originally Posted by Derekclarke (Post 1196661)
I updated to the latest version yesterday, and it has put the screen resolution of my forum out.

meaning you always have to scroll left to right to view the forum home page.

If i disable the plugins for this, the forum goes back to Normal.

Is it just me, or do others have this issue too.

and can it be fixed?

Many Thanks
Derek

Yes either limit the number of paid subscribers from 5 to 3 or 4. Or just move that bit completey somewhere else.

dbirosel 03-05-2007 11:00 PM

Quote:

Originally Posted by paul41598 (Post 1196538)
in terms of?

The listing of paid subscribers and stuff.

Bounce 03-06-2007 12:28 AM

Quote:

Originally Posted by paul41598 (Post 1196699)
Not unless Someones gets me a test server with mysql 5 on it, lol



it could be arranged paul :up:

toonysnn 03-06-2007 09:11 AM

Quote:

Originally Posted by paul41598 (Post 1196699)
Not unless Someones gets me a test server with mysql 5 on it, lol

That can be arranged, if you want MySQL Version 5.0.18 that is :p

I can provide you with a test 'hosting' account (Still working on the host cpanel thing [windows hosting]). If you want, that is. PHP is version 5.1.2 and apache 2.2.0. Though, the download speed is slow, the upload speed should be fast, as it should be up to 300 KB/s I think.

BTW, awesome hack!

paul41598 03-06-2007 10:09 AM

Quote:

Originally Posted by dbirosel (Post 1196702)
The listing of paid subscribers and stuff.

If you were the one I talked to one AIM, I think we discussed the addon already :rolleyes:


For everyone else responding about mysql, if you do have something available, just PM me about it, and I'll play with it once I have a bit of time.

tarionyx 04-20-2007 01:32 PM

Any updates regarding MySQL 5? I'm running 5.0.22

DieselMinded 05-07-2007 09:00 PM

Where do i change
Quote:

Thankyou to our latest contributing members:
In the Vb Options it says
Quote:

To edit the phrase for this message click here (enter your custom text in the translation box
Well I clicked here and keep getting
Quote:

No Phrases Matched Your Query


All times are GMT. The time now is 01:37 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.01558 seconds
  • Memory Usage 1,833KB
  • 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_code_printable
  • (22)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
  • (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