Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Ajax Shoutbox V3
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods in Progress

Unknown User
2019-09-08 13:09:20
I don't use this Probably a javascript issue check index.php
2019-09-09 02:46:00
I'm a little confused because that works

[ATTACH type="full" alt="5163"]5163[/ATTACH]


but not here, and I'm looking for since yesterday where he brings the query ago

[ATTACH type="full" alt="5164"]5164[/ATTACH]

and in ajshoutbox.js i have this


function Reply_code(smile,form,text){
document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
document.forms[form].elements[text].focus();
}

//inserts smilies into form
function SmileIT(smile){
   document.forms['chatForm'].elements['chatbarText'].value = document.forms['chatForm'].elements['chatbarText'].value+" "+smile+" ";  //this non standard attribute prevents firefox' autofill function to clash with this script
   document.forms['chatForm'].elements['chatbarText'].focus();
   
   //pops out more smilies window
function PopMoreSmiles(form,name) {
        newWin=window.open('moresmiles.php?form='+form+'&text='+name,'moresmile','height=500,width=450,resizable=yes,scrollbars=yes');
        if (window.focus) {newWin.focus()}
}
smilie.png
smilie.png
smilie1.png
smilie1.png
Unknown User
2019-09-09 05:53:34
try this ajaxshoutbox.js script backup your old one first
ajshoutbox.zip
Download
2019-09-09 15:09:42
Thanks serph but unfortunately that has not changed anything
but I have found the lousy little mistake now
The error was not in the index or ajshoutbox.js
but in the java_klappe.js
in fact this part
function SmileIT(smile,form,text)
 {
     document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
     document.forms[form].elements[text].focus();


must be provided with only two characters so that the smilies under the shout also work
function SmileIT(+smile+,form,text)
 {
     document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
     document.forms[form].elements[text].focus();
Unknown User
2019-11-18 21:43:21
Hello everyone, I have installed the mod but when I write on the shout nothing is displayed, nothing happens in the bdd thank you :)

bonjour a tous, j'ai bien installer le mod mais quand j'écris sur le shout rien ne s'affiche, rien ne se passe dans la bdd merci :)

[ATTACH type="full"]5245[/ATTACH]
2019-11-18_223701.png
2019-11-18_223701.png
2019-12-22 12:20:58
there is a flaw on edition
Search :
dbconn(false);


Add after :
loggedinonly();



(a big thank you to my friend Snaklander )
2019-12-22 14:19:18
another flaw, when you use url and another message id they can modify the message of another member, here is my modification, but if there is better to do, let me know

In [color=rgb(243, 121, 52)]chatedit.php[/color] Search :
print("No message with ID $msgid.");


Add after :

   print("<b><font color='red'>You cannot edit this ID $msgid.</font></b>");
   write_log("<b><font color='red'>HACK attempt on EDIT of Shout Public message :</font> by ".$CURUSER['username']." (ID ".$CURUSER["id"].") </b>");


Search :

<link rel="stylesheet" type="text/css" href="<?php echo $site_config['SITEURL'];?>/themes/<?php echo $THEME;?>/theme.css" />
</head>
<?php


Change :

<head>
<link rel="stylesheet" type="text/css" href="<?php echo $site_config['SITEURL'];?>/themes/<?php echo $THEME;?>/theme.css" />
</head>
<?php if ($CURUSER["id"] != $arr["uid"] and get_user_class() < 7)



..he can see the message but he cannot modify it !
2020-12-12 19:08:04
Hello I try to color the username for Reply_code But I can't display the grade color Here is what I did and which does not work ...

In getshout.php
$name = $row['name'];


For:
$name = class_user($row['name']);


Thank you for your help.
2020-12-12 19:46:30
"spiritblue, post: 69678, member: 401":

Hello I try to color the username for Reply_code But I can't display the grade color Here is what I did and which does not work ...

In getshout.php
$name = $row['name'];


For:
$name = class_user($row['name']);


Thank you for your help.


Where is the variable $name held? You should be able to append a string, like

$name =  ’<span style=“color:red”>’ . class_user($row[“name”]) . ‘</span>’;
2020-12-13 01:22:39
"STorrents2020, post: 69679, member: 20382":

Where is the variable $name held? You should be able to append a string, like

$name =  ’<span style=“color:red”>’ . class_user($row[“name”]) . ‘</span>’;



Thakns STorrents2020

why red? I want the color of the class ;)
it doesn't work it stays white
getshout.rar
Download

2020-12-13 01:30:53
"spiritblue, post: 69688, member: 401":

Thakns STorrents2020

why red? I want the color of the class ;)
it doesn't work it stays white


Then that involves reading the groups table and assigning colour conditions based on the class type. If still unsolved, I’ll try to do this later
2020-12-13 21:06:19
its because a reply in the shoutbox is inserted as plain text into the database, including the username you are replying to. its not an object
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2020-12-13 23:30:46
"STorrents2020, post: 69689, member: 20382":

Then that involves reading the groups table and assigning colour conditions based on the class type. If still unsolved, I’ll try to do this later

does not work
2020-12-14 01:15:42
Im thinking you would have to append the database entry with CSS code or html code to display a color, kinda like this as an example of a database entry. I dunno, never tried it
The shoutbox has been cleared

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2020-12-14 01:25:21
"MicroMonkey, post: 69694, member: 311":

Im thinking you would have to append the database entry with CSS code or html code to display a color, kinda like this as an example of a database entry
The shoutbox has been cleared


I want to use the colors by class class user
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728