Author |
Message |
|
Hello
I have been trying to setup the poll so it can be displayed on my other websites.
I'm using the db style
$POLLDB["host"] = "localhost"; with main domian added in mysql
the pages I'm placing it on are html w/ .htacess to php
but the path to the poll won't work, get errors on the page when doing the full http://www. domainname/poll/---------
is there a way of doing this ????
Thanks
|
|
|
no need to be so rude
|
|
|
you've never given your users the ability to modify output files, but not the actual executable code itself?
|
|
|
midnite wrote:The e-mail address is also displayed under the "Comments" section, as the tiny little envelope icon. This will also enable robots and such to possibly steal the address again without anyone's permission.
Further down in the entry.php file is the "$EMAIL" variable.
... remove that, and there are truly no e-mails displayed.
TB
Remove that and you wind up with a black background and nothing at all but the address book??? I am using 2.3.1 does it work here?
|
|
|
after further research I believe I am using the correct version, 2.3.1, but I may not have my permissions set correctly. Where and how should I set my permissions to be able to modify the templates? I've looked at other posts in here to change my permissions but there is conflicting information as to where and what to set. Thanks.
|
|
|
# Did you even look at the demo2.php file that came with the download?
About thousands times. It just didn't work... nore did the one You pasted here.
These two lines (64-65 here) seems to be critical:
They cause errors and 'comment section' disappears. Like this:
"Warning: main(/include/config.inc.php): failed to open stream: No such file or directory in /www/asiakkaat/turkku/public_html/poll/karmeat.php on line 64"
and
"Fatal error: main(): Failed opening required '/include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /www/asiakkaat/turkku/public_html/poll/karmeat.php on line 64"
I REMOVED them and did another test version and
http://www.turkku.com/poll/karmeat_ORIG.php
and BANG. Almost. Now the 'comments' are there and also are the results, but instead the 'vote section' is missing. But does this indicate that the trouble ain't there?
This is way too much much for a newbie like me. But is it the PATHS that are somehow badly wrong here?
Opening line:
So all of the stuff are under
I'm beginning to loose my hope... [/code]
|
|
|
Hi,
I may sound really stupid but i have built a site for someone, and its very basic, i have added a forum and guestbook because that was simple.
However i am really struggling with the poll. In the admin section i have created a poll but thats as far as i have got. I do not know how to put it into my site, please can someone help me. I have tried copying HTML and that hasnt worked for me so i must be doing it wrong. Please can someone send me the html that i should put into my site?
thanks
ian
|
|
|
i can prevent the poll from being voted by the same person twice...
but how about the add comment? the same guy can just add and add and add different comments... anyway to stop that?
anyway to force verification of email? or block same ip from sending comments twice in a day?
|
|
|
Right after pasting the first script in the instructions I get the following error:
Warning: fopen(./templates/header.php): failed to open stream: Permission denied in /home/rappetog/public_html/guestbook/lib/admin.class.php on line 193
Warning: fwrite(): supplied argument is not a valid stream resource in /home/rappetog/public_html/guestbook/lib/admin.class.php on line 194
Warning: fclose(): supplied argument is not a valid stream resource in /home/rappetog/public_html/guestbook/lib/admin.class.php on line 200
Please advise. Thanks.
|
|
|
please feel free to reply im sort if you understand what im asking of.
|
|
|
What is the php include needed to have the newest poll displayed i was looking through the demos and it seemed like you had to manually change the number everytime you added a poll. Thanks in advance.
|
|
|
I am having really weird postings in my guestbook every day.. atleast 5-6 of them daily, i go in and delete them, and then the next day there are new ones.. they say "Your site is raelly excellent" and give a really long link to something... they spell really wrong... i'm confused.. what is happening, and what can I do... I'm getting really annoyed!
Thanks!
|
|
|
how do i remove the IP address that is display on my comments section? i wanna ensure that my voters are safe... displaying their ip address can endanger them...
|
|
|
How do I block IP's that don't have numers? e.g. buzzard.ai.net
These people are loading my guest book up and I have to delete sevral everyday.
Any solution?
|
|
|
wouldn't it make more sense to just use a more standard method of templates? even just a quick and dirty str_replace to put the proper values in?
Personally, it sounds like a bad idea to have executable code in a template file. Particularly with the permissions settings required to make advanced poll function properly with the flat file method on a *nix based system.
|
|
|