MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Page 1/2 1 2 >
Forum RSS feedReply
Most read news block
AuthorText
Peter12
Senior Member
Avatar

Posts: 126
Contributes: 124

Gender: _MALE_
Online: No
Date: 03/10/2008 00:27
Most read news block
#post12902
How do i display the top 5 most read news in a block i don't want to show how many hits just display the headlines of the top 5 news whith the most hits. Hope you understand.
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 03/10/2008 00:28
Re: Most read news block
#post12903
Modify the news block changing ORDER BY id DESC into ORDER BY hits DESC
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 627
Contributes: 477

Gender: _MALE_
Online: No
Date: 03/10/2008 08:45
Re: Most read news block
#post12915
I have done this block quickly for a user here!


Have Fun Smile
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 03/10/2008 08:47
Re: Most read news block
#post12916
Not sure why these blocks arn't made into a release blocks are small ranging from 15-85Kb
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 03/10/2008 11:24
Re: Most read news block
#post12950
I've created top blocks for articles, blog posts, guides and news
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 03/10/2008 11:25
Re: Most read news block
#post12952
Was talking more into personal ones freaky or some others make.
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 627
Contributes: 477

Gender: _MALE_
Online: No
Date: 03/10/2008 11:28
Re: Most read news block
#post12954
Blocks are usually one file not more!
I was thinking why not putting in the admin Panel a area where you can Upload them to your server it isn't a big think to do!
the plus point is that you can put only the blocks you want, and it will be simple to load. (don't have to go via FTP.)
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
subject-28
Senior Member
Avatar

Posts: 158
Contributes: 158

Gender: _NEUTRAL_
Online: No
Date: 03/10/2008 11:43
Re: Most read news block
#post12958
This will surely make it easier than modify inc_modrewrite and .htaccess
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 03/10/2008 11:51
Re: Most read news block
#post12959
With hooks you doesn't need to modify the inc_modrewrite.php anymore, but the .htaccess is another problem. There is the possibility to load rewrite urls from MySQL (this would be great), but not all hosters support it
Edited: 03/10/2008 11:51
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 627
Contributes: 477

Gender: _MALE_
Online: No
Date: 03/10/2008 11:56
Re: Most read news block
#post12961
Personally i don't have a huge or useful knowledge with htaccess and Moderewrite (have to start reading stuff about this Smile)! nut this would be very interesting and would be one more big Pluss point on your Portal Smile!
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
Reply
Page 1/2 1 2 >
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo