Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
redhairz
Worker
Worker



Joined: Nov 17, 2006
Posts: 222

PostPosted: Sun Feb 04, 2007 3:54 am Reply with quote

Hi guys can anyone help rn20202 how or where to edit it to enble the pagenumber at the bottom of the new page like 123456? i know the NSN new does is the scroll down but i like to display as 12345 its more standard looking wont you agree Smile

thanks you very much. Cheers

_________________
Jesus is Alive, He is our joy, be it good times or bad time. 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Feb 05, 2007 9:32 am Reply with quote

In modules/News/index.php you will add the code to actually display the page number at the bottom of function theindex() right before the include['footer.php'] statement. Whatever code you use to determine the page number display will be somewhere above that.
 
View user's profile Send private message
redhairz







PostPosted: Sun Feb 11, 2007 12:36 pm Reply with quote

raven !!! how ae you ?haha long time no see...btw raven what code to enable that?
any thread had discuss this? i wanted to have a look see if it work.
 
redhairz







PostPosted: Sun Feb 11, 2007 1:24 pm Reply with quote

i found this @http://sky4all.tk/

Anyone can help to correct it for RN?

}

function rate_complete($sid, $rated=0, $score) {
global $sitename, $user, $cookie, $module_name;
$r_options = "";
if (is_user($user)) {
if (isset($cookie[4])) { $r_options .= "&mode=$cookie[4]"; }
if (isset($cookie[5])) { $r_options .= "&order=$cookie[5]"; }
if (isset($cookie[6])) { $r_options .= "&thold=$cookie[6]"; }
}
include("header.php");
title("$sitename: "._ARTICLERATING."");
OpenTable();
if ($rated == 0) {
$row = $db->sql_fetchrow($db->sql_query("SELECT title FROM ".$prefix."_stories WHERE sid='$sid'"));
echo "<center><a href=\"modules.php?name=$module_name&file=article&sid=$sid$r_options\"><b>$row[title]</b></a><br>"._YOURATEDARTICLE.": <img src=\"images/articles/stars-$score.gif\" border=\"0\" alt=\"$score/5\" title=\"$score/5\"> ($score/5)<br><br>";
echo "<center>"._THANKSVOTEARTICLE."<br><br>"
."[ <a href=\"modules.php?name=$module_name&amp;file=article&amp;sid=$sid$r_options\">"._BACKTOARTICLEPAGE."</a> ]</center>";
} elseif ($rated == 1) {
echo "<center>"._ALREADYVOTEDARTICLE."<br><br>"
."[ <a href=\"modules.php?name=$module_name&amp;file=article&amp;sid=$sid$r_options\">"._BACKTOARTICLEPAGE."</a> ]</center>";
}
CloseTable();
include("footer.php");
}
 
Raven







PostPosted: Sun Feb 11, 2007 4:21 pm Reply with quote

redhairz wrote:
raven !!! how ae you ?haha long time no see...btw raven what code to enable that?
any thread had discuss this? i wanted to have a look see if it work.

I've been hiding Wink

Raven wrote:
In modules/News/index.php you will add the code to actually display the page number at the bottom of function theindex() right before the include['footer.php'] statement. Whatever code you use to determine the page number display will be somewhere above that.


As I said in my post Whatever code you use to determine the page number. In your original post you just asked how or where to edit. It could be different for different page numbering schemes.
 
redhairz







PostPosted: Mon Feb 12, 2007 7:41 am Reply with quote

ok np raven anyway my first post means how or which code to add in. i was hoping for any member to provide some kind of code that they use on 20202. i am not good at php code hehe. if this edit will affect the core than it is ok. i am dropping this idea. i try the nsn news before but it din work out smoothly so i stick to the default. Thanks Raven . RavensScripts
 
Captain_Computer
Hangin' Around



Joined: May 30, 2004
Posts: 46

PostPosted: Mon Feb 12, 2007 8:48 am Reply with quote

Google is your friend!
Here's a start.

PHPNuke News Hack - Compatibility PHP-Nuke 7.6

PHP-Nuke 7.7

_________________
Captain Computer Said It !!!! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©