Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #1  
Old 8th March 2011, 07:26
lafouine022 lafouine022 is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 120
Talking System Notice - Forum reply and newthread
in /ts_ajax.php
for Quik reply

line 439
PHP Code:
mysql_query ('REPLACE INTO ' TSF_PREFIX . ('' 'threadsread SET  tid=\'' $tid '\', uid=\'') . $CURUSER['id'] . '\', dateline=\'' .  TIMENOW '\''); 
remplace by
PHP Code:
mysql_query ('REPLACE INTO ' TSF_PREFIX . ('' 'threadsread SET  tid=\'' $tid '\', uid=\'') . $CURUSER['id'] . '\', dateline=\'' .  TIMENOW '\'');
        
////
         
$seolink = ('' ''.$BASEURL.'//tsf_forums/showthread.php?tid=' sqlesc ($tid) . '');
         
$shoutbOT sprintf ('' $username ' vient de poster un  message dans le forum : [url='.$seolink.']' sqlesc ($subject) .  '[/url] .');
         
$shout_sql 'INSERT INTO shoutbox (userid, date, content)  VALUES (\'999999999\', \'' TIMENOW '\', ' sqlesc ('{systemnotice}'  $shoutbOT) . ')';
         
$shout_result sql_query ($shout_sql); 
.................................................. ..........

in tsf_forums/newreply.php
for advensive reply

remplace line 215
PHP Code:
(sql_query ('UPDATE ' TSF_PREFIX . ('' 'forums SET posts =  posts + 1, lastpost = ' $dateline ', lastposter = ' $username ',  lastposteruid = ' $uid ', lastposttid = ' $tid ',  lastpostsubject = ' $subject ' WHERE fid = ' $fid)) OR sqlerr  (__FILE__213)); 
for

PHP Code:
        (sql_query ('UPDATE ' TSF_PREFIX . ('' 'forums SET  posts = posts + 1, lastpost = ' $dateline ', lastposter = ' .  $username ', lastposteruid = ' $uid ', lastposttid = ' $tid ',  lastpostsubject = ' $subject ' WHERE fid = ' $fid)) OR sqlerr  (__FILE__213));
        
////
         
$seolink = ('' ''.$BASEURL.'//tsf_forums/showthread.php?tid=' sqlesc ($tid) . '');
         
$shoutbOT sprintf ('' $username ' vient de poster un  message dans le forum : [url='.$seolink.']' sqlesc ($subject) .  '[/url] .');
         
$shout_sql 'INSERT INTO shoutbox (userid, date, content)  VALUES (\'999999999\', \'' TIMENOW '\', ' sqlesc ('{systemnotice}'  $shoutbOT) . ')';
         
$shout_result sql_query ($shout_sql); 
............................................

in tsf_forums/newthread.php
for newthread ^^

line 132

remplace
PHP Code:
 if ($useparent)
      {
        (@
sql_query ('UPDATE ' TSF_PREFIX . ('' 'forums SET lastpost  = ' $dateline ', lastposter = ' $username ', lastposteruid = ' .  $uid ', lastposttid = ' $tid ', lastpostsubject = ' $subject '  WHERE fid = ' $realforumid)) OR sqlerr (__FILE__147));
      } 
by
PHP Code:
if ($useparent)
      {
        (@
sql_query ('UPDATE ' TSF_PREFIX . ('' 'forums SET lastpost  = ' $dateline ', lastposter = ' $username ', lastposteruid = ' .  $uid ', lastposttid = ' $tid ', lastpostsubject = ' $subject '  WHERE fid = ' $realforumid)) OR sqlerr (__FILE__147));
      }
      
///
        
$seolink = ('' ''.$BASEURL.'//tsf_forums/showthread.php?tid=' sqlesc ($tid) . '');
        
$shoutbOT sprintf ('' $username ' vient de creer un  nouveau sujet sur le forum : [url='.$seolink.']' sqlesc ($subject) .  '[/url] .');
        
$shout_sql 'INSERT INTO shoutbox (userid, date, content)  VALUES (\'999999999\', \'' TIMENOW '\', ' sqlesc ('{systemnotice}'  $shoutbOT) . ')';
        
$shout_result sql_query ($shout_sql); 
in version beta this french version...
Reply With Quote
The Following 9 Users Say Thank You to lafouine022 For This Useful Post:
Botanicar (8th August 2013), DARCK (27th June 2011), eckeO5 (14th January 2012), FENIX (26th January 2013), gabkoko (8th March 2011), gogo999 (11th November 2012), Marco (10th March 2011), PAX (15th January 2012), smoky28 (19th March 2011)
  #2  
Old 8th March 2011, 21:54
gabkoko's Avatar
gabkoko gabkoko is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 33
Default
perfectly work thank you
Reply With Quote
  #3  
Old 15th March 2011, 22:49
fireman fireman is offline
IonCube-R
 
Join Date: Oct 2008
Posts: 99
Smile
does this work on the nulled 5.6 danix version?
Reply With Quote
  #4  
Old 20th March 2011, 09:46
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default thanks
Thanks man!
Reply With Quote
  #5  
