GNUWorld
View All Registered Channels
Cservice Web Interface feature
In order to implement this feature you have to do the following:- Go to your gnuworld website directory, normally it is ~/website/docs/gnuworld/
- Open left.php with your favorite text editor and FIND this code:
<? if ($admin>=800) { ?>
<a href="cr_newuser.php" target=right>New User</a><br><br>
<? } else { echo "<br>"; } ?>
<a href="cr_newuser.php" target=right>New User</a><br><br>
<? } else { echo "<br>"; } ?>
- AFTER that code, ADD this:
<? if ($admin>=800) { ?>
<a href="viewallchans.php" target=right>View all channels</a><br><br>
<? } else { echo "<br>"; } ?>
<a href="viewallchans.php" target=right>View all channels</a><br><br>
<? } else { echo "<br>"; } ?>
- Save left.php
- Create a new file: viewallchans.php
- Copy and paste the whole code located HERE into viewallchans.php
- Save viewallchans.php