vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Mood Hack 3.5 (https://vborg.vbsupport.ru/showthread.php?t=98636)

GrabAssGirl 01-28-2006 02:31 PM

For some reason, this hack doesn't show up for the custom user groups that I have created. I have looked all over to fix this and can't find anything. Can someone help me out? It shows for the default user groups of Vbulletin, but not to any groups that I have added..

HELP!

TIA...

Hellraider 01-30-2006 08:05 AM

Quote:

Originally Posted by Aftermath
What new version are you talkin' about?

I'm talking about the new version, lefthome told me to be released in the next few days ;)

QueenBee 02-05-2006 03:29 PM

ok ive done everything, and its just not showing in the postbit. any suggestions??

btw: it shows in the user cp.

QueenBee 02-05-2006 06:22 PM

pleeeeeeeeease

QueenBee 02-05-2006 09:37 PM

cmon cmon i want this mod :nervous:

quanvo81 02-07-2006 11:23 AM

Yay, is there anyway to make this work in MEMBERINFO template?

quanvo81 02-07-2006 08:34 PM

never mind, got it

Smiry Kin's 02-14-2006 09:03 PM

possible to make it say the text, e.g angry happy etc with out the images? :S

-=Sniper=- 02-14-2006 09:29 PM

use
HTML Code:

                                <!-- mood hack display start -->
                                <br /><if condition="$post[fieldX] != ''"><div class="smallfont">
                                Current Mood: $post[fieldX]
                                </div></if>
                                <!-- mood hack display end -->


Smiry Kin's 02-14-2006 10:00 PM

Quote:

Originally Posted by -=Sniper=-
use
HTML Code:

                                <!-- mood hack display start -->
                                <br /><if condition="$post[fieldX] != ''"><div class="smallfont">
                                Current Mood: $post[fieldX]
                                </div></if>
                                <!-- mood hack display end -->


Thanks dude!

[high]* Smiry Kin's installs[/high]

ChErAbOo 02-15-2006 12:38 PM

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

Clicks *Install

xxwildchildxx 02-17-2006 09:33 PM

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'));
}


-=Sniper=- 02-17-2006 09:49 PM

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.

katholic 02-21-2006 09:50 AM

Is it possible, and if so how, for the mood to display both on the thread display and the profile display?

SmashinYoungMan 03-17-2006 03:07 AM

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.

Ashiro 03-17-2006 06:03 PM

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?

silly rabbit 03-17-2006 09:10 PM

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)

LCPGUY 03-24-2006 01:04 AM

Anyone know if there’s anything similar to this that is just a simple plug-in and doesn’t require umpteen modifications?

hotwheels 03-24-2006 01:54 AM

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......

paul41598 05-06-2006 12:05 PM

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. :D

paul41598 05-12-2006 02:44 PM

ok fixed.


Find:
Code:

$post[iplogged]
Add Below:

Code:

<!-- / dropdown mood select by sniper start -->
  <form action="usercp.php" method="post" id="moodform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="newmood" />
    <select name="mood" onchange="this.form.submit();">
      <option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
      $show[qmcmood]
    </select>
  </form>
<!-- / dropdown mood select by sniper end -->

oh and if you dont like the redirect msg. Just open the hook location:
Hook Location : usercp_complete click EDIT

and change

Code:

eval(print_standard_redirect('qmc_mood_swing', true, true));
to

Code:

eval(print_standard_redirect('redirect_updatethanks'));

glorify 05-13-2006 06:17 PM

For all interested, I twisted up the hack a tad to make it a virtual sports jersey instead of a mood. Different, and if you run a sports forum, you may wanna consider it :)

You can check it out here.

futuredood 07-03-2006 08:47 AM

in the navbar, it shows your current mood.. but doesn't have the image next to it. any way around this?

Harley-Heaven 07-25-2006 05:10 PM

<font color="Purple">Hi, installed the Moods, nice easy steps for a complete Newbie. My users loved it - THANKS!!

One question... when selecting the mood "Sunshine" I get an error image, but everything else works 100%.. .any idea where I may look for a resolution.

