Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 06-07-2003, 06:03 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st;
That's what the extra long bio field is for

2nd;
Again the bio field

3rd;
Good Idea

4th;
Was going to anyway

5th (extra);
I might add "Last 5 posts"
Reply With Quote
  #12  
Old 06-07-2003, 06:06 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Steven... this looks good. I'm holding off all the hacks I want to install untill a vB3 version comes out

/me waits patiently for vB3 public beta
Reply With Quote
  #13  
Old 06-07-2003, 06:10 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Steve, the last 5 posts thing, make sure it's not an intensive query/make sure there aren't many queries...

I think you should aim for < 16 queries for this Advanced Profile Page.
Reply With Quote
  #14  
Old 06-07-2003, 06:10 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

So far, completed:
Select which user's can use APP
Minimum posts to use APP

Thats probably all the admin extras that will be needed.

Quote:
Today at 08:10 PM N9ne said this in Post #13
Steve, the last 5 posts thing, make sure it's not an intensive query/make sure there aren't many queries...

I think you should aim for < 16 queries for this Advanced Profile Page.
Yeah I know, that will be the main problem.
Reply With Quote
  #15  
Old 06-07-2003, 06:17 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got a good idea:

Have in each usergroup's settings, "Can have an advanced profile page"

And then, do an if statement in admin/user.php so it finds if this user's usergroupid can have APP's...

If the user's usergroup CAN, show a field in the user's adminCP profile "can have an Advanced Profile Page".

So this way, it works two ways, you can have a usergroup allowed it, while specific users in it can't have it .

To make life easier for you, have a page in the adminCP that displays which users can't have an APP but their usergroup can, because most likely these are the trouble makers.

A way the code for this page can be written:

First get usergroupids which can have an APP.
Then do a select from the user table, WHERE: usergroupid is in array of results produced from first query, and then: AND canhaveAPP=0

So that last part will take users who's usergroup allows them an APP but they specifically can't have one...

Don't forget though that things will be done differently for adding users in the adminCP as they don't have a usergroup yet...so you must take it that they're in usergroupid 2, but it could be 3 if COPPA, so that will require a little thinking.
Reply With Quote
  #16  
Old 06-07-2003, 06:21 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see. Great idea, I'll do that now.
Reply With Quote
  #17  
Old 06-09-2003, 03:24 PM
albamaster albamaster is offline
 
Join Date: Jun 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i want it vb3 man
Reply With Quote
  #18  
Old 06-09-2003, 03:50 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, sounds great.

/me wants to test it as soon as possible!
Reply With Quote
  #19  
Old 06-09-2003, 04:10 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. If I dont finish it before vB3 comes out, I will scrap it for vB2 and start with vB3

Admin Screenshot:

So far, if the user has less than 300 posts, they dont see the link in the User CP (or if their usergroup cant view it, or don't have access)

I believe thats most of the admin end done.
Attached Images
File Type: png scrennyu.png (84.5 KB, 0 views)
Reply With Quote
  #20  
Old 06-10-2003, 02:04 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done:
If a user has less than x posts, the dont see UserCP link
If their usergroup doesnt allow APP, then its not availible when editing that use, nor can he see the link
If you have selected 'no' to user using APP they, again, dont see the link

Now I am working on the features you allow, whether they show up or not.
Reply With Quote
Reply


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 06:35 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.05746 seconds
  • Memory Usage 2,266KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete