CyberTipps Home
4images Gallery! Mods - Tutorials - Plugins!
CyberTipps.com :: Thema anzeigen - any one can help for shortent pages numbers mod?? urgent
 FAQFAQ   SuchenSuchen   BenutzergruppenBenutzergruppen   ProfilProfil   LoginLogin 

any one can help for shortent pages numbers mod?? urgent

 
Neues Thema eröffnen   Neue Antwort erstellen    CyberTipps.com Foren-Übersicht -> Modifikationen
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
binhaus
Newbie
Newbie


Anmeldungsdatum: Oct 10, 2006
Beiträge: 4

BeitragVerfasst am: Mi Okt 11, 2006 4:00 pm    Titel: any one can help for shortent pages numbers mod?? urgent Antworten mit Zitat

hi .
thanks for nice mod ( pages numbers for nuke 79 )
i have just install it and get it realy cool ..
love it

but i try to fix that work to make a shorter link to other pages not success !!! Sad

the problems i have not only some articles on news .. i realy got thousands articles of each topic and categories so if i using this mod it show a long table with all the link to each pages of topic or categories ..

at moment i have use the function you created ( $limitpn = "limit 200"; # limit number of stories in categories ) to make the links pages downs to 20 ( 10 article for each pages) and other affter i can not see or get the links..

please any one can fix it up ..
i have use VB vbuletin board forums and the pages navigaion is great .. any one can make like that ..
eg
[ viewing page 2/600 ] [ 1 2 3 4 5 ... last page ] [ go to page ( the input box here ) ]

please urgent !!
mysite at
Hinweis: Nur registrierte Benutzer haben die Möglichkeit in diesem Forum "Links" zu sehen!
Bitte Registrieren oder Einloggen - Danke!
and
Hinweis: Nur registrierte Benutzer haben die Möglichkeit in diesem Forum "Links" zu sehen!
Bitte Registrieren oder Einloggen - Danke!
is out now then need to fix ..
thanks for any advices !!!!!!

[/b]
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Coldcut
Site Admin
Site Admin


Anmeldungsdatum: Jun 16, 2005
Beiträge: 878
Wohnort: Austria

BeitragVerfasst am: Do Okt 12, 2006 10:04 am    Titel: Re: any one can help for shortent pages numbers mod?? urgent Antworten mit Zitat

binhaus hat folgendes geschrieben:
at moment i have use the function you created ( $limitpn = "limit 200"; # limit number of stories in categories ) to make the links pages downs to 20 ( 10 article for each pages) and other affter i can not see or get the links..

Hi!

Have you set this in both files?
modules/News/index.php
modules/News/categories.php

Coldcut Cool
_________________
CiroxX©™ Development Team
----------
"Dann klappts auch mit der Nachbarin!"
- - - - - - - - - - -
->
Hinweis: Nur registrierte Benutzer haben die Möglichkeit in diesem Forum "Links" zu sehen!
Bitte Registrieren oder Einloggen - Danke!
<-
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
binhaus
Newbie
Newbie


Anmeldungsdatum: Oct 10, 2006
Beiträge: 4

BeitragVerfasst am: Do Okt 12, 2006 2:02 pm    Titel: yes i did Antworten mit Zitat

thanks for fast reply..
yes i did .. fist time i leave all as originla script but it make a very long of page numbers on bottom of categories ( i have thousand article on each categores and topics )
and now i turn it to 200 limited by uncomment out the variable:

Zitat:
$limitpn = "limit 200";


i have set 10 articles on each pages
and it now showing 20 pages numbers in bottom and the user can not access the other article older than 200 !!! Sad

you might have look at this one
Hinweis: Nur registrierte Benutzer haben die Möglichkeit in diesem Forum "Links" zu sehen!
Bitte Registrieren oder Einloggen - Danke!

that link at the page 20 of category and can view the hometext of the article at 200 as i set .. but no more link that i can jump to articles affter 201 ....

i've use manual patching in readme.txt included in your download file/..
any advices..
thanks
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
binhaus
Newbie
Newbie


Anmeldungsdatum: Oct 10, 2006
Beiträge: 4

BeitragVerfasst am: Do Okt 12, 2006 2:59 pm    Titel: Antworten mit Zitat

i just have mod litter bit then it working better ..
but still not as i need

find
if ($pagenum < $numpages ) {
$nextpage = $pagenum + 1 ;

then add
Zitat:
|| $limitpn < $numrow



so it looklike :
Zitat:
if ($pagenum < $numpages || $limitpn < $numrow) {
$nextpage = $pagenum + 1 ;


now i can see the link affter i reach the limited of pagenumbers by next images to the articles affters ..

the $numrow is total of record of article in category viewing
create this by add $numrow = $db->sql_numrows($result); affter ->>

$result = $db->sql_query("SELECT sid, aid, title, time, hometext, bodytext, comments, counter, topic, informant, notes, acomm, score, ratings, images, imgtext FROM ".$prefix."_stories where catid='$catid' AND topic='$topic_id' AND sid!='$headline_sid' $querylang ORDER BY sid DESC limit $offset, 1");

but it still need work more for better script .. hope you guy find out to help me. thanks

nottice: you can try this one if you got small amount of articles by limited smaller:
eg: set limit 20 articles ( if you got 50 articles ) and 5 artiles on each pages.. so it will view 4 page and one more links to go to pages affter 20 ..
Zitat:
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    CyberTipps.com Foren-Übersicht -> Modifikationen Alle Zeiten sind GMT + 2 Stunden
Seite 1 von 1

 
Gehe zu:  
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.


Powered by phpBB © 2001, 2008 phpBB Group
PHP-NukeNukeSentinel(tm)NukeCops.ATCiroxX©

You can syndicate our news using the file and
Copyright © 2005 - 2008 by CyberTipps
Web site engine code is Copyright © 2005 by PHP-Nuke.
Erstellung der Seite: 6.78 Sekunden