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-09-2009 02:08 PM

Quote:

Originally Posted by OcR Envy (Post 1787365)
Sorry should have been more specific. The avatar image is still the normal one not the one that includes the eggs etc.. The post you referred me to seems to be about the placement of the link image. I tried anyways no change.

This is done in the postbit_display_complete hook by replacing the variable $post['avatarurl'].

PHP 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(
'$post[onlinestatus] .= " ' fetch_template('eggav_add_control') . '";');
    
$post['avatarurl'] = 'eggavatar.php?do=showeggs&u=' $post['userid'] . '&pid=' $post['postid'] . '&old=' $post['avatarurl'] . '&t=' TIMENOW;


Same section of code as the button.

Theater 04-09-2009 04:47 PM

I would just like to add a suggestion for a future release. The ability to have this fun mod be able to be turned on/off in a particular forum(s) section. Like say where you setup the individual forum properties you could add a radio option for on/off functionality.

This way we could have the egging ability in let's say "The Silly Forum" and some of the more "stiff" members who may not appreciate the mod wouldn't be visiting that section of your board anyway. Thus having a pacifying effect with them. Think aboot it, eh? :)

Bulldog Stang 04-09-2009 05:34 PM

Everytime I update this, I have issues with my avatars not viewing. I uninstall it and reinstall it and have to go back through the many usergroups that I have and edit all of the settings.

Right now, my avatars are not viewing at all. I dont know why. I love this hack and so do my members. I am just frustrated after every update.

When you update, all you do is overwrite the new files through ftp right ?? Then import the new one correct ??

Bulldog Stang 04-09-2009 05:53 PM

I just removed all the files that were uploaded as well as uninstalled the hack. I re-installed the files and uploaded the product. I went to the usergroups and edited all of the settings. I have also rebuilt all the custom avatars.

I still can not view my avatars. Any help is greatly appreciated.

hambil 04-09-2009 07:13 PM

Quote:

Originally Posted by Bulldog Stang (Post 1787526)
I just removed all the files that were uploaded as well as uninstalled the hack. I re-installed the files and uploaded the product. I went to the usergroups and edited all of the settings. I have also rebuilt all the custom avatars.

I still can not view my avatars. Any help is greatly appreciated.

There is never a reason to uninstall the mod unless I specifically say you need to for some reason. Just overwrite. Then your permissions aren't lost.

As for the avatars going away, I've figured that out and will have a fix up in a few minutes. Thank you goxy63 for the use of your test board to reproduce the issue.

gigglegirl 04-09-2009 07:26 PM

mine says "could not find phrase egg avatar invalid path" how do i fix this?

hambil 04-09-2009 07:31 PM

Fix uploaded. No need to reimport, just overwrite files.

hambil 04-09-2009 07:32 PM

Quote:

Originally Posted by gigglegirl (Post 1787613)
mine says "could not find phrase egg avatar invalid path" how do i fix this?

Change your path in the admincp eggavatar options for where eggs are stored to a valid path.

gigglegirl 04-09-2009 07:34 PM

Quote:

Originally Posted by hambil (Post 1787616)
Fix uploaded. No need to reimport, just overwrite files.

All the files? Mine still says Could not find phrase 'eggavatar_invalid_path'.

Bounce 04-09-2009 07:34 PM

off topic hambil, where did you get your "add-ons" hack that you have installed in your admincp?

this one's brilliant, is there options for only using in certain forums?

gigglegirl 04-09-2009 07:35 PM

Quote:

Originally Posted by gigglegirl (Post 1787618)
All the files? Mine still says Could not find phrase 'eggavatar_invalid_path'.

ok let me try that thank you..

gigglegirl 04-09-2009 07:35 PM

That's not working.. not sure what I must be doing wrong..

hambil 04-09-2009 07:40 PM

What are you trying to do when you get this error?

gigglegirl 04-09-2009 07:41 PM

oh cool.. i think I got it working! thanks!

hambil 04-09-2009 07:46 PM

Quote:

Originally Posted by gigglegirl (Post 1787618)
All the files? Mine still says Could not find phrase 'eggavatar_invalid_path'.

You mean the menu structure? I wrote it.

[tk] Super Menu: Organize and customize your AdminCP menus

gigglegirl 04-09-2009 07:55 PM

*gulp* i logged out to check something and now i get this error:

Content Encoding Error













The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.






The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

* Please contact the website owners to inform them of this problem.

gigglegirl 04-09-2009 07:56 PM

and this one:
Safari can’t open the page.
Safari can’t open the page “http://forum.com”. The error was: “cannot decode raw data” (NSURLErrorDomain:-1015) Please choose Report Bugs to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

gigglegirl 04-09-2009 07:57 PM

I had just enabled the "whats going on" part of the hack and then got that..I disabled it and the forum is available again.

hambil 04-09-2009 08:01 PM

That's... odd

