Configuration description: Is this possible? Take the bottom section of the users information and place awards, pictures, small in sized potential 3 across 2 rows?
Problem description: Not really a problem.
Module help: There is a mod out there called Award Mod 1.1 if you are familiar with it, you know it only shows awards if you look at the users profile, or at least I havent been able to get it to display in forum form.
Closing: Anything you guys can do to help me with this would be wonderful and very appreciative.
According to the readme there are two kinds of awards: one for profiles, one for posts. I can't say for sure HOW you would edit the post awards, but apparently it can be done.
Yes ive read the file, I understand how its suppose to work and where I put the info in the admin panel for it to display, and it doesnt. So instead of asking how does it work, I am asking how can it be done that I take this code between lines 289 and 348 of the Display.template.php file of 1.1RC2:
// Show the member's gender icon? if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '') echo ' ', $txt[231], ': ', $message['member']['gender']['image'], '<br />';
// Show how many posts they have made. echo ' ', $txt[26], ': ', $message['member']['posts'], '<br /> <br />';
// Show their personal text? if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') echo ' ', $message['member']['blurb'], '<br /> <br />';
// This shows the popular messaging icons. echo ' ', $message['member']['icq']['link'], ' ', $message['member']['msn']['link'], ' ', $message['member']['aim']['link'], ' ', $message['member']['yim']['link'], '<br />';
// Show the profile, website, email address, and personal message buttons. if ($settings['show_profile_buttons']) { // Don't show the profile button if you're not allowed to view the profile. if ($message['member']['can_view_profile']) echo ' <a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
// Don't show an icon if they haven't specified a website. if ($message['member']['website']['url'] != '') echo ' <a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
// Don't show the email address if they want it hidden. if (empty($message['member']['hide_email'])) echo ' <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
// Done with the information about the poster... on to the post itself.
------------------------------------------- Somwhere in here cant some kind of code that says something, please excuse my lack of knowledge in this area:
ifmember=[CMx]Scorpion use_graphic="Donation_Award.gif" in_area= (Right under the ICQ and EMAIL icon.gifs)
**AND FOR FUTURE USERS OF OTHER AWARDS USE, just add on and expand the information**
ifmember=[CMx]Pot-zI use_graphic="TeamKiller_Award.gif" in_area= (Right under the ICQ and EMAIL icon.gifs)
Or if you guys who really know what I am trying to convey and can write this code. . . . . . . .
I am willing to offer payment through PayPal to get this custom request done.
By default, when you installed the package, it should have put the code in the template under the number of posts, as it did when I installed it. However, if you want it at the bottom of the user's info, you will need to add the following at the end of the code segment you posted earlier:
Then, you can edit the member's profile, and use the BBC code to post the image of the award. For example, for [CMx]Scorpion, you would enter this in the post awards field:
Code:
[img]Donation_Award.gif[/img]
« Last Edit: June 27, 2006, 07:09:57 AM by Gary Raduns »
// Done with the information about the poster... on to the post itself.
I get:
Template Parse Error! There was a problem loading the /Themes/Combat Maximus//Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme. --------------------------------------------------------------------------------
syntax error, unexpected T_IF, expecting ',' or ';'
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use