Quote:
Originally Posted by rainyleaves
First, My CMPS index is in public_html directory( I didn't move CMPS index to forum's directory like you.).
Second, I edited treemenu.php
Code:
Find all:
forumdisplay.php?f
All Replace:
/forums/forumdisplay.php?f
*red code is mean your forum's main directory's name.
Third, I edited headinclude code.
Code:
<script src = "/forums/clientscript/yui/yahoo-dom-event.js" ></script>
<link type="text/css" rel="stylesheet" href="../forums/clientscript/yui/assets/tree.css">
<script src = "/forums/clientscript/yui/treeview.js" ></script>
<script src="http://yui.yahooapis.com/2.3.1/build/animation/animation-min.js"></script>
*red code is mean your forum's main directory's name.
* Green code is mean, tree.css need full pass or '..'. Why? I don't know. hahaha  .
Luck !!
|
Well for some reason whenever I try to save treemenu.php I get this errror: (its only when trying to save treemenu even if I don't do any edits to it.. it still does it.. I have tried other files they save fine.
PHP Code:
open treemenu.php failed: Permission denied at cpanel.pl line 492
Carp::croak('open treemenu.php failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1299
Cpanel::Fileman::fmsavefile('/home/bzfusion/public_html/forums/modules', 'treemenu.php', '<?php^M^J// ++====================================================...', '') called at cpanel.pl line 492
main::__ANON__('/home/bzfusion/public_html/forums/modules', 'treemenu.php', '<?php^M^J// ++====================================================...', '') called at cpanel.pl line 1479
main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4376
main::dotag(undef) called at cpanel.pl line 4265
main::cpanel_parseblock('SCALAR(0x8f8bd70)') called at cpanel.pl line 4219
main::cpanel_parse('GLOB(0x91ae3f0)') called at cpanel.pl line 1043
Edit: I got it I just edited the file then reuploaded it you can just add forums/ instead of /forums cause it add's the first / by default also you don't need to add /forums to you headinclude cause I didn't do it and it seems to work good. But thats just me really that might be why you can't clientscript/yui/yahoo-dom-event.js or whatever.