Welcome, Guest. Please Login or Register.
March 14, 2025, 04:42:04 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [BETA] YaBB Poll v0.1 Released « previous next »
Pages: 1 ... 6 7 [8] 9 10 Reply Ignore Print
Author Topic: [BETA] YaBB Poll v0.1 Released  (Read 25040 times)
K3v1n
Noobie
*
Posts: 6


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #105 on: October 11, 2002, 10:04:50 PM »
Reply with quote

Ah I got it working. :-D Thanks!!!!!
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #106 on: October 12, 2002, 11:05:29 AM »
Reply with quote

Yeah it might help if you have your own MySQL connection info in poll_tool.php rather than mine :) Gosh I love it when i forget to remove that.

So yeah, just open poll_tool.php and edit the variables like you did in poll.php. Or download the latest version http://www.greedyfools.com/freescripts/YaBB_Pollv0.3.1.zip
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #107 on: October 12, 2002, 11:11:00 AM »
Reply with quote

Quote from: Nossie on October 11, 2002, 04:17:06 PMheh it works now !!!!  ;D

only small problem tho still is that after you vote it doesnt refresh the results on the index.shtml page...

any ideas anyone how to make it do so ?

cheers ;)

I just tried yours and it doesn't work at all. Is that the old poll.php or the new one on your front page.

Also give me all the details on how your site is setup.

I see you have an index.shtml, main.php, SSI.php and of course poll.php. Do you include all 3 of those in index.shtml?
Logged
Nossie
Full Member
***
Posts: 192


If it aint broke, you haven't played with it enuff

ICQ - 18967293IanHarvie@Hotmail.com WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #108 on: October 12, 2002, 01:12:10 PM »
Reply with quote

hmm strange... your right...

I just edited your new one and put it up.. works again.. no idea what happened previously...

I call the navigation include(nav2.html) and main.php from index.shtml..

 I then call ssi.php, poll.php from inside main.php

does that help?

Ian
Logged

nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #109 on: October 12, 2002, 06:48:14 PM »
Reply with quote

Nossie,

In this case, try:

open poll.php and go to (about) line 172.

should read:

echo "<form action=$PHP_SELF method=post style=\"FONT-FAMILY: $font_face; FONT-SIZE: $font_size\">";
change to

echo "<form action=index.shtml method=post style=\"FONT-FAMILY: $font_face; FONT-SIZE: $font_size\">";
Let me know if it fixes it.
Logged
koen
Noobie
*
Posts: 9


doctor-me!

ICQ - 27306460neok82@Hotmail.com
Re:[BETA] YaBB Poll v0.1 Released
« Reply #110 on: October 25, 2002, 10:17:33 PM »
Reply with quote

I dont know If you like me to work on your MOD, but I edited the poll_tool.php and poll.php a little so you can now choose wich poll you want to show,  with poll_tool.php.

Create in PHPMyAdmin

<?
CREATE TABLE showpoll (
pollID text NOT NULL,
id int(11) DEFAULT '0' NOT NULL auto_increment,
PRIMARY KEY (id)
);
?>

and download the zip!
edit the "poll_tool.php", on line 63 fill in a password for changing the poll  -> if($password==''){ <- (between '')

it's probably not the most beutiful way to do it, but hey, it works.. ;)


nate: Contact me on ICQ/msn if you want me to delete this.. ;)


ps. version is now v0.3.2     :)

edit (/msn)
« Last Edit: October 25, 2002, 10:24:05 PM by koen » Logged
Nossie
Full Member
***
Posts: 192


If it aint broke, you haven't played with it enuff

ICQ - 18967293IanHarvie@Hotmail.com WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #111 on: October 26, 2002, 02:12:39 AM »
Reply with quote

Quote from: nsanden on October 12, 2002, 06:48:14 PMNossie,

In this case, try:

Thanks for that nsanden....

unfortunatly I get ..

Method Not Allowed
The requested method POST is not allowed for the URL /index.shtml.


--------------------------------------------------------------------------------

Apache/1.3.27 Server at www.3dhomeworld.com Port 80

my server doesnt run in safe mode if that helps

cheers,
Ian.
Logged

flammini
Noobie
*
Posts: 1


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #112 on: October 27, 2002, 11:52:22 PM »
Reply with quote

