The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Gazette

Geek Gazette GAZ is a community newsletter management system.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2008, 09:11 PM
henrikhansen henrikhansen is offline
Senior Member
 
Join Date: Oct 2005
Location: Copenhagen
Posts: 129
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Question Default newsletter format

At the registration page, new users can subsribe to newsletters and choose format. The default is html, how can I change the default to text?
Reply With Quote
  #2  
Old 08-17-2008, 03:35 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

You would need to edit the following line in the gaz_profile_subscriptions template:
Code:
			$vbphrase[gaz_format] <select name="gaz_format"><option value="1" <if condition="$format < 2">selected ="selected"</if>>$vbphrase[gaz_html]</option><option value="2" <if condition="$format == 2">selected ="selected"</if>>$vbphrase[gaz_plain_text]</select>
By default, if $format is < 2 then HTML is selected, so you might try a nested template conditional, where if $format = 0 then Plain Text is selected, if $format = 1 then HTML is selected, and if $format = 2 then Plain Text is selected.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Newsletter send MotMann Geek Gazette 11 06-11-2008 07:42 PM
how to Default page seanc Geek Article and Review System 2 09-29-2007 08:29 PM
Newsletter formatting.. Sploodge Geek Gazette 5 07-01-2007 02:35 PM
Format top x zkilzz Geek Article and Review System 1 11-21-2006 08:31 AM
Articles and Reviews Title Format cclaerhout Geek Article and Review System 6 11-19-2006 06:46 PM


All times are GMT. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.