Author |
Message |
sting
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/4100a278409c42c9a6050.jpg)
Joined: Sep 23, 2003
Posts: 456
Location: Somewhere out there...
|
Posted:
Fri Jan 27, 2006 9:59 am |
|
Found another instance where admin.php is being referenced instead of $admin_file.
If you have a message at the top of your site and are logged in as admin, and have your admin file renamed to something else, you will get a 404 when you click on "Edit" from the front page.
In mainfile.php find
Code:
if ($view > 5 AND in_groups($groups)) {
OpenTable();
echo "<center><font class=\"option\" color=\"$textcolor2\"><b>$title</b></font></center><br>\n";
echo "<font class=\"content\">$content</font>\n";
if (is_admin($admin)) {
echo "<br><br><center><font class=\"content\">[ "._MVIEWGROUPS." - $remain - <a href=\"admin.php?op=editmsg&mid=$mid\">"._EDIT."</a> ]</font></center>\n";
}
|
and change to:
Code:
if ($view > 5 AND in_groups($groups)) {
OpenTable();
echo "<center><font class=\"option\" color=\"$textcolor2\"><b>$title</b></font></center><br>\n";
echo "<font class=\"content\">$content</font>\n";
if (is_admin($admin)) {
echo "<br><br><center><font class=\"content\">[ "._MVIEWGROUPS." - $remain - <a href=\"".$admin_file.".php?op=editmsg&mid=$mid\">"._EDIT."</a> ]</font></center>\n";
}
|
I am wondering if this was not part of the NSN Groups addition to the package - as the subsequent entries all have the $admin_file referenced.
-sting |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Jan 27, 2006 9:52 pm |
|
sting, we need to get you on the RavenNuke76 Team!! You have already fixed more bugs than Kguske and me combined! ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat Jan 28, 2006 2:47 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 28, 2006 10:58 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Jan 28, 2006 11:29 am |
|
Is there anywhere we can consolidate these 'fixes' until they are included in the next revision? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 28, 2006 12:12 pm |
|
I have been, in private, but I am trying to get the CVS setup this weekend. All it takes is time, you know, that little thing.
Willy Wonka (Original) wrote: | So much time and so little to do. Wait - Stop - Reverse that. |
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 28, 2006 12:28 pm |
|
Ok, just thought I'd ask but I should have known you would have something up your sleeve ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 28, 2006 12:37 pm |
|
I think we have enough "fixes" to release a v2.02.01 or 2.02.02. I think I said a while back that odd numbered fix releases would be internal and even numbered would be GP. I'll post what I have included to the QA team when I get it ready to be sure I've covered them all. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 29, 2006 2:37 am |
|
I finally got the CVS installed and working, I think. What a trip that was. I can login from a windoze client but I've yet to get checkout working with WinCVS. Anyone else have a better solution? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 29, 2006 2:45 am |
|
Sorry Raven, cannot help you there as I have never set up a CVS. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sting
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 29, 2006 8:22 pm |
|
What versions of CVS have you looked into already so I can avoid those in my research?
-sting |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Jan 29, 2006 10:05 pm |
|
Yea WinCVS always seem buggy for me. I used TortoiseCVS and it always seem to work as intended |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 29, 2006 11:50 pm |
|
I have the Linux CVS server (v1.12.13) installed and working just fine. It's the WinCVS that I'm having the issue with. Ev, I actually have Tortoise but just not configured. I'll try that. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 30, 2006 6:54 am |
|
Sorry Raven that I cannot help here even though I'm one of those asking for it... Never used it before, but given what we're doing, it seems to make sense now. Thanks for all your efforts! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|