Halo Posted June 15, 2008 Posted June 15, 2008 This is a nice and simple mod that allows users to have their own personal page.... It uses HTML so users don't have to use boring text only.... Just thought i would share it, you don't need to add it because I'm sure there will be some security error or something, Nyna will find it :-P 1.) Run Query You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 2.) Create a page called personalpage.php with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 3.) Then open preferences.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add after: 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. replace with: 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 before: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Finally open viewuser.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And your done, check edits if it isn't working! SCREENIE Quote
Klikoka Posted June 15, 2008 Posted June 15, 2008 Re: [v1]Free Users Personal Page[v1] Well done Halo very nicely coded and its a good idea to. Quote
Joel Posted June 15, 2008 Posted June 15, 2008 Re: [v1]Free Users Personal Page[v1] Looks good Mate, I might use it :-P Keep up good work! :lol: Quote
KingRise Posted June 15, 2008 Posted June 15, 2008 Re: [v1]Free Users Personal Page[v1] Nice Mod Nice idea :wink: but this mods seems kind of like the signature mod could you tell me the diffrence..........i take it you need to click it on your profile or something Quote
Halo Posted June 16, 2008 Author Posted June 16, 2008 Re: [v1]Free Users Personal Page[v1] Yeah when you view their user profile it displays a link to their Personal Page Quote
chatghosty Posted June 21, 2008 Posted June 21, 2008 Re: [v1]Free Users Personal Page[v1] Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cghosty/public_html/personalpage.php on line 33 Sorry, we could not find a user with that ID, check your source. Whats that all about? :mrgreen: Quote
Halo Posted June 22, 2008 Author Posted June 22, 2008 Re: [v1]Free Users Personal Page[v1] Have you run the SQL data? Quote
chatghosty Posted June 27, 2008 Posted June 27, 2008 Re: [v1]Free Users Personal Page[v1] Error SQL query: ALTER TABLE `users` ADD `ppage` TEXT NOT NULL MySQL said: #1060 - Duplicate column name 'ppage' :? Quote
Guest Anonymous Posted June 27, 2008 Posted June 27, 2008 Re: [v1]Free Users Personal Page[v1] Must already have that column in the table... delete it then run it again. Quote
chatghosty Posted June 27, 2008 Posted June 27, 2008 Re: [v1]Free Users Personal Page[v1] I Droped ppage and redid it and still is not working. This is my Link: [View Personal Page]"; Quote
Halo Posted June 27, 2008 Author Posted June 27, 2008 Re: [v1]Free Users Personal Page[v1] Thats funny, did you try and change the mod in any way??? Or are you using v2 Quote
chatghosty Posted July 1, 2008 Posted July 1, 2008 Re: [v1]Free Users Personal Page[v1] You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats The File Code Im Useing :mrgreen: Please use [code]...[/code] tags Quote
Halo Posted July 4, 2008 Author Posted July 4, 2008 Re: [v1]Free Users Personal Page[v1] What source code are you using? Mccode V1 or V2 Quote
Katt Posted July 5, 2008 Posted July 5, 2008 Re: [v1]Free Users Personal Page[v1] worked great for me thanks :-D Quote
chatghosty Posted July 7, 2008 Posted July 7, 2008 Re: [v1]Free Users Personal Page[v1] V1 Lite :mrgreen: Quote
Halo Posted July 7, 2008 Author Posted July 7, 2008 Re: [v1]Free Users Personal Page[v1] This wan't made for lite, i think you have to change the userdata in the beggining of the page Quote
canibalstew Posted July 10, 2008 Posted July 10, 2008 Re: [v1]Free Users Personal Page[v1] But i am sure you would need to spend alot of time watching for spamming other games nice mod but needs some security, good for free mod as is alot .They are great to have but with users spamming other games in them makes it hard to have and add to our games Quote
Katt Posted July 11, 2008 Posted July 11, 2008 Re: [v1]Free Users Personal Page[v1] thanks worked great my players love it Quote
chatghosty Posted July 14, 2008 Posted July 14, 2008 Re: [v1]Free Users Personal Page[v1] This wan't made for lite, i think you have to change the userdata in the beggining of the page Can you help. Help = Do it for me? :mrgreen: Quote
Halo Posted July 16, 2008 Author Posted July 16, 2008 Re: [v1]Free Users Personal Page[v1] Copy from <?php to menuarea(); and replace the one from my mod with that Quote
chatghosty Posted July 17, 2008 Posted July 17, 2008 Re: [v1]Free Users Personal Page[v1] Whats your mod? Quote
POG1 Posted July 17, 2008 Posted July 17, 2008 Re: [v1]Free Users Personal Page[v1] some security issues need to be addressed.. Quote
Cronus Posted July 18, 2008 Posted July 18, 2008 Re: [v1]Free Users Personal Page[v1] It's probably a bad idea to let users use html... Bad stuff can come from that.... Quote
Uridium Posted August 22, 2008 Posted August 22, 2008 Re: [v1]Free Users Personal Page[v1] If you want to add your Personal Page to your Profile but not as a linked version. DONT create a file called personalpage.php just add this code before the $h->endpage() EDIT it woul help if i told you which file to put the code in.. open viewusers.php and place the code in there also if you already have this on your game remove the links on your viewusers.php that point to personalpage.php V2 Versions You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. V1 version You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Your users can now see your newly added profile from the profile page instead of clicking a link..... SCREEN SHOT Quote
Uridium Posted November 27, 2008 Posted November 27, 2008 Re: [mccode v1]Free Users Personal Page For some reason this on mine stoped working and users were unable to edit their profile page so i re-modded it a bit from the preferences.php so users could create/edit their profiles + view a demo before launching it.. Follow the SQL as from page 1 of this TOPIC then just use these edits for preferences.php.... Add the following Cases... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. FIND You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and underneath add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. now open up viewuser.php and at the bottom before the $h Add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There is no need to add the script for the personal.page.php as users will see their finished product view their own profiles page Quote
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.