SSI.php Update $user_info and save to database

Started by Gerolkae, July 13, 2014, 12:17:22 AM

Previous topic - Next topic

Gerolkae

I'm building a custom website using SMF..I Have added a field called Guild_Rank to $user_info and the mysql statement....

Is there a way to
<php
$user_info = 1;
//save to dtabase?
?>

Kindred

Not through ssi....   You are going to have to build custom code.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ZerK

what is the guild rank thing for ? by the looks you could use custom fields

Gerolkae

I'ma new user to SMF so pleaseforgive my newbishness

My Site is a Dream Database system... It uses a bot to track Activity through a Dream on Furcadia.

I have setup custom tables to store and retrieve 15 minute Statics as well as a Guild Profile page.

Guild rank is one of 3 entries I usedto link the Database to SMF's User login properties... Others are Guild_ID and BotStat allowing the Bot to connect via smf_2_api.php... Guild_Rank is an Integer thats defined by smf_GuildRanks basically 1-6 with 1 being Newbie and 6 being the Rah or Leader...

I want to create an editor page a New Guild Profile that will check the New User for Guild Status of 0 and a Guild Rank of 0... when the User Submits the form... the new Guild entrywill be saved to the Guild table and the User_Info will update GuildRank to 6 and Update Guild ID to the ID of the newly created Guild...

hxxp:silvermonkey.ts-projects.org [nonactive] is where the database is at if any one wants a visual of what I'm trying to do

Advertisement: