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 completely customizable, expandable and suitable for all needs.
A2Hosting
Moderators: Moderators
Forum RSS feedReply
gallery-top and gallery-news
AuthorText
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 27/01/2009 10:56
gallery-top and gallery-news
#post17694
Site url: http://www.memht.gen.tr
MemHT version: 4.0ç1
Hosting OS: Windows
Error/Problem:

block for gallery top and news images necessary.
Can you do ?

Thanks Smile
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 27/01/2009 12:23
Re: gallery-top and gallery-news
#post17697
Top gallery cannot be done because there is no a hits counter, images are shown with JavaScript.

What's news images?
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 27/01/2009 12:36
Re: gallery-top and gallery-news
#post17699
Youtube addon as, new 3 images I want.

Top gallery no problem but new gallery become beautifull.
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 27/01/2009 12:42
Re: gallery-top and gallery-news
#post17700
Duplicate the gallery block and change ORDER BY RAND() into ORDER BY id DESC
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
BLaCk.DeWiL
Türkiye Destek

Posts: 218
Contributes: 151

Gender: _MALE_
Online: No

Version: 4.0.1
Country: Türkiye
Languages: English, Turkish
Date: 27/01/2009 12:50
Re: gallery-top and gallery-news
#post17701
Eror :

code


Errno: 2 (MySQL Errno: 0)
File: C:Inetpubvhostsnetimbenim.comhttpdocsblocksblock_galeri.php
Line: 34
Function: get_list
MySQL hatası:
Query: SELECT * FROM memht_gallery_images AS i JOIN memht_gallery_categories AS c ON i.category=c.id WHERE i.enabled=1 ORDER BY DESC() LIMIT 1
Not: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

 
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 27/01/2009 12:54
Re: gallery-top and gallery-news
#post17702
You haven't changed the query, it's the same.

Anyway execute the query in phpMyAdmin and you'll get a detailed error.
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Mid7
Junior Member

Posts: 11
Contributes: 14

Gender: _MALE_
Online: No

Languages: Spanish and bad English
Date: 27/01/2009 19:15
Re: gallery-top and gallery-news
#post17714
You put:

ORDER BY DESC()

But is:

ORDER BY id DESC
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

mem

Posts: 7243
Contributes: 4800

Gender: _MALE_
Online: No

Languages: English, Italiano, Македонски, Српски
Date: 28/01/2009 11:47
Re: gallery-top and gallery-news
#post17729
quote
Mid7:
You put:

ORDER BY DESC()

But is:

ORDER BY id DESC


Ahm thanks, i haven't even noticed that Smile
Follow me on twitter if you want to be updated on the MemHT 5 development.
Delete Edit Quote
 
Reply
Tags Cloud
Twitter updates...
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.107.179.230

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