vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Introduction Threads (https://vborg.vbsupport.ru/showthread.php?t=37419)

Matt 04-14-2002 03:26 PM

Introduction Threads
 
YO! :D

I am just working on my forum now and I am sick of having people posting introductions that simply consist of "Hi!" and with varying and untidy thread titles, so....

I was wondering if someone could knock the following up for me. Basically what I would like to do is make it so that the intro's forum is different from the others. You would click on "New Thread" where you would be presented with a form. No subject box as that would be constant for all the intro's, something you could change in the CP maybe. Then they type in their personal hi message, and along with that details from their profile are pulled up and entered into the thread when they submit.

Anyone up for trying this?

Matt 04-14-2002 03:27 PM

Oh and I would really like the thread title to be something like :

$username's Introduction

Chris M 04-14-2002 05:26 PM

I am fairly new at php, but me and a friend shall try and have a go...

If we dont reply, its because weve either killed each other in fury, or because someone else does;)

Satan

Matt 04-14-2002 06:12 PM

lol - Thanks :)

Logician 04-15-2002 09:08 AM

not tested but should work:

1- Edit newthread.php, find
-- cut --
$subject=censortext($subject);
-- cut --

2- After that ADD:

-- cut --
if ($foruminfo[forumid]==X) {$subject="Introduction of ".$bbuserinfo['username'];}
-- cut --

Replace X with the forumid of your intro forum..

Enjoy! ;)

Logician

Crazy Mofo 04-16-2002 02:10 AM

can u have multiple forums ?

e.g

if ($foruminfo[forumid]==3,6,9) ?

Logician 04-16-2002 05:15 AM

Quote:

Originally posted by Crazy Mofo
can u have multiple forums ?

e.g

if ($foruminfo[forumid]==3,6,9) ?

yes you can:

if (($foruminfo[forumid]==X) OR ($foruminfo[forumid]==Y) OR ($foruminfo[forumid]==Z)) {$subject="Introduction of ".$bbuserinfo['username'];}

Enjoy..

Crazy Mofo 04-16-2002 01:02 PM

does any1 actully have a demo thread ov this seems a cool hack :D

Logician 04-16-2002 01:33 PM

Quote:

Originally posted by Crazy Mofo
does any1 actully have a demo thread ov this seems a cool hack :D
Do you really need a demo?

Dream a forum in which subjects of all threads are in this context:
"Introduction of Logician"
"Introduction of Crazy Mofo"
"Introduction of hellsatan"
"Introduction of Matt"
etc..

;)

Crazy Mofo 04-16-2002 04:17 PM

And what will actull post or does the user have too post?


All times are GMT. The time now is 02:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01100 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete