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 - Extended [Postbit] (https://vborg.vbsupport.ru/showthread.php?t=83488)

yj_enquirer 08-30-2005 05:50 PM

Quote:

Originally Posted by paul41598
it shouldnt redirect you back to the homepage, something is wrong. Can you give me a link username password to try out.

hmm.. this is a strange one, tried for a different PC using IE and it upon changing the MOOD, it navigates back to the top of the same thread.

However trying it on my main PC, it defaults back to the home page...

guess its probably due to some settings of IE on my PC rather then the hack itself.

Thanks for the comeback paul...

Cheers

Khashyar 09-01-2005 05:51 AM

The hack works great for me Paul.

Great hacking of the hack :)

When my users choose a mood, they are redirected to the SAME page, so it's working for my website.

I wonder if anyone has any additional moods? I added the 5 additional ones that were listed in this thread, and my users and I enjoy the hack, are looking for more ways to express our moods...

Khashyar

mustang_lex 09-09-2005 09:03 PM

Is there a simple upgrade for those who already have the original?

stan111 09-14-2005 10:47 AM

thanks a lot
i got it work now
loook so nice
thanks again for this mod

MajorFm.com 10-09-2005 08:28 PM

ok all works fine, however, wherever i put the code, i get a massive space above the mood and below the mood... this is probably because there is so much code in that area, is there any way round this?

Please advise..

MajorFm.com 10-09-2005 08:50 PM

...for now i have had to move the mood to the sig till i get a answer how to overcome this.

dai-kun 10-30-2005 11:49 PM

Quote:

Originally Posted by MajorFm.com
ok all works fine, however, wherever i put the code, i get a massive space above the mood and below the mood... this is probably because there is so much code in that area, is there any way round this?

Please advise..

Remove the first and the last <br /> from your postbit or postbit legacy

<!-- Mood Hack Start -->
<br />
<if condition="$post[mood] == 1">
<br>
<div class="smallfont">Current Mood: <img src="./images/mood/Aggressive.gif" alt="Aggressive"></div>
</if>
<if condition="$post[mood] == 2">
<br>
<div class="smallfont">Current Mood: <img src="./images/mood/Amazed.gif" alt="Amazed"></div>
</if>
......................
<if condition="$post[mood] == 40">
<br>
<div class="smallfont">Current Mood: <img src="./images/mood/Tired.gif" alt="Tired"></div>
</if>
<br />
<!-- Mood Hack End -->

prettyboi 11-29-2005 06:46 AM

This is so complicated. What do you mean by "#### QUERY ####

ALTER TABLE user ADD mood varchar(15) NOT NULL

#### END QUERY ####"?

samu2 11-30-2005 03:36 PM

And where is showthread PHP to do the code changes please?

kenneth4200 08-07-2006 09:53 PM

includes/functions_showthread.php is not founds in vBulletin 3.6.0 :(:(:(:(

Please help!


All times are GMT. The time now is 02:25 PM.

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.01802 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)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
  • (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