If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
OK advanced poll works great, I have it included on my page at http://www.sportzradio.com/shows/arena/index.htm if you answer the poll you get a poll not found error, but if you vote, it takes you to poll not found but if you refresh the page it did take the vote?

Any Ideas?
Did anyone figure this out? By this I mean having a working guestbook up for a while and all of a sudden not being able to login as admin. I tried resetting the password and it seems the user/pass works but as soon as I try to do anything I am back at the login form. I am running 2.3.1 and it was installed as 2.3.1 not updated.
Thanks.
Rene,

Don't know if this will help at all - have just posted message about removing required fields from Advanced Guestbook. If Advanced Poll is set up on similar lines to Advanced Poll it may be of some use.

http://proxy2.de/forum/viewtopic.php?t=2877

Hope it helps.
Thought this might be useful to someone...

How to change the required fields in Advanced Guestbook.

If a user submits an entry to Advanced Guestbook and doesn't fill in the Name and Message fields then the entry is rejected and an error message displayed. You can change the fields that are required and the messages that are displayed.

Apologies if some of this is a bit basic, most of you guys on the forum are well advanced and sometimes the responses are too technical for a beginer like me , hopefully this explanation can be followed by all.

To change the required fields...

1 - Save copies of files before editing them. These changes worked for me, if they don't work for you at least you can go back to where you were. Files that get changes are: form.php in the templates subdirectory, add.class.php in the lib subdirectory and english.php in the lang sub-directory (or whatever language you're using).

2 - You need to delete the part of the script that checks to see if the field has been filled in.

3 - This example removes the requirement to fill in the Name field - the script for other fields is very similar (e.g. for comments it's gb_comment.value as opposed to gb_name.value and ErrorPost2 as opposed to ErrorPost1 etc).

4 - Open form.php from the templates sub-directory.

5 - Find the script in question. The script that requires the Name field to be filled in is this (lines 13 to 17)...


6 - Delete it.

7 - You can delete other parts of the script in order to remove the requirement to fill in other fields (the code to delete will be very similar except it will have a different ErrorPost number and different name).

8 - Once you're deleted what you don't want save the file.

9 - Open add.class.php from the lib sub-directory

10 - Find the script in question. The script that requires the Name field to be filled in is this (lines 189, 190 and part of 191)...

11 - Delete it (only the first 6 characters from line 191, after deleting line 191 should start...
12 - You can delete other parts of the script in order to remove the requirement to fill in other fields (the code to delete will be very similar except it will have a different ErrorPost number and different name).

13 - Once you're deleted what you don't want save the file.

To change the messages...

14 - If you've changed the required fields you might want to remove the asterisk that indicates required fields. Open form.php again and delete the asterisk where applicable (do a search for * and delete as required).

15 - If you've no longer got any required fields you may want to get rid of the bit that says The blanks with (*) represent required fields. If so, open english.php (or whatever language you're using) from the lang sub-directory and edit the message - in this case it's called FormMess1 and is on line 28.

16 - Whilst you're in form.php you can change your other messages.

That's it. Hope someone finds it useful.

Trevor
Webbo wrote:Das img/ Verzeichnis weglassen. Das wird drangehangen.

Danke für den Tip, war sehr lehrreich, denn im Kommentar ist das etwas schlecht erläutert.
Wie kann ich bei den Kommentare von Adwanced Poll die Eingabe der Emailadresse erzwingen?

THX
René
Wie kann ich bei den Kommentare von Adwanced Poll die Eingabe der Emailadresse erzwingen?

How can I enable comments just if people enter an Emailadress?

THX
René
what? no one can help me?
what? no one can help me?
hi, i try to instale the Advanced Poll 2.0.2 and this error message was showed
i didn't chmod the file 'cose there wasn't writed in read me file. in config.inc.php file i write all the thing that was need...
what the preblem? please help me.

my host have php4 and all other things. in
Warning: mysql_connect(): Lost connection to MySQL server during query in /usr/apache/htdocs/myfree_content/kocmoc.amillo.net/poll/include/class_mysql.php on line 32
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 0
Date : Mon, March 8, 2004 14:27:00
IP : 81.218.164.244
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Referer :
PHP Version : 4.3.4
OS : Linux
Server : Apache/1.3.29 (Unix) mod_layout/3.2.1
Server Name : www.kocmoc.amillo.net
Script Name : /poll/install.php
test
Exact same problem here.
Need a solution.
I'm having the exact same problem...
any answers?
I know this is an old post but in case anyone comes by in future with the same problem.

I'm guessing the site is hosted by Yahoo! Seems to be some sort of php conflict resulting from anti-spam policy. Had exactly the same problem, made the following changes and it all works fine...

Open the file add.class.php in the lib sub-directory, find the following (should be line 266)...

$from_email = ($this->email == "") ? "nobody@$host" : $this->email;

replace nobody@$host with your own (valid) e-mail address.

Save it. Test it & it should work. If not then

Have fun!
I'm far from an expert it's just that the things you wanted to do were the things I'd just struggled with for ages. If you need any more help post a message or mail me at 070304c@kahlil.org. Good luck
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum