Jump to content
MakeWebGames

Recommended Posts

Posted

Yes, you may say 'ugh just another one', but the fact is I was looking here and couldn't find a decent free one, well I only found part of it.

This is simple, users can post on each others profiles, and the account owner can delete the comment if deemed necessary.

If anyone wants anything added to it just let me know, I'm more than happy to add anything to it...

SQL:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Comments.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Open viewuser.php

Find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

-- Near end of file.

Replace with:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Then add underneath:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

It's not had alot of testing, but should all work well, it's just something simple so I can keep the boredom away. ^^

  • Like 1
Posted
Looks great but a staff delete fuction would be good. ;) How about BB Code aswell.

Delete yes

bb i don't see the point but im sure Zeddicus will decide either way, bb praser would have to be coded due to existing ones being exploitable.

Posted

Yeah -- BBcode on the comments would be a bad idea, it's really just meant for small comments, and the idea of having img's,big text ect ect there wouldn't be appealing, and Yup crimgame is right about the vulnerable parsers.

I'll do the staff delete though. :D

Posted

I keep getting the following error,i tried fixing it, but no luck.

Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/as7863/public_html/viewuser.php

on line 279

Posted

Their was two errors ,a missing parameter and the other one i posted above ,but i managed to fix them.

here is the fixed code

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Good job zeddicus mate,another great mod by you! :thumbup:

  • 2 years later...
Posted

I can't get this to work with shads code, it give me the following error:

Critical Error

A critical error has occurred, and this page cannot be displayed. Please try again later.

I thought this maybe due to me forgetting to add the tables in the top part of viewuser here: $db->query(

"SELECT `userid`, `user_level`, `laston`, `last_login`,

But after adding on the user comments tables, i get this error:

Critical Error

A critical error has occurred, and this page cannot be displayed. Please try again later.

Query failed

Any ideas? ):

Posted
I can't get this to work with shads code, it give me the following error:

Critical Error

A critical error has occurred, and this page cannot be displayed. Please try again later.

I thought this maybe due to me forgetting to add the tables in the top part of viewuser here: $db->query(

"SELECT `userid`, `user_level`, `laston`, `last_login`,

But after adding on the user comments tables, i get this error:

Critical Error

A critical error has occurred, and this page cannot be displayed. Please try again later.

Query failed

Any ideas? ):

iif your using redux that is your problem, they supposedly fixed this bug it's suppose to be in the changelog, if not re patch it see if that sorts your problem. Others also had same message, and it was stated a redux bug problem.

  • 1 month later...
Posted
iif your using redux that is your problem, they supposedly fixed this bug it's suppose to be in the changelog, if not re patch it see if that sorts your problem. Others also had same message, and it was stated a redux bug problem.

not a redux pblm im using v2... and getting this error :D

ill see if i can fix...

  • 2 weeks later...
Posted (edited)

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Can some one help me pleasee

 

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/gangst43/public_html/viewuser.phpon line 247

Edited by Shahed3639
hMMM
  • 1 year later...
Posted

i got everything working with this mod to, except the last step, can someone please redo the last step for me??

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I get Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/murder/public_html/viewuser3.php on line 268 :( :confused:

Posted
i got everything working with this mod to, except the last step, can someone please redo the last step for me??

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I get Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/murder/public_html/viewuser3.php on line 268 :( :confused:

Are you using V1 or V2? PM me.

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.

×
×
  • Create New...