Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: AllyJ on April 06, 2008, 07:43:32 PM

Title: It is possible?
Post by: AllyJ on April 06, 2008, 07:43:32 PM
it is possible to insert of the images under the avatar?
and to make that which can choose the customers to put?
Title: Re: It is possible?
Post by: ccbtimewiz on April 06, 2008, 07:45:22 PM
Yes it is.

Anything is possible with PHP. The limit of what you can do with it is the coder.
Title: Re: It is possible?
Post by: AllyJ on April 07, 2008, 02:47:34 PM
How it is made?
Title: Re: It is possible?
Post by: Bulakbol on April 07, 2008, 07:44:01 PM
Are you trying to insert an ad under avatar?
Title: Re: It is possible?
Post by: AllyJ on April 08, 2008, 03:13:28 PM
Yes ^^
Title: Re: It is possible?
Post by: metallica48423 on April 08, 2008, 03:22:06 PM
I would check with your ad provider first... placing ads under the avatar on the topic display could mean up to 20 ads being displayed per page... most ad companies limit it to 3 or 4 at most per page and in relevant locations.

The file to edit is Display.template.php.

You'd add your ad code under this code


// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';

Title: Re: It is possible?
Post by: AllyJ on April 09, 2008, 03:46:47 PM
it can be made that the customers choose the image that they want?
Title: Re: It is possible?
Post by: metallica48423 on April 09, 2008, 03:47:50 PM
What do you mean?

isn't that what the avatar is for? *confused
Title: Re: It is possible?
Post by: AllyJ on April 09, 2008, 04:01:23 PM
I would want to put of the images under the customers, but I would want to make that if them could choose also they.
Title: Re: It is possible?
Post by: AllyJ on April 09, 2008, 04:12:32 PM
Example:
(http://img508.imageshack.us/img508/1315/immaginefq1.png)
Title: Re: It is possible?
Post by: AllyJ on April 10, 2008, 03:51:48 PM
Help please
Title: Re: It is possible?
Post by: metallica48423 on April 10, 2008, 03:58:42 PM
what sort of select are you looking for?

if you're using SMF 2 you may be able to use the custom profile fields to do it... but i couldn't say without more specifics?  what are they choosing? Currently its not possible to duplicate something such as the avatar settings with the custom profile fields, but without more information i can't say.
Title: Re: It is possible?
Post by: Bulakbol on April 10, 2008, 06:19:27 PM
I tried to use my imagination to see what you are trying to do but I'm sorry, I failed. :( More details needed to know what you are seeking help for.
Title: Re: It is possible?
Post by: AllyJ on April 10, 2008, 06:40:54 PM
This site used the version smf 1.1.4
I would want that the customers could themselves be chosen the images to insert under the avatar.
Title: Re: It is possible?
Post by: Bulakbol on April 10, 2008, 07:50:26 PM
I don't think it is possible to do that. Besides, if I am your customer, I can't be bothered to put an ad myself.
Title: Re: It is possible?
Post by: ccbtimewiz on April 10, 2008, 08:47:48 PM
I think this is what s/he wants:

+ Option to show ads in under the avatar in the forums
+ Option to select particular boards that show ads or not.
+ Option ported into the profile, allowing users to disable ads if they pay money
+ Option to restrict what ads a user can ignore.
Title: Re: It is possible?
Post by: AllyJ on April 11, 2008, 03:08:54 PM
Quote from: ccbtimewiz on April 10, 2008, 08:47:48 PM
I think this is what s/he wants:

+ Option to show ads in under the avatar in the forums
+ Option to select particular boards that show ads or not.
+ Option ported into the profile, allowing users to disable ads if they pay money
+ Option to restrict what ads a user can ignore.
Therefore?
Title: Re: It is possible?
Post by: AllyJ on April 15, 2008, 01:46:01 PM
Help meeeeeeeeeeeee :(

xD
Title: Re: It is possible?
Post by: Bulakbol on April 17, 2008, 02:37:13 AM
Maybe, you should request a mod for this.
Title: Re: It is possible?
Post by: AllyJ on April 17, 2008, 02:56:20 PM
I have uncovered that uses the mod award ^^

Is possible to create of one instead that to use the mod award?
Title: Re: It is possible?
Post by: Bulakbol on April 18, 2008, 06:44:56 AM
I wish I could help you more AllyJ. I have copy of the mod but I don't don't use it yet so I don't know if it can do what you are wanting to do.
Title: Re: It is possible?
Post by: AllyJ on April 18, 2008, 01:46:34 PM
Then you do not know just to help me?