Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Mood Hack - Extended [Postbit] Details »»
Mood Hack - Extended [Postbit]
Version: 1.00, by paul41598 paul41598 is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-20-2005 Last Update: 06-20-2005 Installs: 26
Template Edits
Code Changes  
No support by the author.

This is my 2nd hack released. Im no coder by any far means, but I loved the mood hack. However I did not like the fact that you had to goto your USERCP, to update your mood.


Original Credits Goto: MyIS_Jordan


What this mod does:

This modifcation puts the mood dropdown selector inside the postbit instead of the USERCP.

What this means:

Your users are more thankful because its easier to change rather than doing it from your USERCP.

What are some features:
  • Added <if> statement, so the dropdown box shows only for that specific user logged in. This makes it so that you cannot select your mood from someone else's postbit dropdown
  • Upon selection of mood, page autorefreshes and takes you back to the current thread you were viewing

Dont forget to click install if you like!

Screenshots below:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-30-2005, 05:50 PM
yj_enquirer yj_enquirer is offline
 
Join Date: Jan 2005
Location: UK
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paul41598
it shouldnt redirect you back to the homepage, something is wrong. Can you give me a link username password to try out.
hmm.. this is a strange one, tried for a different PC using IE and it upon changing the MOOD, it navigates back to the top of the same thread.

However trying it on my main PC, it defaults back to the home page...

guess its probably due to some settings of IE on my PC rather then the hack itself.

Thanks for the comeback paul...

Cheers
Reply With Quote
  #43  
Old 09-01-2005, 05:51 AM
Khashyar Khashyar is offline
 
Join Date: Jan 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack works great for me Paul.

Great hacking of the hack

When my users choose a mood, they are redirected to the SAME page, so it's working for my website.

I wonder if anyone has any additional moods? I added the 5 additional ones that were listed in this thread, and my users and I enjoy the hack, are looking for more ways to express our moods...

Khashyar
Reply With Quote
  #44  
Old 09-09-2005, 09:03 PM
mustang_lex mustang_lex is offline
 
Join Date: May 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a simple upgrade for those who already have the original?
Reply With Quote
  #45  
Old 09-14-2005, 10:47 AM
stan111 stan111 is offline
 
Join Date: Aug 2005
Location: CA
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot
i got it work now
loook so nice
thanks again for this mod
Reply With Quote
  #46  
Old 10-09-2005, 08:28 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok all works fine, however, wherever i put the code, i get a massive space above the mood and below the mood... this is probably because there is so much code in that area, is there any way round this?

Please advise..
Reply With Quote
  #47  
Old 10-09-2005, 08:50 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...for now i have had to move the mood to the sig till i get a answer how to overcome this.
Reply With Quote
  #48  
Old 10-30-2005, 11:49 PM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MajorFm.com
ok all works fine, however, wherever i put the code, i get a massive space above the mood and below the mood... this is probably because there is so much code in that area, is there any way round this?

Please advise..
Remove the first and the last <br /> from your postbit or postbit legacy

<!-- Mood Hack Start -->
<br />
<if condition="$post[mood] == 1">
<br>
<div class="smallfont">Current Mood: <img src="./images/mood/Aggressive.gif" alt="Aggressive"></div>
</if>
<if condition="$post[mood] == 2">
<br>
<div class="smallfont">Current Mood: <img src="./images/mood/Amazed.gif" alt="Amazed"></div>
</if>
......................
<if condition="$post[mood] == 40">
<br>
<div class="smallfont">Current Mood: <img src="./images/mood/Tired.gif" alt="Tired"></div>
</if>
<br />
<!-- Mood Hack End -->
Reply With Quote
  #49  
Old 11-29-2005, 06:46 AM
prettyboi prettyboi is offline
 
Join Date: Nov 2005
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is so complicated. What do you mean by "#### QUERY ####

ALTER TABLE user ADD mood varchar(15) NOT NULL

#### END QUERY ####"?
Reply With Quote
  #50  
Old 11-30-2005, 03:36 PM
samu2 samu2 is offline
 
Join Date: Nov 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And where is showthread PHP to do the code changes please?
Reply With Quote
  #51  
Old 08-07-2006, 09:53 PM
kenneth4200 kenneth4200 is offline
 
Join Date: Mar 2006
Location: Denmark
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

includes/functions_showthread.php is not founds in vBulletin 3.6.0

Please help!
Reply With Quote
Reply

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. The time now is 11:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04515 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete