Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2006, 03:15 AM
Spiker Spiker is offline
 
Join Date: Feb 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Print Address Labels for subscribers

It would be awesome if there was a mod that allowed you to print address labels for current subscribers.

For example, if you have a printed newsletter and manage the annual subscriptions through vbulletin, you can print mailing labels directly from vbulletin and possibly have an expiration date next to their name.

If this would be way too hard does anyone know of a subscription manager that would so something like this (not associated with vbulletin)? Currently we have all memberships ending on Dec. 31st (if they sign up in june they pay for half a year) but would like to have memberships run 1 year from date of sign-up. However, it seems like a logistical nightmare to do this by hand as we have lots of members. Thanks
Reply With Quote
  #2  
Old 03-13-2007, 12:36 PM
misterhyde misterhyde is offline
 
Join Date: Feb 2007
Location: Lansing, MI
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be a great tool for me. Can anyone point me in the right direction?
Reply With Quote
  #3  
Old 01-18-2008, 04:11 PM
ccaldwell ccaldwell is offline
 
Join Date: Nov 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I as well would love to see some report printing capability.
Reply With Quote
  #4  
Old 01-19-2008, 08:15 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The easiest would be to just select the data and use a PC application to print the labels.
Reply With Quote
  #5  
Old 01-22-2009, 08:29 AM
emailapphost emailapphost is offline
 
Join Date: Oct 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want this to.
Thanks.
Reply With Quote
  #6  
Old 01-27-2009, 08:54 AM
emailapphost emailapphost is offline
 
Join Date: Oct 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marco,
When you say "select the data" in vBulletin.

Do you mean to have a PC application access the data directly in the vBulletin database?
Or,
Do you mean to export it as a comma separated file?

Or something else?
Reply With Quote
  #7  
Old 01-27-2009, 09:21 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whichever suits you.

Address information is not stored in vBulletin by default, so it will always be a custum task to retrieve the information and to print it.
Reply With Quote
  #8  
Old 01-28-2009, 05:56 AM
emailapphost emailapphost is offline
 
Join Date: Oct 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marco, thanks for helping in this,

I have added address fields in the "User Profile Fields", but it does not show up in the users signup page.
Is this how you add address fields?
How do you get it to appear on the singup page?

Is this data then stored in the database?
Reply With Quote
  #9  
Old 01-28-2009, 07:10 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The data is stored in a seperate table for user profile fields and can be pulled up through a query or in the user view page.

To get the fields to show in the signup page change them to either required or optional, but show during registration. This option can be found in the settings of each profile field (look for the drop down about 2/3rds down the page).

As far as getting this data into address labels, all you need to do is run a query for the custom fields to store address and perhaps the username if you plan to use that. You can copy the output into a text file, save it as .csv and use word or any other desktop publishing program to create labels from it.

An example query to fetch 5 userfields, the userid and username:

Code:
SELECT u.username,uf.userid,uf.field2 as address,uf.field3 as city,uf.field4 as state,uf.field5 as zipcode,uf.field6 as country
FROM userfield AS uf
LEFT JOIN user AS u ON(u.userid = uf.userid)
WHERE uf.field2 <> ''
LIMIT 5
This can be run through your AdminCP if you have SQL rights for your admin user. Be sure to add any table prefects before both userfield and user if necessary (user vb_userfield). Change the field numbers to whatever your actual settings are.
Reply With Quote
  #10  
Old 01-28-2009, 08:16 AM
emailapphost emailapphost is offline
 
Join Date: Oct 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ted (thanks a lot btw),

If I want to use the vBulletin database to keep internal administrative track of my newsletter subscribers payments, expirations etc, can I add fields in the db using using profile fields and manipulate this data using phpMyAdmin?

Is there a big risk of corrupt data and vBulletin corruption if I manipulate data (like address uppdates, passwords, etc) using phpMyAdmin?
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:51 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.04897 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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