jiggaman15dg Posted March 10, 2007 Share Posted March 10, 2007 i am fairly new to php and i got a real estate web template from a site and i really like the visual aspects the only thing is that it wont allow me to change the footer here is the little bit of code <?php echo $SystemInfo->CreateCopyright("PHP RealEstate", 'txt_content01'); ?> if i delete that line the website works fine just a notification box pops up and shows on every page i dont want to delete the file i just want to change what it says currently it says "Powered by Built2Go PHP RealEstate v1.4.4 © Big Resources, Inc." ive looked in the language file and the func.php and nothing comes up i would be more then glad to give the script to someone if they want to play with it what are the possibilities of just changing what the actual footer says like Site Created by Me any help would be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/ Share on other sites More sharing options...
per1os Posted March 10, 2007 Share Posted March 10, 2007 If there ar template files, check there. If not that is located in the SystemInfo class under the Copyright function. If it is encrypted than you cannot change it without doing some manipulation, but if it is not encrypted look for the class Systeminfo (or whatever that variable was instantiated to.) --FrosT Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204345 Share on other sites More sharing options...
jiggaman15dg Posted March 10, 2007 Author Share Posted March 10, 2007 what does this mean "SystemInfo class under the Copyright function" like as group in the db? Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204367 Share on other sites More sharing options...
emehrkay Posted March 10, 2007 Share Posted March 10, 2007 it looks like CreateCopyright is a method[function] within a class. If you fiidn that function, you may be able to edit it's output Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204369 Share on other sites More sharing options...
jiggaman15dg Posted March 10, 2007 Author Share Posted March 10, 2007 if i send you a direct link to the zip do you think you could explain it very slowly bc i def dont understand like i said i am very new to php Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204372 Share on other sites More sharing options...
AndyB Posted March 10, 2007 Share Posted March 10, 2007 Don't you think that changing the copyright information and substituting your own (bogus claim) is a poor way to run a business web site? Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204386 Share on other sites More sharing options...
per1os Posted March 10, 2007 Share Posted March 10, 2007 On that note, you shouldn't change copyright if you did not create the script or pay for the copyright removal of the script. --FrosT Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204392 Share on other sites More sharing options...
jiggaman15dg Posted March 10, 2007 Author Share Posted March 10, 2007 I'm not saying that i created the template i am still going to have their brand at the bottom but i just dont want a link to it i don't want any customers to leave Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204394 Share on other sites More sharing options...
per1os Posted March 10, 2007 Share Posted March 10, 2007 You can always do something like this: <?php echo $copyRight = str_replace("<a href=\"theirsite.com\">Link Here</a>", "Link Title Here", $SystemInfo->CreateCopyright("PHP RealEstate", 'txt_content01')); print $copyRight; ?> On that note, this should not be used to remove copyright fully and if in the template it may check that string against the original so it may not work. --FrosT Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204397 Share on other sites More sharing options...
jiggaman15dg Posted March 10, 2007 Author Share Posted March 10, 2007 let me ask a question just to help understand php isnt SystemInfo a table within the database? and shouldnt createcopyright be a field within that table? Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204402 Share on other sites More sharing options...
jiggaman15dg Posted March 10, 2007 Author Share Posted March 10, 2007 i tried that and all it made the footer link appear twice any other suggestions? thank you so much Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204408 Share on other sites More sharing options...
per1os Posted March 10, 2007 Share Posted March 10, 2007 Nope, SystemInfo is an instance of a class. The CreateCopyright is a function defined within that class that probably has "print 'copyright data here';"; Look up Object oriented Programming. --FrosT Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204410 Share on other sites More sharing options...
per1os Posted March 10, 2007 Share Posted March 10, 2007 <?php ob_start(); $SystemInfo->CreateCopyright("PHP RealEstate", 'txt_content01'); $copyRight = ob_get_contents(); ob_end_clean(); print str_replace("<a href=\"theirsite.com\">Link Here</a>", "Link Title Here", $copyRight); ?> Like I said I do not condone removing copyright fully at all, this is strictly to help you remove the link back. --FrosT Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204412 Share on other sites More sharing options...
jiggaman15dg Posted March 10, 2007 Author Share Posted March 10, 2007 thank you so much with your help Quote Link to comment https://forums.phpfreaks.com/topic/42130-solved-help-with-a-footer/#findComment-204433 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.