PDA

View Full Version : Looking for custom log-in work


glenvw
10-16-2002, 12:00 PM
I am looking for a log-in system that will be low maintenence as new versions are released.

Site: http://www.yes-its-free.com

When people access the board, I want to host a separate page where they log-in or are asked to register. Each time a person leaves the site (closes the browser) I want them to be logged out so they are required to log-in the next time they want access.

I need to monetize the board so if I can make people log-in each time, I could present them with an offer they were forced to see. Ideally, I would like to see after they log-in, that they are forwarded to an "ad page" with a current offer and if they decided to not accept it all they did was click on a link that moved them to the board.

As far as the registration process, I want to collect First and Last Name, City, State, Zip Code, Country, IP address, Date stamp.

I then need to be able to export the member's data in csv or text comma separated format so I can occasionally send a newsletter. I would love to use the boards mailing system but I do not believe it meets the criteria of today's mandatory removal options.

I do not want people to be able to by-pass the log-in page by going to directly to vbbs/index.php .

Also, I would like to intigrate all current members into this without making them re-register.

I look forward to your suggestions and quote for this project.

Glen

Logician
10-16-2002, 12:37 PM
If you edit guest groups permission and choose NO for "can view board" your visitors will be forced to login if they are not.

As for forcing them to log-out, you have to edit 2 templates (registration and modify profile) and remove the option "Remember me" which sets the cookie. If you make this option a hidden from variable set to 0, cookies will be disabled so everytime someone visits your board, they will need to re-login.

To force them display you custom screen, just edit the login template and design it as you like. So at the moment they login, they will be forced to see your texts/ads etc.

To collect info in registration just create any user field you like and make them mandatory.

To integrate all current members you dont need to something special except running a simple SQL query to overwrite their cookie status.

The only request its requires hacking is your mailing feature. And IMO its not needed to recode another script to do the mailing you can just add a hack in your board which will create an easy unsubscription link in the the bottom of your mails which seems to be the only extra feature you are looking for. It's much easier than recoding the entire mailing structure.

So you have a long list, but unlike many "short requests" here, yours are applicable with less effort and hacking.. :)

Hope this helps...

glenvw
10-16-2002, 02:40 PM
Thank you!

1)I have edited guest groups permissions as suggested.

2) I have commented out this section of registration template:

Is this correct?

I could not find where to edit the modify profile template....

Maybe you could point me there?

3)
You mention a hidden variable set to "0". Could you tell me how to do that? (novice on board)

I will get the above done and then tackle the other..

Thank you
<!--
<tr>
<td bgcolor="{firstaltcolor}"><normalfont><b>Automatically login when you return to the site? (uses cookies)</b></normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>
<input type="radio" name="cookieuser" value="yes" checked> yes
<input type="radio" name="cookieuser" value="no"> no
</normalfont></td>
</tr>
-->

Logician
10-16-2002, 02:49 PM
Originally posted by glenvw
2) I have commented out this section of registration template:
Is this correct?

you should remove it altogether and add this code instead:
<input type="hidden" name="cookieuser" value="no">

I could not find where to edit the modify profile template....
its in "modifyoptions"

glenvw
10-16-2002, 02:57 PM
Done!

I deleted all references of "can view board" with:
<input type="hidden" name="cookieuser" value="no">

rather than just commenting it out.

Next:

Which template / templates do I edit that are possible login screens? I will edit them next.

Logician
10-16-2002, 03:06 PM
since you disabled forum access for guests, they will be displayed "You dont have permission error" template together with login form. So only editing the template "error_nopermission_loggedin" should do the trick for you..

glenvw
10-16-2002, 11:19 PM
OK, I had to re-enable the cookie thing because no AOL members could access the board. Any ideas or work arounds for this? I really want to make sure people have to log in to use the board.

Also, I still have guests showing up on the board...any idea how?

glenvw
10-30-2002, 07:00 PM
back again..

I looked and searched but could not find a hack for allowing people to "unsubscribe" themselves from receiving ANY further newsletters from my board.

I want to do what you suggested, use the boards mailing system to mail to all members but you gotta be politically correct nowadays and make sure you insert an "unsubscribe" link in the newsletter itself.

Can you help?

Also, does the VBB allow you to send the admin a test message? It would be great to actually see the email you are about to send for formatting errors, etc..

Thanx in advance...

Logician
10-30-2002, 07:21 PM
Originally posted by glenvw
I want to do what you suggested, use the boards mailing system to mail to all members but you gotta be politically correct nowadays and make sure you insert an "unsubscribe" link in the newsletter itself.
Can you help?

I'll see what I can do, if I can find time to code it..

Logician
10-30-2002, 08:22 PM
Here you go.. I appreciate if you return feedback (=how it's doing)..

Chris M
10-30-2002, 08:37 PM
Cool hack Logician:)

Satan

Logician
10-30-2002, 08:46 PM
Originally posted by hellsatan
Cool hack Logician:)

this time I liked it too.. :)

if it works ok, I can release it.. seems useful to many..

Chris M
10-30-2002, 09:43 PM
Yes...

Please do:)

Satan