Edit IPB menu

liunx

Guest
So i've been editing and re-editing the template in the ACP for the better part of the last hour to no avail. No matter what i put or where I put it, it simply does not show up on the forum itself.<br /><br />I'm at a loss as to what to do now.<br /><br />If anyone has any suggestions, or has experience similar problems in the past, it would be much appreciated.<!--content-->
Welcome to the forum dyrymi <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Are the files write enabled? Are you receving errors? If you re-edit are the changes you are making still there?<br /><br />Usually it's a case of not having proper permissions to save the changes.<!--content-->
Welcome to the forum, dyrymi. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
<img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> Welcome to the Family dyrymi <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> <br /><br />and your new home!<br /><br />You need to find the file you are trying to edit and change the permissions to 777<br />whike you are editing that file,<br />then change it back to 755 when you are done.<br /><br />For me its easier to download the file with ftp<br />edit it<br />then upload it back,<br />no permissions to change<br />and I can have a back up on my computer.<br /><br />We really are like family here.<br />So if you need anything,<br />just ask your new family!<br />We love to help <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Hi guys, thanks for the warm welcome (-:<br /><br />All the edits are there when i change them then go back to have a look, but they're not doing anything to the site S:<br /><br />I even tried deleting the link to the Admin CP and it didn't move.<br /><br />I'll see if I can find the files i'm editing adn edit them manually, though I'm not too familiar with the ipb directory structure. Always worked with phpBB up until now.<!--content-->
Did some digging through the directory structure and finally found the skin_global.php file and it worked like a charm (-:<br /><br />My next question, i want to add a custom script in there that counts down the number of members in a particular group.<br /><br />Here's my code:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->echo "<center>";<br /><br />mysql_connect("***", "***", "***");<br />mysql_select_db("***");<br /><br />$getr = mysql_query("SELECT * FROM *** WHERE mgroup=11");<br />$numrows = mysql_num_rows($getr);<br />$licleft = 30 - $numrows;<br /><br />if($numrows < 30) {<br />echo "<font color=\"green\" class=\"btext\">There are <font color=\"red\"><b>$licleft</b></font> licenses left before official launch</font></center>";<br />}<br />if($numrows == 0) {<br />echo "<b><font class=\"btext\" color=\"0059AC\">EzyDrop has now launched! Please see below for more details on new license packages and prices.</font></b><br><br>";<br />}<!--c2--></div><!--ec2--><br /><br />The code works and does precisely what i need, what i'm not really sure on is where to stick it so that it will display where i want it (centred beneath the member_bar).<br /><br />How would I go about it, even if it's a RTFM, or a point in the right direction to said manual that would be much appreciated.<!--content-->
Check the skins_boards.php file. I think that's the one you are looking for.<!--content-->
Not the one i was after, it was in /sources/classes/class_display.php<br /><br />Had to add in my code there, then i could get it in the board wrapper. My partner has now told me he doesn't want it *sigh*<!--content-->
Glad you found it. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/thumbup1.gif" style="vertical-align:middle" emoid=":thumbup1:" border="0" alt="thumbup1.gif" /><br /><br />Sorry he no longer wants it. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><!--content-->
lol, I added it back in to both the forum and main site and i'll see how long it is before he realises that it's there d:<!--content-->
 
Back
Top