SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 01:09:56 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28685
Total Topics: 4976
Online Today: 47
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 44
Total: 46
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: mod changes not applied  (Read 1365 times)
hs4e
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: January 31, 2009, 02:26:51 pm »

here is a small xml which integrated in a test mod package will fail. does anybody see anithing wrong in it? i use smf 1.1.7. if you wished to try the xml below on some test forum, i've attached the corresponding test package.

cheers


Code:
<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
   <id>:NewMod</id>
   <file name="$sourcedir/ManageBoards.php">
      <operation>
         <search position="replace"><![CDATA[
'is_selected' => $_REQUEST['sa'] != 'newcat' && $_REQUEST['sa'] != 'settings'
]]></search>
         <add><![CDATA[
'is_selected' => $_REQUEST['sa'] != 'newcat' && $_REQUEST['sa'] != 'settings'
]]></add>
      </operation>
   </file>
</modification>
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 12:16:16 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.198 seconds with 20 queries.