vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   A radio-button selector to denote the type of that thread? (https://vborg.vbsupport.ru/showthread.php?t=28873)

Admin 09-26-2001 08:09 AM

Can you see a ":" before the post title?

KuraFire 09-26-2001 08:13 AM

Nope. Me thinks I need to add something in the forumdisplay template?

btw, can the selection method be through Radio buttons instead of a pull-down selection menu? So that users can also choose NOT to use a prefix?

Admin 09-26-2001 08:31 AM

You don't need to add anything to the forumdisplay template.

Again, I ask.
Does it add the prefix to the POST title. NOT the thread title. The POST title. Right above the post, in bold.

KuraFire 09-26-2001 08:35 AM

nope. The Prefix doesn't appear -anywhere- :(

And I'd like it to appear on the forum index in front of the thread just like Poll: etc...

Admin 09-26-2001 08:46 AM

If you added it to newthread.php, I have no idea why it won't work.

KuraFire 09-26-2001 08:53 AM

[QUOTE]Originally posted by FireFly
Oops you're right.

Use this:
PHP Code:

if ($threadtype) {
  
$title $threadtype.": ".$title;



Admin 09-26-2001 09:02 AM

Yes.
Where did you add it?

KuraFire 09-26-2001 09:12 AM

PHP Code:

      $title $threadtype.": ".$title

right BEFORE this:
PHP Code:

      $DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."','".time()."','$forumid','1','0','".addslashes($postusername)."','$bbuserinfo[userid]','".addslashes($postusername)."','".time()."','$iconid','$visible','$attachcount')"); 


Right before -that- part.

Admin 09-26-2001 09:20 AM

Don't know what could be wrong.

Try
PHP Code:

$title "$threadtype : $title"

:confused:

KuraFire 09-26-2001 10:04 AM

doesn't work either :(


All times are GMT. The time now is 04:41 PM.

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.01290 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
  • (4)bbcode_php_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