vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Mood Changer - addon (https://vborg.vbsupport.ru/showthread.php?t=102270)

bashy 02-14-2006 09:05 PM

Yep...i did edit my post but ya must have missed it :)

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

ok, could you PM with admin access, so I can check whats wrong.

bashy 02-14-2006 09:17 PM

ok m8 2 secs...bear oin mind i have disabled the poduct atm...so ya prob need to turn it back on again...

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

problem fixed, bashy forgot that the previous version was still installed.

bashy 02-14-2006 09:28 PM

Lies...all lies.... :o

Yeah, ok thats right...i boo booed...thanks alot Sniper...
Much appreciated, Working well now :)

bashy 02-14-2006 09:31 PM

ooo there is 1 little techinical hitch....
Wheres the mood images lol...they aint showing anymore lol
Me got to go bed now...speak tomoz about this other techincal hitch :)

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

make sure you have done the template edits correctly.

docvader 02-15-2006 02:40 AM

Well Sniper, I've got issues after the upgrade. Followed your excellent instructions precisely.

This postbit edit
Quote:

<!-- mood hack display start -->
<br /><if condition="!empty($post[FIELD46])"><div class="smallfont">
Current Mood: <img src="images/mood/$post[FIELD46].gif" title="$post[FIELD46]" align="center">
</div></if>
<!-- mood hack display end -->
results in this page source
Quote:

<!-- mood hack display start -->
<br />
<!-- mood hack display end -->
Which is why I get no images, or anything else for that matter in my postbit.

I'm a little befuddled why this is happening, any suggestions?
Thanks
rich

EDIT.
If I take the exclamation point out of the postbit (!empty to empty), I then get this:
Quote:

<!-- mood hack display start -->
<br /><div class="smallfont">
Current Mood: <img src="images/mood/.gif" title="" align="center">
</div>
<!-- mood hack display end -->
Progress, but still not working....

Brandon Sheley 02-15-2006 02:57 AM

working great :) thx,, now to start making some moods

has anybody made a few more they would share ? I'm not the greatest graphics person

docvader 02-15-2006 03:03 AM

OK, fixed it.

Change FIELD to field

In my installation, for some reason, using capital letters in FIELD threw it off.

There are just some things that I'll never understand....

testpig 02-15-2006 09:01 AM

Hi Sniper.
I have the images working fine and the quick changer is showing up, however there are no moods in the quick changer.

I can select moods from within the usercp but not out in the forum.

The quickchanger box is very small (no text within...so its as if its not finding the moods I've added within vB Options).

I've gone over the edits and they are fine.
Removed the previous plugins and installed the new product.
Gone into the vB Options and added field 10 (my profile field) and then copied in each mood on a seperate line.

Basically its got me stuffed...any thoughts?

-=Sniper=- 02-15-2006 11:02 AM

I'm looking to it now.

-=Sniper=- 02-15-2006 11:06 AM

ok, simple test shows you need to use lowercase "fieldxx" in the templates, I'll update it now.

this should fix the problems.

testpig; did you input "field10" of just the number "10"?

bashy 02-15-2006 04:34 PM

Ok sorted my problem...

I reuploaded the updated product, Still didnt show the images...
I then changed all of the FIELD in the postbit template to field and
hey presto, working like a dream...cheers Sniper :)

QueenBee 02-15-2006 06:11 PM

hey anyone. i changed my skin. and i guess it took out the code cause i had to load it again. but now im trying to do this addon and its not showing in the postbit. i dot really get the instructions. i tried to do the upgrade too. anyone have ideas? or wanna get an admin account and help a little lady out? ;)

-=Sniper=- 02-15-2006 06:15 PM

PM with details QueenBee, will get it sorted.

bashy 02-15-2006 06:16 PM

Hi

Please read this below as this is what i did to get it to work...

Code:

Ok sorted my problem...

I reuploaded the updated product, Still didnt show the images...
I then changed all of the FIELD in the postbit template to field and
hey presto, working like a dream...cheers Sniper


Quote:

Originally Posted by QueenBee
hey anyone. i changed my skin. and i guess it took out the code cause i had to load it again. but now im trying to do this addon and its not showing in the postbit. i dot really get the instructions. i tried to do the upgrade too. anyone have ideas? or wanna get an admin account and help a little lady out? ;)


QueenBee 02-15-2006 06:18 PM

i pmed u sniper.... u always come thru. thanks

QueenBee 02-15-2006 06:42 PM

Quote:

Originally Posted by bashy
Hi

Please read this below as this is what i did to get it to work...

Code:

Ok sorted my problem...

I reuploaded the updated product, Still didnt show the images...
I then changed all of the FIELD in the postbit template to field and
hey presto, working like a dream...cheers Sniper



cool i did that it works. i love the "whats with the mood swing" thing lmao

never mind sniper:)

testpig 02-16-2006 06:38 AM

Quote:

Originally Posted by -=Sniper=-
ok, simple test shows you need to use lowercase "fieldxx" in the templates, I'll update it now.

this should fix the problems.

testpig; did you input "field10" of just the number "10"?

Hi Sniper.
I just have 10 in the control panel (although I tried field10). I have field10 in the templates (in lower case).

Everything works except nothin appears in the quick selector. All options have been added into the vB options area.