I really like this concept of this MOD and I can get it to partially work. I've read and read and read to try to solve my problem but this what the wall that I am constantly hitting. I was wondering if you can supply me with any help here..

This is what I get when I run the MOD.

when I'm logged out I see the poll.

when I click on the login icon a message box comes up and tells me to debug with the error that is shown in the picture.

I am using the index.php as the startup with a heavily modified template.php.

If there is any help that you can give it would surly be appreciated.

Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #113 on: November 03, 2002, 08:52:27 PM »
Reply with quote

Quote from: flammini on October 27, 2002, 11:52:22 PMI really like this concept of this MOD and I can get it to partially work. I've read and read and read to try to solve my problem but this what the wall that I am constantly hitting. I was wondering if you can supply me with any help here..

This is what I get when I run the MOD.

when I'm logged out I see the poll.

when I click on the login icon a message box comes up and tells me to debug with the error that is shown in the picture.

I am using the index.php as the startup with a heavily modified template.php.

If there is any help that you can give it would surly be appreciated.



That looks like a javascript error. Yabb Poll doesn't have any javascript in it, so unfortunatly I don't know what to tell you. It's something to do with Javascript you have in your template.
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #114 on: November 03, 2002, 09:04:37 PM »
Reply with quote

Quote from: Nossie on October 26, 2002, 02:12:39 AM
Quote from: nsanden on October 12, 2002, 06:48:14 PMNossie,

In this case, try:

Thanks for that nsanden....

unfortunatly I get ..

Method Not Allowed
The requested method POST is not allowed for the URL /index.shtml.


--------------------------------------------------------------------------------

Apache/1.3.27 Server at www.3dhomeworld.com Port 80

my server doesnt run in safe mode if that helps

cheers,
Ian.


Nossie I forget... Was the issue with yours just that it wouldn't go back to the index.shtml page after you voted? If so change that line back to $PHP_SELF and add this code:

echo "<script language=\"JavaScript\">
self.location = \"index.shtml\";
</script>";

After

mysql_query("UPDATE ".$dbprefix_poll."polls SET votes$opt=votes$opt+1, votedMemberIDs='$votemember' WHERE ID_POLL='$pollid';",$server);
Logged
Nossie
Full Member
***
Posts: 192


If it aint broke, you haven't played with it enuff

ICQ - 18967293IanHarvie@Hotmail.com WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #115 on: November 04, 2002, 09:20:36 AM »
Reply with quote

Hi thanks for getting back to me on that.....

after changing the code the index page half loaded and then kept refreshing back to index.shtml... I'm guessing it was in an endless loop ? any ideas ?

cheers !!

Nossie
Logged

BiErLeEuW
Full Member
***
Posts: 174


WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #116 on: November 21, 2002, 03:37:30 PM »
Reply with quote

I get this error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in d:\www\onsforum.nl\www\yabbse\poll.php on line 159

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in d:\www\onsforum.nl\www\yabbse\poll.php on line 171

some-one can say me what i do wrong?
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #117 on: November 21, 2002, 06:00:58 PM »
Reply with quote

99.9999% chance that you supplied either a wrong username, password, server, or database name.

Check those again in your configuration.
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #118 on: December 01, 2002, 05:07:58 AM »
Reply with quote

OK...this is an addon..right? Where is the actual poll mod. I swear...I swear I've looked all through this board trying to find it. I've been sitting here for an hours searching.
 ???
Logged

Karma -1?! Damn that llama!!!
nsanden
Jr. Member
**
Posts: 58


I'm a llama!

Re:[BETA] YaBB Poll v0.1 Released
« Reply #119 on: December 01, 2002, 07:31:46 AM »
Reply with quote

Quote from: diva_uno on December 01, 2002, 05:07:58 AMOK...this is an addon..right? Where is the actual poll mod. I swear...I swear I've looked all through this board trying to find it. I've been sitting here for an hours searching.
 ???

Doesn't the poll come as part of the YaBB installation? Mine was there when I installed YaBB.
Logged
Pages: 1 ... 6 7 [8] 9 10 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [BETA] YaBB Poll v0.1 Released « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.042 seconds with 20 queries.