PDA

View Full Version : Non VB Page Poll and Log in mods.


dan404
02-18-2003, 05:01 PM
If anyone can show me how to do this I will love them forever and ever and ever.

1. Ability for users to log in on a regular .html page with their Forum Usernames.

2. This is the tricky part I wanted to do with the poll code.
I do photo competitions, and when it comes voting time, I have to do it by them emailing me their vote, and that kind of is an easy way to cheat since you can have multiple emails and I can't see the IP that it comes with. So I wanted it when they selected a picture they wanted to vote for, it acts as the poll that vbulletin has. But of course, not the same set up, for ex. lets say "| = 1 pic|"

I would like it to be set up like so:
| | | | |
| | | | |
| | | | | and so forth instead of:
|
|
| like vb has it done. I've looked for a script to do this, but it still wont allow the users to vote using their forum names.

So anyhelp will be very appreciative.

Thanks
-dan

filburt1
02-18-2003, 05:04 PM
Change the URL in your profile to match your forum's URL. Definitely don't keep it at it's current URL or you risk being banned.

dan404
02-18-2003, 05:08 PM
Yikes, it says homepage.. that website is my homepage, never knew I'd get in so much trouble for being honest.

Thanks for the lookout though :D

Any help on the above request?

Brad
02-18-2003, 05:09 PM
You may want to wait for loo-portal to be released and rip the code out of it. The 1st one can be done quiet easyly, the second is gann require some php in the page and a few querys on mySQL.

Anyway, to answer your frist question, just stick this html (edit it to your needs this is only a guide) in anypage, make sure to change the url's in the code to match yours. This has no layout really, this will allow you to log in however, i asume you know the basics of html and how to do tables etc.

------ code snip ------
<form action="http://www.yoursiteurl.com/forum/member.php" method="post">
<input type="hidden" name="action" value="login">
<input type="text" class="bginput" name="username" size="7">
<input type="password" class="bginput" name="password" size="7">
<input type="submit" class="bginput" value="Login!">
-------------- code snip ------------

manex
02-18-2003, 05:10 PM
you are the owner of astalavita?

thats a huge warezx site isnt it? lol

dan404
02-18-2003, 05:15 PM
Yea, I am pretty good with html and mysql, just not php.

Thanks for the code.

As for the poll mod, I was thinking it wouldn't be so hard if I made a thread with the poll information, and just made a php page, with a different layout just linking the votes to the poll thread? Like how vbhome and all those other portals have polls on the frontpage. Only question I would really have is how would I go about linking it from say http://mysitename.com/contest1.php to http://mysitename.com/forums/threadwithpoll.php

dan404
02-18-2003, 05:16 PM
Originally posted by Manex
you are the owner of astalavita?

thats a huge warezx site isnt it? lol

No, Home Page, when you open Internet Explorer, it takes you to your homepage. That is my homepage. I am not the owner of it.

filburt1
02-18-2003, 05:18 PM
Originally posted by filburt1
Change the URL in your profile to match your forum's URL. Definitely don't keep it at it's current URL or you risk being banned.

dan404
02-18-2003, 05:20 PM
I changed it already.

Brad
02-18-2003, 05:21 PM
We really sould edit the reg templates so that it says "your forum url" and not "homepage". I know you have cp access filburt. Mabey you sould go fix that to avoid confusstion ;)

filburt1
02-18-2003, 05:22 PM
I only have mod CP access, not admin CP access...

Brad
02-18-2003, 05:24 PM
O, i thought SD gave you guys admin cp access when he promoted you to, my misteak.

dan404
02-18-2003, 05:24 PM
hey filburt1, did\can you post your forumhomedisplay mod that you have on your website? It's the best looking one I've seen in a long time.

filburt1
02-18-2003, 05:26 PM
I've posted small parts of it.

Also this is the last request: enter in your actual forum's URL. I find it doubtful that you don't have it uploaded anywhere.

dan404
02-18-2003, 05:28 PM
I have it uploaded on localhost. Would you like a screen shot? I had to reinstall it due to some login errors I was getting, just browse to the template support forum if you want to see for yourself. But I will post a screen shot if you request.

filburt1
02-18-2003, 05:29 PM
Please do post one of the admin CP.

dan404
02-18-2003, 05:34 PM
here.. quality sucks, but then again its paint so blah

dan404
02-18-2003, 05:53 PM
heres one with better resolution and I replaced that halo cp logo.

Lain Iwakura
02-18-2003, 05:54 PM
nice to know someone likes my work :P

dan404
02-18-2003, 05:58 PM
That's actually the VBT Admin CSS, I had the Halo one installed first, then replaced it but forgot to take out the image.

Lain Iwakura
02-18-2003, 06:05 PM
oh **** :P the only difference is the blue header font :P

Brad
02-18-2003, 06:07 PM
yea its the one used here ;), i know cause it hurts my eyes every time i go into the cp.

Lain Iwakura
02-18-2003, 06:54 PM
lol, i used to be obsessed with dark colours, i like lighter better now.

dan404
02-18-2003, 09:18 PM
Me to, but that still doesnt help me with my request :(