Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Kpt - Avatar & Profile Picture Limit Details »»
Kpt - Avatar & Profile Picture Limit
Version: 1.00, by kaptanblack kaptanblack is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.8 Rating:
Released: 10-27-2007 Last Update: 10-27-2007 Installs: 15
Uses Plugins
Re-useable Code Translations  
No support by the author.

Avatar & Profile Picture Limit

You can put your users avatar and profile picture limit with this hack...

Mark as Installed - Nominate for MOTM

Install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-avatarveprofileresmisinir.xml' from your computer then press 'Import'...

Kpt - Avatar & Profile Picture Limit

Go to your admin cp, then:
vBulletin Options -> Kpt - Avatar & Profile Picture Limit ->

Modifications Info

Plugin : 2
Phrases : 7
Template : 0
Setting : 2

Versions:
v1.0 - 29 October 2007
- First release

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-07-2008, 02:03 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Well thank you very much for this great mod, I installed it and works awesome, but I need a Mod that the registered users can upload until they have X number of posts ?

But only for the registeres users, I don´t want to affect other user groups, like one that I have "VIP Donators Group", the members of this group do a donation by paypal so they can upload an avatar before they have 200 posts.

This mod don´t have group permissions so this mod affects to all my user groups.

Help me please!!

Mario
Reply With Quote
  #13  
Old 03-07-2008, 02:28 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws View Post
Thanks!
Around vB.org I ususally check out the pictures before the text to get the idea of it
Reply With Quote
  #14  
Old 03-07-2008, 01:03 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mariocaz View Post
Hi,

Well thank you very much for this great mod, I installed it and works awesome, but I need a Mod that the registered users can upload until they have X number of posts ?

But only for the registeres users, I don?t want to affect other user groups, like one that I have "VIP Donators Group", the members of this group do a donation by paypal so they can upload an avatar before they have 200 posts.

This mod don?t have group permissions so this mod affects to all my user groups.

Help me please!!

Mario
Hi mariocaz,

Admincp >> Plugin Manager >> Profil Resim Kısıtlama (profile_editprofilepic) >> Edit


Change with this codes:


PHP Code:
$kpt_profile_kisitlama $vbulletin->options['kpt_profile_sinirlama'];
if (
in_array($vbulletin->userinfo['usergroupid'], array(567)))
{
        if ((
$vbulletin->userinfo[posts]< $kpt_profile_kisitlama))
        {
            
standard_error(fetch_error('error_postcount_too_low_profile'$vbulletin->options['kpt_profile_sinirlama'], $vbulletin->userinfo[posts]));
        }


array(5, 6, 7) "5, 6, 7" are usergroups ID.
Reply With Quote
  #15  
Old 03-07-2008, 03:11 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those ones are the groups (5,6,7) that are not affected with the mod or the groups that this mod affects ???

If only I want to affect is the registered users group ("2") only I have to put the number 2 ? or I have to put all the groups except the # 2 ?

Thank you again!!!
Reply With Quote
  #16  
Old 03-07-2008, 03:31 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And I have to put that code here?

Admincp >> Plugin Manager >> Kpt - Avatar And Profile Pic Limit >> Edit

In the part:

Add New Install/Uninstall Code >>INSTALL CODE (box to put the code)

Put the code that you give me there and then click in SAVE, is that right ??

Confirm me my friend!!
Reply With Quote
  #17  
Old 03-07-2008, 03:44 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or why you do not put all this in the Mod to appears a box in the Control Panel of the Mod ?, and you can automatically choose to which groups you want to enable/disable this great mod, it will be great if you can do it and I know a lot of people will help and also you will have a lot of installations of your mod.

Something like this:



It will be awesome if you can dot it my friend!! :up:
Reply With Quote
  #18  
Old 03-07-2008, 07:03 PM
ahmadatom's Avatar
ahmadatom ahmadatom is offline
 
Join Date: Sep 2007
Location: mashhad
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very thank you for introducing this hack
Reply With Quote
  #19  
Old 03-08-2008, 02:30 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump!!
Reply With Quote
  #20  
Old 03-09-2008, 04:58 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No news ?
Reply With Quote
  #21  
Old 03-14-2008, 07:10 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anything yet ??
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:52 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.06106 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete