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)

Loony1973 04-05-2009 08:05 AM

Quote:

Originally Posted by hambil (Post 1783979)
You're making my head spin :p

What I will say is the permissions are pretty self explanatory and should work as defined. I will be double and triple checking that they do in the upcoming 2.5 release.

If you want a permissions setup that simply does not exist in the current release, please explain it like I'm an idiot, because I'm confused.


Sorry ! I'll start again :)

On my forum we have a Premium Members usergroup, and a Regular Members usergroup. I (and someone previously in this thread) wanted the permissons set so that Premium Members can throw eggs, and Regular Members can see the eggs but not throw them.

Changing the permissions in the admin cp didn't enable this. Although the permissions were set for Regular Members to view eggs, they couldn't see them unless the permissions were also set for them to throw eggs.

So, I followed your instructions earlier in the thread to change the plug-in code and use the phrase $eggavatar_button in the postbit template. I then wrapped a conditional around this code so that the button was only visible if you were a member of Premium Members.

So, although Regular Members have the permissions to throw eggs, they can't actually see the button to do so. This was the only way I could get it working so that Regular Members can see but not throw eggs.

Hope this makes sense!

hambil 04-05-2009 10:42 AM

Ah. The permissions are broken then. I appreciate you helping out :) I will try to make sure permissions work as advertised in 2.5 :)

murdoc 04-05-2009 02:05 PM

hey there hambil

i just would like to ask i get this error

Code:

Could not find phrase 'eggavatar_invalid_path'.
and i have installed it just like you said, i use Vbadvance

hambil 04-05-2009 03:06 PM

Hmmm. First, make sure the path to your eggs in egg avatar options is valid. As to why the phrase is missing, that's a mystery to me, but I'll look into it.

mekanbursa 04-05-2009 03:08 PM

tşk dosttum

hambil 04-05-2009 03:23 PM

Quote:

Originally Posted by mekanbursa (Post 1784317)
tşk dosttum

Can someone translate that?

Saviour 04-05-2009 03:36 PM

Quote:

Originally Posted by hambil (Post 1784332)
Can someone translate that?

Sure...

It means "I have nothing better to do than troll threads".:D

tecnozul 04-05-2009 04:39 PM

Nice already I could install it without problems, but I have some questions.

Is itpossible as Admin or moderator sees who a gif gives to another user?

And is it( possible, allows him only some groups the one who him to wire drawing?

hambil 04-05-2009 05:02 PM

Quote:

Originally Posted by tecnozul (Post 1784391)
Nice already I could install it without problems, but I have some questions.

Is itpossible as Admin or moderator sees who a gif gives to another user?

And is it( possible, allows him only some groups the one who him to wire drawing?

Let me make sure I understand:
You want admins and/or mods to be able to see a list of who egged who? Not a bad idea, I'll add it to the list.

I don't understand the second sentence. Wire drawing?

hambil 04-05-2009 11:28 PM

I decided to make a 2.3 release before 2.5, because there are some big internal changes. Both support for ImageMagick and vB Optimise required considerable code re-writing. There were also some bugs that needed fixing that had been out there too long.

Forget to mention in update message: I also changed the fade time so the eggs won't fade if the user hasn't logged in to see them yet.

Enjoy :)


All times are GMT. The time now is 01:24 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.01627 seconds
  • Memory Usage 1,741KB
  • 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_code_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