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.
Comments
  #2  
Old 20 Feb 2009, 18:12
firstpimp firstpimp is offline
 
Join Date: Feb 2009
First reply,
This is awesome!
I seen this before ona forum.
Thanks a lot! *Marked as Installed*
Reply With Quote
  #3  
Old 20 Feb 2009, 19:59
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Thanks its been UPDATED to fix issues with it appearing before the [new_thread.gif]([paper icon]1,2,3,4..) so the new part thats added to the bottom adds it after that so it looks like this (NOTE [] ar images)

[lastpost] thread title (1,2,3...)[new_thread.gif] and not like this

[lastpost] thread title [new_thread.gif] (1,2,3...)

See new_thing.jpg to view it my partner found and fixed the issue. also updated zip file with edit and new screenie.

Crap sorry here it is posted here in this post.
Attached Images
File Type: gif new_thread.gif (1.0 KB, 2316 views)

Last edited by pein87; 20 Feb 2009 at 21:01.
Reply With Quote
  #4  
Old 20 Feb 2009, 20:30
firstpimp firstpimp is offline
 
Join Date: Feb 2009
Theres nothing in the images/button but ok
Reply With Quote
  #5  
Old 21 Feb 2009, 00:59
Infopro Infopro is offline
 
Join Date: May 2003
I'm not sure I understand the use for this one. VBulletin does this already doesn't it?

If I visit a forum and there are new posts, an image appears to the left of the title with this link:
yourdomain.com/showthread.php?goto=newpost&t=9139

And if I want to go to the last post, I'd click the image just to the right of the users name which is this link:
yourdomain.com/showthread.php?p=147628#post147628

If I understand your screenshot posted,
http://www.vbulletin.org/forum/attac...1&d=1235148091

Now we'd have this link on BOTH sides of the title of the thread showing NEW post.

Why not just upload your image newthread.gif to replace firstnew.gif and call it a day?
Reply With Quote
  #6  
Old 21 Feb 2009, 18:48
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
I have that option available but most members dont understand what that little icon is for and its a lot easier for them to see a new icon instead. I have added more then one way to use this edit from showing a new post in a thread and on the main page for showing a new thread/post.
Reply With Quote
  #7  
Old 22 Feb 2009, 14:02
FiMeTi FiMeTi is offline
 
Join Date: May 2008
Thx mate. Installed it.
Can you please create also a button for German users?
From new to neu.

Best regards
Basti
Reply With Quote
  #8  
Old 23 Feb 2009, 16:44
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
@FiMeti can you write how to spell new in german and I`ll do one for you.
Reply With Quote
  #9  
Old 24 Feb 2009, 15:52
FiMeTi FiMeTi is offline
 
Join Date: May 2008
Hi pein87. Thanks for the support dude!

"new" is in German "neu"
Reply With Quote
  #10  
Old 25 Feb 2009, 16:51
Deviant K1 Deviant K1 is offline
 
Join Date: Aug 2008
Hi Pein87,

I would love to use this mod on my site but the problem is I use a dark background. Anyway to get a gif image for dark forum board backgrounds?

Thanks!
Reply With Quote
  #11  
Old 25 Feb 2009, 22:51
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Sorry for the delay in tonight I`ll work on one for dark forums and for German.
Reply With Quote
  #12  
Old 26 Feb 2009, 23:11
Powlo Powlo is offline
 
Join Date: Feb 2008
Real name: Paul
This looks to be almost exactly what im looking for but would it be possible to have it so that the 'NEW' image would appear ONLY for new threads and not for new posts??
Reply With Quote
  #13  
Old 27 Feb 2009, 16:20
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Thats a good question let me work on it and I`ll see what I can do
Reply With Quote
  #14  
Old 22 Apr 2009, 00:03
OllieT OllieT is offline
 
Join Date: Nov 2008
Sorry, excuse ones stupidity..
How can I do it so that it just shows for new thread, and NOT all the new posts?
Reply With Quote
  #15  
Old 22 Apr 2009, 03:53
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
I havent found that out yet lol still searching for the code I'm sure theres away but it might involve some code.
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 21:26.

Layout Options | Width: Wide Color: