You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 421 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Page Numbers [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
tommytomato
Sergeant
Sergeant


Joined: Feb 10, 2004
Posts: 116


PostPosted: Tue Jan 31, 2006 11:28 pm Reply with quoteBack to top

Page Numbers

Any one got it going for phpnuke 7.8 Question

I've been trying but it's crashing the site. I had it running on 7.6, tried to over ride files and it crashed the site again.

I uploaded the files and edit the lang file like it say's in the notes and no go.

any ideas please.

If you dont know what page numbers then look at my last post
http://nukecops.com/postt51065.html

TT
Find all posts by tommytomatoView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Wed Feb 01, 2006 11:00 am Reply with quoteBack to top

There are actually few page number mod, which one did you try?

PHP-Nuke Page Number Mod/Hack

This is by NukeBling.com & im using it with phpnuke 7.7 with no difficulties.

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
tommytomato
Sergeant
Sergeant


Joined: Feb 10, 2004
Posts: 116


PostPosted: Wed Feb 01, 2006 5:46 pm Reply with quoteBack to top

I tried this one

Page Numbers for PHP-Nuke 7.0 Alpha 2

I'm using nuke 7.8

TT
Find all posts by tommytomatoView user's profileSend private message
tommytomato
Sergeant
Sergeant


Joined: Feb 10, 2004
Posts: 116


PostPosted: Wed Mar 08, 2006 6:12 pm Reply with quoteBack to top

Just to let you know

I have tried these two and I lose all my right hand side blocks

Page_Numbers-7.0-1.0, Page Numbers for PHP-Nuke 7.0 Alpha 2

TT
Find all posts by tommytomatoView user's profileSend private message
tommytomato
Sergeant
Sergeant


Joined: Feb 10, 2004
Posts: 116


PostPosted: Wed Mar 08, 2006 6:46 pm Reply with quoteBack to top

Ok guys I found it and got it working too

download from here http://www.codezwiz.com/

Quote:
Page Numbers for Nuke 7.7 News
Description: This mod will add Page Numbers along the bottom of your news index which allows users to view your news


search for Page Numbers for Nuke 7.7 News

On my site once I uploaded the files I lost all my right hand side blocks.
Then all I did was edit the /modules/news/index.php file.

I removed #$index = 1; and added this in define('INDEX_FILE', true);

Dont know if thats right, but it now works on nuke 7.8 if any one is after the same thing.

If thats the wrong way of doing it please tell.

TT
Find all posts by tommytomatoView user's profileSend private message
jib_intelli
Captain
Captain


Joined: Jun 10, 2004
Posts: 338

Location: Lucknow, India

PostPosted: Sat Apr 01, 2006 9:59 pm Reply with quoteBack to top

I need this version of Codezwiz too, but I cannot find it on their site. Any help on this?

_________________
It is not our abilities which decide what we truly are, it is our choices.

Image
Find all posts by jib_intelliView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Sat Apr 01, 2006 10:10 pm Reply with quoteBack to top

Quote:
I need this version of Codezwiz too, but I cannot find it on their site. Any help on this?

Go to codezwiz.com.. need to be a member to see downloads Wink
Then do a Search in downloads for page numbers...Done!!

_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
Jan-Chi
Nuke Cadet
Nuke Cadet


Joined: Apr 10, 2006
Posts: 2


PostPosted: Mon Apr 10, 2006 9:47 am Reply with quoteBack to top

hello!

anyone knows how to do it with the resecured nuke 7.6???

(because i did everything as written, and nothing happens... no numbers...)

any help is apreciated guys!
Find all posts by Jan-ChiView user's profileSend private messageVisit poster's website
Jan-Chi
Nuke Cadet
Nuke Cadet


Joined: Apr 10, 2006
Posts: 2


PostPosted: Mon Apr 10, 2006 10:39 am Reply with quoteBack to top

ok i found the code...

Code:
#START Page Numbers

    # Uncomment this next line and change 100 to whatever for number of stories in news and topics for Page Numbers section
    $limitpn = "limit 300"; # limit number of stories
   $sql_pn = "select * from ".$prefix."_stories $qdb $querylang $limitpn";
    $result_pn = $db->sql_query($sql_pn);
    $numstories = $db->sql_numrows($result_pn);
    $numpages = ceil($numstories / $storynum);
    #if ($numpages > 1 and $new_topic == 0) {
    if ($numpages > 1) {
        opentable();
        echo "<center>$numstories "._STORIES." ($numpages "._PAGES.", $storynum "._PERPAGE.")<br>" ;
        if ($pagenum > 1) {
            $prevpage = $pagenum - 1 ;
         $leftarrow = "images/left.gif" ;
            if(empty($new_topic)) {
                echo "<a href=\"modules.php?name=News&amp;pagenum=$prevpage\">";
                echo "<img src=\"$leftarrow\" align=\"absmiddle\" border=\"0\" hspace=\"10\"></a>";
            } else {
                echo "<a href=\"modules.php?name=News&amp;new_topic=$new_topic&amp;pagenum=$prevpage\">";
                echo "<img src=\"$leftarrow\" align=\"absmiddle\" border=\"0\" hspace=\"10\"></a>";
            }
        }
        echo "[ " ;
        for ($i=1; $i < $numpages+1; $i++) {
            if ($i == $pagenum) {
                echo "<b>$i</b>";
            } else {
                if(empty($new_topic)) {
                    echo "<a href=\"modules.php?name=News&amp;pagenum=$i\">$i</a>";
                } else {
                    echo "<a href=\"modules.php?name=News&amp;new_topic=$new_topic&amp;pagenum=$i\">$i</a>";
                }
            }
            if ($i < $numpages) { echo " | "; } else { echo " ]"; }
        }
        if ($pagenum < $numpages) {
            $nextpage = $pagenum + 1 ;
         $rightarrow = "images/right.gif" ;
            if(empty($new_topic)) {
                echo "<a href=\"modules.php?name=News&amp;pagenum=$nextpage\">";
                echo "<img src=\"$rightarrow\" align=\"absmiddle\" border=\"0\" hspace=\"10\"></a>";
            } else {
                echo "<a href=\"modules.php?name=News&amp;new_topic=$new_topic&amp;pagenum=$nextpage\"\">";
                echo "<img src=\"$rightarrow\" align=\"absmiddle\" border=\"0\" hspace=\"10\"></a>";
            }
        }
        echo "</center>" ;
        closetable();
    }
    #END Page Numbers in news and topic



Wink
Find all posts by Jan-ChiView user's profileSend private messageVisit poster's website
dholt
Nuke Soldier
Nuke Soldier


Joined: Nov 27, 2005
Posts: 15


PostPosted: Mon Apr 24, 2006 4:55 pm Reply with quoteBack to top

I'm not getting this as like the last post I get no changes in 7.6. I just replaced the files and added the edits to the lang file at the end.

What am I doing wrong
Find all posts by dholtView user's profileSend private message
dholt
Nuke Soldier
Nuke Soldier


Joined: Nov 27, 2005
Posts: 15


PostPosted: Mon Apr 24, 2006 6:13 pm Reply with quoteBack to top

tommytomato wrote:
Ok guys I found it and got it working too

download from here http://www.codezwiz.com/

Quote:
Page Numbers for Nuke 7.7 News
Description: This mod will add Page Numbers along the bottom of your news index which allows users to view your news


search for Page Numbers for Nuke 7.7 News

On my site once I uploaded the files I lost all my right hand side blocks.
Then all I did was edit the /modules/news/index.php file.

I removed #$index = 1; and added this in define('INDEX_FILE', true);

Dont know if thats right, but it now works on nuke 7.8 if any one is after the same thing.

If thats the wrong way of doing it please tell.

TT


Forgot to do this thanks peaple
Find all posts by dholtView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.045 Seconds - 416 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::