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)

lefthome 10-16-2005 10:00 PM

Mood Hack 3.5
 
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...

lefthome 10-17-2005 07:31 PM

Just wanted to let everyone know that I added this <br /> at the start of the modification in the postbit so it would provide a space between reps and the mood image. Remove or keep as desired.

Barakat 10-17-2005 07:52 PM

wrong reply to wrong hack

installed .....

hbalagh1 10-17-2005 07:54 PM

i am not getting it to show up, yes i uploaded the images to my images/mood directory and replaced the x's with 6 which is the id of the profiles

lefthome 10-17-2005 08:06 PM

Quote:

Originally Posted by Barakat
wrong reply to wrong hack

installed .....

Happy to hear that. I was concerned at first...:speechless:

lefthome 10-17-2005 08:11 PM

Quote:

Originally Posted by hbalagh1
i am not getting it to show up, yes i uploaded the images to my images/mood directory and replaced the x's with 6 which is the id of the profiles

I messed up and forgot to explain the last step:

To make the images appear do the following: UserCp >> Control Panel >> Edit Options >> Miscellaneous Options >> Member Mood Display >> Select Image from Drop Down Box >> Save!

Instructions have been corrected in zip file...

hbalagh1 10-17-2005 08:15 PM

i did that already ;)

hbalagh1 10-17-2005 08:24 PM

got it working i think its something w/ my template hmm... i decided to add it to the signature area

VaaKo 10-17-2005 08:27 PM

Thx, worked!!!!!

eNforce 10-17-2005 08:34 PM

Worked fine here too, nice job!

thedvs 10-17-2005 09:36 PM

yub all working (typo in txt with Aggresive, when the gfx = Aggressive)

INSTALLED

lefthome 10-17-2005 11:02 PM

Quote:

Originally Posted by thedvs
yub all working (typo in txt with Aggresive, when the gfx = Aggressive)

INSTALLED

Thanks. Fixed it and uploaded replacement :o

Startinfresh 10-17-2005 11:23 PM

I can't get the images to show up.

And yes, I uploaded images to the right directory and yes I did the last step. Everyone is still getting red x's though.

Startinfresh 10-17-2005 11:24 PM

Nevermind, got it ;)

funinthesun 10-17-2005 11:50 PM

I can't extract the files? It says I need a password? Any help? :confused:

michaelbenson 10-18-2005 05:54 AM

Very nice :)

Pramodinfo 10-18-2005 08:40 AM

Nice *Clicks Install*

Snake 10-18-2005 12:08 PM

/me installs

Spookysalem 10-18-2005 12:14 PM

Installed...

funinthesun 10-18-2005 01:55 PM

It's not working for me? I've uploaded the images into images/mood and I've followed everything else in the instructions. Still not sure why it's not showing up? Any help?

lefthome 10-18-2005 02:02 PM

Quote:

Originally Posted by funinthesun
It's not working for me? I've uploaded the images into images/mood and I've followed everything else in the instructions. Still not sure why it's not showing up? Any help?

What day or what time, if yesterday, you down load the zip file? Late yesterday afternoon I modified the original zip file to include the following instructions, which I forgot in the very first zip file:

To make the images appear do the following: UserCp >> Control Panel >> Edit Options >> Miscellaneous Options >> Member Mood Display >> Select Image from Drop Down Box >> Save!

funinthesun 10-18-2005 02:06 PM

I downloaded the zip file today, I realised I could open the files without having to extract them as it was asking me for a password. I've got the drop down box on my usercp but none of the images are showing up? I think it may be something I've done wrong in the coding?

lefthome 10-18-2005 02:46 PM

Quote:

Originally Posted by funinthesun
I downloaded the zip file today, I realised I could open the files without having to extract them as it was asking me for a password. I've got the drop down box on my usercp but none of the images are showing up? I think it may be something I've done wrong in the coding?

Since this is only a template modification, I must assume that you have done something incorrect; therefore, I think you should take a look at the Profile Field you created and ensure the settings are exactly as instructed including placing one mood image word per line and not all on the same line. Next, open up the template; postbit or (_legacy) template and ensure you have the code exactly as written and in the right location. Honestly, other than those two items and maybe ensuring you uploaded the ?mood folder? to the www.yoursite.com/forum/image/ - folder on your server, I can?t think of anything else that could be wrong.

funinthesun 10-18-2005 02:56 PM

I think I have done something wrong with the template mod, I've put one mood image word per line so I know that isn't what I've done wrong. I've uploaded the images into the correct folder www.mysite.com/forum/images/mood and I copied the text exactly when I pasted it. Maybe it's the field number that you put in X? That's the only thing that I can think of that might be wrong? I've tried altering it but to no avail. I'll PM you a copy of the text in my template. Sorry about all this :confused:

