Do you still get this? I can't seem to reproduce it?Quote:
Originally posted by Pc_Madness
Since I can't upload images there,
I got that when I tried to edit my message...
Edit: Got it. This should be fixed now too.
Printable View
Do you still get this? I can't seem to reproduce it?Quote:
Originally posted by Pc_Madness
Since I can't upload images there,
I got that when I tried to edit my message...
Edit: Got it. This should be fixed now too.
I fixed this. Thanks for telling me about it! :)Quote:
Originally posted by Pc_Madness
Another Error,
I tried to reply to my thread
:(
I had swear words in my post, do u think it might have died of shock?? :D
And about the tables on the login: can you take a screen shot for me? Also what browser and version do you use? It looks fine on my screen. Can you show me what it looks like on yours so I can see how to fix it?
Thanks again, PC!
Ok, heres the screen of login...
I'm using IE 6... now that I thing about it I should probably test it in Netscape 7 as well...
Anyway, just make the font up 1 or underline it, it kinda merges with the text.
With the Member Options, you need like a Save button or something, cause on the main page there isn't one..
Hehe, another error :D
I upload another screen of it, I tried the do the sig and stuff and I got a
An error has occured:
Image cannot be accessed. Verify that the image exists and try again.
Although I didn't try to upload an image.. but :confused:
Okay, thanks for the screen shot. That's about exactly how it looks on my screen, so I guess I'm not sure what you mean? :confused: Is the font too small, and what exactly "merges with the text?"
As for the Member Options:
1) The first page doesn't have a submit because I'm lazy and I haven't written code to change it yet :o
2) I'm pretty sure I know what's causing that error, so I'll do what I can to fix it!
Thanks again, and feel free to throw them at me if you find anymore :)
lol
I started a few more threads with bugs..
Sorry I kinda post them in the Blabber and Bugs...
With the Merging text thing..
You just need to make them stand out more.. like on the left above the smilies, on VBF it has Your Reply in largish bold, with the text below a font size down. It just kinda makes things stand out more.. :D
Watch your mouth, then, boy. :pQuote:
Originally posted by Pc_Madness
Another Error,
I tried to reply to my thread
:(
I had swear words in my post, do u think it might have died of shock?? :D
I've gone a long way with this. Those of you who first tested it for me should be able to tell there's been so many changes/improvements. But I could still use some opinions/suggestions.
Thanks to all who've helped.
Error on ur site,Quote:
Warning: open(c:\windows\temp/sess_bd8cdb1fc6f1ee182aa6fa7c077f8a91, O_RDWR) failed: No such file or directory (2) in /home/avionicsquest/www/global.php on line 7
And also,
I know phpBB is "Featureless" sort of, but thats wot mods r for dood
That error isn't from my site...Quote:
Originally posted by wpearsall
Error on ur site,
And also,
I know phpBB is "Featureless" sort of, but thats wot mods r for dood
Nope, From thexchord's site,Quote:
Originally posted by The Hobo
That error isn't from my site...
Im sure i quoted his post :@
uhh...no you didn't.Quote:
Originally posted by wpearsall
Nope, From thexchord's site,
Im sure i quoted his post :@
You posted in a thread about my Bulliten Board that you found an error. There was no quote from someone to direct it to, so I automatically assumed it was to me. Weird, huh?
TOTALLY D0000000000000000000000000d :DQuote:
Originally posted by The Hobo
so I automatically assumed it was to me. Weird, huh?
;)
:rolleyes:Quote:
Originally posted by wpearsall
TOTALLY D0000000000000000000000000d :D
;)
just while someone is on the topic of personal BBS systems.
is it recommended to check that the cookie/session value exists in the DB every time they load a page ? (it is encrypted of course) or just once when they log in ???
I have it all in a file called config.phpQuote:
Originally posted by ubunreal69
just while someone is on the topic of personal BBS systems.
is it recommended to check that the cookie/session value exists in the DB every time they load a page ? (it is encrypted of course) or just once when they log in ???
Checks to see if they're logged in, and if they are, creates a $CONFIG variable with some of their information in it.
Since config.php is used on every page, I just use:
I also store a few usefull things like the user level (regular, mod, admin)Code:if (isset($CONFIG['vbsuid'])) //they're logged in
It works out pretty well.
But you'd only really have to check on pages that allow them to do things such as post, go to member options, send a PM.
well it would be best (and safest) to check the cookies Username + PAssword to the DB UName + Pass Everytime,
Otherwise they Could change the cookie info ?
Thats what i am worried about actually. i always use a config.php to store global settings for databases and sometimes colors and stuff. but i also have a page that i include that contains all my made up functions. Then i'v written a function that will check if the seccion variable exists, and if it does then it checks the value against the database and updates activity log (thingy for "4 users active"). then i have another page for the actual creation of the session varible.Quote:
Originally posted by wpearsall
well it would be best (and safest) to check the cookies Username + PAssword to the DB UName + Pass Everytime,
Otherwise they Could change the cookie info ?
for all this i'm using md5 encryption. is there anything wrong with my methods at all ??
Just as long as you're not allowing them to access a member page without checking if they're logged in. I'd always confirm it with the database each time.Quote:
Originally posted by ubunreal69
Thats what i am worried about actually. i always use a config.php to store global settings for databases and sometimes colors and stuff. but i also have a page that i include that contains all my made up functions. Then i'v written a function that will check if the seccion variable exists, and if it does then it checks the value against the database and updates activity log (thingy for "4 users active"). then i have another page for the actual creation of the session varible.
for all this i'm using md5 encryption. is there anything wrong with my methods at all ??
PHP Code:
function cookiedecode($user) {
global $cookie, $prefix, $dbi, $user_prefix;
$user = base64_decode($user);
$cookie = explode(":", $user);
$result = sql_query("select pass from ".$user_prefix."_users where uname='$cookie[1]'", $dbi);
list($pass) = sql_fetch_row($result, $dbi);
if ($cookie[2] == $pass && $pass != "") {
return $cookie;
} else {
unset($user);
unset($cookie);
}
}
Thats what my cookie decoder is (Part of PHP Nuke)
If it isnt the correct data (checked on ALL Pages) then the cookie gets deleted.
It takes maybe .04 seconds to check the cookie, on a decent server, so wots the deal with not checking?
little lost @ config.php?Quote:
Originally posted by ubunreal69
Thats what i am worried about actually. i always use a config.php to store global settings for databases and sometimes colors and stuff. but i also have a page that i include that contains all my made up functions. Then i'v written a function that will check if the seccion variable exists, and if it does then it checks the value against the database and updates activity log (thingy for "4 users active"). then i have another page for the actual creation of the session varible.
for all this i'm using md5 encryption. is there anything wrong with my methods at all ??
I Use the config.php to store my Database name / password / id etc
(but conviently renamed ;) --- For security)
The user can change a theme, (like most Forums), so the Colours are in the theme, and then the Actual Encryption is
And to check the password on LOGINPHP Code:md5($password);
$password is a form input called "password" and uname = Form input called uname
PHP Code:$password = md5($password);
If(sql_query("Select pass from ".Table." where uname='$uname'") == "$password"){
setcookie("User Information");
} else {
echo "login error";
}
well, i'v recebtly (today) boosted the security on my login code. each time a page is viewed i run a functions that compares the ID and encrypted PWD session variables against the database. then updates the actibity log (to see what time the user last preformed an action, its for one of those '5 active users' thingys).
is this too much to be doing every time the user views a page ?
I'd watch it, before vBulletin realize you've nicked their ideas. Not that I mind personally because I think it's good, but they might...
vBulletin wont give a damn, as phpBB, Yabb, XMB, and many other forums exist that are almost exact duplicates.
They may take it as a complement :D
That'd be like Ford suing Toyota for putting wheels on a car because it was their idea first...Quote:
Originally posted by A$$Bandit
I'd watch it, before vBulletin realize you've nicked their ideas. Not that I mind personally because I think it's good, but they might...
lol