vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Free Drug Card (member insurance benefits) (https://vborg.vbsupport.ru/showthread.php?t=128690)

rex_b 10-09-2006 10:00 PM

Free Drug Card (member insurance benefits)
 
What is this?

Well I've always had this vision of giving members their own little insurance package like you have at work and well I guess this is a start in the right direction.

This allows all of your member to have access to a free prescription drug card that generates discounts on all prescription drugs at 56,000 pharmacies nationwide. Not to mention this gives you credit for helping them being that it's in your forum.

This isn't a real fancy addition but very powerful. And in the end it can really help those members that are in need of this.

Tested on vB 3.5+


How to install?


Upload card.php and cardgen.php to your root dir.

Run the product

In Navbar template:

Find:

Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Add after:

Code:

        <td class="vbmenu_control"><a href="card.php" accesskey="5">Free Drug Card</a></td>

Demo?


Here


Credits
Rogersnm

rex_b 10-09-2006 11:22 PM

Reserved

COBRAws 10-10-2006 01:19 AM

This is amazing rex, I wont use if for farmacy prescription card but Ill edit a bit (if you allow me to) and addi it to my board for another kind of discount card.

THanks!

GoTTi 10-10-2006 11:26 AM

ive altered your files with some fixes:

in product-card.xml
1. just made it read properly after making a card up. like the website to visit area, instead its default to say visit the website to search for a pharmacy, i made it link back to the actual page, on click it pops up a new window.

2. fixed the submit button location, and im attaching the submit button here in this thread for people to use.

3. submit button fixed. upload the attached submit.gif icon to your /images/ folder

4. in ref to the submit button and where the image sits, everyones site informaiton is different, so if your forum isnt in /forums/ subfolder, open my product-card.xml attached here and search for
Code:

/forums/images/submit.gif
and edit it to your information.

in card.php:

1. Altered "Your Info" to "Free Pharmacy Signup

so in a nut shell, my fixes basically deal with the linkage to the pharmacy sites, and the submit button fix, and some text fixes.

nice small lil addon.

rex_b 10-10-2006 12:03 PM

Thanks Gotti

rex_b 12-11-2006 04:55 PM

thanks for the rating


All times are GMT. The time now is 05:02 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.01068 seconds
  • Memory Usage 1,720KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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