|
Andy - The Factory
|
 |
« on: March 25, 2009, 10:17:40 am » |
|
Post your running sites featuring HOT or NOT in this Thread
|
|
|
|
|
Logged
|
|
|
|
eekman
Newbie

Posts: 20
|
 |
« Reply #1 on: March 25, 2009, 07:14:21 pm » |
|
Please note that coolminiornot.com is not my site. My site is a Dutch site about Warhammer and I'm currently testing the component so only Admins can access it. My site can be reached at http://www.warhammerportal.nl. When I get the component up for registered users I will give notice in this forum. Thanks. Erik Kuipers
|
|
|
|
|
Logged
|
|
|
|
|
|
Tryweryn
Newbie

Posts: 18
|
 |
« Reply #3 on: April 28, 2009, 06:45:21 pm » |
|
Could we ask how you modified it to show the poster etc?
|
|
|
|
|
Logged
|
|
|
|
eekman
Newbie

Posts: 20
|
 |
« Reply #4 on: May 08, 2009, 10:53:15 pm » |
|
Sure no problem.
I amended some php files to meet my users expectations more.
What property do you want to add? Most of the code I edited is located in the com_hotornot\views\browse\tmpl\_list.php
For example: add username:
Add this line to _list.php <?php echo $image->username; ?>
For the already voted tick shown to registered users, I added this code to _list.php: <?php if ($image->voteid > 0) : ?> <img class="hotornot-icon3" src="<?php echo JURI::root(); ?>components/com_hotornot/assets/images/tick.png" /> <?php endif; ?>
I had to write a query to get the number of comments in helper.php because I couldn't get the right code in the views and models.
I added this query to Helper.php: function getTotalComments($imageID) { $comments = 0; $database =& JFactory::getDBO(); $query = ' SELECT count(id) as TotalComments' .' FROM #__hotornot_comment' .' WHERE image_id=' . $imageID .' GROUP BY id'; $database->setQuery($query); $totalcomments = $database->loadResultArray(); return $totalcomments; }
And this line to _list.php <?php printf(JText::_('COMMENTS: %s'),count(Helper::getTotalComments($image->id))); ?><br />
Please note that I tailored the component's code to my own needs because I needed the functions to make the component valuable enough to publish it on my site. This must not necessary apply to other's needs! That's why I will not share the files.
|
|
|
|
|
Logged
|
|
|
|
|
Erik
|
 |
« Reply #5 on: May 08, 2009, 11:16:11 pm » |
|
not to mentions that only template, language and css files can be shared Real code files is prohibited. @eekman It looks quite cool what you've done. What i noticed, was that when you are on the picture page, the black line around the picture, interferes with the module on the right. Also to aling the "Rapporteren" links from the comments completly to the right part. (in my opinion it will look better) I think this are the only things which i saw regarding the template. Have a nice week-end!
|
|
|
|
|
Logged
|
|
|
|
maline
Newbie

Posts: 9
|
 |
« Reply #6 on: May 10, 2009, 11:10:45 am » |
|
http://www.modeofmisser.nl/ is mine Also in Dutch language. Im running a modified Yootheme, Hot or Not from here and JX comments for comments on articles.
|
|
|
|
|
Logged
|
|
|
|
eekman
Newbie

Posts: 20
|
 |
« Reply #7 on: May 12, 2009, 10:19:16 pm » |
|
not to mentions that only template, language and css files can be shared Real code files is prohibited. @eekman It looks quite cool what you've done. What i noticed, was that when you are on the picture page, the black line around the picture, interferes with the module on the right. Also to aling the "Rapporteren" links from the comments completly to the right part. (in my opinion it will look better) I think this are the only things which i saw regarding the template. Have a nice week-end! Yes that's true when the browser window is rather small. Due to the dynamic width of the purity template. However, I think most users have a resolution set to 1024x768 at minimum so I decided to leave it this way. Actually I didn't change anything in the comments part  Thanks Erik for your comments!
|
|
|
|
|
Logged
|
|
|
|
|
Erik
|
 |
« Reply #8 on: May 12, 2009, 11:28:22 pm » |
|
true. i use 1600x1200, but the browser window was minimized.
|
|
|
|
|
Logged
|
|
|
|
iice74
Newbie

Posts: 11
|
 |
« Reply #9 on: June 20, 2009, 05:43:31 pm » |
|
Mine is www.ratemychart.com. I am working on making more modifications. I mainly have 2 mods I really want to add. 1- Submitted by. I am going to try the code given by eekman for that and see if it works. 2- Have a My Photos page for each user, so you can see what photos were submitted by each user.
|
|
|
|
|
Logged
|
|
|
|
shutchi2
Newbie

Posts: 1
|
 |
« Reply #10 on: July 31, 2009, 07:10:53 pm » |
|
Well it's only been up for about 10 minutes, but http://your-pix.net will be running this module, haven't decided what changes or template I'll be making yet though.
|
|
|
|
|
Logged
|
|
|
|
pahalik
Newbie

Posts: 1
|
 |
« Reply #11 on: October 07, 2009, 01:36:29 am » |
|
So far, I really like this component. However, I would like to see a gallery view. Just as another option. Comments welcome on my site which is a work in progress. http://www.guiltyamerican.comCome see us!
|
|
|
|
|
Logged
|
|
|
|
Repelzteeltje
Newbie

Posts: 1
|
 |
« Reply #12 on: October 09, 2009, 08:47:40 am » |
|
Hello all, You can see the component running at WebbrGreetz...
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|