Welcome, Guest. Please Login or Register.
April 26, 2025, 01:59:47 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5] Show New Icon on Topic Edit « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Beta 1.5] Show New Icon on Topic Edit  (Read 1825 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
[Beta 1.5] Show New Icon on Topic Edit
« on: December 31, 2002, 06:43:56 AM »
Reply with quote

This mod is really simple.  With this mod, a previously viewed topic will appear as 'new' again when a message inside is edited.  However, it will not be moved to the top of the board - which I did on purpose, I like it that way.

Feel free to give me your comments, suggestions, hate mail, or problems... I would be more than happy to answer them.  (just don't spam me - I'll block you for good.)

Tested on a clean install with the latest bug fixes.

New Version: (off/on in modsettings, stickies only option)
Package Server: http://gbaetc.homeip.net/yypack
YaBBpak: http://gbaetc.homeip.net/yypack/topiceditnew2.mod.yp
Boardmod: (see zip, uses an sql file)
Zip File: http://gbaetc.homeip.net/yypack/topiceditnew2.zip

Older version:
As usual,
Package Server: http://gbaetc.homeip.net/yypack
YaBBpak: http://gbaetc.homeip.net/yypack/topiceditnew.mod.yp
Boardmod: http://gbaetc.homeip.net/yypack/topiceditnew.mod
Zip File: http://gbaetc.homeip.net/yypack/topiceditnew.zip
(zip contains both versions, as always.)

-[Unknown]
« Last Edit: December 31, 2002, 10:31:43 AM by [Unknown] » Logged
Rpg Cyco
Full Member
***
Posts: 197


bradgordon51@hotmail.com WWW
Re:[Beta 1.5] Add New Icon on Topic Edit
« Reply #1 on: December 31, 2002, 08:50:16 AM »
Reply with quote

Theres a error in the BoardMOD file...

This:
<edit file>
MessageIndex.php
</edit file>

Should be:
<edit file>
Sources/MessageIndex.php
</edit file>

:P

EDIT: Is it possible for it only to add a 'new' icon when 'Sticky' topics are edited?

l8ter

Rpg Cyco
« Last Edit: December 31, 2002, 09:00:41 AM by Rpg Cyco » Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5] Add New Icon on Topic Edit
« Reply #2 on: December 31, 2002, 09:11:46 AM »
Reply with quote

Yeah probably... sorry about the error.

Strange - I tested it and it worked.

[update: Fixed.]

-[Unknown]
« Last Edit: December 31, 2002, 09:13:29 AM by [Unknown] » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5] Add New Icon on Topic Edit
« Reply #3 on: December 31, 2002, 10:12:41 AM »
Reply with quote

Okay... update.  Exactly what you asked for Rpg Cyco.

-[Unknown]
Logged
Rpg Cyco
Full Member
***
Posts: 197


bradgordon51@hotmail.com WWW
Re:[Beta 1.5] Add New Icon on Topic Edit
« Reply #4 on: December 31, 2002, 10:20:52 AM »
Reply with quote

Thank you!

;D x 100

l8ter

Rpg Cyco
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5] Add New Icon on Topic Edit
« Reply #5 on: December 31, 2002, 10:27:05 AM »
Reply with quote

Well, it was quite a good idea - thank you!

-[Unknown]
Logged
BiErLeEuW
Full Member
***
Posts: 174


WWW
Re:[Beta 1.5] Show New Icon on Topic Edit
« Reply #6 on: December 31, 2002, 12:44:00 PM »
Reply with quote

what's this for?

INSERT INTO <TBLPREFIX>settings VALUES ('editNewShowNew', '1'), ('editNewStickies', '1')
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5] Show New Icon on Topic Edit
« Reply #7 on: December 31, 2002, 12:47:12 PM »
Reply with quote

You need to run that SQL query on the database.

The YaBBpak Center makes that easier.

-[Unknown]
« Last Edit: December 31, 2002, 12:47:27 PM by [Unknown] » Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Beta 1.5] Show New Icon on Topic Edit
« Reply #8 on: December 31, 2002, 11:28:13 PM »
Reply with quote

Any chance that you could put that MySQL query into a dbmod.php-type of file? :P I personally don't have access to my MySQL database, and it would take too much of an effort to get in touch with the person who does have access.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5] Show New Icon on Topic Edit
« Reply #9 on: January 01, 2003, 12:12:27 AM »
Reply with quote

Alright:

(dbmod.php) <?php
include('settings.php');

$dbcon mysql_connect($db_server$db_user$db_passwd);
mysql_select_db($db_name);

mysql_query("INSERT INTO {$db_prefix}settings VALUES ('editNewShowNew', '1'), ('editNewStickies', '1')") or die(mysql_error());

print 
"Success!";
?>

Done.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5] Show New Icon on Topic Edit
« Reply #10 on: January 01, 2003, 02:14:24 AM »
Reply with quote

Oops, forgot to upload the newest version.  If you get an error in the boardindex, redownload it.

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5] Show New Icon on Topic Edit « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.067 seconds with 19 queries.