vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide certain paid subscriptions? (https://vborg.vbsupport.ru/showthread.php?t=150948)

grecostimpy 06-29-2007 11:51 AM

Hide certain paid subscriptions?
 
I am looking to start allowing vendors on my forum, but I want to use the Vbulletin "paid subscription" feature to handle all payments (that way, when its time to re-up, I do not have to keep track of tracking down payments...plus, it can instantly also add them to the "Vendors" group.)

Problem is, I do not want my regular users to see the available vendor paid subscriptions from their UserCP in the paid subscriptions section.

My question:

Is there anyway to make an "invisible" subscription that can only be accessed from a link? (That way if a vendor wants to sign up, I can just send them the link and let the system handle the rest).

Thanks! :)

grecostimpy 07-02-2007 10:45 AM

Bump?

jluerken 07-02-2007 10:51 AM

I never tried it but I think you can add a conditional to the subscription template to not show a special subscription ID.
Its there but simply not shown. Using this method the vendors can still access it with the direct link but it does not appear on the page where all subsricptions are listed.

steve71 07-02-2007 12:23 PM

http://www.vbulletin.com/forum/showt...ht=paid+navbar

<if condition="$bbuserinfo[userid] != 0">
<td class="vbmenu_control"><a href="payments.php$session[sessionurl_q]">Paid Subscriptions</a></td>

</if>



This will show the subscription link (in navbar) only to registered users (group 0 is un-registered/non-logged in)...maybe you can tweak it to only show to the "vendors" group. I'm not sure this is feasible for you though..as far as just having a link send the vendors: http://www.yoursite/forum/payments.php

For this link to work though, you will have to enable the paid subscritpion feature, so it will be visible in all members UserCP/miscellaneous.

grecostimpy 07-02-2007 12:39 PM

Quote:

Originally Posted by steve71 (Post 1281203)
http://www.vbulletin.com/forum/showt...ht=paid+navbar

<if condition="$bbuserinfo[userid] != 0">
<td class="vbmenu_control"><a href="payments.php$session[sessionurl_q]">Paid Subscriptions</a></td>

</if>



This will show the subscription link (in navbar) only to registered users (group 0 is un-registered/non-logged in)...maybe you can tweak it to only show to the "vendors" group. I'm not sure this is feasible for you though..as far as just having a link send the vendors: http://www.yoursite/forum/payments.php

For this link to work though, you will have to enable the paid subscritpion feature, so it will be visible in all members UserCP/miscellaneous.

Yeah, I really want to keep the members from seeing it at all as there are user-level paid subscriptions already in use.

Quote:

Originally Posted by jluerken
I never tried it but I think you can add a conditional to the subscription template to not show a special subscription ID.
Its there but simply not shown. Using this method the vendors can still access it with the direct link but it does not appear on the page where all subsricptions are listed.

Any ideas on how to accomplish this? Thanks for your help :)

bada_bing 07-02-2007 04:58 PM

I am interested in this also.. I only want my sponsor usergroup to see the sponsor subscription and all my other usergroups to see my normal subscriptions

grecostimpy 07-03-2007 01:48 PM

Last call?

bada_bing 07-03-2007 01:59 PM

I cant belive there is no hack for this yet.. Any offfers making one would be very helpful for site owners with paying sponsors

grecostimpy 07-03-2007 03:36 PM

I agree....I searched through all the hacks really expecting one to pop up. But nothing.

Anyone interested in creating one?

bostton1 08-04-2007 09:38 AM

Quote:

Originally Posted by steve71 (Post 1281203)
http://www.vbulletin.com/forum/showt...ht=paid+navbar

<if condition="$bbuserinfo[userid] != 0">
<td class="vbmenu_control"><a href="payments.php$session[sessionurl_q]">Paid Subscriptions</a></td>

</if>



This will show the subscription link (in navbar) only to registered users (group 0 is un-registered/non-logged in)...maybe you can tweak it to only show to the "vendors" group. I'm not sure this is feasible for you though..as far as just having a link send the vendors: http://www.yoursite/forum/payments.php

For this link to work though, you will have to enable the paid subscritpion feature, so it will be visible in all members UserCP/miscellaneous.


all you have to do is chage the 0 in "[userid] != 0">" to the usergroup your sponsors are in and they will be the only ones to see it.


All times are GMT. The time now is 04:56 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.01156 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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
  • (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