Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
New button when new thread/post is made Details »
New button when new thread/post is made
Mod Version: 1.00, by pein87 (Member) pein87 is offline
Developer Last Online: Dec 2013 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 4.60 average) Installs: 31
Released: 20 Feb 2009 Last Update: 26 Feb 2009 Downloads: 283
Not Supported Template Edits Re-usable Code  

My partner had a request for this mod on another site and I finally got around to doing it.

This is a simple edit that adds an icon to the end of each thread if theres a new post. I have added all possible options in which someone would use this edit for. Included is adding the new icon to the end of your threads title, replacing the lastposted by icon in the forumdisplay.php page, changing the icon of last posted in the index.php page, and switching out the small square with and arrow icon for a new one. I inluced the icon I used in the examples. I`ll post it here for those who wont to try it now and add a zip for those who will try it later on. Remember if you install show your support and click installed.

Adding a new thread icon on only the the post would add add
some sparkel to a dull forum. I have found the way thanks to
a fellow coder and a bit of searching in templates.This makes the new image a link to the new post for that thread. By default every newly created thread has a new post as well so this will show on new threads and posts.Make sure if you use this mod exactly as shown here to add the icon to the images/button dirctory or the button directory of the skin your doing this template mod for. If not make sure to add it to the images/misc or that styles misc directory and change the $stylevar[imgdir_misc]

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Open the template named: threadbit

find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Theres more then one way to skin this cat and it really depends on your personal taste. You can always add this to the beginning to replace the icon that shows when theres a new post.

Open the template named: threadbit

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In there find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To:

what ever image you wont to show instead of the default image.


If you dont wont a link simply delete this from the above code.

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Delete this

Find:

</if>

Delete the </a> before this tag.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If you like this idea and wont to change the image for the last posted as well if you havent saved the template add this else open the template named: threadbit

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find in:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the lastpost.gif to your desired image and save the template.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If your really feeling this idea or just wont to change the icon for last posted on the index.php page this is how you would do that.

Open the template named: forumhome_lastpostedby

Find:(should be near the end)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

If its easier search for two instances of this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find all the instances(all the times you see) lastpost.gif and change this to the image you would like to be shown there instead. Remember to check the directory this follows the same rules as I stated at the top of the doc.

UPDATE:::::::revision by alexD)

inorder to get the image to appear infront of the extra info from a thread you must follow this program it shows you how to get the results of the image: new_thing

open your threadbit template and delete the info you added to which ever add on you did or leve it if you wont two images showing.

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add before the last </div> (at the end of the code to add)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

there you go that fixes the issue of it showing up before the extra thread info and not after.

Left this out but you can incase the above img src in <a> tags to make it a link to the new post.

find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add before:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add after the above find:

</a>

UPDATED:02-27-09 Icons to inlude german version.
Please note that i did not do the original icon.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	new-thread-icon.jpg
Views:	1154
Size:	60.9 KB
ID:	95241   Click image for larger version

Name:	new-thread-icon2.jpg
Views:	727
Size:	54.1 KB
ID:	95242   Click image for larger version

Name:	new-thread-icon3.jpg
Views:	577
Size:	56.1 KB
ID:	95243   Click image for larger version

Name:	new-thread-icon4.jpg
Views:	572
Size:	54.3 KB
ID:	95244  

Click image for larger version

Name:	new-thread-icon5.jpg
Views:	604
Size:	33.1 KB
ID:	95245   Click image for larger version

Name:	new_thing.JPG
Views:	1332
Size:	85.4 KB
ID:	95251  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 24 Apr 2009, 22:36
Bowromir Bowromir is offline
 
Join Date: Dec 2005
If you install this then you can remove the new post icons from the forumlist template! Which gives it a cleaner look.. So instead of an extra table which shows the newpost icon you can just use this image
Reply With Quote
  #17  
Old 25 Apr 2009, 14:23
Markos Markos is offline
 
Join Date: Aug 2006
any one got a icon for a dark style ??
Reply With Quote
  #18  
Old 25 Apr 2010, 04:24
Naan-Kadavul's Avatar
Naan-Kadavul Naan-Kadavul is offline
 
Join Date: Sep 2009
Location: Singpore
Real name: Bharath
thx mate..
__________________
Team MJY - MovieJockey Entertainment Network (Click Here)
Site Founded : 11 September 2009 / Re-Launched : 01 January 2010
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Reply With Quote
  #19  
Old 06 May 2010, 09:32
xsamet xsamet is offline
 
Join Date: Oct 2006
Originally Posted by OllieT View Post
Sorry, excuse ones stupidity..
How can I do it so that it just shows for new thread, and NOT all the new posts?
This is more beautiful ...
Reply With Quote
  #20  
Old 10 Jan 2011, 14:09
Ivelios Ivelios is offline
 
Join Date: Jul 2009
Real name: Przemysław
A little work with it, but cool. Install.
Reply With Quote
  #21  
Old 15 Jan 2011, 02:22
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Originally Posted by Infopro View Post
Why not just upload your image newthread.gif to replace firstnew.gif and call it a day?
Infopro, I took your suggestion and did just that! S-W-E-E-T, Thanxx for the idea.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:06.

Layout Options | Width: Wide Color: