Installation Guide |
![]() |
Script Name | CJ Dynamic Poll v2.0 |
|
|
Files/Directories Required & Permissions: |
poll.php archive.php js_header.php poll_config.php pollcount.php CHMOD 777 submit_vote.php bar.gif admin/admin_index.php admin/admin.php admin/admin_stylesheet.php admin/login.php admin/poll_functions.php admin/misc_functions.php admin/bottom.jpg admin/top.jpg admin/topleft.jpg admin/login.jpg admin/welcome.gif polldata/ CHMOD 777 (FOLDER) archivedata/ CHMOD 777 (FOLDER) |
|
|
Installation | 1) Variables to edit in poll_config.php
Change the variable below to your name Change the variable below to the URL where your
poll files are stored $imgurl = "http://www.yoursite.com/dynamicpoll/bar.gif"; Change the variable below to set the height of your poll bar, 5 is the default $poll_bar_height = "5"; Change the variable below to your stylesheet or
leave blank to use the default stylesheet - this is for the archive
page. $nopoll = "No Poll Open"; Change the variable below (if you want to) to change the message shown when a visitor has already voted. $voted_already = "Already Voted"; Change the variable below (if you want to) to
change the link text shown that a user clicks on to view the archive. $vote_button_text = "Vote!"; Change the variable below to true if you want the polls to display in random order (note: you must have more than 1 poll open) Leaving the variable at false will simply display the polls in sequence according to their creation date. $random_display = false; Change the variable below to false if you would
rather the poll reverted to the initial page after the visitor votes.
If you leave it true, the visitor will be thanked for voting.
4) Including the Script |
|
|
Finished | That's all! If you have any problems with the script go to www.cj-design.com/?content=forum and seek advice! If you spot any bugs, please let me know via the forums (Personal Messaging!) |
|
|
Donate | Show your appreciation for this script by
donating : ) www.cj-design.com/?content=donate You can also link to CJ Website Design using our methods shown here: www.cj-design.com/?content=linktous |
|
© CJ Website Design