![]() |
The names of your moods need to be typed in your vBulletin Options in your AdminCP exactly as they're named and uploaded into your image folder.
|
Hey, here is some code to align the image with the text and make it look nicer. I already made the edits on my board, and thought I'd share :)
In the quick_mood_change_by_sniper template HTML Code:
<span style="vertical-align: middle;">$vbphrase[my_mood]: </span><a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img style="vertical-align: middle;" src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a> PHP Code:
HTML Code:
<if condition="!empty($post[mood])"> |
Quote:
|
Sure, I also used optgroup to put images in the drop down instead of text.
Here is a couple screenshots: |
WOW!!! That's cool!!! Great job!!! I think I might hafta do it your way!!! I like, I like!!:up: :up: :up:
How'd you do that?? |
LOL
If what I already posted makes no sense to you, then I recommend you wait for the mod author to incorporate my changes if he/she decides to do so. ;) |
You added the images to the drop-down with just that coding? I can handle that!! But it's what you said about using 'optgroup'? I'm sorry, but ya lost me there.:o
|
Oh. Optgroup is an html tag that allows background images.
So, I made this change to the select in the "[Mood Manager] - Make Drop Down Menu" hook: PHP Code:
I hard-coded the image size. If someone wanted to get all fancy they could probably make that more dynamic, but with the included images it works just fine. |
Sweet!! Thank you for taking the time to explain this to me. I will work on this in the morning! I'm looking forward to this!! I will let you know how it goes! Thanks again, Hambil! BTW, LOVE your avatar!! So cute!:o
|
It's not working with vbadvanced. Please check the attached photo. Thanks
|
Quote:
ALSO - how can this be implemented to work with vBAdvanced pages as well? Thanx for the sharing. Looks pretty good! Jacquii. |
Quote:
|
Quote:
|
Yeah, but there must be some solution to this problem :)
|
Yeah, well, I'm sure there is...Hambil got it to work, but considering the mess I had to clean up, no thanks...I'll keep things the way they are, AND I'll be happy about it. Hehehe.;)
|
He did? I have to make it work alright, so I am at it... checking what he did :)
|
I fail to understand what Hambil did :(
|
From what I can see, he replaced the original coding with his own. But when I did it, I had the same result as you...no moods. So, I had to uninstall the product, reinstall, and re-type all my moods into my options. It took awhile, and I'm not willing to try again.
|
Hey, my intention was not to cause problems. Please do not try to do what Hambil did. :) And, if you really, really want to make sure you BACK UP everything first.
|
It does work fine, btw. Check my (under construction) site to see. www.catnine.net.
|
Okay, since people are doing this against advice, and now I feel bad that I am causing problems for the author of this wonderful hack, I will try to make the directions clearer. However, I still recommend not doing it, and if you do go forward BACK UP first.
Step 1: In the quick_mood_change_by_sniper template find: HTML Code:
$vbphrase[my_mood]: <a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a> HTML Code:
<span style="vertical-align: middle;">$vbphrase[my_mood]: </span><a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img style="vertical-align: middle;" src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a> In the "[Mood Manager] - Ajax Update" plugin find: PHP Code:
PHP Code:
In the postbit and/or postbit_legacy templates find: HTML Code:
<if condition="!empty($post[mood])"> HTML Code:
<if condition="!empty($post[mood])"> In the "[Mood Manager] - Make Drop Down Menu" hook find: PHP Code:
PHP Code:
In vBulletin Options -> [Sniper] Mood Manager change "In Love" to "InLove" Step 6: In your images/mood directory on your server rename "In Love.gif" to "InLove.gif" and rename Psychadelic.gif to Psychedelic.gif You should be good to go. But again, PLEASE use with caution, or better yet wait for the author of this hack to decide what to do with this. Thanks :) |
Oh no, no! I know your intentions were good! Stuff happens, I know this.
I looked at everything you did, and did what you said, it just didn't work for me. No big deal. And I don't think you're causing problems at all...you're just trying to improve an already awesome hack! The alignment coding went swimmingly...putting the mood images in the drop-down just didn't go so well. But it's ok. You don't have anything to feel bad about! |
So far it's working great. Just gotta do the images in the list. We'll see how that goes, and i'll update everyone. So far great job hambil. I like when things look organize and clean. :)
|
Wow, I just realized this has been changed to not supported. I'm contacting the author for permission to be added to the support list for this hack, so it can be changed back to supported again.
|
Hey Hambil, for the image list of moods, it doesn't work. For the url i tried many variations. From full url, to the simplest form. If possible, you think you can help me out on this? I think having this addition will be really great for my members. :D Thank alot!
|
Sure. PM me your site details.
|
hambil has volunteered to support this hack, while I hope to do the same in a couple of months or so.
|
Thanks Sniper! I will be releasing a version with my latest edits once I've worked with a couple of you to make sure it won't break anything. Anyone who wants to 'beta' this change please PM me.
|
n/p please let me know via pm/email when you have a updated version ready, so I can update the attachment. thanks
|
Thanks...
Installed ;) |
Thanks! ...version 3.6.5 ..good working ...and *Installed*
|
Quote:
|
Quote:
|
Okay, the beta is ready. You can get it here.
This beta may break your system, cause havoc, destroy the free world, etc... Do not try it unless you really want to help beta it. Once the kinks our worked out it will be posted here in its hopefully full glory. |
Do I really have to register on your board? ;)
|
I suppose I can email it to you or something, if you have some kind of registration phobia. Can I download your German hacks without registering?
|
It's just for the beta. I want a place to deal with it that won't clog up and confuse this thread and Snipers non-beta users. Once we're sure it's good I'll email it to Sniper and he'll just put it up here. I can't put it up here. And I don't want to post it as an attachment for 100s of people to download no matter how many warnings I give out ;)
I don't even validate email. But, anyone who really wants it and doesn't want to register, can give me an email (via PM) and I'll send it that way. |
Quote:
The points according the german translations goes to you - but that's a simple licensing issue ;) Quote:
|
Quote:
Quote:
It's got a whole forum to discuss issues. Just post your issue as a thread. Think of it as working like the premium support forums for some hacks here :) |
Okay, I just found something which I think the modification creator should fix. In the product file, and what the menu looks for spells a mood as Psychedelic, but in the image file, it is named Psychadelic, which because they don't match, means anyone selecting this mood will have no icon (maybe a broken one) and no mood selector. I fixed this by renaming the image file in CPanel, but please could the author look into fixing this typo, as it renders the modification useless to anyone who chooses the wrong mood.
|
All times are GMT. The time now is 01:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|