Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Defcon
Regular
Regular



Joined: Mar 10, 2005
Posts: 90

PostPosted: Sun Mar 15, 2009 10:45 pm Reply with quote

Dear all,

Since previous versions of PHP-Nuke and RavenNuke(tm) provided a backup routine that could be accessed from the Administrative Control Panel (ACP). In testing for the RavenNuke(tm) 2.20 release we found that (a) the program had serious bugs that produced invalid backup data and (b) in most server conditions, due to the expansion in the number and size of the MySQL tables, the backup process could not be run successfully therefor i think i would like to remove that 'Backup DB modules'/hyperlink from Administration Menu to make it 'clean' from my view:p

Image

Since i thinked bout this, let say how bout if i also want to take out completely/with a good step for several modules such as Advertising, Encyclopedia etc from our web/Administration Menu panel, so how i can proceed it?

Thanxs
 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Mar 15, 2009 11:02 pm Reply with quote

Backup DB functionality has always been fairly broken. I suggest you use phpMyAdmin, it is much more reliable.

_________________
- 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! 
View user's profile Send private message Visit poster's website
Defcon







PostPosted: Sun Mar 15, 2009 11:05 pm Reply with quote

evaders99 wrote:
Backup DB functionality has always been fairly broken. I suggest you use phpMyAdmin, it is much more reliable.


Thanxs for advice evader99. Any idea to remove it permanently from Administration Menu? if can 'uninstall' at least i can remove/delete that typo/icon. May i know on which one file? Already searching line by line on admin.php but cant find or maybe i scare to delete a wrong code:p
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sun Mar 15, 2009 11:30 pm Reply with quote

May be I am missing the point here, but RN no longer includes the backup routine therefore if you are running the latest version of RN it should not be there. In fact I think it has been missing for a few versions now.

With regards to the other modules I would just leave them alone. Backup was removed because it just simply didn't work, there isn't that problem with the other modules so it is probably easier to leave them alone. Wink
 
View user's profile Send private message
Defcon







PostPosted: Sun Mar 15, 2009 11:35 pm Reply with quote

jakec wrote:
May be I am missing the point here, but RN no longer includes the backup routine therefore if you are running the latest version of RN it should not be there. In fact I think it has been missing for a few versions now.

With regards to the other modules I would just leave them alone. Backup was removed because it just simply didn't work, there isn't that problem with the other modules so it is probably easier to leave them alone. Wink


Yes, that's not a related problem with others modules. Just i thinked at a same time i would like to remove permanetly a couple of modules that i will not use it permanently. At least can removely by typo/graphic from Administration Menu. HUhuhu i just want to keep modules that i will use it only.

Thanxs
 
jakec







PostPosted: Sun Mar 15, 2009 11:45 pm Reply with quote

The problem you will get is that every time you upgrade the old modules will be reinstated again.
 
Defcon







PostPosted: Sun Mar 15, 2009 11:46 pm Reply with quote

jakec wrote:
The problem you will get is that every time you upgrade the old modules will be reinstated again.


That's OK as long as i know which part of code i have to remove huhuhu
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Mon Mar 16, 2009 10:12 am Reply with quote

With regard to the backup ... we left the "shell" of it in place with the message that backup itself was removed as a communication device with users of older versions of PHPnuke and Ravennuke. We didn't want people puzzling about where it went and we wanted to put some suggestions into the backup screen about alternatives. Eventually we should probably remove it but it does no harm right now and may even help a few people who are wondering how to back up their files.

With regard to removing modules ... your mileage may vary. There are some modules which are more deeply linked into the core of Nuke than others. And to remove many modules you'd also want to get rid of their corresponding MYSQL tables. For instance the statistics tables are updated on every pass through mainfile, which means every time a page is loaded in Ravennuke. So if you deleted that module and removed the statistics tables you'd create a MYSQL error in mainfile unless you changed that too. Other modules you might be able to just delete the program files and not notice any problems. But the MYSQL tables would still be there and as Jakec said you'd have to modify the upgrade distributions every time to remove the module again.

Probably the best approach is just to deactivate the module in modules administration.
 
View user's profile Send private message Visit poster's website
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Mar 16, 2009 10:19 am Reply with quote

If you just want to remove them from the admin menu just remove the associates links.php. They should be in the admin folder for the module or maybe in the main admin folder.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Defcon







PostPosted: Mon Mar 16, 2009 12:55 pm Reply with quote

Palbin wrote:
If you just want to remove them from the admin menu just remove the associates links.php. They should be in the admin folder for the module or maybe in the main admin folder.


Thanxs Cool Cool
 
fkelly







PostPosted: Mon Mar 16, 2009 1:54 pm Reply with quote

I have to respectfully disagree with my associate Palbin. Technically what he says to do will work ... remove the links.php. But just generally *nuke is not designed for for removing modules reliably. I'm not saying it can't be done but unless you really have an overriding reason you'd be better off leaving things alone. That's just one person's opinion.

Example: theme.php calls the function ads (from mainfile) if a variable called $banners is turned on. $banners is determined by a setting in the config table. I'm not sure where in the system that is set but if you have banners on and remove the advertising module and its tables you are going to generate a mainfile sql error. There's just too many dependencies like that to be willy-nilly removing modules. It would be better if there weren't so many "implicit" dependencies but it would be better if I was a multi-billionaire too.
 
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Mar 16, 2009 7:03 pm Reply with quote

Absolute thats correct ! I removed a time ago the GCalendar and had to comment out the entries in mainfile.php too and with the next upgrade the Calendar was back again.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©