Quote:
Originally Posted by Dead Eddie
Not sure what this has to do with me. I have access to EXACTLY the same information you do, and less motivation (I don't have a vb5 public forum running).
|
Obviously the lack of documentation has zero to do with you. The comment you made about using the api was written in such a way that you almost expect a self-proclaimed vb n00b to know enough about the API to utilize it effectively.
Quote:
Originally Posted by Dead Eddie
It is in the database, just not the table you're looking for it in. It's in the user table.
|
Not my point, but you knew that.
Quote:
Originally Posted by Dead Eddie
You asked for a different way, without manual file edits.
|
Tuch?
Quote:
Originally Posted by Dead Eddie
Build an API that looks up the user group based on the user id. Call it within the template. As far as I can see, those are your two options for using the user group ID within the template. (alternatively, you could assign the avatar to the user when they join the usergroup...)
|
Manually assigning avatars to a couple thousand users is not an option.
Quote:
Originally Posted by Dead Eddie
But, this seems to be the way the new system was designed. Build an API to pull the data, grab the data for the template via an API call, and display.
The tags within the template for calling the API are the <vb:data> tags, if you want to look at them.
|
Now this is something I might be able to work with.
Quote:
Originally Posted by Dead Eddie
There are vestiges of 3 & 4 within 5. Likely, at one point, someone needed to denormalize whatever table that was in order to access the usergroup without needing to join the user table. That need probably doesn't exist within 5, but nobody removed the column.
|
Sloppy, but fair enough.
Quote:
Originally Posted by Dead Eddie
Like I said, I'm not sure it's better, just different. But, no manual file edits. 
|
No manual file edits makes your suggestion better for sure. I really appreciate your input & feedback on this. :up: