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)

hambil 04-10-2009 08:38 AM

I'll take another pass at that issue. *sigh* I'm growing to hate scrolling tables lol

Bounce 04-10-2009 10:17 AM

I'm having a small issue that I never noticed before...

In the Egg Permissions a usergroup has it's setting set for: Can view egged avatars Yes...

Yet this usergroup will not display :confused:

It works when I set: Can egg other avatars to yes, but I don't want some usergroups to egg others

Thanks

OcR Envy 04-10-2009 11:21 AM

I gave up on getting on the profile page. I'd like to see it across the entire forums not just postbit.

cory_booth 04-10-2009 01:07 PM

Just installed for the first time.

Had a problem with animated avatars = got the square block.
When I copied and pasted the URL for the image and error was produced.

convert: -layer was unrecognized.

I edited the class_eggavatar_image.php file - line 210 and removed

-layer Optimize

Therefore leaving an empty ' ' - this work nows.

hambil 04-10-2009 01:39 PM

It should be layers with an 's'. Odd that it works fine on mine ImageMagick. Try changing it to layers anyway and let me know.

down.low 04-10-2009 06:15 PM

Quote:

Originally Posted by hambil (Post 1788195)
It should be layers with an 's'. Odd that it works fine on mine ImageMagick. Try changing it to layers anyway and let me know.

I hope you can figure it out because I sure can't, does it display correctly for you when you visit the site? I've even switched themes with no luck.

hambil 04-10-2009 06:23 PM

Quote:

Originally Posted by down.low (Post 1788377)
I hope you can figure it out because I sure can't, does it display correctly for you when you visit the site? I've even switched themes with no luck.

Different problem - your problem is a display bug in the drop down, which I'm still struggling with. The post you quoted was dealing with an issue specifically with ImageMagick.

UncoderMom 04-10-2009 07:14 PM

Installed an running on 3.7. Just some template issues probably due to my customizations. LOL

down.low 04-10-2009 10:37 PM

my first download was 1.2.3and everything was perfect- when I updated to 2.2.2 is when the problem hit.

Quote:

Originally Posted by drupy (Post 1788020)
Same problem after upgrading to 2.3.2.
Was OK when I was using 2.2.1
No customized egg avatar template.


RedTrinity 04-10-2009 10:46 PM

Quote:

Originally Posted by Detomah (Post 1787168)

Having the same issue, in Firefox 3.0.5. Our entire forum is built around FF so would really appreciate a fix too :confused:

Saviour 04-10-2009 11:29 PM

The latest version of Firefox is 3.0.8...try upgrading your browser.

Bounce 04-11-2009 12:05 AM

LOL!!! I'm now gettin,
Quote:

This avatar is already clean
when tryin to clean one, when clearly its not.

Just upgraded to 2.3.2

hambil 04-11-2009 12:06 AM

Another attempt (probably my last for a while) at fixing the popup issue. Hope it works for those having trouble.

digicom 04-11-2009 12:42 AM

Thanks hambil upgraded and no problems at all :up:

UncoderMom 04-11-2009 01:19 AM

Quote:

Originally Posted by hIBEES (Post 1788550)
LOL!!! I'm now gettin, when tryin to clean one, when clearly its not.

Just upgraded to 2.3.2

I'm having this issue too. Also I have it set to one hour to expire and 6 hours later they are still there.

UncoderMom 04-11-2009 01:20 AM

Quote:

Originally Posted by Saviour (Post 1788539)
The latest version of Firefox is 3.0.8...try upgrading your browser.

I have the latest version of firefox and I'm getting the same issue. Only in firefox. Template doesnt break in IE.

hambil 04-11-2009 01:27 AM

Quote:

Originally Posted by UncoderMom (Post 1788587)
I'm having this issue too. Also I have it set to one hour to expire and 6 hours later they are still there.

They won't expire until the user logs in and sees them.

UncoderMom 04-11-2009 01:59 AM

I am logged in. ITs my avatar. LOL been logged in on and off all day and they are still there. Also getting the "This avatar is already clean." notice when I try and clean it. Its dirty but says its clean. Same eggs from early today.

Other users are having issues with cleaning them too, I try and it gives me the same thing it gives them. BUT if I throw something fresh at them and then throw a towel the avatar gets cleaned. weird.

Also I noticed if you throw an egg and then quick reply you cant throw another egg until you refresh the page.

down.low 04-11-2009 02:16 AM

Quote:

Originally Posted by hambil (Post 1788551)
Another attempt (probably my last for a while) at fixing the popup issue. Hope it works for those having trouble.

Thanks a Whole lot, 2.3.3 fixed the pop-up issue for firefox 3.0.8. thanks for a great hack and for taking the time to make it all happen.

UncoderMom 04-11-2009 02:42 AM

Okay... I just upgraded to 2.3.3 (just noticed from the pp that there was one).

The FF issue is almost fixed LOL Just the sponge and towel are outside the box with transparent background.

I was able to clean my avatar too. Not sure about the fading yet.

I can also egg, quick reply and egg without refreshing page :)

So, so far... just the pop up still being a little off on the cleaning options! :)

UncoderMom 04-11-2009 02:44 AM

Oooh I thought I'd mention... the pop up for me to clean my own avi comes up fine.

Bounce 04-11-2009 08:48 AM

Quote:

Originally Posted by hambil (Post 1788593)
They won't expire until the user logs in and sees them.

This avatar has been egged the maximum 0 times :eek:

Thought 0 was to disable ?
Quote:

Maximum Eggings.
Maximum number of time an avatar can be egged. After which all eggings will be denied until some fade with time or are cleared. 0 disables

hoof 04-11-2009 12:37 PM

I was having an issue with the pop up as well and fixed it to my liking. I thought I'd share for those having the same problem :)

Here's what I changed:

Go to adminCP>style manager> and find the "eggav_bit" template
Replace contents with:
Code:

<div class="thead">$vbphrase[eggavatar_egg]: <span style="font-weight:normal">$username</span></div>
<if condition="$vbulletin->options[eggavatar_creditsenable]"><div class="thead">{$vbulletin->options[eggavatar_eggcost]} {$vbulletin->options[eggavatar_creditname]} $vbphrase[eggavatar_toegg]</if><if condition="$show[clean] AND $vbulletin->options[eggavatar_creditsenable]">,&nbsp;{$vbulletin->options[eggavatar_cleancost]} {$vbulletin->options[eggavatar_creditname]} $vbphrase[eggavatar_toclean], $cleanall_cost $vbphrase[eggavatar_tocleanall].</td></tr></if><if condition="$vbulletin->options[eggavatar_creditsenable]"></div></if>
        <div class="panelsurround" align="center">
        <div class="panel">
                <div <if condition="!$show['ajax']">style="width:$stylevar[formwidth]"</if> align="$stylevar[left]">
                <fieldset class="fieldset">
                        <legend><phrase 1="$username">$vbphrase[what_do_you_want_to_egg_xs_with]</phrase></legend>
                        <div style="height: 160px; overflow-x: hidden; overflow-y: auto;">
                        <div style="border: thin solid black;" align="center">
            <if condition="$show['egg']">
                $eggavatar_eggbits
            <if condition="$show['clean']"></if>
<span style="color: #80909c; font-weight: bold;"><a>----- Clean your Avatar Options -----</a></span>
                $eggavatar_cleanbits
            </if>
        <!-- <div style="margin-top:$stylevar[cellpadding]px;" "border: thin solid black;"> -->
                <input type="hidden" name="do" value="addegg" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="uid" value="$userid" />
                <input type="hidden" name="pid" value="$postid" />
                <input type="hidden" name="url" value="$url" />
                <input type="submit" name="eggsubmit" class="button" value="$vbphrase[eggavatar_egg_submit]" accesskey="s" />

</div>
                </div>
                </fieldset>
                </div>
        </div>
        </div>
</div>

Now everything displays in the first container with a simple separation on the cleaning section.
Hope this helps, and I hope you don't mind me posting this hambil.
My community loves this modification :)

hambil 04-11-2009 02:13 PM

Quote:

Originally Posted by hIBEES (Post 1788759)
This avatar has been egged the maximum 0 times :eek:

Thought 0 was to disable ?

Hmmmm - I'll get that fixed.

hambil 04-11-2009 02:14 PM

Quote:

Originally Posted by hoof (Post 1788856)
I was having an issue with the pop up as well and fixed it to my liking. I thought I'd share for those having the same problem :)

Here's what I changed:

Go to adminCP>style manager> and find the "eggav_bit" template
Replace contents with:
Code:

<div class="thead">$vbphrase[eggavatar_egg]: <span style="font-weight:normal">$username</span></div>
<if condition="$vbulletin->options[eggavatar_creditsenable]"><div class="thead">{$vbulletin->options[eggavatar_eggcost]} {$vbulletin->options[eggavatar_creditname]} $vbphrase[eggavatar_toegg]</if><if condition="$show[clean] AND $vbulletin->options[eggavatar_creditsenable]">,&nbsp;{$vbulletin->options[eggavatar_cleancost]} {$vbulletin->options[eggavatar_creditname]} $vbphrase[eggavatar_toclean], $cleanall_cost $vbphrase[eggavatar_tocleanall].</td></tr></if><if condition="$vbulletin->options[eggavatar_creditsenable]"></div></if>
        <div class="panelsurround" align="center">
        <div class="panel">
                <div <if condition="!$show['ajax']">style="width:$stylevar[formwidth]"</if> align="$stylevar[left]">
                <fieldset class="fieldset">
                        <legend><phrase 1="$username">$vbphrase[what_do_you_want_to_egg_xs_with]</phrase></legend>
                        <div style="height: 160px; overflow-x: hidden; overflow-y: auto;">
                        <div style="border: thin solid black;" align="center">
            <if condition="$show['egg']">
                $eggavatar_eggbits
            <if condition="$show['clean']"></if>
