Author |
Message |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Mon Oct 10, 2005 3:02 pm |
|
After the changes in all files I found only two errors (.· and   )
I don´t know why, but the Downloads and Current Active Topics displays now:· Topic, ,· _NEWS and also the link · More --> .
The downloads link to next page looks like this:
Select Page: 1 2 [ Next Page >> ] and back
Select Page: [ << Previous Page ] 1 2 
This problem is in all our languages.
Question: Where can I correct this. |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Mon Oct 10, 2005 5:25 pm |
|
Hello my dear susann..
Thats in index.php(Downloads mod)..
Then at line ??? 826 you see this :
Code:
/* Page Numbering */
if ($downloadpages!=1 && $downloadpages!=0) {
echo "<br><br>";
echo ""._SELECTPAGE.": ";
$prev=$min-$perpage;
if ($prev>=0) {
echo " <b>[ <a href=\"modules.php?name=$module_name&d_op=viewdownload&cid=$cid&min=$prev&orderby=$orderby&show=$show\">";
echo " << "._PREVIOUS."</a> ]</b> ";
}
$counter = 1;
$currentpage = ($max / $perpage);
while ($counter<=$downloadpages ) {
$cpage = $counter;
$mintemp = ($perpage * $counter) - $perpage;
if ($counter == $currentpage) {
echo "<b>$counter</b> ";
} else {
echo "<a href=\"modules.php?name=$module_name&d_op=viewdownload&cid=$cid&min=$mintemp&orderby=$orderby&show=$show\">$counter</a> ";
}
$counter++;
}
$next=$min+$perpage;
if ($x>=$perpage) {
echo " <b>[ <a href=\"modules.php?name=$module_name&d_op=viewdownload&cid=$cid&min=$max&orderby=$orderby&show=$show\">";
echo " "._NEXT." >></a> ]</b> ";
}
}
echo "</td></tr></table>";
CloseTable();
include("footer.php");
}
|
|
|
|
|
 |
Susann

|
Posted:
Mon Oct 10, 2005 5:54 pm |
|
Hi,
that s clear. This is defined in the index.php of the modules. But I got this errors only through my upgrade to GT Next Gen 4.0.a and this is really strange. I´ ve never heard about such errors before. |
Last edited by Susann on Mon Oct 10, 2005 6:02 pm; edited 1 time in total |
|
|
 |
hitwalker

|
Posted:
Mon Oct 10, 2005 5:59 pm |
|
well then your lucky
When i tried to upgrade long ago i ended up with a white site.
but it was a testsite...
but your problem is probably because of the update..
they did changed a few things but i dont know much about it...
i just helped finding the text in the downloads mod.. |
|
|
|
 |
dcasmr
Worker


Joined: Feb 06, 2004
Posts: 147
|
Posted:
Mon Oct 10, 2005 6:23 pm |
|
I am not sure if your problem with middots was solved..... I had similar issues in the past and here is the suggestion that fixed mine... from GTNEXGEN ...
Find this:
Code:
$getNextGen = str_replace(array("&&", "&middot;", "&nbsp;"), array("&&", "·", " "), $getNextGen);
And replace with this:
Code:
$getNextGen = str_replace(array("&&", "&middot;", "&middot", "&nbsp;", "&nbsp"), array("&&", "·", "·", " ", " "), $getNextGen); |
|
|
|
 |
Susann

|
Posted:
Mon Oct 10, 2005 6:43 pm |
|
@ Hitwalker
I have no testsite therefore I tried to find someone for this upgrade. Without luck.
But it was easy.First I had only one error in the modules.php but I fixed this within 10 minutes. Hope I can fix the other errors.Thanks again.
@dcasmr
That s interesting. In which file can I find the code ? Mainfile.php or ? |
|
|
|
 |
dcasmr

|
Posted:
Mon Oct 10, 2005 7:04 pm |
|
It was in mainfile.php .... I used GTnextgen then and the instructions were about modifying that file.... It is possible your problem is totally unrelated to the suggestion. Interestingly, I upgraded to Nuke 7.6 without having to re-modify mainfile.php but my GTNEXTgen works ... |
|
|
|
 |
Susann

|
Posted:
Mon Oct 10, 2005 8:04 pm |
|
Thanks dcasmr for this little piece of code. Fixed both errors.
 |
|
|
|
 |
dcasmr

|
Posted:
Mon Oct 10, 2005 8:09 pm |
|
Cool ! Thanks for letting me know. |
|
|
|
 |
|