SMFHacks.com

SMF Gallery Pro => Support => Topic started by: shuban on September 05, 2018, 10:00:25 am

Title: Guest Voting
Post by: shuban on September 05, 2018, 10:00:25 am
I'd like to use the sessions table to allow guest voting.

In SMF, how do you create a session and how do you customize it to include information about the picture, your IP address, etc.

How does SMF record sessions into the database, what file controls that?
Title: Re: Guest Voting
Post by: SMFHacks on September 05, 2018, 10:13:31 am
Session is based on the session id that SMF. I think it is load.php
smf_sessions table unless you are using file based sessiosn. i would then suggest smf_log_online is better
Title: Re: Guest Voting
Post by: shuban on September 05, 2018, 01:57:26 pm
Do you know where SMF records into log_online? In other words, which source file should I look at?
Title: Re: Guest Voting
Post by: SMFHacks on September 05, 2018, 02:22:14 pm
Subs.php check out writelog function