Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mood Hack 3.5 Details »»
Mood Hack 3.5
Version: 1.00, by lefthome lefthome is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-16-2005 Last Update: 12-17-2005 Installs: 155
 
No support by the author.

MOOD HACK 3.5


This is first and my only vBulletin 3.5 hack because I have no clue! I have tried and tested this on my forum at http://www.itshappening.net/forum/ and the hack can be see in operation at this site.



What does it do?

This hack displays a user's mood in the postbit. The mood is displayed as an image and there are 42 to choose from. Mood can be changed in UserCP=>Edit Options.

Credits:

This hack is based off "mood hack" written by MyIS_Jordan

I have modified his code to work as a template modification in 3.5

MyIS_Jordan pm'd me saying that the modification is ok. Yay

The creation of this hack was inspired by my own members who love this nifty hack.



The hack images are from other sources and the couple my members created.



Installation information on hack:



Template Modification: postbit or postbit_legacy
Files to upload: 1 folder





Picture of hack: original hack for 3.07 to view picture.




https://vborg.vbsupport.ru/showthrea...threadid=81637


------------------------------------------------

UPDATED: 12/10/2005


Template Modification and should work in 3.5 or 3.51 without any problems.



Fixes:



Additional Moods

Corrected Others Spelling errors

Saved in Windows Zip File



Upcoming:



Template Modification so Mood can be changed in Member ID section in either version without upgrading to 3.51 so the add-on by sniper will work.





Step-by-Step Instructions including in both files; new install and upgrade versions.




Small addition of approximately 12 new moods added. Update contains full install and quick update. This update works in 3.5, 3.5.1, 3.5.2 although to use the add-on by sniper you must upgrade to 3.5.1

12/18/05: the code for the postbit was typed in twice - Fixed! Sorry!



12/18/2005 Updated and/or fixed some of the pictures and added a few new moods. I have several "Adult" Moods but will only make avaialable by PM...

Show Your Support

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

Comments
  #132  
Old 02-15-2006, 12:38 PM
ChErAbOo ChErAbOo is offline
 
Join Date: Jan 2006
Location: Eastern United States
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice and I think the best instructions I have seen yet makes it hard to mess up nice!!

Clicks *Install
Reply With Quote
  #133  
Old 02-17-2006, 09:33 PM
xxwildchildxx xxwildchildxx is offline
 
Join Date: Nov 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the long-delay. To fix the SQL-inject exploit, use this as the plug-in code from https://vborg.vbsupport.ru/showpost....&postcount=81:

Code:
if ($_POST['do'] == 'newmood')
{
	$vbulletin->input->clean_gpc('p', 'mood', TYPE_STR);
	$db->query_write("UPDATE " . TABLE_PREFIX . "userfield SET
		FIELD7 = '" . $db->escape_string($vbulletin->GPC['mood']) . "' WHERE userid = '" . $vbulletin->userinfo['userid'] . "'");

eval(print_standard_redirect('updatethanks'));
}
Reply With Quote
  #134  
Old 02-17-2006, 09:49 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, thanks but this is the wrong thread. In my last update, I added the clean_gpc part. I'll add the escape_string part in the next update.
Reply With Quote
  #135  
Old 02-21-2006, 09:50 AM
katholic katholic is offline
 
Join Date: Nov 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible, and if so how, for the mood to display both on the thread display and the profile display?
Reply With Quote
  #136  
Old 03-17-2006, 03:07 AM
SmashinYoungMan SmashinYoungMan is offline
 
Join Date: Nov 2004
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've attached a zip file containing optimized mood images. Many of the ones that came with the hack looked like crap with a dark background and were unnecessarily large in size. I don't believe I missed any.
Reply With Quote
  #137  
Old 03-17-2006, 06:03 PM
Ashiro Ashiro is offline
 
Join Date: Feb 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where on earth is my "includes/functions_showthread.php"?!

I can't find it anywhere. Is there a reason why my board doesn't have this? Could someone show me the light?
Reply With Quote
  #138  
Old 03-17-2006, 09:10 PM
silly rabbit silly rabbit is offline
 
Join Date: Oct 2005
Location: Atlanta/NYC
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see the 'mood mod still lives!! Been using it 'installed' for a while now . . .

You guys ever discover The Level Hack??? Not my creation (French vbulletin.org) but also in use at
my board The Pirate Exchange (click for example)


We Installed the 'quick' addon, right??

(p.s. postbit mod is only avail for view with original Vb Blue)
Reply With Quote
  #139  
Old 03-24-2006, 01:04 AM
LCPGUY LCPGUY is offline
 
Join Date: Dec 2004
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know if there’s anything similar to this that is just a simple plug-in and doesn’t require umpteen modifications?
Reply With Quote
  #140  
Old 03-24-2006, 01:54 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Anyone know if there’s anything similar to this that is just a simple plug-in and doesn’t require umpteen modifications?
You'll like this one......i don't know of any other's at this time and this one, personally, i think rock's........

Quote:
Where on earth is my "includes/functions_showthread.php"?!
when you are on your server, where you keep your forum root folder's. While in the forums root folder, you will see a folder that say's includes, open it and scroll down till you see your functions_showthread.php....

In your root folder, you will see a bunch of folder's, just to clarify.....admincp, includes, images, etc......
Reply With Quote
  #141  
Old 05-06-2006, 12:05 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Personally I think someone should do what I did for my 3.0.7 board. Put it in the postbit legacy. So easy for users to change their mood as they are writing their posts.
Reply With Quote
Reply


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 08:10 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.09351 seconds
  • Memory Usage 2,309KB
  • 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
  • (1)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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