plus on chat in lavalair

Started on the old forum in September 2010 · view the original in the archive · old links redirect here

2 replies · 614 views · started 16 years ago · 1 min read

2 participants
LadyEnigma Developer · 71 posts #1

Hi all, in my lavalair users earn plus writing post forums and writing inbox, I would like to remove the gain plus by inbox and put so that you can earn 1 plus to each message that you write in chat, you can, someone tells me how to do? Thanks to those who will help me 🙂

....silence please....

i0nutzxp Developer · 150 posts #2

find $chatok in chat.php and replace with that ..

 $chatok = mysql_query("INSERT INTO ibwf_chat SET  chatter='".$uid."', who='".$who."', timesent='".time()."', msgtext='".$message."', rid='".$rid."';");
 if($chatok)
      mysql_query("UPDATE ibwf_users SET plusses=plusses+1 WHERE id='".$uid."'");

on inboxproc.php search witch CTRL + F " set plusses " and u will find the query then delete it

<?php unlink('World/Europe/Romania.country'); ?>
LadyEnigma Developer · 71 posts #3

thank you i0nutzxp 🙂

....silence please....

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close