Author |
Message |
|
ok 1st of all i placed the code to have a poll inside a webpage before the HTML. i placed it right above "everything". All it says at the top of my page when i run it is "poll_process(4)?"
my page is still there but that text is at the very top of it. and also how can link a poll to appear in a new window???
if anyone will read this and try to help that would be great, thx
|
 |
|
i am new to php...how should i add poll to html/php files or how should i run poll file if there is already any
|
 |
|
I have searched the forum and didn't find any complete info on this for phpPoll db.
Thanks anyway
|
 |
|
Sorry, I don't know. The problem that I'm having is that I'm running this poll from http://www.webhost.com/~mylogin/Poll/survey.php so I don't have access to any of the /Poll/admin/ features. The only way I can edit
this is through sql.webhost.com and it doesn't specify whether "2" means
seconds or years. I'm working on it though.
I'm just an old .html hack from years ago and I'm finding this .php language really fascinating.
|
 |
|
I dont know, rluka. Tell me plz if you know! It`s interesting...
|
 |
|
the smilies in the upper message is offcourse suppose to be:
: - ) not .
Just so u know.
|
 |
|
If u're trying to make a long list with all the smilies, u can do it...
edit the form.php, and make a long list with the existing:
<td><a href="javascript:emoticon(' ')"><img src="$GB_PG[base_url]/img/smilies/yourpricture.gif" border="0"></a></td>
just make sure u don't enter the same value. Here: and so on...
then upload all the pictures u'd like, but if u're
only going to have the standard pics, then go to the admin page:
Smilies:
and enter the same value for the javascript at the selected picture.
Example:
happy.gif enter value in box, example : D og someting.
Then it will work. I've tried it.
Ask me again if its to hard.
Correct me if I'm wrong
Inder
|
 |
|
My further search for the solution tells me that it is difficult too combine shtml (I have also a counter). The best way is by using only a .php file.
A lot people have a link too my shtml file, so I have choosen for a iframe
<iframe src="poll.php" WIDTH=281 HEIGHT=284></iframe>
in my shtml file and the poll saved has poll.php.
|
 |
|
In file poll_cookie.php,
line 21 read:
if (!isset($HTTP_COOKIE_VARS[$cookie_name])) {
Extra character, exclamation mark at isset ... delete character. Line should read:
if (isset($HTTP_COOKIE_VARS[$cookie_name])) {
That fixes it. But the program still revotes at each page refresh. Any help with that?
|
 |
|
Thanks, exactly what I needed as well. This worked perfectly!
Josh
|
 |
|
Did you ever find a way to add an Advanced Poll block in PHp-Nuke?
Thanks
robroythe1st
|
 |
|
When someone adds a messafe AGB displays some smilies on the left side. Is there any chance to place a window with all the available smilies and let users chose right through it.
Thanks
|
 |
|
wouldnt it work to just send a webpage via e-mail that has the poll on it?
|
 |
|
NEED HELP big time .. new to all this i need to now what to do with this line for the links and guest book
# base directory to all guestbook files from the server root without trailing "/"
$base_dir = "/home/usr/you/book";
|
 |
|
Thanks very much for your reply but that didn't work for me.
This is supposed to adjust the width and height of the popup window and not the size of the poll data window which is inside the popup window.
Anyway, thanks for bearing with me as there is a lot for me to learn.
I have checked a lot of previous posts regarding setting the permissions for the files and I was not successful. The class_poll.php attribute was set to 664. I cahnged it to 666 and it still didn't work. Then I changed it to 777
and that didn't work. Do the folder permissions also have to be set.
Where can I find info on setting file attributes?
If I register this poll do you know if the author gives out this information?
Thanks..rluka
|
 |
|