Thanks,

Harley</font>

L9IAnime 07-29-2006 09:02 AM

would it be possible to set it up so that the member can change mood without going to the member cp, say have a switcher on the postbit template?

paul41598 07-30-2006 07:58 PM

Quote:

Originally Posted by L9IAnime
would it be possible to set it up so that the member can change mood without going to the member cp, say have a switcher on the postbit template?

look at my post 3 posts above.

Devil Woman 08-10-2006 09:06 PM

Will this hack be upgraded to vb 3.6.0 at all? I have searched and can not find it in the vb 3.6.0 section

Thanks

jdk10 08-19-2006 04:08 AM

Quote:

Originally Posted by Devil Woman
Will this hack be upgraded to vb 3.6.0 at all? I have searched and can not find it in the vb 3.6.0 section

Thanks

Same here

Devil Woman 08-20-2006 09:20 PM

Any news on if this will be upgraded to 3.6.0 at all or if this one is actually compatible with 3.6.0

Thanks

The_Rayman 08-21-2006 03:03 PM

Installed on v3.6 and works fine!

Go ahead and install.

Devil Woman 08-24-2006 02:49 PM

Thanks for that will test it first on my test board if all goes great will add it back into my live forum :)

Thanks for the reply

Pamela 08-25-2006 08:26 PM

*Clicks installed*

Thanks! :)

Aclikyano 09-03-2006 01:50 AM

LOVE IF THIS WAS PORTED TO 3.6.0
IM Sure someone can help you...

Olly_K 09-04-2006 07:45 AM

some of my users are trying to use "sunshine", but this does not display a pic ?
have checked the pic and its ok. any ideas ?

Exitilus 09-04-2006 08:58 PM

Quote:

Originally Posted by Aclikyano
LOVE IF THIS WAS PORTED TO 3.6.0
IM Sure someone can help you...

Works fine for 3.6.0

dano 09-05-2006 08:47 PM

Quote:

Originally Posted by paul41598
ok fixed.


Find:
Code:

$post[iplogged]
Add Below:

Code:

<!-- / dropdown mood select by sniper start -->
  <form action="usercp.php" method="post" id="moodform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="newmood" />
    <select name="mood" onchange="this.form.submit();">
      <option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
      $show[qmcmood]
    </select>
  </form>
<!-- / dropdown mood select by sniper end -->

oh and if you dont like the redirect msg. Just open the hook location:
Hook Location : usercp_complete click EDIT

and change

Code:

eval(print_standard_redirect('qmc_mood_swing', true, true));
to

Code:

eval(print_standard_redirect('redirect_updatethanks'));

So is there a way to make this so it doesnt show on everyones postbit at the same time, and just yours?

Currently, this shows for each and every postbit, even though it only changes your own mood. I would love it if a member only saw this drop down in THEIR posts and postbit and not everyones?

Any ideas?

paul41598 09-06-2006 08:10 PM

Here you go. Added code in BOLD

Code:

<!-- / dropdown mood select by sniper start -->
<if condition="$post[userid] == $bbuserinfo[userid]">
  <form action="usercp.php" method="post" id="moodform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="newmood" />
    <select name="mood" onchange="this.form.submit();">
      <option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
      $show[qmcmood]
    </select>
  </form>
</if>
<!-- / dropdown mood select by sniper end -->


Bro_Joey_Gowdy 07-31-2007 07:17 PM

Uninstalled and Reinstalled updated version here:
https://vborg.vbsupport.ru/showthread.php?t=127220

LjubavnaZona 08-04-2007 03:16 AM

This is perfect. I have had a problem with another Mood Hack I got and I couldnt fix it if my life depended on it. But with this one, everything went smooth. Thank you so much!

Love it. Installed.

silly rabbit 06-10-2008 07:54 PM

Seems to work in 3.7.0 fine . . .

oops! upgraded to HERE!

Thx again, Rabbit


All times are GMT. The time now is 08:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03302 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_code_printable
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete