vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   New hack: Advance Profile Page (https://vborg.vbsupport.ru/showthread.php?t=53974)

assassingod 06-07-2003 04:29 PM

New hack: Advance Profile Page
 
========
Advance Profile Page
========


==Original hack idea & feature idea credits: hellsatan

==Features
  • Select which user's can use APP (Advance Profile Page)
  • Minimum posts to use APP
  • Flash Avatars
  • User Picture
  • Longer Biography
  • User Comments (hellsatans suggestion)
  • Upload Desktop Image
  • User Rating
  • User Defined Welcome Message (hellsatans suggestion)
  • vBNotePad (hellsatans suggestion)

==Description
APP allows your users to add a little bit more to their profile, but depending on whether you think they deserve it or earned it. You can choose which features appear on APP via the Admin CP. There are 9 features, equaling to 9 queries. So for each feature enabled, it adds a query.

==Description of featurs
  • Flash Avatars - Allow a user to use flash formatted avatars
  • User Picture - Allow a user to upload a picture of them (Limited size)
  • Longer Biography - A much longer textarea to add much more detail to their bio. (Limited size)
  • User Comments - Allow other users to add comments to this user
  • Upload Desktop Image - Allow a user to upload their desktop image (dimensions allowed: 800x600, 1024x768)
  • User Rating - Allow other users to rate this user
  • User Defined Welcome Message - Allow a user to change the pre-defined welcome message on forum home
  • vBNotePad - Much like FireFly's vBPad
[hr][/hr]

hellsatan came up with the original idea and is making one private version for his board.

Basically I want some feedback on the this hack idea and what you you think would be good to add

filburt1 06-07-2003 04:36 PM

Remember use of Flash allows ActionScript (AFAIK similar to Javascript) and can introduce the same XSS problems as with enabling HTML.

assassingod 06-07-2003 04:56 PM

Right, ok, thanks. I have a rethink of Flash Avatar.

Thanks nibbler

N9ne 06-07-2003 05:06 PM

This sounds promising :), too bad it's too close to vB3's release, make it for vB3 instead ;). I've put all my hacking on hold until then.

assassingod 06-07-2003 05:09 PM

Thanks. But i'm still doing it for vB2;)

But defintly do it for vB3 shortley afterwards.

N9ne 06-07-2003 05:11 PM

If Lesane and g-force2k2 still aren't around for vB3, I'll probably release my version(s) of the Warning Hack and Store Hack, but that's IF I can be bothered and most likely I won't...:p

assassingod 06-07-2003 05:13 PM

Cool:p I'll be releasing all my hacks again for vB3.

Anyways, back with the hack - You got any ideas that would be useful?

N9ne 06-07-2003 05:43 PM

A journal-blow type thing where the user can post up entries would be cool.

a "other notes" section for the user to put any miscellaneous content could be useful.

I can't think of anything else at the moment...I'll reply again if I think of something...

assassingod 06-07-2003 05:47 PM

Good ideas. Thanks:)

N9ne 06-07-2003 06:00 PM

I suppose you could have more fields like favourite food, favourite x, favourite y, favourite z, you know, a more in depth profile, so you know more about this user...

Another would be favourite quote...

And favourite post/thread...

Also, fields which are empty/not used's tables should not be shown etc.

assassingod 06-07-2003 06:03 PM

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"

Dan 06-07-2003 06:06 PM

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

N9ne 06-07-2003 06:10 PM

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.

assassingod 06-07-2003 06:10 PM

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.

N9ne 06-07-2003 06:17 PM

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.

assassingod 06-07-2003 06:21 PM

I see. Great idea, I'll do that now.:)

albamaster 06-09-2003 03:24 PM

i want it vb3 man :)

gmarik 06-09-2003 03:50 PM

Oh, sounds great.

/me wants to test it as soon as possible!

assassingod 06-09-2003 04:10 PM

1 Attachment(s)
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.

assassingod 06-10-2003 02:04 PM

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.

djnth 08-01-2003 04:20 AM

This is everything I've been looking for except for a few things.

- I need to have a rating system (like hot or not) from 1 to 10 that would be under the user's picture.

- A place where the user can list a few favorite webpage links

I think I've seen some sort of rating hack out there but it would be nice to be all in one.

Great hack, I will be installing this as soon as I can!! When will it be relesed?

DJNth

assassingod 08-01-2003 07:04 AM

I think I mentioned in the first post, if I didnt complete this before the release of vB3 BETA, I would stop it for vB2. So i'll be completing this when vB3 RC/Gold is availible

corsacrazy 10-03-2003 07:57 PM

any progress?

assassingod 10-03-2003 08:26 PM

For vB2, no - I still haven't decided to release a vB2 version.

For vB3, yes - Will be a while before it's release though (3 other hacks to work on for vB3;))

corsacrazy 10-03-2003 08:30 PM

:( most users are on vb2 and thats the classic please release

htscpl 12-04-2003 01:25 PM

Quote:

Originally Posted by corsacrazy
:( most users are on vb2 and thats the classic please release

I agree, please consider releasing for vb2.:rolleyes:

htscpl

Logikos 12-31-2003 08:10 PM

I would love to use this!

SunderlandJ 01-02-2004 03:50 PM

with this hack, would you be able to integrate it with the Lesane store hack, so that users can "buy" the advanced profile? If so, is there anyone that can assist with this as i am a complete noob

Please email me

Leigh
sysadmin@silenthilldomain.com

Ayumi 01-05-2004 02:26 AM

I sincerely hope that you continue development for the vb2 version! I personally find some of the features built into vb3 a bit too much. The quick reply is ok, plus the user profile, but as long as vb2 has hacks and mods to achieve what I want, I will stick with it. Please finish the vb2 version, you do already have so much done on it, why not continue and use it as a blueprint for the vb3?

gcallman 09-16-2005 09:49 PM

Hi

I ?m working on a site for an international non-profit organization. The online community will be key, and so we?re looking at various ways to incorporate member to member feedback into the site. Before beginning this research, we planned a hack that we thought might do the trick. It?s outlined below. However, we would like to ask if you all think that other, existing hacks-like this one- might be equally/more functional. Anyway here was our idea:

First, one would create a forum exclusively for positive feedback.
The hack would then:

1) Create a new thread for each user upon registration. The thread could be named after the user in some standard format. (amykhar already did this, it seems: https://vborg.vbsupport.ru/showthrea...light=feedback Would her hack work as part of this scheme?)
2) Paste the URL for that user?s feedback thread directly into his/her signature, perhaps just after ?Feedback at:?

We thought this might be a very elegant way to incorporate feedback into VB, as the forum?s features would very functional. For example:

It would be easy to click from a users post to his/her feedback thread, because the link would be in the signature. Likewise, it would be easy to jump to or from their profile, which would facilitate making contact.
Because the forum is only for positive feedback, ranking by post would have meaning.
Similarly, hot threads would point to people who have done a lot of good work recently.
The report bad post feature could be used to report the presence of negative feedback.
We?re assuming that everyone would subscribe to their own feedback thread and so would be automatically notified.

Thanks


All times are GMT. The time now is 04:15 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.01065 seconds
  • Memory Usage 1,797KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete