Welcome, Guest. Please Login or Register.
September 28, 2022, 07:34:22 AM
Home Help Search Login 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  |  Topic: [BETA] YaBB Poll v0.1 Released « previous next »
Pages: 1 2 3 [4] 5 6 ... 10 Reply Ignore Print
Author Topic: [BETA] YaBB Poll v0.1 Released  (Read 16084 times)
k1ro
Noobie
*
Posts: 13



WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #45 on: June 23, 2002, 03:35:11 AM »
Reply with quote

Could someone make such a mod for
Threads, so that users can see (and got to) the latest 10 Threads. (if you dont know what i mean, take a look at www.3dchips.net theres is a box in the right with the latest ten board-headlines)

thx

k1ro


PS: sry, 'cause my english isn't very good
« Last Edit: June 23, 2002, 04:18:50 AM by k1ro » Logged

visit Binary Studios
and/or our Board
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again


WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #46 on: June 25, 2002, 10:06:52 AM »
Reply with quote

I have a weird problem with this. The poll on my front page doesn't show the right options. It gives me two options twice although they are not twice in the poll on my forum. Why is this?
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #47 on: June 25, 2002, 11:40:18 AM »
Reply with quote

It's a bug I just noticed yesterday as well. Real simple fix. Open the poll.php with notepad. Hit CTRL-F. Do a search for this string "$poll_option6</td><td width=7>". Minus the quotes.

It will show you in the code where that string is. You'll see a pattern in the code. Below and above looks the same except it will be $poll_option5, and $poll_option7, etc.

I accidently had $poll_option6 twice.

If your extremely confused, wait a little longer and i'll post the fix.
Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again


WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #48 on: June 25, 2002, 01:01:24 PM »
Reply with quote

It's a bug I just noticed yesterday as well. Real simple fix. Open the poll.php with notepad. Hit CTRL-F. Do a search for this string "$poll_option6</td><td width=7>". Minus the quotes.

It will show you in the code where that string is. You'll see a pattern in the code. Below and above looks the same except it will be $poll_option5, and $poll_option7, etc.

I accidently had $poll_option6 twice.

If your extremely confused, wait a little longer and i'll post the fix.

Yeap, found it.
« Last Edit: June 25, 2002, 01:02:11 PM by Hypocrite » Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199



WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #49 on: June 25, 2002, 10:16:33 PM »
Reply with quote


Could someone make such a mod for
Threads, so that users can see (and got to) the latest 10 Threads. (if you dont know what i mean, take a look at www.3dchips.net theres is a box in the right with the latest ten board-headlines)

thx

k1ro


PS: sry, 'cause my english isn't very good


There is already a mod for this included in YaBB SE. There is an file in your SE diretory called SSI.php that has all the functions you need to do that. See http://www.gamerzalliance.com for an example of it in use. Do a search for SSI.php to find out how to use it.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again


WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #50 on: June 26, 2002, 08:38:10 AM »
Reply with quote

The mod isn't still working right :) The poll option 7 has 0 votes but shows 29 %. Why is that? :) Tried to look at the poll.php but didn't see anything wrong.

EDIT:
Okay, found it.
The script says:
Code: [Select]
$poll_votes8 ($pollvotes7percent%)
When it should say:
Code: [Select]
$poll_votes8 ($pollvotes8percent%)
« Last Edit: June 26, 2002, 08:41:05 AM by Hypocrite » Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #51 on: June 26, 2002, 08:46:29 AM »
Reply with quote

Not sure if this is it or not but it needs to be fixed regardless. Search for "$pollvotes7percent%". The second one needs to be $pollvotes8percent% not $pollvotes7percent%
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #52 on: June 26, 2002, 10:29:41 AM »
Reply with quote


The mod isn't still working right :) The poll option 7 has 0 votes but shows 29 %. Why is that? :) Tried to look at the poll.php but didn't see anything wrong.

EDIT:
Okay, found it.
The script says:
Code: [Select]
$poll_votes8 ($pollvotes7percent%)

When it should say:
Code: [Select]
$poll_votes8 ($pollvotes8percent%)


You beat me to it
Logged
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #53 on: June 27, 2002, 06:54:34 AM »
Reply with quote

Liked this mod :) cant wait till its final
Logged

Star wars rules!
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


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

Well I was going to wait until I optimized and cleaned up some of the code but I just decided i'd post the latest fixed version for all that want it right away!

http://www.greedyfools.com/freecontent.php

(Scroll to the bottom to find the download link)


As always, PLEASE report any and all bugs in this thread.

Thanks,
Nate
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.


WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #55 on: July 02, 2002, 04:00:18 AM »
Reply with quote

Great mod, but I removed the

Code: [Select]
<td width=7> </td>

because that resulted in an ugly empty cell......

I still have one question though :

I want to be able to choose WHICH poll is on the mainpage.  I would like to know where I can put the poll-number in, so that poll stays on the mainpage.....

Can you tell me how to do it ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #56 on: July 04, 2002, 12:45:26 PM »
Reply with quote

sheesh, picky picky  ;)

download this one... (only for people wanting to specify which poll is shown)

NOTE: you will of course have to know the Poll_ID.. It's in your database.

http://www.greedyfools.com/freescripts/poll_type2.zip
« Last Edit: July 04, 2002, 12:46:24 PM by nsanden » Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #57 on: July 04, 2002, 03:41:00 PM »
Reply with quote

BIG UPDATE

v0.2 now available...

Updates:
*Ability to choose between showing the latest poll, a poll you choose (by id number), or a random poll.
*Code optimized and cleaned up. File is 1/3 the size.

http://www.greedyfools.com/freecontent.php

(again scroll to the bottom and look for the Yabb poll link to download)

Who should upgrade? Everyone!
« Last Edit: July 04, 2002, 04:28:32 PM by nsanden » Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again


WWW
Re:[BETA] YaBB Poll v0.1 Released
« Reply #58 on: July 04, 2002, 04:07:57 PM »
Reply with quote

For some reason the zero votes options don't have the little bar at all.
Logged
nsanden
Jr. Member
**
Posts: 58


I'm a llama!


Re:[BETA] YaBB Poll v0.1 Released
« Reply #59 on: July 04, 2002, 04:11:49 PM »
Reply with quote

Make sure your using the latest version. I updated it many times, (found little bugs here and there since I posted that) but the latest is the final version...
Logged
Pages: 1 2 3 [4] 5 6 ... 10 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  Topic: [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.0.18 | SMF © 2021, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.378 seconds with 15 queries.