Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Oct 10, 2005 3:02 pm Reply with quote

After the changes in all files I found only two errors (.&middot and &nbsp )
I don´t know why, but the Downloads and Current Active Topics displays now:&middot Topic, ,&middot _NEWS and also the link &middot More --> .
The downloads link to next page looks like this:

Select Page: 1&nbsp2 [ Next Page >> ] and back
Select Page: [ << Previous Page ] 1 2&nbsp

This problem is in all our languages.

Question: Where can I correct this.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Oct 10, 2005 5:25 pm Reply with quote

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 "&nbsp;&nbsp;<b>[ <a href=\"modules.php?name=$module_name&amp;d_op=viewdownload&amp;cid=$cid&amp;min=$prev&amp;orderby=$orderby&amp;show=$show\">";
           echo " &lt;&lt; "._PREVIOUS."</a> ]</b> ";
          }
       $counter = 1;
    $currentpage = ($max / $perpage);
          while ($counter<=$downloadpages ) {
             $cpage = $counter;
             $mintemp = ($perpage * $counter) - $perpage;
             if ($counter == $currentpage) {
      echo "<b>$counter</b>&nbsp;";
       } else {
      echo "<a href=\"modules.php?name=$module_name&amp;d_op=viewdownload&amp;cid=$cid&amp;min=$mintemp&amp;orderby=$orderby&amp;show=$show\">$counter</a> ";
       }
              $counter++;
               }
        $next=$min+$perpage;
        if ($x>=$perpage) {
          echo "&nbsp;&nbsp;<b>[ <a href=\"modules.php?name=$module_name&amp;d_op=viewdownload&amp;cid=$cid&amp;min=$max&amp;orderby=$orderby&amp;show=$show\">";
          echo " "._NEXT." &gt;&gt;</a> ]</b> ";
        }
    }
    echo "</td></tr></table>";
    CloseTable();
    include("footer.php");
}

 
View user's profile Send private message
Susann
PostPosted: Mon Oct 10, 2005 5:54 pm Reply with quote

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
PostPosted: Mon Oct 10, 2005 5:59 pm Reply with quote

well then your lucky Smile
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
Worker


Joined: Feb 06, 2004
Posts: 147

PostPosted: Mon Oct 10, 2005 6:23 pm Reply with quote

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("&amp;&amp;", "&amp;middot;", "&amp;nbsp;"), array("&&", "·", " "), $getNextGen);

And replace with this:
Code:
$getNextGen = str_replace(array("&amp;&amp;", "&amp;middot;", "&amp;middot", "&amp;nbsp;", "&amp;nbsp"), array("&&", "·", "·", " ", " "), $getNextGen);
 
View user's profile Send private message
Susann
PostPosted: Mon Oct 10, 2005 6:43 pm Reply with quote

@ 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
PostPosted: Mon Oct 10, 2005 7:04 pm Reply with quote

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
PostPosted: Mon Oct 10, 2005 8:04 pm Reply with quote

Thanks dcasmr for this little piece of code. Fixed both errors.
Wave
 
dcasmr
PostPosted: Mon Oct 10, 2005 8:09 pm Reply with quote

Cool ! Thanks for letting me know.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard

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 ©