Bravo List
Register
Go Back   > Bravo List > Source Code > Archive > OpenTracker
Reply
  #1  
Old 15-09-12, 11:58
Yupy's Avatar
Yupy Yupy is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 34
Default User Mood By Yupy
Run:

Code:
ALTER TABLE tracker_users ADD `user_mood` varchar(80) NOT NULL default '';
Now open CMS\applications\profile/edit.php and find:

Code:
$db->anonymous = isset($_POST['anonymous']) ? 1 : 0;
Above it add:

Code:
$db->mood = $_POST['mood'];
Find:

Code:
<fieldset>
                    <legend>Avatar</legend>
                    <input type="file" name="avatar" />
                </fieldset>
Under it add:

Code:
<fieldset>
                    <!---user Mood By Yupy--->
                    <legend>Select Mood</legend>
                    <select name="mood" value="<?php echo $acl->mood ?>">
<option value="N/A">-Your Mood?-
<option value="<img src=./images/moduri/Aggressive.gif>">Aggressive
<option value="<img src=./images/moduri/Amazed.gif>">Amazed
<option value="<img src=./images/moduri/Amused.gif>">Amused
<option value="<img src=./images/moduri/Angelic.gif>">Angelic
<option value="<img src=./images/moduri/Angry.gif>">Angry
<option value="<img src=./images/moduri/Asleep.gif>">Sleepy
<option value="<img src=./images/moduri/Apelike.gif>">Apelike
<option value="<img src=./images/moduri/Bashful.gif>">Bashful
<option value="<img src=./images/moduri/Bitching.gif>">Bitching
<option value="<img src=./images/moduri/Blah.gif>">Blah
<option value="<img src=./images/moduri/Bookworm.gif>">Bookworm
<option value="<img src=./images/moduri/Bored.gif>">Bored
<option value="<img src=./images/moduri/Breezy.gif>">Breezy
<option value="<img src=./images/moduri/Brooding.gif>">Brooding
<option value="<img src=./images/moduri/Busy.gif>">Busy
<option value="<img src=./images/moduri/Chatty.gif>">Chatty
<option value="<img src=./images/moduri/Cheeky.gif>">Cheeky
<option value="<img src=./images/moduri/Cheerful.gif>">Cheerful
<option value="<img src=./images/moduri/Cold.gif>">Cold
<option value="<img src=./images/moduri/Confused.gif>">Confused
<option value="<img src=./images/moduri/Cool.gif>">Cool
<option value="<img src=./images/moduri/Crappy.gif>">Crappy
<option value="<img src=./images/moduri/Curious.gif>">Curious
<option value="<img src=./images/moduri/Daring.gif>">Daring
<option value="<img src=./images/moduri/Depressed.gif>">Depressed
<option value="<img src=./images/moduri/Devilish.gif>">Devilish
<option value="<img src=./images/moduri/Disagree.gif>">Disagree
<option value="<img src=./images/moduri/Doh.gif>">Doh
<option value="<img src=./images/moduri/Doubtful.gif>">Doubtful
<option value="<img src=./images/moduri/Dramaqueen.gif>">Dramaqueen
<option value="<img src=./images/moduri/Dreaming.gif>">Dreaming
<option value="<img src=./images/moduri/Drunk.gif>">Drunk
<option value="<img src=./images/moduri/Elated.gif>">Elated
<option value="<img src=./images/moduri/Energetic.gif>">Energetic
<option value="<img src=./images/moduri/Fiendish.gif>">Fiendish
<option value="<img src=./images/moduri/Fine.gif>">Fine
<option value="<img src=./images/moduri/Flirty.gif>">Flirty
<option value="<img src=./images/moduri/Goofy.gif>">Goofy
<option value="<img src=./images/moduri/Grumpy.gif>">Grumpy
<option value="<img src=./images/moduri/Happy.gif>">Happy
<option value="<img src=./images/moduri/Horny.gif>">Horny
<option value="<img src=./images/moduri/In-Love.gif>">In-Love
<option value="<img src=./images/moduri/Innocent.gif>">Innocent
<option value="<img src=./images/moduri/Inpain.gif>">Inpain
<option value="<img src=./images/moduri/Insomnious.gif>">Insomnious
<option value="<img src=./images/moduri/Lonely.gif>">Lonely
<option value="<img src=./images/moduri/Lucky.gif>">Lucky
<option value="<img src=./images/moduri/Lurking.gif>">Lurking
<option value="<img src=./images/moduri/Mischievious.gif>">Mischievious
<option value="<img src=./images/moduri/Musical.gif>">Musical
<option value="<img src=./images/moduri/Nerdy.gif>">Nerdy
<option value="<img src=./images/moduri/Notamused.gif>">Notamused
<option value="<img src=./images/moduri/Notworthy.gif>">Notworthy
<option value="<img src=./images/moduri/Psychedelic.gif>">Psychedelic
<option value="<img src=./images/moduri/Relaxed.gif>">Relaxed
<option value="<img src=./images/moduri/Roflmao.gif>">Roflmao
<option value="<img src=./images/moduri/Sad.gif>">Sad
<option value="<img src=./images/moduri/Scared.gif>">Scared
<option value="<img src=./images/moduri/Scurvy.gif>">Scurvy
<option value="<img src=./images/moduri/Sick.gif>">Sick
<option value="<img src=./images/moduri/Sneaky.gif>">Sneaky
<option value="<img src=./images/moduri/Stressed.gif>">Stressed
<option value="<img src=./images/moduri/Thinking.gif>">Thinking
<option value="<img src=./images/moduri/Tired.gif>">Tired
<option value="<img src=./images/moduri/Twisted.gif>">Twisted
<option value="<img src=./images/moduri/Woot.gif>">Woot
<option value="<img src=./images/moduri/Worried.gif>">Worried
<option value="<img src=./images/moduri/Yeehaw.gif>">Yeehaw
</select>
<!---user Mood By Yupy--->
           </fieldset>
Now open CMS\applications\profile/view.php and find:

Code:
<tr class="row"><td class="tblhead"><?php echo _t("Torrents") ?></td><td align="left"><?php echo _t("Seeding") . " " . $acl->seeding(); ?> / <?php echo _t("Leeching") . " " . $acl->leeching(); ?></td></tr>
Right under add:

Code:
<tr class="row"><td valign="top" rowspan="14"><?php echo $acl->mood ?></td></tr>
Now open CMS\applications\forums/view-topic.php and search for:

Code:
<img src="images/icons/down.gif" style="float:left; margin-top: -4px;" /><?php echo $user->downloaded() ?>
And replace it with:

Code:
<img src="images/icons/down.gif" style="float:left; margin-top: -4px;" /><?php echo $user->downloaded() ?><br />
                            <?php echo $acl->mood ?>
Now download the archive bellow and extract the folder from it into the images folder... contains 68 Moods :)
Reply With Quote
The Following User Says Thank You to Yupy For This Useful Post:
Roach (11-08-13)
  #2  
Old 23-09-12, 20:28
GuldlocK's Avatar
GuldlocK GuldlocK is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 22
Default
whare is the files to download ?
Reply With Quote
  #3  
Old 23-09-12, 23:05
Yupy's Avatar
Yupy Yupy is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 34
Default
Download them from the link bellow:

http://opentracker.nu/en/forum?actio...&page=p418#418
Reply With Quote
  #4  
Old 26-09-12, 00:01
GuldlocK's Avatar
GuldlocK GuldlocK is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 22
Exclamation not work 100%
dont work 100% my forums signature is on other users topics to
Reply With Quote
Reply

Tags
mood , user , yupy

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 03:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2018, vBulletin Solutions Inc.