Jump to content
MakeWebGames

[mccode v1]Free Users Personal Page


Halo
 Share

Recommended Posts

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

exaplenp2.jpg

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

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

screen.png

Link to comment
Share on other sites

  • 3 months later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...