PDA

View Full Version : REQ: latest articles, reviews, etc for memberinfo


nexia
11-11-2005, 07:29 PM
i have a tie here, i'd like to create a blck to display each kind of GARS element in the memberinfo, to resume this:

Latest 5 Reviews from X: xxx, yyy, zzz

Latest 5 Tutorials from X: www, qqq, eee

... these last X would have to be generated only if the categories exists... so for each category, we find the last X elements posted by this user...

by that, i also want the Last Posts element in the memberinfo to be filtered to not display the posts that are related to the GARS elements... so it will count only/plus the posts made in forums that are not using the GARS thingy...

am i making this clear ?!

;)

The Geek
11-11-2005, 08:12 PM
Kind of... You are saying that you want the last x amount of y where userid=z

Where x= number of posts and y=the type and z = the userid

Is that right?

If so, is this something you are wanting from an API standpoint?

nexia
11-12-2005, 12:14 AM
yeah, you have it.. lol

from an API point, sure, or a simple script added to the member.php file is enough... for my own needs... but this can become a great addition to your hack...

something like a new setting the the GARS options, where we can "display stats for this type in the member profile"... the same way we can activate the actual "$vbulletin->options['profilelastpost']" in vB... ok, this feature is a stupid loop that is not even showing the last 20 posts like coded, as it display only the last one passed into the loop - badly built!

The Geek
11-12-2005, 09:47 AM
I dont get your last part. The other aspect isnt hard to do.