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
Thread Introductions Details »»
Thread Introductions
Version: 1.00, by N!ck N!ck is offline
Developer Last Online: Oct 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-05-2002 Last Update: Never Installs: 8
 
No support by the author.

About
This little hack will allow you to have introductions at the top of your threads that only admins can edit. Screenshots follow in the next posts.

I was inspired by my ignorance, really. I was over at http://www.bikeforums.net/ to gawk at his contest thing at the top of each thread, and I didn't realize it was on EVERY thread - I thought he had created some kind of hack! scsa20 pointed out that it was merely a template edit.

I had already fallen in love with this idea, though. So here it is.

Notes:
1. If you install this, please click the "install" button or post the URL of a thread with an introduction in your forums in this thread so I can see this in action. I'd consider it a personal favor.
2. I was unable to get one screenshot working, but I can just tell you that the thread introduction editing page looks like the post editing page. If someone could post this screenshot, I'd appreciate it.

Latest Version: 1.1.5
The latest version integrates the "Thread Introduction" link INTO the admin options menu, adds an option to show the thread title when no intro is present, and allows you to update the introductions of ALL threads in EVERY forum at once (Thanks Boofo for the idea). If you are upgrading, read through install.txt, but the only necessary things to do are to change the "threadintro" template and to overwrite the old threadintro.php file with the new one!
Download: here

Old Versions / Change Log
v1.1.0 - added formatting & introduction box
v1.0.0 - first release

Show Your Support

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

Comments
  #2  
Old 05-06-2002, 02:46 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot #1 - thread introduction
Reply With Quote
  #3  
Old 05-06-2002, 02:47 AM
AnkisethGallant's Avatar
AnkisethGallant AnkisethGallant is offline
 
Join Date: Oct 2001
Location: Las Vegas
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just getting black pictures.
Reply With Quote
  #4  
Old 05-06-2002, 02:53 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fixed - at least one
Reply With Quote
  #5  
Old 05-06-2002, 03:57 AM
AnkisethGallant's Avatar
AnkisethGallant AnkisethGallant is offline
 
Join Date: Oct 2001
Location: Las Vegas
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works now. The only thing is, what's the main point of this? If you have a message, it goes on the thread. If a moderator has an annoucnment, it has it's own thread.
Reply With Quote
  #6  
Old 05-06-2002, 04:02 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*shrug* I don't know. If you can't think of a use, don't install it. It's a lot of fun though.

for starters, i used it once to tell people not to SPAM for the sake of post counts on a thread where people were guessing who would get the most posts

in general, it would be good to, as the name implies, introduce the thread or to make a clarification, etc.
Reply With Quote
  #7  
Old 05-06-2002, 04:29 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*shrugs*
Reply With Quote
  #8  
Old 05-06-2002, 11:34 AM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nicksaunders
*shrug* I don't know. If you can't think of a use, don't install it. It's a lot of fun though.
Don't sweat it. There's countless hacks here that I haven't installed because I personally don't see a use for them but each adds overall value to VBulletin and the VBulletin community. I'd hate to think what it would be like if the various hackers here were deterred from writing or releasing their addons because they thought no one else would benefit.

The more the merrier!
Reply With Quote
  #9  
Old 05-06-2002, 01:36 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get two instances of
PHP Code:
if (!$thread['visible']) {
  
$idname="thread";
  eval(
"standarderror(\"".gettemplate("error_invalidid")."\");");
  exit;

Reply With Quote
  #10  
Old 05-06-2002, 01:50 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A few things - I found that the first bit of code (as mentioned above) has to be put under the second instance.

Secondly, I think you should point out that the "Thread Intro" thing is a link, literally underneath the admin menu - I thought by "under the menu" you meant it was an option in the menu.

Thirdly, does this require that the user does his/her own formatting? This is what I get (see attachment):
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 04:54 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.04408 seconds
  • Memory Usage 2,299KB
  • 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
  • (1)bbcode_php
  • (1)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