View Single Post
  #55  
Old 12-12-2005, 04:11 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hIBEES
Cant get this to work on 3.5.0, plugin doesn't seem to install and the error as given by others is the same



Pity as the mood hack itself works a dream , don't fancy upgrading to 3.5.1 or even 3.5.2 yet as my forums runnin sweet as the are :nervous:
In the product.xml did you change the ' FieldXX' to the Field # of the mood hack that was already installed?

And did you change it here also?:
Code:
Step 6

Update

Set Default (Will set the first option as the default) = Yes, But No First Option Blank

Click Save

Step 7

Styles & Templates -> Style Manager - > Edit Templates -> Navigation / Breadcrum Templates -> Navbar

Find

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>

Under it Add

<br />
My Mood:
<!-- / dropdown mood select by sniper -->
<form action="index.php" method="post" id="moodform">
  <input type="hidden" name="s" value="$session[sessionhash]" />
  <input type="hidden" name="do" value="newmood" />
  <input type="hidden" name="userid" value="$bbuserinfo[userid]" />
    <select name="mood" onchange="this.form.submit();">
      <option value="No Mood" <if condition="$bbuserinfo['fieldxx'] == 'No Mood'">selected</if>>No Mood</option>
      <option value="Aggressive" <if condition="$bbuserinfo['fieldxx'] == 'Aggressive'">selected</if>>Aggressive</option>
      <option value="Amazed" <if condition="$bbuserinfo['fieldxx'] == 'Amazed'">selected</if>>Amazed</option>
      <option value="Amused" <if condition="$bbuserinfo['fieldxx'] == 'Amused'">selected</if>>Amused</option>
      <option value="Angelic" <if condition="$bbuserinfo['fieldxx'] == 'Angelic'">selected</if>>Angelic</option>
      <option value="Angry" <if condition="$bbuserinfo['fieldxx'] == 'Angry'">selected</if>>Angry</option>
      <option value="Asleep" <if condition="$bbuserinfo['fieldxx'] == 'Asleep'">selected</if>>Asleep</option>
      <option value="+++++y" <if condition="$bbuserinfo['fieldxx'] == '+++++y'">selected</if>>+++++y</option>
      <option value="Blah" <if condition="$bbuserinfo['fieldxx'] == 'Blah'">selected</if>>Blah</option>
      <option value="Bored" <if condition="$bbuserinfo['fieldxx'] == 'Bored'">selected</if>>Bored</option>
      <option value="Breezy" <if condition="$bbuserinfo['fieldxx'] == 'Breezy'">selected</if>>Breezy</option>
      <option value="Brooding" <if condition="$bbuserinfo['fieldxx'] == 'Brooding'">selected</if>>Brooding</option>
      <option value="Busy" <if condition="$bbuserinfo['fieldxx'] == 'Busy'">selected</if>>Busy</option>
      <option value="Buzzed" <if condition="$bbuserinfo['fieldxx'] == 'Buzzed'">selected</if>>Buzzed</option>
      <option value="Cheeky" <if condition="$bbuserinfo['fieldxx'] == 'Cheeky'">selected</if>>Cheeky</option>
      <option value="Cheerful" <if condition="$bbuserinfo['fieldxx'] == 'Cheerful'">selected</if>>Cheerful</option>
      <option value="Cold" <if condition="$bbuserinfo['fieldxx'] == 'Cold'">selected</if>>Cold</option>
      <option value="Confused" <if condition="$bbuserinfo['fieldxx'] == 'Confused'">selected</if>>Confused</option>
      <option value="Cool" <if condition="$bbuserinfo['fieldxx'] == 'Cool'">selected</if>>Cool</option>
      <option value="Daring" <if condition="$bbuserinfo['fieldxx'] == 'Daring'">selected</if>>Daring</option>
      <option value="Dead" <if condition="$bbuserinfo['fieldxx'] == 'Dead'">selected</if>>Dead</option>
      <option value="Devilish" <if condition="$bbuserinfo['fieldxx'] == 'Devilish'">selected</if>>Devilish</option>
      <option value="Fine" <if condition="$bbuserinfo['fieldxx'] == 'Fine'">selected</if>>Fine</option>
      <option value="Goofy" <if condition="$bbuserinfo['fieldxx'] == 'Goofy'">selected</if>>Goofy</option>
      <option value="Grumpy" <if condition="$bbuserinfo['fieldxx'] == 'Grumpy'">selected</if>>Grumpy</option>
      <option value="Happy" <if condition="$bbuserinfo['fieldxx'] == 'Happy'">selected</if>>Happy</option>
      <option value="Hot" <if condition="$bbuserinfo['fieldxx'] == 'Hot'">selected</if>>Hot</option>
      <option value="In Love" <if condition="$bbuserinfo['fieldxx'] == 'In Love'">selected</if>>In Love</option>
      <option value="Innocent" <if condition="$bbuserinfo['fieldxx'] == 'Innocent'">selected</if>>Innocent</option>
      <option value="Inspired" <if condition="$bbuserinfo['fieldxx'] == 'Inspired'">selected</if>>Inspired</option>
      <option value="Lonely" <if condition="$bbuserinfo['fieldxx'] == 'Lonely'">selected</if>>Lonely</option>
      <option value="Lurking" <if condition="$bbuserinfo['fieldxx'] == 'Lurking'">selected</if>>Lurking</option>
      <option value="Mellow" <if condition="$bbuserinfo['fieldxx'] == 'Mellow'">selected</if>>Mellow</option>
      <option value="Pensive" <if condition="$bbuserinfo['fieldxx'] == 'Pensive'">selected</if>>Pensive</option>
      <option value="Psychadelic" <if condition="$bbuserinfo['fieldxx'] == 'Psychadelic'">selected</if>>Psychadelic</option>
      <option value="Relaxed" <if condition="$bbuserinfo['fieldxx'] == 'Relaxed'">selected</if>>Relaxed</option>
      <option value="Sad" <if condition="$bbuserinfo['fieldxx'] == 'Sad'">selected</if>>Sad</option>
      <option value="Scared" <if condition="$bbuserinfo['fieldxx'] == 'Scared'">selected</if>>Scared</option>
      <option value="Shocked" <if condition="$bbuserinfo['fieldxx'] == 'Shocked'">selected</if>>Shocked</option>
      <option value="Sick" <if condition="$bbuserinfo['fieldxx'] == 'Sick'">selected</if>>Sick</option>
      <option value="Sneaky" <if condition="$bbuserinfo['fieldxx'] == 'Sneaky'">selected</if>>Sneaky</option>
            <option value="Tired" <if condition="$bbuserinfo['fieldxx'] == 'Tired'">selected</if>>Tired</option>
    </select>
  </form>
<!-- / dropdown mood select by sniper -->
And update the Options to:

Code:
No Mood
Aggressive
Amazed
Amused
Angelic
Angry
Asleep
+++++y
Blah
Bored
Breezy
Brooding
Busy
Buzzed
Cheeky
Cheerful
Cold
Confused
Cool
Daring
Dead
Devilish
Fine
Goofy
Grumpy
Happy
Hot
In Love
Innocent
Inspired
Lonely
Lurking
Mellow
Pensive
Psychadelic
Relaxed
Sad
Scared
Shocked
Sick
Sneaky
Tired
Yehaw
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03331 seconds
  • Memory Usage 1,802KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete