vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   put user back to original usergroup when paid subscriptions runs out ! (https://vborg.vbsupport.ru/showthread.php?t=64092)

corsacrazy 04-19-2004 11:26 AM

put user back to original usergroup when paid subscriptions runs out !
 
this currently does not occur !! the user stays in the usergroup and admin has to manually change the user its a nightmare !

Zachery 04-19-2004 11:27 AM

Why not Contact Jelsoft and report it as a bug?

Are you 100% sure that there is no cron script to remove them?

corsacrazy 04-19-2004 11:33 AM

yes one users subscription ran out on the 7th of april i just checked and hes stil in the (premium) user group even tho the subscriptions page in acp set his subscription to (disabled)

Raimund 04-19-2004 04:52 PM

why don't you just handle this with the additional usergroup? in the subscription, choose primary usergroup "no change" and turn the additional group on instead.
once the subscription runs out, the permission of the additional usergroup is removed.
or do you really "need" to switch the primary usergroup?

DenzoForums 04-19-2004 06:05 PM

I have a similiar problem. although just in testing, if i leave the user in the primary group, and add them to a secondary group via subscription, it seems to work sligtly.

They do gain the extra permissions granted to the new group, but the user title remains unchanged. meaning, Registered user --> Super User

I need to have the user title changed from registered user to super user once they have paid for the subscription. I thought i could do this with the primary group, but if this is correct, and it doesn't change back after the subscription is over, that would not work.

Thanks
Dave

Raimund 04-19-2004 06:22 PM

yes, this don't work, i had the same problems when i switched to vb3, i have no idea how to fix this, but i do know a workaround, instead of changing the user title, my users get a new title.

in your case, it would be no problem to do this, if a user on your board is super user, then an additional title is put in front of the regular title.

its very easy to do, just modify a template. postbit or postbit_legacy, whatever you are using.

find
Code:

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
and put before this
Code:

<if condition="is_member_of($post, X)"><div class="smallfont">Super&nbsp;</div></if>
replace the X with the id of the secondary usergroup.

raxafarian 04-20-2004 02:56 AM

Quote:

Originally Posted by DenzoForums
I have a similiar problem. although just in testing, if i leave the user in the primary group, and add them to a secondary group via subscription, it seems to work sligtly.

They do gain the extra permissions granted to the new group, but the user title remains unchanged. meaning, Registered user --> Super User

I need to have the user title changed from registered user to super user once they have paid for the subscription. I thought i could do this with the primary group, but if this is correct, and it doesn't change back after the subscription is over, that would not work.

Thanks
Dave

the title will change upon their first post AFTER they subscribe.

Zachery 04-20-2004 02:57 AM

Quote:

Originally Posted by corsacrazy
this currently does not occur !! the user stays in the usergroup and admin has to manually change the user its a nightmare !

Dude, if its really not working REPORT IT AS A BUG!

DenzoForums 04-20-2004 01:22 PM

Zach, where do i go to report a bug?

Thanks
Dave

P.S. - at what point in the paid subscription process, does it make the changes and subscribe the user? Meaning is it upon the person clicking on the pay button, or is vbulletin getting some kind of confirmation back from the procesor (paypal) in my case that i am not aware of?

corsacrazy 04-20-2004 01:33 PM

vbulletin.com/forums/bugs.php

DenzoForums 04-20-2004 01:34 PM

Thanks - On my way!

DenzoForums 04-21-2004 02:13 PM

Quote:

Originally Posted by raxafarian
the title will change upon their first post AFTER they subscribe.

I tried that in a few tests, that is not correct. The title never changed after i made post, and as of 2 days ago, the subscription has expired, and they are still in the additional group.

I have made a bug report, so hopefully they can find a fix.

Dave

corsacrazy 05-20-2004 11:31 AM

any luck?


All times are GMT. The time now is 05:11 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.01188 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete