SlanderDesign Posted February 16, 2010 Share Posted February 16, 2010 Profile signature mod for Generic RPG! With help from MTG. :) First open Profiles.php and find : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add under: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add Above!: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save and close profiles.php. Next create a file called bbcode_engine.php Add this to it: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save and close. Now open classes.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save and close. Open preferences.php and replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Save and close. Now run this SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. All done! BBcode Engine supplied by Magictallguy :rolleyes: Hope this helps! :D Quote Link to comment Share on other sites More sharing options...
Guest cablebox Posted February 16, 2010 Share Posted February 16, 2010 Urg GRPG Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 Urg GRPG What is the point in posting that? Really? Quote Link to comment Share on other sites More sharing options...
Guest cablebox Posted February 16, 2010 Share Posted February 16, 2010 I duno, lol, it increases my post count :P AHAHA! But its a great mod, you don't see mods made for GRPG these days. Great job on the creativity. Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 I duno, lol, it increases my post count :P AHAHA! But its a great mod, you don't see mods made for GRPG these days. Great job on the creativity.Thank you! That's what I wanted to see! :D Yeah I plan on trying to convert V2 mods to GRPG :) Quote Link to comment Share on other sites More sharing options...
CrazyT Posted February 16, 2010 Share Posted February 16, 2010 Why are you using a class for that? Maybe if there was ALOT more stuff/functions ect maybe but... There is no need for that one function to be inside a class, that is just useless and pointless. Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 Why are you using a class for that? Maybe if there was ALOT more stuff/functions ect maybe but... There is no need for that one function to be inside a class, that is just useless and pointless. What is it with criticizing others work? If you didn't know I've only been coding about 3 weeks...Sorry if I make 1 mistake and for you information if it wasn't in a class you cant see other people's sig. So before been a smart Alik please check what file it is been coded for and where it is suppose to add to added. Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 Please don't post if your just going to criticize! Reasonable criticism is acceptable. Thank you! Quote Link to comment Share on other sites More sharing options...
Zeggy Posted February 16, 2010 Share Posted February 16, 2010 If you're just learning, then you should learn to take criticism. You can either learn from criticism, or be offended. LazyT's criticism was helpful, not intended to offend you at all. Since you've been coding for 3 weeks, how do you know what you are doing is correct? LazyT is correct, there is no need to put it in a class. You can easily put that code in a function. There is also a sql injection vulnerability, assuming there is no security other than what has been posted: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 I have tried putting the class in but it only works that way. And yeah some criticism is good but not when it works perfectly! Also some files are protected from injections and I edited header if I can remember right. Quote Link to comment Share on other sites More sharing options...
Zeggy Posted February 16, 2010 Share Posted February 16, 2010 It may work and do exactly what it is supposed to do, but if you're given a chance to improve it, would you take it? I have tried putting the class in but it only works that way. You need to forget this. Any code you write in a class can be written as functions, and same vice versa. Since you haven't been able to get it to work without a class, you should try to learn how to use functions instead of classes then. If not for rewriting this mod, then simply for improving your understanding of PHP. Your code is not wrong. There is nothing wrong with using classes for everything, if that's what you want. We're just pointing out that it would probably be less code and easier to use if you were to put it into a function instead of a class, since in this situation using a class provides no benefits. Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 Ah I understand what your saying but...The best way for me is classes. All in one file ect Easy to find and fix For now I'm leaving it as it is :) Quote Link to comment Share on other sites More sharing options...
reek13 Posted February 16, 2010 Share Posted February 16, 2010 Keep up with the good work , There are very few modifications for grpg . I see your new to coding , listen to the seniors in coding , you may not agree with them at times but research the matter and you will see why they are telling you certain things. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 16, 2010 Share Posted February 16, 2010 /me really needs to update his BBcode... Nice work Slander Design ;) Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted February 16, 2010 Share Posted February 16, 2010 It looks good, But I hate GRPG LOL Anyway good work :) Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 Thank you people :P Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted February 16, 2010 Share Posted February 16, 2010 GRPG i did find very insecure (more than mc) but working with things other than MC is a good start, Listen to Zeggy though, i never listened when i first started out and i wasted about 5 month believing i was the dogs bollocks. When i finally listened i noticed i was wrong and learnt alot from others. We ain't going to lie to you we'll just try to guide you the best we know how. Most people don't even get a reason for criticism so think yourself lucky, normally best to ignore CrazyT though lol Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted February 16, 2010 Share Posted February 16, 2010 GRPG i did find very insecure (more than mc) but working with things other than MC is a good start, Listen to Zeggy though, i never listened when i first started out and i wasted about 5 month believing i was the dogs bollocks. When i finally listened i noticed i was wrong and learnt alot from others. We ain't going to lie to you we'll just try to guide you the best we know how. Most people don't even get a reason for criticism so think yourself lucky, normally best to ignore CrazyT though lol Agreed with that buddy. CrazyT will try everything he can to get you to drop you're users lol Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 16, 2010 Share Posted February 16, 2010 Nah he's very helpfull - well at least he has been to me anyway. Quote Link to comment Share on other sites More sharing options...
SlanderDesign Posted February 16, 2010 Author Share Posted February 16, 2010 Magic helps me alot! Puuda does if it isn't GRPG. This is the first mod I made so I'm like kinda proud :D Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted February 16, 2010 Share Posted February 16, 2010 Magic helps me alot! Puuda does if it isn't GRPG. This is the first mod I made so I'm like kinda proud :D I hate GRPG, Its really not my thing =] Quote Link to comment Share on other sites More sharing options...
Veasey Posted February 17, 2010 Share Posted February 17, 2010 Good Mod, Il Be Making Some Soon! Quote Link to comment Share on other sites More sharing options...
sparks19 Posted February 18, 2010 Share Posted February 18, 2010 good job slander Quote Link to comment 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.