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

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
  #22  
Old 05-16-2002, 05:55 PM
cessna140 cessna140 is offline
 
Join Date: Feb 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks interesting. Could this be used as a Forum Introduction?

If I understand correctly, this could be used as a "Welcome to xxx forum" that would be displayed at the top of any particular forum?

This would be better(?) than posting a "Welcome..." thread or Announcement:, where visitors might or might not view it. This would be automaticallly displayed & viewed by all that visited the forum where it was posted. Correct?

I assume the admin has the option to post it in any forum?

Thanks...
Reply With Quote
  #23  
Old 05-16-2002, 11:07 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, these introductions are in THREADS...see the screenshot.
Reply With Quote
  #24  
Old 05-16-2002, 11:10 PM
cessna140 cessna140 is offline
 
Join Date: Feb 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nicksaunders
No, these introductions are in THREADS...see the screenshot.
Oh well, I was hoping this could have been used for Forum intro's. Thanks anyway.
Reply With Quote
  #25  
Old 05-17-2002, 12:17 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i might get to that sometime
Reply With Quote
  #26  
Old 05-17-2002, 03:24 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this the same thing that Firefly is using here in the big letters? And how do you get it to automatically do it in the big letters whenever a new thread is started? I tried to run the install php but got errors from the global.php on all 4 line twice. Did I miss something?
Reply With Quote
  #27  
Old 05-17-2002, 04:07 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great hack, Nick! Is there a way that we can have it automatically add the threadintro to the db whenever a new thread is started so we don't have to do it manually for each thread? The editor is a great idea, but can it be made to edit the threadintro in the navbar too? It's best to have them match, if possible.
Reply With Quote
  #28  
Old 05-17-2002, 01:03 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, one COULD, but it would take extensive modifications to the showthread_adminoptions template. I'll take a look and post the new contents of that template here if I get it working.
Reply With Quote
  #29  
Old 05-17-2002, 01:04 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And BTW, the automatic thread intro thing can be done, but would use lots of space...
Reply With Quote
  #30  
Old 05-17-2002, 02:03 PM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, to link to the thread introduction changer actually IN the admin options menu, first back up your showthread_adminoptions template in case this doesn't work, then replace it with the following:

Code:
<table cellpadding="0" cellspacing="0" border="0">
<form action="postings.php" method="get"><tr><td>
	<smallfont>
	<input type="hidden" name="s" value="$session[dbsessionhash]">
	<input type="hidden" name="threadid" value="$threadid">
	<b>Admin Options:</b><br>
	<select name="action"
	onchange="window.location=('this.options[this.selectedIndex].value+'&s=$session[dbsessionhash]&threadid=$threadid')">
		<option value="postings.php?action=editthread" selected>-- Thread Options --</option>
		<option value="postings.php?action=openclosethread">Open / Close Thread</option>
		<option value="postings.php?action=movecopythread">Move / Copy Thread</option>
		<option value="postings.php?action=editthread">Edit Thread</option>
		<option value="postings.php?action=deletethread">Delete Thread / Posts</option>
		<option value="postings.php?action=merge">Merge Threads</option>
		<option value="postings.php?action=split">Split Thread</option>
		<option value="postings.php?action=stick">Stick / Unstick Thread</option>
		<option value="threadintro.php?">Thread Introduction</option>
	</select>$gobutton
	</smallfont>
</td></tr></form>
</table>
Reply With Quote
  #31  
Old 05-18-2002, 01:38 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you get that, boofo?
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:55 PM.


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.06623 seconds
  • Memory Usage 2,298KB
  • 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
  • (1)bbcode_code
  • (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
  • (4)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