vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - [tk] Egg Avatar (https://vborg.vbsupport.ru/showthread.php?t=208324)

Saviour 03-25-2009 05:11 PM

Greta mod!

Only issue is that the link to the thread in "Who Egged ME?" only worked once...and now doesn't work at all.

Is there a fix for this?

Saviour 03-25-2009 05:13 PM

Disregard my previous post...it works...my bad!

digicom 03-25-2009 05:17 PM

Thanks hambil for update excellent work :up:

Saviour 03-25-2009 05:45 PM

Who egged me coming up as Unknown location in WOL.

Saviour 03-25-2009 06:13 PM

Would love to add additional items, as well...like darts, a harpoon, and anything else someone would deem funny....even a flame thrower which singes the outside edges of the avatar.

This mod is great...imagine all the possibilities!

Throw in the kitchen sink! Why not even replace their avatar with something like an "Idiot of the moment" avatar...I mean the possibilities are endless.

You should make it possible for an Admin to add items to throw at people.

I'm recommending this for MOTM!

Very nice job...and hilarious!

hambil 03-25-2009 07:01 PM

Quote:

Originally Posted by Saviour (Post 1776848)
You should make it possible for an Admin to add items to throw at people.

I did. That's a big part of the 2.0 update.

woffie 03-25-2009 07:03 PM

I like the dropdown menu much better on the old version. This one is a mile long. Hate scrolling! Other than that its great.

DobieGillis? 03-25-2009 07:04 PM

Quote:

Originally Posted by hambil (Post 1776889)
I did. That's a big part of the 2.0 update.

really? Maybe some peeps will put up their own items for us to share.

hambil 03-25-2009 07:15 PM

Quote:

Originally Posted by woffie (Post 1776891)
I like the dropdown menu much better on the old version. This one is a mile long. Hate scrolling! Other than that its great.

Since people can add their own items scrolling in necessary. There is no way for me to handle 20 or 30 or whatever number of items someone might add otherwise.

djilou 03-25-2009 07:17 PM

Quote:

Originally Posted by hambil (Post 1776755)
Screenshot.

You can edit the eggav_bit template to change the height of the dropdown:
HTML Code:

<tbody style="display: block; height: 150px; overflow: auto; width: 100%;">
Or, you could remove the images (or resizes them dynamically) in the clean and egg bits (eggav_cleanbit, eggav_eggbit) templates.
HTML Code:

<img class="inline" src="{$vbulletin->options[eggavatar_eggpath]}{$throw[image]}"/>

It's display fine on Firefox but not on IE

djilou 03-25-2009 07:22 PM

Some bugs <D

when I try to edit an egg on admincp

Code:

Invalid SQL:
UPDATE eggimage SET
            type='',
            name='Throw Egg',
            effect=0,
            image='egg.gif'
            WHERE imageid=1;

MySQL Error  : Unknown column 'type' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, March 25th 2009 @ 08:24:40 PM
Error Date    : Wednesday, March 25th 2009 @ 08:24:40 PM
Script        : /admincp/eggadmin.php?do=add
Referrer      : /admincp/eggadmin.php?do=modify&imageid=1&action=edit


And this one : 50 Credit to egg, 50 Credit to clean, 0 to clean all.

hambil 03-25-2009 07:30 PM

Quote:

Originally Posted by djilou (Post 1776913)
Some bugs <D

when I try to edit an egg on admincp

Code:

Invalid SQL:
UPDATE eggimage SET
            type='',
            name='Throw Egg',
            effect=0,
            image='egg.gif'
            WHERE imageid=1;

MySQL Error  : Unknown column 'type' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, March 25th 2009 @ 08:24:40 PM
Error Date    : Wednesday, March 25th 2009 @ 08:24:40 PM
Script        : /admincp/eggadmin.php?do=add
Referrer      : /admincp/eggadmin.php?do=modify&imageid=1&action=edit


Woohooo! My first official 2.0 fix. 2.0.1 is now available.

Quote:

And this one : 50 Credit to egg, 50 Credit to clean, 0 to clean all.
This (I believe) is a refresh bug. I can't seem to get it to recalculate the # of eggs on a avatar until you refresh the thread. Let me know if that is the same problem you are having, and if so it's already on my list to eventually figure out.

If does charge the right amount, it just doesn't display it properly in the popup without a refresh, do to some YUI caching crap I think.

hambil 03-25-2009 07:35 PM

Quote:

Originally Posted by djilou (Post 1776908)
It's display fine on Firefox but not on IE

Woah - I can see that! Okay, working on it now.

TimberFloorAu 03-25-2009 08:25 PM

Another simply stunning upgrade, great work mate !

hambil 03-25-2009 08:38 PM

Quote:

Originally Posted by djilou (Post 1776908)
It's display fine on Firefox but not on IE

2.0.2 now displays much better (but not perfect) on IE. I'll continue to fix it up in further releases, but wanted to get this out quickly so it was at least usable on IE.

hambil 03-25-2009 08:39 PM

Quote:

Originally Posted by Saviour (Post 1776830)
Who egged me coming up as Unknown location in WOL.

Ah yes, now that there are places to go, I need to update WOL :p I'll get that in the next release. Thanks.

djilou 03-25-2009 08:41 PM

Thanks for the update.

DobieGillis? 03-25-2009 08:47 PM

much better, I had yoke on my face from the IE folks..just kidding. It's eggsactly what I wanted. Still don't get why people use IE.

TimberFloorAu 03-25-2009 09:01 PM

Please explain upgrade from 2 to 2.02 is it entire upload, or just product or the lot.

Ste

hambil 03-25-2009 09:06 PM

Quote:

Originally Posted by TimberFloorAu (Post 1777007)
Please explain upgrade from 2 to 2.02 is it entire upload, or just product or the lot.

Ste

Upload files and import xml (with overwrite). It shouldn't harm any existing settings.

TimberFloorAu 03-25-2009 09:18 PM

Quote:

Originally Posted by hambil (Post 1777014)
Upload files and import xml (with overwrite). It shouldn't harm any existing settings.


Sorted thanks :up:

Alien 03-25-2009 09:36 PM

Hey!

VERY NICE UPDATE!

I'm definitely installing this as soon as I can customize a way to select where I can have the scroll-out menu/throw_green.gif

Any pointers on this? I want to use a little egg and put that anywhere I want in the postbit (not just specific hook-locations).

How would I go about that?

Thank you very much!

hambil 03-25-2009 09:49 PM

Sure. Paste this code over the existing code in the [tk] Egg Avatar: Add Postbit Control plugin:
Code:

global $vbulletin;
if ($vbulletin->options['eggavatar_active'] AND (($vbulletin->userinfo['permissions']['eggavatarpermissions'] & $vbulletin->bf_ugp_eggavatarpermissions['eggavatarcanuseeggs']) OR ($vbulletin->userinfo['permissions']['eggavatarpermissions'] & $vbulletin->bf_ugp_eggavatarpermissions['eggavatarcancleanown'])))
{
    eval('$eggavatar_button .= " ' . fetch_template('eggav_add_control') . '";');
    $post['avatarurl'] = 'eggavatar.php?do=showeggs&u=' . $post['userid'] . '&pid=' . $post['postid'] . '&old=' . $post['avatarurl'] . '&t=' . TIMENOW;
}

Then just place the $eggavatar_button variable wherever you want the button to appear in the postbit. I can't really support this though, so if you mess up your board please don't blame me :p

Alien 03-25-2009 10:08 PM

LOL!

Thank you SO much, I'll test this tonight and turn it loose on the masses!

SliceofLife 03-25-2009 10:38 PM

Thanks for the update! Is there going to be a release where it can be switched off for individual users?

b6gm6n 03-25-2009 10:48 PM

this seems like a very well coded and implemented system for something thats completely pointless... to me anyways :) sorry if i sounded rude there, i speak as i find :)

