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
[ADDON]Shoutbox Message Edit
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2010-04-18 20:24:42
Thx  <_<

cols=100 rows=10 for me :(
Unknown User
2010-04-23 08:06:53
how to add in to schoutbox to send pm for user  or to shout private chanel
2010-10-11 03:54:53
thanks #1 v.2.6 ;)
Unknown User
2010-11-05 04:57:04
Works Great, Thank You
Unknown User
2011-01-28 12:24:01
All user edit and delete shoutbox messages  LOOL
Unknown User
2011-08-22 12:17:26
thank you.........
Unknown User
2011-10-18 05:37:54
thanks
Unknown User
2011-10-18 06:17:14
"yesszus, post: 70134":
All user edit and delete shoutbox messages  LOOL

Simple changes to fix that

replace

echo "<div align='right' style='float: right'><a href='" . $site_config['SITEURL'] . "/shoutedit.php?action=edit&msgid=" . $row['msgid'] . "' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='" . $site_config['SITEURL'] . "/shoutbox.php?del=" . $row['msgid'] . "' style='font-size: 8px'>[D]</a><div>";



with



		  if (($CURUSER["edit_users"] == "yes")) {

 echo "<div align='right' style='float: right'><a href='" . $site_config['SITEURL'] . "/shoutedit.php?action=edit&msgid=" . $row['msgid'] . "' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='" . $site_config['SITEURL'] . "/shoutbox.php?del=" . $row['msgid'] . "' style='font-size: 8px'>[D]</a><div>";

 }
Unknown User
2012-03-03 18:58:50
i edit but i have a blank page
Unknown User
2012-03-03 19:09:29
2.07+ prob needs in shoutedit



$action = $_POST["action"];

after




require_once("backend/functions.php");



2.07+ dont have an global defines like the older versions did.
Unknown User
2012-03-04 06:38:53
no nothing change

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5568"]shoutedit.php[/url]
shoutedit.php
Download
Unknown User
2012-03-04 07:33:47
This code is very bad. from the file u posted Noname follow this.

change



$message = $_GET["msgid"];






to







$msgid = $_GET["msgid"];  






change







$res = SQL_Query_exec("SELECT * FROM shoutbox WHERE msgid=".$_GET['msgid']) or sqlerr();






to







   $res = SQL_Query_exec("SELECT * FROM shoutbox WHERE msgid=".$msgid);






change







  showerror("Error", "Denied!");






to







  show_error_msg("Error", "Denied!", 1);






change







showerror("Error", "Message cannot be empty!");  






to







show_error_msg("Error", "Message cannot be empty!",1);  






change







SQL_Query_exec("UPDATE shoutbox SET message=$message WHERE msgid=$msgid") or sqlerr();  






to







SQL_Query_exec("UPDATE shoutbox SET message=$message WHERE msgid=$msgid");






change







linkit("shoutbox.php", "Edit complete....");






to







autolink("shoutbox.php", "Edit complete....");






remove







function linkit($al_url, $al_msg) // create autolink

{

   echo "n<meta http-equiv="refresh" content="3; URL=$al_url">n";

   echo "<center>n";

   echo "<b>$al_msg</b>n";

   echo "<p>n<b>Redirecting ...</b>n";

   echo "<p>n[ <a href='$al_url'>link</a> ]n";

   echo "</td>n</tr>n</table>n</td>n</tr>n</table>n</body>n</html>n";

   echo "</center>n";

   exit;

}






change







if ($CURUSER["id"] != $arr["userid"] && get_user_class($CURUSER) < 6)






to







if ($CURUSER["id"] != $arr["userid"] && get_user_class() < 6)






change







$action = $_POST["action"];






to







$action = $_GET["action"];

Unknown User
2012-03-04 09:07:31
In 2.08 is ok the below code with advices

in shoutbox.php

i change the



echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";

to




echo "<div align='right' style='float: right'><a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."' style='font-size: 8px'>[E]</a>&nbsp;&nbsp;<a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."' style='font-size: 8px'>[D]</a><div>";




and the shoutedit.php

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5570"]shoutedit.php[/url]
shoutedit.php
Download
Unknown User
2012-03-06 09:46:15
how can we get it so it opens in same window (shout) rather than new page
Unknown User
2012-03-06 09:52:14
if you mean shoutbox out of the iframe then u need to cut the shoutbox body out paste it to where ever you want it wrap a div around it and use some jquery to refresh the body without refreshing page
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