Bounce 04-09-2009 08:03 PM

Quote:

Originally Posted by hambil (Post 1787635)
You mean the menu structure? I wrote it.

[tk] Super Menu: Organize and customize your AdminCP menus

yes, thanks man :up:

gigglegirl 04-09-2009 08:10 PM

So far everything else is working.. just that glitch if i enable "whats going on?"

gigglegirl 04-09-2009 08:15 PM

oh.. one other thing.. the troll avatar does not work. Says invalid file.

hambil 04-09-2009 08:21 PM

troll avatar?

gigglegirl 04-09-2009 08:23 PM

In the folder with the egg images there was an avatar.. it said troll kingdom.. was that not supposed to be uploaded there?

Bounce 04-09-2009 08:27 PM

sometimes i get a security token error :confused:

hambil 04-09-2009 08:56 PM

No, it wasn't :)

Bounce 04-09-2009 09:36 PM

Only been on my forums for bout half an hour but my users are loving this, just in time for easter too, many thanks hambil :up:

Voted in MOTM :)

Edit: Have $10 for your troubles, many thanks :up:

Most Popular Eggs on my forum (so far)
https://vborg.vbsupport.ru/external/2009/04/23.gif38

https://vborg.vbsupport.ru/external/2009/04/24.gif32

https://vborg.vbsupport.ru/external/2009/04/25.gif27

https://vborg.vbsupport.ru/external/2009/04/26.gif17

LOL, brilliant :up:

Anyone got a coffee image please? :D

DobieGillis? 04-09-2009 09:39 PM

so far so good with 2.32...( holds collective breath)

gigglegirl 04-09-2009 09:45 PM

Quote:

Originally Posted by hambil (Post 1787706)
No, it wasn't :)

ahh OK thank you. :)

Alien 04-09-2009 09:55 PM

hambil: Any ideas yet on the best way to deal with the UserCP link location? It still displays UNDER the blog header when blog is installed correct?

I'd still like that workaround when you get a chance. Thanks!

Theater 04-09-2009 10:24 PM

Quote:

Originally Posted by hIBEES (Post 1787728)
Anyone got a coffee image please? :D

One I've downloaded for free off www.iconarchive.com:

digicom 04-09-2009 11:22 PM

Installed and working great! Thanks hambil :up:

rinkrat 04-10-2009 12:28 AM

Still not displaying avatars for me. Can you make an older version available so I can at least revert to a working version. Thanks

aztecboi2003 04-10-2009 12:45 AM

I'm still using 2.0.4 and it works great for me

hambil 04-10-2009 02:00 AM

Quote:

Originally Posted by Alien (Post 1787743)
hambil: Any ideas yet on the best way to deal with the UserCP link location? It still displays UNDER the blog header when blog is installed correct?

I'd still like that workaround when you get a chance. Thanks!

The code is in the hook userncp_nav_complete
PHP Code:

if ($vbulletin->options['eggavatar_whoegged'])
{
     
$template_hook['usercp_navbar_bottom'] .= '<td class="alt2" nowrap="nowrap"><a class="smallfont" href="whoeggedme.php?' $session[sessionurl] . '">' $vbphrase['eggavatar_whoeggedme_usercp'] . '</a></td>';


There are no other template hooks. So, you'll have to store the data in a variable and place the variable where you want in the template.

PHP Code:

if ($vbulletin->options['eggavatar_whoegged'])
{
     
$eggavatar_usercp .= '<td class="alt2" nowrap="nowrap"><a class="smallfont" href="whoeggedme.php?' $session[sessionurl] . '">' $vbphrase['eggavatar_whoeggedme_usercp'] . '</a></td>';



hambil 04-10-2009 02:02 AM

Quote:

Originally Posted by rinkrat (Post 1787822)
Still not displaying avatars for me. Can you make an older version available so I can at least revert to a working version. Thanks

I've put up the versions that generally seemed to be considered the most stable. If you wish one that isn't listed PM me, as the attachment limit is 10.

rinkrat 04-10-2009 04:38 AM

Thanks!

Bounce 04-10-2009 06:12 AM

Quote:

Originally Posted by Theater (Post 1787759)
One I've downloaded for free off www.iconarchive.com:

:up: thanks

down.low 04-10-2009 06:24 AM

Quote:

Originally Posted by down.low (Post 1783574)
http://i472.photobucket.com/albums/r...ion/egg-22.jpg

I'm having this problem as well, have you found out what might be causing this- I sure cant.

I still need help with this problem, can you still help me hambil?

drupy 04-10-2009 07:16 AM

Quote:

Originally Posted by down.low (Post 1787990)
I still need help with this problem, can you still help me hambil?

Same problem after upgrading to 2.3.2.
Was OK when I was using 2.2.1
No customized egg avatar template.


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.01902 seconds
  • Memory Usage 1,837KB
  • 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_php_printable
  • (14)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