vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Mood Hack (https://vborg.vbsupport.ru/showthread.php?t=81637)

|Jordan| 05-17-2005 05:00 PM

Ok, fixed.

I fixed folder name, added ALT tags and fixed an error.

Repeat step one of template modification.

Nordinho 05-17-2005 08:39 PM

looks good, but wouldn't this by an easier way??

|Jordan| 05-17-2005 09:14 PM

Well yea but i didn't know how to do that. Also that changes avatars, this just adds a new image and doesnt touch the avatar.

iSpanish 05-17-2005 09:28 PM

Quote:

Originally Posted by Nordinho
looks good, but wouldn't this by an easier way??

Yes,
This is an easier way , Very easier

anyway

i will install it but by the other way (MIX) CoOoL


Thanks MyIS_Jordan For this nice hack
try to do the easier way and update it.

by the way may a have the PSD file
i want translate it to another language

Thank you very much.

Marboosh

Nordinho 05-17-2005 09:37 PM

Quote:

Originally Posted by MyIS_Jordan
Well yea but i didn't know how to do that. Also that changes avatars, this just adds a new image and doesnt touch the avatar.

It doesn't need to touch the avatar...if you just create a new profile field, with the values you need, like sad, happy etc...and name the images sad.gif, happy.gif etc, this condition

PHP Code:

<if condition="$post[field28]">
<
img src="images/mood/$post[field28].gif" alt="$post[field28]">
</if> 

results in images/mood/sad.gif or images/mood/happy.gif on whatever you choose...correct me if I'm wrong...

|Jordan| 05-17-2005 09:43 PM

The one that the guy in that thread was requesting was to change the avatar based on mood.

kall 05-17-2005 09:50 PM

Well...the *thread* was, that post was not.

The post linked to describes how to achieve exactly what your Hack does, without the need to change any files, just a User Profile Field and a Template modifciation.

It also uses no queries whatsoever.

Allan 05-18-2005 12:10 AM

thank you for this hack, and cheer, I like much :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
click Install
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

yoyoyoyo 05-18-2005 12:25 AM

Another slight thing I noticed- if nobody selects a mood their postbit is unchanged, however once you select a mood there is no way to deselect having the mood appear in the postbit. It would be nice if you could have the option to choose "do not display my mood" and the postbit would not say "current mood:" etc..

TTG 05-18-2005 09:47 AM

Quote:

Originally Posted by yoyoyoyo
Another slight thing I noticed- if nobody selects a mood their postbit is unchanged, however once you select a mood there is no way to deselect having the mood appear in the postbit. It would be nice if you could have the option to choose "do not display my mood" and the postbit would not say "current mood:" etc..

Simply go to the top of the list "Tell people about your current mood." .. select nothing and mood in postbit does not appear :)


All times are GMT. The time now is 06:13 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.01023 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (3)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
  • (10)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