Alien 03-25-2009 10:55 PM

Small AdminCP Bug found, see attachment...

Notice:

1) The action BUTTON on right has no text

2) Last empty option in select menu also has no text showing up. It should read "Disable", as I tested it. ;)

hambil 03-25-2009 10:59 PM

Quote:

Originally Posted by b6gm6n (Post 1777084)
this seems like a very well coded and implemented system for something thats completely pointless... to me anyways :) sorry if i sounded rude there, i speak as i find :)

Why speak at all? Just ignore it if you don't want it.

Bigj85 03-25-2009 11:04 PM

working great so far,members are using it a lot already
installed :)

hambil 03-25-2009 11:06 PM

Quote:

Originally Posted by Alien (Post 1777089)
Small AdminCP Bug found, see attachment...

Notice:

1) The action BUTTON on right has no text

2) Last empty option in select menu also has no text showing up. It should read "Disable", as I tested it. ;)

The phrases definitely exist in the xml file - try a re-import with overwrite...

The Mack 03-25-2009 11:16 PM

So how do you add this to the usercp to display who egged you?

hambil 03-25-2009 11:18 PM

Just turn on the 'Enable Who Egged' option.

https://vborg.vbsupport.ru/attachmen...8&d=1237996329

The Mack 03-25-2009 11:45 PM

