Author |
Topic |
sy
Average Member
United Kingdom
638 Posts |
Posted - 12 September 2002 : 15:17:33
|
quote: Originally posted by yossik
I re-did the inc_login.asp file and it now works from everywhere quite nicely. Howvere, I don't have the time or the patience to create nice tables like @tomic, so if anyone wants to help out with creating the table, let me know and I'll send you the new file.
Yes, if you can send it to me I will take a look
Sy |
The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails
|
|
|
yossik
Starting Member
Israel
14 Posts |
Posted - 15 September 2002 : 03:51:45
|
Therion93 & sy,
I will need your e-mail addresses to send you the file.
Yossi |
|
|
CarKnee
Junior Member
USA
297 Posts |
Posted - 20 September 2002 : 12:31:04
|
Yossi, Any updates on this file?
CarKnee |
|
|
|
yossik
Starting Member
Israel
14 Posts |
Posted - 22 September 2002 : 10:24:29
|
I sent it to Therion93, nothing new from him yet |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 22 September 2002 : 15:42:41
|
What do I need to do to get this in a left column? Whenever I include it, it always wants to take up the entire line shoving the right column to the bottom.
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 22 September 2002 : 15:58:37
|
Look in inc_header.asp for a table starting near the group include for a good place to insert a table/cells and then, if you add a new table, make sure you close it in inc_footer.asp. Also, to debug html you could place this include in a copy of default.asp stripped of all html for forums. I'm soirry I've neglected this one recently. I've just had too many things going but I will try to upload a version with the html fixed soon.
@tomic |
SportsBettingAcumen.com |
Edited by - @tomic on 22 September 2002 15:58:56 |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 22 September 2002 : 19:18:27
|
What would I need to add to a portal default page outside of the forum that includes the universal login? Or is that something that should be changed in inc_login.asp? It seems like it should be something simple, but I've tried including it into it's own table in the left column and a few other things, but it still pushes everything below it and I don't want to have to change inc_header.asp to get this to work.
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 22 September 2002 : 19:53:48
|
Try it out now. I uploaded the version I have been using on my site with 3.4.03 and i think the html is good on this one.
@tomic |
SportsBettingAcumen.com |
|
|
pentiummx
New Member
79 Posts |
Posted - 22 September 2002 : 21:35:52
|
@TOMIC:
My site's URL is http://www.filipinotayo.net/ustcatgccaa/
I'd like to place your Universal Login box in my index.html and the Log off box in the forum section (default.asp?) of my site. FrutZle suggestion that I convert my index.html to a .asp. Besides from this (and the instructions you've outlined with your MOD), what else would I need to do?
BTW, I have zero ASP know-how and no background with web development at all (trying to learn, though). Please advise.
thx.,
PentiumMX
|
|
|
Guru
Starting Member
32 Posts |
Posted - 24 September 2002 : 00:04:09
|
A little question regarding the universal login:
In the original Inc_header.asp you wil find the next code around line 352: if (mlev = 0) then if not(Instr(Request.ServerVariables("Path_Info"), "register.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "policy.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "pop_profile.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "search.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "login.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "password.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "faq.asp") > 0) then
I presume that this code is intended to check that the posted info is send from your own server and forum? This code is deleted in the universal login code, and i think that hereby you made another security-hole....
Isn't it possible instead of checking the forum-page, that you can check if it has been send from you own website like: not(Instr(Request.ServerVariables("Path_Info"), "mywebsite.anything") > 0) and ....
Or am I saying weird things here?
Greet,
Guru
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 24 September 2002 : 00:41:28
|
The code was left in inc_header.asp and this MOD isn't going to be very effective without inc_header.asp.
@tomic |
SportsBettingAcumen.com |
|
|
Guru
Starting Member
32 Posts |
Posted - 24 September 2002 : 01:07:18
|
quote: Originally posted by @tomic
The code was left in inc_header.asp and this MOD isn't going to be very effective without inc_header.asp.
Well, that is strange!?
Quote from the read-me: inc_header.asp
line 352 find and remove it all. This code displays the login/out forms normally found at the top right of the forum. Removing this code will remove the login/out boxes at the top and would be redundant since you will be using this and makes the top of your page cleaner or creates space for something else.
if (mlev = 0) then if not(Instr(Request.ServerVariables("Path_Info"), "register.asp") > 0) and _ not(Instr(Request.ServerVariables("Path_Info"), "policy.asp") > 0) and _ etc. etc.
Other quote from the read me: This is if you are going to do more modifications and end up not using inc_header.asp or inc_header_short.asp
So this code can/will be deleted according to the readme, and can also be used without inc_header.asp or inc_header_short.asp
Why do you think I raise this issue? (Yes, I DID read TFM)
Greetz,
Guru |
Edited by - Guru on 24 September 2002 01:09:30 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 24 September 2002 : 01:27:58
|
quote: So this code can/will be deleted according to the readme, and can also be used without inc_header.asp or inc_header_short.asp
Why do you think I raise this issue? (Yes, I DID read TFM)
Whoops. I ended out leaving it in and haven't checked out the readme in too long. I will redo that.
Thanks
@tomic |
SportsBettingAcumen.com |
|
|
Guru
Starting Member
32 Posts |
Posted - 24 September 2002 : 18:05:12
|
quote: Originally posted by @tomic Whoops. I ended out leaving it in and haven't checked out the readme in too long. I will redo that.
Drop me a line if you have updated the mod/readme. I'm a little puzzled now how to use this mod.
It would be very nice to use a very portable login/logout box (and shutting the one in inc_header off), but not with security issues...
I was planning to also dig into this issue, but if you are doing it, why re-inventing the wheel?
If i can be of any assistence, let me know...
Greetz.
Guru |
Edited by - Guru on 24 September 2002 18:08:50 |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 25 September 2002 : 04:31:51
|
I needed to redo this for a re-vamp of a site I am working on.. Eactly what I wanted for the Snitz 3.4.03 part of the site, just had to re-write it and to get it working, but a great idea...
|
Cheers, David Greening |
|
|
Topic |
|