Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by fastforward fastforward is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-24-2001 Last Update: Never Installs: 0
 
No support by the author.

This is for vB 2.01

This little hack allows the display of the last active thread on the forums pages. This is the 'UBB like' feature. You can see an example at http://dbforums.com.

NOTES
It requires two extra column to be added in the forum table a few code additions and then the thread title and iconid can be referenced using the variables $forum[lastactivethread] and icon$forum[lastactiveiconid].gif. Instructions are in the attachment.

This was originally part of my usenet hack and due to popular request ( all two of them ) I'm releasing it seperately.

Show Your Support

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

Comments
  #12  
Old 05-25-2001, 12:46 PM
h4p3 h4p3 is offline
 
Join Date: Oct 2001
Location: Vienna
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by fastforward

That's a template issue. It has nothing to do with the hack. All the hack does is create a new variable that can be accesed via the forum home pages.
Ok, i just wanted to mention it
Reply With Quote
  #13  
Old 05-25-2001, 03:47 PM
h4p3 h4p3 is offline
 
Join Date: Oct 2001
Location: Vienna
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested it on my local server and it works fine.

Thx fastforward!

Hm, one suggestion: if you move/delete a Topic, then you will see still the Title on the main site, or the wrong one if you have moved it.

Perhaps you can improve it a little
Reply With Quote
  #14  
Old 05-25-2001, 04:48 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by h4p3
Tested it on my local server and it works fine.

Thx fastforward!

Hm, one suggestion: if you move/delete a Topic, then you will see still the Title on the main site, or the wrong one if you have moved it.

Perhaps you can improve it a little
Yeah... this is a problem with the location of the call to the indexpost() function from the move thread vB functions. I actually moved the call on my setup but that was with RC3 I was hoping it may not be an issue with the release version. I didn't move it on the hack release because I'm not sure what other implications it may have. I'll do some more testing and see if it's safe to move the function call.
Reply With Quote
  #15  
Old 05-25-2001, 04:51 PM
h4p3 h4p3 is offline
 
Join Date: Oct 2001
Location: Vienna
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!

*waiting*
Reply With Quote
  #16  
Old 05-25-2001, 04:53 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nuno
great hack fastforward
any chance to show last post icon also?
tx
I knew someone was going to ask for that

The reason it's not there already is because I wanted to keep this as simple as possible, but mainly because I didn't want to cause the thread listings to generate any more queries than other than the standard vB ones.

Having said that, it wouldn't be too difficult to add an additional column containing the icon reference that could be called from the template in the same way as the title. The trouble is, with every column added and every extra line of code there's more to go wrong

I'll provide optional additions to the existing hack that will allow the title icon this weekend. That way people will have a choice of whether to implement it.
Reply With Quote
  #17  
Old 05-25-2001, 06:13 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am seeing a bug. It is consistantly displaying the title of the post one post BEFORE the last post. It worked the first time through, meaning that the first post that was made after the hack was installed registered correctly. Now, it is consistantly one behind.

Amy
Reply With Quote
  #18  
Old 05-25-2001, 08:27 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by amykhar
I am seeing a bug. It is consistantly displaying the title of the post one post BEFORE the last post. It worked the first time through, meaning that the first post that was made after the hack was installed registered correctly. Now, it is consistantly one behind.

Amy


Anybody else seeing this? I can't seem to reproduce it.
Reply With Quote
  #19  
Old 05-26-2001, 06:21 AM
h4p3 h4p3 is offline
 
Join Date: Oct 2001
Location: Vienna
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, don't noticed such a problem.
Reply With Quote
  #20  
Old 05-26-2001, 12:06 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fastforward
this shouldnt show private forums threadtitles
Reply With Quote
  #21  
Old 05-26-2001, 01:18 PM
h4p3 h4p3 is offline
 
Join Date: Oct 2001
Location: Vienna
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nuno
fastforward
this shouldnt show private forums threadtitles
If you enable "Private forum (Invisible to all except moderators and admins; user access masks must be on!) - YES", then only Mods, Admins and authorized Users can view the forum and so the thread titles.
Reply With Quote
Reply

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. The time now is 03:13 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.04596 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
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
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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