I turned it on but still don't see it in the usercp

SliceofLife 03-26-2009 12:04 AM

My users for the majority absolutely love this! They're changing their avatars to some very interesting ones and then seeing where their splats hit [like targets, etc] however, some users aren't so keen, so will you be bringing out a release that will include switching it off for individual users? Thanks! This one is heaps of fun!

samraz972 03-26-2009 12:08 AM

The avatars disappeared

woffie 03-26-2009 12:45 AM

Nice update!

hambil 03-26-2009 01:30 AM

Quote:

Originally Posted by The Mack (Post 1777120)
I turned it on but still don't see it in the usercp

Well, there should be a choice all the way down at the bottom of the usercp menu.

http://img148.imageshack.us/img148/5826/whoeggedme.jpg

Alien 03-26-2009 02:35 AM

Quote:

Originally Posted by hambil (Post 1777098)
The phrases definitely exist in the xml file - try a re-import with overwrite...

Hey,

Nope, I get the same issue. I actually uninstalled the previous version that I was testing when I installed 2.0.2. I just did a re-import with overwrite and that didn't work. It's just like that screenshot I included.

I also noticed an additional bug!

When trying to add a brand new object (another towel I have), I fill in all fields like so:

Example:
Throw Another Towel
Select "clean all"
Click on "Browse" to my pictures directory and select towelnew.gif and when I submit, it always gives me the same error message:

Quote:

There was an error encountered with your upload:

* Invalid File Path Specified

If you are not automatically redirected, please click here.

Processing Complete - Proceed
This happens time and time again and the path is perfectly valid.

Hope this all helps!

Thanks!

hambil 03-26-2009 02:57 AM

Quote:

Originally Posted by Alien (Post 1777204)
Hey,

Nope, I get the same issue. I actually uninstalled the previous version that I was testing when I installed 2.0.2. I just did a re-import with overwrite and that didn't work. It's just like that screenshot I included.

I'll double check.

Quote:

I also noticed an additional bug!

When trying to add a brand new object (another towel I have), I fill in all fields like so:

Example:
Throw Another Towel
Select "clean all"
Click on "Browse" to my pictures directory and select towelnew.gif and when I submit, it always gives me the same error message:



This happens time and time again and the path is perfectly valid.

Hope this all helps!

Thanks!
Did you make sure you have write permissions to the path?

hambil 03-26-2009 03:12 AM

Minor update for the missing phrases - need to upload eggadmin.php and reimport with overwrite.

If you are having trouble uploading new images make sure your path is in the format 'images/misc/' - the trailing backslash matters.


All times are GMT. The time now is 09:11 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.01800 seconds
  • Memory Usage 1,835KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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