<span style="color: #80909c; font-weight: bold;"><a>----- Clean your Avatar Options -----</a></span>
                $eggavatar_cleanbits
            </if>
        <!-- <div style="margin-top:$stylevar[cellpadding]px;" "border: thin solid black;"> -->
                <input type="hidden" name="do" value="addegg" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="uid" value="$userid" />
                <input type="hidden" name="pid" value="$postid" />
                <input type="hidden" name="url" value="$url" />
                <input type="submit" name="eggsubmit" class="button" value="$vbphrase[eggavatar_egg_submit]" accesskey="s" />

</div>
                </div>
                </fieldset>
                </div>
        </div>
        </div>
</div>

Now everything displays in the first container with a simple separation on the cleaning section.
Hope this helps, and I hope you don't mind me posting this hambil.
My community loves this modification :)

If it fixes the problem people are having great, I'm all for it :)

Bounce 04-11-2009 02:53 PM

Quote:

Originally Posted by hambil (Post 1788915)
Hmmmm - I'll get that fixed.

:up: my issue here still stands as well mate :up:

goxy63 04-11-2009 04:27 PM

Generic avatars are not displayed, everything else looks just fine!?

Thanks once more for great hack

zombietom 04-11-2009 06:05 PM

does this work with 3.7 ?
thanks and it looks very cool

zombietom 04-11-2009 07:17 PM

works good on 3.7 --just need to set up the credits thing...
thanks and i clicked installed

UncoderMom 04-12-2009 12:38 PM

Thank you Hambil!

Nadeemjp 04-13-2009 11:08 AM

i have checked the option to display the stats in "whats going on" to yes, but it is not showing. could anyone explain why?

cory_booth 04-13-2009 12:13 PM

Updated to 2.3.3 and I see the following errors on animated gifs:

1. If the filename has a space (I believe this is the problem)...

identify: unable to open image `images/avatars/Animated': No such file or directory. identify: unable to open image `SC/36_7_7.gif': No such file or directory. identify: missing an image filename `SC/36_7_7.gif'.

2. It seems the layers function is either not supported by my ImageMagick version or something is off...

Currently I disable the (is_ani) section of class_eggavatar_image.php but if it is enabled...

convert: unrecognized option `-layers'.

Endurer 04-13-2009 02:45 PM

Thanks for this cool mod.

hambil 04-14-2009 02:27 AM

Updated to fix a permissions problem, and added a vbAdvanced module.

hambil 04-14-2009 02:28 AM

Quote:

Originally Posted by cory_booth (Post 1790153)
Updated to 2.3.3 and I see the following errors on animated gifs:

1. If the filename has a space (I believe this is the problem)...

identify: unable to open image `images/avatars/Animated': No such file or directory. identify: unable to open image `SC/36_7_7.gif': No such file or directory. identify: missing an image filename `SC/36_7_7.gif'.

2. It seems the layers function is either not supported by my ImageMagick version or something is off...

Currently I disable the (is_ani) section of class_eggavatar_image.php but if it is enabled...

convert: unrecognized option `-layers'.

What version of ImageMagick are you using, and thanks for the tip of spaces in filenames, I'll look into that.

nascartr 04-14-2009 03:50 AM

Thanks for the homepage block! Glad to be able to remove that huge thing from the 'Whats Going On' box yet still have basic stats.

Sunka 04-14-2009 04:08 AM

Thanks Hambil for new update...
My vBAdvanced portal page is huge even without this add on...so, is it possible to change something in new version of stats in 'Whats Going On' box on Forum home page?
I will be happy if you have time and will to make that we users have option in ACP to choose how many members will be in Most Egged (now is 10, I would like top 5), same for Most Thrown, and for icons/images in Most Popular Eggs to chose how many and small/normal size of image, or just name of image (without picture)

aztecboi2003 04-14-2009 04:17 AM

Sorry I didn't read the directions before I posted.

kayskid 04-14-2009 05:19 AM

Just wondering if anybody knows why all avatars that are NOT egged are not showing up when I enable this mod?

Megatr0n 04-14-2009 08:49 AM

Updated.

hambil, get my PM regarding a pay request?


All times are GMT. The time now is 10:53 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.02008 seconds
  • Memory Usage 1,845KB
  • 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_code_printable
  • (15)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