Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
On.gif = Link to latest threads in forum Details »»
On.gif = Link to latest threads in forum
Version: 1.00, by Austin Dea Austin Dea is offline
Developer Last Online: Oct 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-16-2002 Last Update: Never Installs: 17
 
No support by the author.

Requested by Boofo in this thread =P.


This will make the on.gif a link to get the latest threads in that forum. It will not affect the off.gif. It's just like the "Get New Posts" link, only forum specific .
  • File edits: 6 (2 in root/index.php, 2 in root/forumdisplay.php, 2 in root/usercp.php)
  • Template edits: 5 (forumhome_forumbit_level1_post, forumhome_forumbit_level2_post,forumdisplay_forumb it_level1_post, forumdisplay_forumbit_level2_post, usercp_forumbit)
  • New templates: 1 (forumhome_onlink)
  • Install time: 5 minutes


ADDED: On.gif = link to latest threads for subscribed forums in user cp. (Thanks Boofo) It's steps 10, 11, and 12 from version 1.3.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-17-2002, 06:57 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't you just do this in the template? I have had the buttons linking to 'make new post', but surely if you link it to: http://yourforum/showthread.php?s=&g...ost&forumid=xx

Just replacing the forum id with the forum id call $.

I'm also not sure why you need this when there's a link next to the name in the 'last post' column which does the same thing? Bit confused.
Reply With Quote
  #3  
Old 08-17-2002, 06:59 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not what this does . It's a link to search.php to show the latest threads post in that forum. Like the "Get New Posts" link, but specific to the forum you click. You could make it just a template edit, but that would make both on.gif AND off.gif a link and the off.gif would come up with a "No matches - try some other terms" error message.

If you wanna see, click the on.gif link here at vb.org on the forumhome.
Reply With Quote
  #4  
Old 08-17-2002, 07:08 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea
*clicks install*
Reply With Quote
  #5  
Old 08-17-2002, 07:19 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoops, forgot to add the code to forumdisplay.php. Just do the same edit as you did for index.php .

Quote:
Originally posted by Velocd
Good idea
*clicks install*
It was Boofo's idea .
Reply With Quote
  #6  
Old 08-17-2002, 08:04 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, will install later
Reply With Quote
  #7  
Old 08-17-2002, 11:04 PM
joeboo's Avatar
joeboo joeboo is offline
 
Join Date: Jun 2002
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty cool idea, i might just install this
Reply With Quote
  #8  
Old 08-17-2002, 11:26 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Austin Dea, there are 2 instances of the code to replace in "forumhome_forumbit_level1_post". Both should be replaced, right? And, aslo, I added the "forumhome_onlink" template the the templateused section of both the index.php and the fourmdisplay.php to cut the 2 queries for it.

BTW: Thank you very much for taking the time to do this. It is greatly appreciated.
Reply With Quote
  #9  
Old 08-18-2002, 02:05 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks a bunch. My second hack >_<. Instrucs are updated.
Reply With Quote
  #10  
Old 08-18-2002, 02:31 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. You did all the hard work.

Quote:
Originally posted by Austin Dea
Ok, thanks a bunch. My second hack >_<. Insturctions are updated in the first post.
Reply With Quote
Reply


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. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04580 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete