vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Description of thread hack (https://vborg.vbsupport.ru/showthread.php?t=38916)

LOD-squa 01-27-2003 08:18 PM

It doesn't work for me >.< and I would like to see an addon like the one above.

LOD-squa 01-27-2003 08:39 PM

I get this error:

Database error in vBulletin 2.2.9:

Invalid SQL:
INSERT INTO thread
(threadid,title,lastpost,forumid,open,replycount,p ostusername,postuserid,lastposter,dateline,iconid, visible,attach,helpoption,sticky,description)
VALUES
(NULL,'s','1043706789','95','1','0','LOD-squa','1','LOD-squa','1043706789','0','1','0','','0,'s')
mysql error: You have an error in your SQL syntax near 's')' at line 5

mysql error number: 1064

Date: Monday 27th of January 2003 05:33:09 PM
Script: http://forum.lod-squared.com/newthread.php
Referer: http://forum.lod-squared.com/newthre...ead&forumid=95

ULTIMATESSJ 02-01-2003 02:45 PM

is there anyway i can get descriptions to be available only in certain forums

Xyphen 03-08-2003 07:59 PM

nice, i am going to install it!!

Xyphen 03-08-2003 09:35 PM

Works perfectly fine on vB2.3.0, thanks for such a great hack!!!

PurpleCow 03-27-2003 01:46 AM

can somegive me a screen shot of forum display for this hack ??

Thanks

PurpleCow 03-27-2003 01:21 PM

hello, i did this althogh the hack is working fine...when applied to the edit post template and .php file,

I am still not able to edit the sub title ?? the changes doesn't reflect at all.

Kindly help me here with the edit post thingy ??
I am running on ver 2.3.0 !
Thanks much

Quote:

06-13-02 at 06:00 AM Slynderdale said this in Post #40
add after that
PHP Code:

if ($isfirst and $postinfo[dateline]+$editthreadtitlelimit*60>time()) {
    
$DB_site->query("UPDATE thread SET description='".addslashes(htmlspecialchars($description))."' WHERE threadid=$threadinfo[threadid]");
  } 



Austin Dea 05-24-2003 08:25 PM

Uninstall and do it over, it's worked perfect for me since the hack came out. I'm running vB2.3.0 also.

Add-on - This'll add thread descriptions to your search results like for 'Get new posts' etc.

PurpleCow 08-02-2003 07:08 AM

Hello,

I just mixed up the suggestions by 3 hackers here ( Scott MacVicar, Austin Dea, Slynderdale ) and installed it on my forums. Its working very fine without any problems on stable release of vB 2.3.0 .

Thank you very much for the hack to all 3 of you.

I just have a small question, rather a minor change, which i am not sure, how to do it. I hope to get some help on this issue :

When a Thread description ( i call it sub title ) is given for a particular thread, the actual Height of the cell in the forumdisplaybit increases, which makes the threads with description look bigger. Isn't it possible to retain the same height as that of threads with No description for the threads with description also ??
Infact, I just tried to remove the <BR> in forumdisplaybit template, but then again, if the title is small, the description starts off from where the main thread title ends, which shouldn't be the case.
The description should always be below the main thread title and now, i want it to have the same height as that of threads with no description.

I have also attached an image along with post which clearly indicates the difference in height.
Referring to that image : What i am looking at is the Second Posting with description should have the same height as that of the Sample Posting, which has no description. How can i do that, if it is possible ??

Thank you for any help here.

Cheers

GXON.matt 08-12-2003 08:32 PM

Is this the hack that when you mouseover it shows teh person's last update?


All times are GMT. The time now is 01:44 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.01079 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)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