Old 15th January 2012, 01:14
PAX's Avatar
PAX PAX is offline
Senior Member
 
Join Date: Nov 2010
P2P
Posts: 41
Default thanks
thanks, mod works very well
Reply With Quote
  #6  
Old 29th July 2013, 21:31
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Thumbs up Forum replys tsse
Forum reply tsse

not my work i see it as been removed from the forum so here it is again
in /ts_ajax.php
for Quik reply

line 439
PHP Code:

Code:
mysql_query ('REPLACE INTO ' . TSF_PREFIX . ('' . 'threadsread SET  tid=\'' . $tid . '\', uid=\'') . $CURUSER['id'] . '\', dateline=\'' .  TIMENOW . '\'');
remplace by
PHP Code:

Code:
mysql_query ('REPLACE INTO ' . TSF_PREFIX . ('' . 'threadsread SET  tid=\'' . $tid . '\', uid=\'') . $CURUSER['id'] . '\', dateline=\'' .  TIMENOW . '\'');
        ////
         $seolink = ('' . ''.$BASEURL.'//tsf_forums/showthread.php?tid=' . sqlesc ($tid) . '');
         $shoutbOT = sprintf ('' . $username . ' just posted a message in the forum : ' . sqlesc ($subject) .  ' .');
         $shout_sql = 'INSERT INTO shoutbox (userid, date, content)  VALUES (\'999999999\', \'' . TIMENOW . '\', ' . sqlesc ('{systemnotice}'  . $shoutbOT) . ')';
         $shout_result = sql_query ($shout_sql);
in tsf_forums/newreply.php
for advensive reply
remplace line 215
PHP Code:

Code:
(sql_query ('UPDATE ' . TSF_PREFIX . ('' . 'forums SET posts =  posts + 1, lastpost = ' . $dateline . ', lastposter = ' . $username . ',  lastposteruid = ' . $uid . ', lastposttid = ' . $tid . ',  lastpostsubject = ' . $subject . ' WHERE fid = ' . $fid)) OR sqlerr  (__FILE__, 213));
for

PHP Code:

Code:
        (sql_query ('UPDATE ' . TSF_PREFIX . ('' . 'forums SET  posts = posts + 1, lastpost = ' . $dateline . ', lastposter = ' .  $username . ', lastposteruid = ' . $uid . ', lastposttid = ' . $tid . ',  lastpostsubject = ' . $subject . ' WHERE fid = ' . $fid)) OR sqlerr  (__FILE__, 213));
        ////
         $seolink = ('' . ''.$BASEURL.'//tsf_forums/showthread.php?tid=' . sqlesc ($tid) . '');
         $shoutbOT = sprintf ('' . $username . ' just posted a message in the forum : ' . sqlesc ($subject) .  ' .');
         $shout_sql = 'INSERT INTO shoutbox (userid, date, content)  VALUES (\'999999999\', \'' . TIMENOW . '\', ' . sqlesc ('{systemnotice}'  . $shoutbOT) . ')';
         $shout_result = sql_query ($shout_sql);
in tsf_forums/newthread.php
for newthread ^^

line 132

remplace
PHP Code:

Code:
 if ($useparent)
      {
        (@sql_query ('UPDATE ' . TSF_PREFIX . ('' . 'forums SET lastpost  = ' . $dateline . ', lastposter = ' . $username . ', lastposteruid = ' .  $uid . ', lastposttid = ' . $tid . ', lastpostsubject = ' . $subject . '  WHERE fid = ' . $realforumid)) OR sqlerr (__FILE__, 147));
      }
by
PHP Code:

Code:
if ($useparent)
      {
        (@sql_query ('UPDATE ' . TSF_PREFIX . ('' . 'forums SET lastpost  = ' . $dateline . ', lastposter = ' . $username . ', lastposteruid = ' .  $uid . ', lastposttid = ' . $tid . ', lastpostsubject = ' . $subject . '  WHERE fid = ' . $realforumid)) OR sqlerr (__FILE__, 147));
      }
      ///
        $seolink = ('' . ''.$BASEURL.'//tsf_forums/showthread.php?tid=' . sqlesc ($tid) . '');
        $shoutbOT = sprintf ('' . $username . ' just create a new forum topic : ' . sqlesc ($subject) .  ' .');
        $shout_sql = 'INSERT INTO shoutbox (userid, date, content)  VALUES (\'999999999\', \'' . TIMENOW . '\', ' . sqlesc ('{systemnotice}'  . $shoutbOT) . ')';
        $shout_result = sql_query ($shout_sql);
And set to eng
Reply With Quote
  #7  
Old 2nd August 2013, 10:25
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
is it possible for posting in social groups?
Reply With Quote
  #8  
Old 2nd August 2013, 10:30
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
You mean facebook? and twitter.
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #9  
Old 5th August 2013, 11:44
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
nope i mean socialgroups inside of tracker
hxxp://xxxx/ts_social_groups.php
Reply With Quote
  #10  
Old 5th August 2013, 18:43
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default erorrs here
erorrs here from your mod im using 5.6
Attached Thumbnails
test.png  
Reply With Quote
Reply

Tags
forum , notice , reply , replys , system , tsse

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 15:08. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.