TyleR 10-18-2005 03:39 PM

Quote:

Originally Posted by funinthesun
It's not working for me? I've uploaded the images into images/mood and I've followed everything else in the instructions. Still not sure why it's not showing up? Any help?

Same here..i've installed by the instructions down to the T and tried it by selecting a mood in Profile Options..it isnt showing up on the post(s)..just a blank line..

Edit: nevermind, stupid me forgot to chnge one of the fieldX's..the one that matters lol (the one in the condition).

SpanishHarlem 10-18-2005 03:52 PM

I have also installed this exactly as said. All name's are on one line each. All image's have been uploaded in their folder. Yet some work and some don't. go figure.

funinthesun 10-18-2005 04:40 PM

I replaced the X with the field number in all 3 places but not sure if I'm still missing something?

lefthome 10-18-2005 07:12 PM

I really do understand how issues can arise installing any hack so i wrote out "step by step" instructions for non-coders to follow and hope these will resolve any issues up to now...

funinthesun 10-18-2005 08:29 PM

Well, I've followed the step by step instructions and even though I can see the drop down menu in the options and see the images when I test the url, I still can't see them on my forum :( so I gave up and got a drink like you said! Lol.

SpanishHarlem 10-18-2005 08:57 PM

Well I have given up and gotten a drink. I will just take out the mood's that the image's are not showing but showing as an x even though they are uploaded with the rest. lol

lefthome 10-18-2005 10:34 PM

Quote:

Originally Posted by SpanishHarlem
Well I have given up and gotten a drink. I will just take out the mood's that the image's are not showing but showing as an x even though they are uploaded with the rest. lol

What I suggest you do, since I just found out somebody else place the template mod in the wrong one, check and make sure you placed the modification in the right template. Put it in Postbit if you are using postbit - member info along the top. Postbit_legacy - member info on the left side. It won't work unless it is in the right template. :nervous:

funinthesun 10-18-2005 11:37 PM

Woohoo, got it working now thanks to lefthome, you're a star :D

lefthome 10-19-2005 01:11 AM

Quote:

Originally Posted by funinthesun
Woohoo, got it working now thanks to lefthome, you're a star :D

Not at all. Hell, I have to ask MarcoH64 questions all the time. He knows a lot! Anyway, happy we were able to sort that issue out.

By the way, a few of our members are busy creating more moods. I will post an update when they are all done, but that will only require uploading the files and cutting and pasting the names in the User Profile Field ;)

Alien 10-22-2005 02:57 AM

Quote:

Originally Posted by lefthome
Not at all. Hell, I have to ask MarcoH64 questions all the time. He knows a lot! Anyway, happy we were able to sort that issue out.

By the way, a few of our members are busy creating more moods. I will post an update when they are all done, but that will only require uploading the files and cutting and pasting the names in the User Profile Field ;)

Hey thanks a lot for this, I'm giving it a try and so far so good!

I look forward to the additional moods!

GrendelKhan{TSU 10-24-2005 09:22 AM

woohoo!! works great! :D

[high]* GrendelKhan{TSU clicks install :)[/high]

GrendelKhan{TSU 10-24-2005 09:23 AM

ps. any chance on getting that addon mod where you can change it directly from the postbit instead of having to go into user cp options? ;)

<< ack! ....give inch...asks for a mile. :/ lol sorry. just a thought. :)

Gizmo5h1t3 10-24-2005 08:59 PM

Quote:

Originally Posted by GrendelKhan{TSU
ps. any chance on getting that addon mod where you can change it directly from the postbit instead of having to go into user cp options? ;)

<< ack! ....give inch...asks for a mile. :/ lol sorry. just a thought. :)

u beat me to it mate, i came on here to ask exactly the same question...


anyone know where the add on mod is???

trancetopia 10-24-2005 09:17 PM

Glad this has finally been ported :)

I'd love the quick change/update too. I'll wait for that to come along before I install just to keep them happy ;P

caliman 11-01-2005 04:40 AM

Somebody make this a plugin. :squareeyed:

MrSDavidson 11-03-2005 09:45 PM

Quote:

Originally Posted by GrendelKhan{TSU
ps. any chance on getting that addon mod where you can change it directly from the postbit instead of having to go into user cp options? ;)

<< ack! ....give inch...asks for a mile. :/ lol sorry. just a thought. :)

Iv had a go at this myself, I can update it from the Navbar however there is a catch, it wont redirect you back to whichever page you did it on. [takes you to usercp.php]

Anyone willing to give me pointers so I can "fix" the above problem. And once done i'll willingly post the code here on the forum


All times are GMT. The time now is 01:35 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.01714 seconds
  • Memory Usage 1,829KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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