View Full Version : Polls?

06-30-2009, 11:42 PM
Just purchased GAZ and it's only taken me a hour to setup, format and have our first newsletter ready to go! Great program, better than the one we came from :)

What would be exceptional, would be the ability to specify a poll to be featured for that newsletter...

Unless this can already be done, in which case kick me in the right direction!

07-02-2009, 02:31 PM
GAZ comes with four default modules:

Text Block: This module will allow you to display static text including html and bbcode (example in right hand column here (http://www.thevbgeek.com/newsletter.php))

Info Block: This module will display text you type in or show the text entered in the issue message (example is top welcome row here (http://www.thevbgeek.com/newsletter.php))

Statistics Block: This module will display site statistics (example in right hand column here (http://www.thevbgeek.com/newsletter.php))

Thread Block: This module will allow you to configure a list of threads to display (the five other blocks here (http://www.thevbgeek.com/newsletter.php) are from the thread block)

The thread block allows you to choose how you want to order threads, and whether you want that ordering to be descending (highest to lowest) or ascending (lowest to highest):

The latest created
The latest replies
The most replies
The most views

You can place blocks in the following positions for HTML (center is the only position for Plain Text):


You can use each module more than one time, but if your newsletter has any other information that cannot be displayed by using one of the default modules, a custom module would need to be coded. For other blocks not included in GAZ, such as polls, you'd need to add custom modules.

If you want to add other modules, you would need to know PHP, understand the code of the default modules, and be familiar with the vB tables so you could code a module that pulls the information you want from the vB tables and displays the information on screen, while being in a format like the default modules so GAZ understands the new module.