Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Description of thread hack Details »»
Description of thread hack
Version: 1.00, by Scott MacVicar Scott MacVicar is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-21-2002 Last Update: Never Installs: 43
 
No support by the author.

This was requested today and I already had something like this implemented so i done a quick vbhacker file, it was done on 2.2.6 but you don't need to worry about that

It works with 2.2.0 and above.

Scott

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 01-27-2003, 08:18 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't work for me >.< and I would like to see an addon like the one above.
Reply With Quote
  #73  
Old 01-27-2003, 08:39 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #74  
Old 02-01-2003, 02:45 PM
ULTIMATESSJ's Avatar
ULTIMATESSJ ULTIMATESSJ is offline
 
Join Date: Nov 2001
Location: Bristol, England
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway i can get descriptions to be available only in certain forums
Reply With Quote
  #75  
Old 03-08-2003, 07:59 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, i am going to install it!!
Reply With Quote
  #76  
Old 03-08-2003, 09:35 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly fine on vB2.3.0, thanks for such a great hack!!!
Reply With Quote
  #77  
Old 03-27-2003, 01:46 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks
Reply With Quote
  #78  
Old 03-27-2003, 01:21 PM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]");
  } 
Reply With Quote
  #79  
Old 05-24-2003, 08:25 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #80  
Old 08-02-2003, 07:08 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #81  
Old 08-12-2003, 08:32 PM
GXON.matt's Avatar
GXON.matt GXON.matt is offline
 
Join Date: Sep 2002
Location: In a house.
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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 09:21 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.23069 seconds
  • Memory Usage 2,309KB
  • 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_php
  • (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
  • (3)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