Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> For Hire
Author Message
redhairz
Worker
Worker


Joined: Nov 17, 2006
Posts: 222

PostPosted: Sun Apr 27, 2008 8:59 am Reply with quote

is anyone interested to rename a module? Easy task! There is one thing i like to know does renaming the module causess Vulnerabilities? Renaming the module but the DB table name remain intact that is what i had in mind.

_________________
Jesus is Alive, He is our joy, be it good times or bad time. 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Sun Apr 27, 2008 9:36 am Reply with quote

I guess it depends on the module and what it does.
If your intention is to have two modules doing exactly the same thing but with a different name then you may have to rename all the functions etc as it will cause an error if the same function is called twice.
 
View user's profile Send private message Send e-mail
redhairz
PostPosted: Sun Apr 27, 2008 9:54 am Reply with quote

there is only one module to rename i am not working on 2 mondule to work it at the same time no Very Happy
 
Guardian2003
PostPosted: Sun Apr 27, 2008 10:22 am Reply with quote

Can you not just use a custom title in the module admin area?
Any way, it shouldn't be too hard...
Change the main folder name to what you need, check the module index file for
Code:


$module_name = 'MODULE_NAME';
and change that to whatever you are now calling your module, then search all the module files for hard coded references to the original module name and replace them.
Failing that, for a beer zip up the module and PM me a link where I can download it and I'll take a crack at it for you.
 
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 456
Location: Somewhere out there...

PostPosted: Tue Apr 29, 2008 10:22 am Reply with quote

Quote:
Failing that, for a beer zip up the module and PM me a link where I can download it and I'll take a crack at it for you.


Prices don't come any better than that.

Wink

-sting

_________________
You see - I told you I wasn't paranoid. They were really out to get me. 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Guardian2003
PostPosted: Tue Apr 29, 2008 11:00 am Reply with quote

Unfortunately I'm very busy now.
 
redhairz
PostPosted: Tue Apr 29, 2008 12:30 pm Reply with quote

if the module is renamed without renaming the table DB name what is going to happen? are there any Vulnerability which i shld take note of? Some advise thanks Embarassed
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Wed Apr 30, 2008 5:21 am Reply with quote

redhairz, I am sorry to ask again, but I never saw an answer to Guardian's question. I guess trying to understand why the need for renaming as apposed to just giving the module a custom lable within the modules administration? I think understanding the "what" and "why" might help us to provide better direction.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> For Hire

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 ©