View Full Version: [S] Add Image To Post Details

RPG-Directory > Solved Support Topics > [S] Add Image To Post Details



Title: [S] Add Image To Post Details
Description: IPBFree


stormyhearted - June 16, 2008 04:24 PM (GMT)
I've been looking at all the code forums I know of, but I haven't found a code to do this, nor do I have enough posts at any of them to request one.

What I'm trying to do is add an image underneath the post details (here at RPG-D it would be located underneath the Joined Date) but I don't want it to be universal. I intend to make various awards that will be permanently listed in a user's post details- like "quality poster" or "Slytherin" (it's a HP board). This link pretty much shows what I want to do- the one above the details is the member group pip, but the ones below aren't. (I'm not affiliated with PW in any way, so I apologize if this comes off as advertising.)

Has anyone ever seen a code that'll do this?

Cal - June 16, 2008 04:35 PM (GMT)
Changing that information probably requires a mod, because it would have to store the options in the users table. Can you mod any of the free sites, or have access to the users table?

stormyhearted - June 16, 2008 05:24 PM (GMT)
I was under the impression that codes and mods were the same thing? I guess not...

I'm not sure what you mean bu the users table. I've been able to change the post details that show for everyone, but since coding doesn't come naturally to me, I don't know if it can be adjusted to work for one account or not.

Cal - June 16, 2008 06:00 PM (GMT)
That may be my personal connotation -- when I think of 'a code,' I think of a string of text that's placed roughly where it will be in the finished product, and is edited there. A 'mod,' for me, is a much larger piece of work; in this case, the reason why you can't use just a string on the skin template for viewing the posts is because you want it to be different for every member, so there will need to be two pieces: the first, the display; second, the admin CP to add that information to the player account.

The users table is the table in the mysql database -- I believe in Invision it's [prefix]_members_detail, but it's been awhile -- that stores all the information for the account. You'll need to add another field to that table to store all the badges that should display for that account, and then in the skin display you add a string ('code' would fit here) to cycle through and display the badges for that poster.

Based on my cursory checking of the sites I used to use when I ran an IPB (Invisionize, InvisionModding), I don't believe this is possible on IPBFree because you don't have full access to your files.

I am afraid your only course of action if you really want to accomplish this on IPBFree is to have eleventy billion groups and then use combinations of pip images. It means you'd have First Year - Gryffindor and First Year - Slytherin and First Year - Slytherin - Awesome Dude, which may not be a good idea.

stormyhearted - June 16, 2008 06:01 PM (GMT)
Nope, no access to sql in IPBFree. And I don't really want a million groups, either.

Thanks though!




Hosted for free by InvisionFree