Jens' "Official Song Poll" script
Does anybody know how to do something like the "Official Song Poll"-Perl-script? I'd like to use it in one of the forums i'm currently moderating, but much time has gone since i learned Perl..
Maybe somebody knows where I can download ready-to-use-scripts?
Maybe somebody knows where I can download ready-to-use-scripts?
Spamming is serious business!
- JensJohansson
- Administrator
- Posts:1490
- Joined:Thu Feb 28, 2002 10:45 pm
- Contact:
Re: Jens' "Official Song Poll" script
Well.. I do obviously..Dave wrote:Nobody?
Is it phpbb tho?
Jens.
================================
"Koskenkorva is very good."
-Ronald Reagan
================================
================================
"Koskenkorva is very good."
-Ronald Reagan
================================
Re: Jens' "Official Song Poll" script
Yep it is--but it's a hosted one..
EDIT: But we're thinking about getting some own server and let it run there, so if it's just working on non-hosted phpbb, that shouldn't be the problem
EDIT: But we're thinking about getting some own server and let it run there, so if it's just working on non-hosted phpbb, that shouldn't be the problem
Spamming is serious business!
- JensJohansson
- Administrator
- Posts:1490
- Joined:Thu Feb 28, 2002 10:45 pm
- Contact:
Re: Jens' "Official Song Poll" script
Then you're probably shit out of luck =)Dave wrote:Yep it is--but it's a hosted one..
But if you can use perl cgi then
http://www.stratovarius.com/forum/songpoll.txt
Jens.
================================
"Koskenkorva is very good."
-Ronald Reagan
================================
================================
"Koskenkorva is very good."
-Ronald Reagan
================================
Re: Jens' "Official Song Poll" script
Thanks anyway --I think i'll keep that for my soon opening private spamming forum
Spamming is serious business!
Re: Jens' "Official Song Poll" script
believe me or not, i read the code! damn, i must have had too much time to kill...
@Dave, since you are using phpBB, why not rewrite this Perl code in PHP? if the server supports phpBB it certainly supports any PHP scripts. perl and php are 90% alike so there's not too much work to do.
@Dave, since you are using phpBB, why not rewrite this Perl code in PHP? if the server supports phpBB it certainly supports any PHP scripts. perl and php are 90% alike so there's not too much work to do.
++The way that I feel is the way that I heal++
- Beast_Pete
- Sr. Member
- Posts:6489
- Joined:Sun Mar 02, 2003 8:34 pm
- Location:Budapest, Hungary
- Contact:
Re: Jens' "Official Song Poll" script
JensJohansson wrote:Code: Select all
pps don't tell anyone, but we're not going to play black diamond ever again! ppps just kidding :)
"Mikor az utolsó véred is elfolyék,
S a tested is a porba hullék,
Akkor is van még remény,
Mert a lelked továbbra is él."
- Mark Swanson -
from the book, Nick's legend
S a tested is a porba hullék,
Akkor is van még remény,
Mert a lelked továbbra is él."
- Mark Swanson -
from the book, Nick's legend
- JensJohansson
- Administrator
- Posts:1490
- Joined:Thu Feb 28, 2002 10:45 pm
- Contact:
Re: Jens' "Official Song Poll" script
Well.. I wrote it so imagine all the time I had to kill!!! =) Time I probably didn't actually have.... =)Syren.S wrote:believe me or not, i read the code! damn, i must have had too much time to kill...
@Dave, since you are using phpBB, why not rewrite this Perl code in PHP? if the server supports phpBB it certainly supports any PHP scripts. perl and php are 90% alike so there's not too much work to do.
Well converting to php should of course be quite trivial:
Code: Select all
<? echo exec("/bin/perl -T songpoll.pl"); ?>
Jens.
================================
"Koskenkorva is very good."
-Ronald Reagan
================================
================================
"Koskenkorva is very good."
-Ronald Reagan
================================
Re: Jens' "Official Song Poll" script
You people with your little codes freak me out...
FREAKS!!!
FREAKS!!!
If irony were made of strawberries, we'd all be drinking a lot of smoothies right now.
Re: Jens' "Official Song Poll" script
Stealth wrote:You people with your little codes freak me out...
FREAKS!!!
yeah, those little unhuman codes freak me out as well
- Beast_Pete
- Sr. Member
- Posts:6489
- Joined:Sun Mar 02, 2003 8:34 pm
- Location:Budapest, Hungary
- Contact:
Re: Jens' "Official Song Poll" script
I'd love to be able to read the whole code. I don't know this language, but I understand some obvious words.
"Mikor az utolsó véred is elfolyék,
S a tested is a porba hullék,
Akkor is van még remény,
Mert a lelked továbbra is él."
- Mark Swanson -
from the book, Nick's legend
S a tested is a porba hullék,
Akkor is van még remény,
Mert a lelked továbbra is él."
- Mark Swanson -
from the book, Nick's legend
- stratoplayer
- Sr. Member
- Posts:2598
- Joined:Sat Feb 26, 2005 9:05 pm
- Location:Monterrey, Mexico
Re: Jens' "Official Song Poll" script
I'd love to learn how to program period! But i do not have too much free time, and writting endless lines of code seems like an inhuman task to me
Close your eyes and try to remember, destroyed lullabies of days gone by
Close your eyes on the edge of forever, a chance to dream fast asleep your nightmare ends
Close your eyes on the edge of forever, a chance to dream fast asleep your nightmare ends
Re: Jens' "Official Song Poll" script
hahahaha Jens you rule!JensJohansson wrote:Well converting to php should of course be quite trivial:
Code: Select all
<? echo exec("/bin/perl -T songpoll.pl"); ?>
okay Dave, if you can wait til this weekend, i might have another hour or two to kill, and convert the core part for you. (i say *might*!)
++The way that I feel is the way that I heal++
Re: Jens' "Official Song Poll" script
So do I!Beast_Pete wrote: I don't know this language, but I understand some obvious words.
I clearly understand the words perl and songpoll... I'm on the right way to become a super geek I guess...<? echo exec("/bin/perl -T songpoll.pl"); ?>
Lady Elecktra - Warrioress and Keeper of the Light of Booga
You are responsible, forever, for what you have tamed. - Antoine de Saint-Exupery
You are responsible, forever, for what you have tamed. - Antoine de Saint-Exupery
- Beast_Pete
- Sr. Member
- Posts:6489
- Joined:Sun Mar 02, 2003 8:34 pm
- Location:Budapest, Hungary
- Contact:
Re: Jens' "Official Song Poll" script
LOL. That made my day.Cristiane wrote:So do I!Beast_Pete wrote: I don't know this language, but I understand some obvious words.
I clearly understand the words perl and songpoll... I'm on the right way to become a super geek I guess...<? echo exec("/bin/perl -T songpoll.pl"); ?>
"Mikor az utolsó véred is elfolyék,
S a tested is a porba hullék,
Akkor is van még remény,
Mert a lelked továbbra is él."
- Mark Swanson -
from the book, Nick's legend
S a tested is a porba hullék,
Akkor is van még remény,
Mert a lelked továbbra is él."
- Mark Swanson -
from the book, Nick's legend
Re: Jens' "Official Song Poll" script
Ok thanks then.. But i'm sure about those scripts, usually i just put them into the phpbb folder, but the admin of the forum i was talking about doesn't have access to this forum folder (he even can't upload smilies), so i guess it shouldn't work?Syren.S wrote:hahahaha Jens you rule!JensJohansson wrote:Well converting to php should of course be quite trivial:
Code: Select all
<? echo exec("/bin/perl -T songpoll.pl"); ?>
okay Dave, if you can wait til this weekend, i might have another hour or two to kill, and convert the core part for you. (i say *might*!)
Spamming is serious business!
Re: Jens' "Official Song Poll" script
no, this script has nothing to do with the forum itself. you don't even need to put it inside the forum folder. it can be put anywhere under your root folder. it talks to the database directly, and count the posts from there. but you said the admin has no access to the scripts? does that means he has an administrator account in that forum, but it's provided by somebody else? someone else runs the forum and gave him an moderator account to moderate the forum/a sub-forum? if that's the case, this won't work. you need to upload this file to somewhere inside your server, and you need to know the username and password for the database runs behind the forum too.
hope i made myself clear...
anyway i wrote the PHP version yesterday, but haven't test it yet. i'll see if i can do it on sunday.
hope i made myself clear...
anyway i wrote the PHP version yesterday, but haven't test it yet. i'll see if i can do it on sunday.
++The way that I feel is the way that I heal++
Re: Jens' "Official Song Poll" script
[quote="JensJohansson"
Well converting to php should of course be quite trivial:
[/quote]
<----------------
.
Right over my head...
Well converting to php should of course be quite trivial:
Code: Select all
<? echo exec("/bin/perl -T songpoll.pl"); ?>
<----------------
.
Right over my head...
"Beneath the freezing sky arrives Winter's Verge..."
http://www.wintersverge.com
I'm going to hell, and loving the ride!
http://www.wintersverge.com
I'm going to hell, and loving the ride!
Re: Jens' "Official Song Poll" script
here's the simplified version in PHP. i didn't do the Overlib boxes(which Jens is so fond of... )
http://www.freepgs.com/syren/Extra/songpoll.txt
as far as i test it, it works fine. but there might be bugs.
(and don't expect professional programming style from me, that never gonna happen...)
don't know if anybody actually wants to use it, but again, i just write it for fun. (sounds like a geek? )
okay, enough time has been killed... back to your homework, now! orz
http://www.freepgs.com/syren/Extra/songpoll.txt
as far as i test it, it works fine. but there might be bugs.
(and don't expect professional programming style from me, that never gonna happen...)
don't know if anybody actually wants to use it, but again, i just write it for fun. (sounds like a geek? )
okay, enough time has been killed... back to your homework, now! orz
++The way that I feel is the way that I heal++