vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Thread Description (https://vborg.vbsupport.ru/showthread.php?t=69905)

streamzone 09-27-2004 10:37 AM

Code:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO phrase (languageid, varname, text, phrasetypeid) VA

great work but on execute its gives error :S

MrNase 09-27-2004 11:47 AM

Hey, that hack looks nice. I think Iam going to install it :)

AnhTuanCool 09-27-2004 08:17 PM

To tomshawk - add a phrase type GLOBAL var description text Description, and the description row in showthread isn't my idea but I made it and it came as an Update, check the new Instruction. Thanks ;)

To streamzone - which one you did is that, try to execute one by one. Thanks

Polo 09-27-2004 10:03 PM

Thanks, I may find this useful...

Erwin 09-27-2004 11:24 PM

Out of curiousity how is this different to the previously released version? :)

tomshawk 09-27-2004 11:38 PM

The good news is I got it working, Yeah!! Thank you AnhTuanCOol

Question though, Is there a way to have it show up in the forumdisplay

Like here for example
http://www.tech-unity.com/forums/forumdisplay.php?f=38

The first post there is a test of this, but instead of the name of the thread starter, i'd like to see the description line

Ideas ;)

AnhTuanCool 09-27-2004 11:38 PM

I've just looked through those previous released and I can tell lots different. Mine has edit thread's description as well as threadtitle, less files to be edited, can be turned on/off, Erwin. :)

AnhTuanCool 09-27-2004 11:45 PM

Quote:

Originally Posted by tomshawk
The good news is I got it working, Yeah!! Thank you AnhTuanCOol

Question though, Is there a way to have it show up in the forumdisplay

Like here for example
http://www.tech-unity.com/forums/forumdisplay.php?f=38

The first post there is a test of this, but instead of the name of the thread starter, i'd like to see the description line

Ideas ;)

Yeah, I forgot to put in the instruction so ... sorry bro :speechless:

Open forumdisplay.php

Find
PHP Code:

thread.threadidthread.title AS threadtitlelastpostthread.forumid 

Replace with
PHP Code:

thread.threadidthread.title AS threadtitlethread.description AS threaddescriptionlastpostthread.forumid 

Enjoy :)

tomshawk 09-27-2004 11:58 PM

Quote:

Originally Posted by AnhTuanCOol
Yeah, I forgot to put in the instruction so ... sorry bro :speechless:

Open forumdisplay.php

Find
PHP Code:

thread.threadidthread.title AS threadtitlelastpostthread.forumid 

Replace with
PHP Code:

thread.threadidthread.title AS threadtitlethread.description AS threaddescriptionlastpostthread.forumid 

Enjoy :)

Bingo

Thank you very much, sorry to be such a pain, but she works now ;)

AnhTuanCool 09-28-2004 12:09 AM

No problem tomshawk, I'm glad to hear that, thank you and have fun ;)


All times are GMT. The time now is 01:46 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.01028 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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