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?


All times are GMT. The time now is 07:20 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.02446 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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