Only thing I have done differently is I had to edit the path to the images as mine are stored inside forum/images/moods instead of just images/moods Once I edited the pathway the images show fine inthe forum. Not sure if maybe this has an effect elsewhere but I can see any other paths in the code?

-=Sniper=- 02-16-2006 02:34 PM

remember guys, there are no plugin edits, only template edits :)

testpig 02-17-2006 05:16 AM

Quote:

Originally Posted by -=Sniper=-
remember guys, there are no plugin edits, only template edits :)

Thanks Snipe. I think I edited the plugin while looking in desparation for the infamous lower case "field" problem.

Thanks for the assistance...top notch mod with even better support :)

funinthesun 02-17-2006 09:06 PM

I'm getting this error. I've changed all the fieldxx and I've put the correct field number in the admincp settings so what am I doing wrong?
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE userfield SET
                FIELDXX = 'Cheeky' WHERE userid = '1';

MySQL Error  : Unknown column 'FIELDXX' in 'field list'
Error Number : 1054
Date        : Friday, February 17th 2006 @ 11:04:44 PM
Script      : http://www.************.com/usercp.php
Referrer    : http://www.**********.com/online.php?order=asc&sort=username&pp=20&page=1
IP Address  : ********
Username    : *******
Classname    : vb_database


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

delete the old plugin! in the global_start hook, I think it was called "quick mood changer by sniper"

funinthesun 02-17-2006 09:12 PM

EDIT: Had to change the fieldxx in the plugin. I knew I missed one somewhere! Working brill now :D

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

Quote:

Originally Posted by funinthesun
EDIT: Had to change the fieldxx in the plugin. I knew I missed one somewhere! Working brill now :D

hmm, are you using the latest one? since it no longer requires plugin edits, only template edits.

o0Hubba0o 02-17-2006 10:08 PM

Mood shows up in the post bit no problem, you can change it in the usercp/edit options no problem.

Using the quick change however it refreshes to the usercp and doesn't change the mood.

-=Sniper=- 02-18-2006 06:56 PM

is this during a new install or a upgrade? I'd suggest you try again.

funinthesun 02-19-2006 12:42 PM

Quote:

Originally Posted by -=Sniper=-
hmm, are you using the latest one? since it no longer requires plugin edits, only template edits.

Yes, I am using the latest one as I downloaded it just before I installed it. I didn't have to change the fieldxx in the xml product sheet just in the plugin on plugin manager - edit plugins.

-=Sniper=- 02-19-2006 04:06 PM

but there are no such edits even in the plugin manager, try undoing the edits or re-importing the product again.

eNforce 03-07-2006 03:54 AM

Umm, I've gone through the upgrade instructions perfectly a few times but I just can't get it to show in the postbit :(

Edit:

It will work with this original code though:
Code:

<!-- mood hack display start -->
                                <br /><if condition="$post[field55] != ''"><div class="smallfont">
                                Current Mood: <img src="images/mood/$post[field55].gif" title="$post[field55]" align="center">
                                </div></if>
                                <!-- mood hack display end -->


-=Sniper=- 03-07-2006 10:38 AM

Quote:

Originally Posted by eNforce
Umm, I've gone through the upgrade instructions perfectly a few times but I just can't get it to show in the postbit :(

Edit:

It will work with this original code though:

If it works, then no need to make
that last edit :)

Paprika 03-09-2006 02:50 PM

Hey,

I just upgraded to vB 3.5.4 and had to revert all of my nav templates.

I went ahead and paste the old code back into the new reverted templates, the same code that was in the originally modified ones, and now my Quick Mood Changer doesn't show up at all!

Maybe I've made a mistake along the line somewhere, and I'll look at it again later on today, but is there some known conflict or issue with this mod and vB 3.5.4?

Thanks!

-=Sniper=- 03-09-2006 03:01 PM

Try using the latest version, though the old version has no problems.

Kihon Kata 03-17-2006 02:47 PM

Thanks Sniper for helping me update ours! You rock

fabianv 03-20-2006 02:25 PM

Hey Sniper,

I changed my FIELD to lower case and everything seems to work.. just 2 things..

My mood changer is blank after ive changed a mood and I dont see a drop down in my usercp. :(

fabianv 03-20-2006 02:28 PM

Ok I changed my Moods field to : 'Edit Profile' so that works now.. all I need to figure out now is why my changer is blank after choosing :confused:


Does this have any influence on it showing or not?

condition="empty($bbuserinfo[field6])">selected</if>></option>
$show[qmcmood]

-=Sniper=- 03-27-2006 01:39 PM

if you need for me to have a look pm me with admin details...and I'll what you may have done wrong.

I think I need to rewrite the readme file :)

dboogie2288 03-27-2006 03:47 PM

Ohhh this is much better than the original. Muuuuch better. Installed so much quicker.

Hey, question though-is it able to show the current mood of a user? Everything works great, but I'd like to know what my current mood is from that option if possible.

-=Sniper=- 03-27-2006 06:06 PM

it should do.

My suggestion, uninstall the older version first, the install the latest version.


All times are GMT. The time now is 09:02 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.01656 seconds
  • Memory Usage 1,820KB
  • 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
  • (4)bbcode_code_printable
  • (10)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