Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Description Details »»
Thread Description
Version: 1.0.0.d, by TrucLinh TrucLinh is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 11-10-2006 Last Update: 12-19-2006 Installs: 149
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

Release: for 3.5.x ~ 3.6.x to 3.7.x (*)

. This hack allows your users to add descriptions to their threads that show up on the threadlist.
. More info & option see (Screenshots)
  • Code Changed (*)
  • Add Field To Edit Post For First Post
  • Show Thread Description In Showthread
  • Show Thread Description In Search Results
  • Add html specialchars uni to description updates to prevent HTML
  • Admin CP can Enable/Disable thread descriptions per forum (*)


DL / Unpacking the attachment:

. UpLoad images\strela_w.gif

Installation Instructions:

. Login to Admin CP
. Choose Plugin System
. Choose [Add/Import Product]
. Choose product-thread_description.xml
. Click [ Import ]

Modify templates: ( 6 templates )

. Read My Instructions: readme-thread-description.html (c) (+)

. Import [ XML ] = Done

. Thats all!

. Enjoy!

Note:
I will update my mod "no more edit template" on my next ver.
Good date all!

(*) My New Version Dec12, 2006
(c) Templace(s) - vBulletin ver you may find template changes, but these input code not changes.

Download Now

File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)

Show Your Support

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

Comments
  #62  
Old 01-15-2007, 10:22 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like i previously say: too many issues on this hack

cyber, i had the same error ...
Reply With Quote
  #63  
Old 01-16-2007, 03:40 AM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Netsurfer
Go here and Submit a New Bug ( it may be fixed => search vb.com )
http://www.vbulletin.com/forum/bugs36.php
please look inside some tutorial/book about Mysql "How to create table & column" to fix this error.
My Pa say! "I don't want TrucLinh help fix this vb dev bug. This mod do not create/call this missing table ' looking inside the file product-thread_description.xml and learn some php & Mysql before you say some thing about it! "you have ask vbviet.org your nick 'Netsurfer' you have table with table prefix 'vb_364.thread' then you'll need to prefix when you create this missing table ' You can do it , you want to be a Admin of a site you much learn some php & mysql!
DavidNg "
Quote:
Originally Posted by KURTZ View Post
like i previously say: too many issues on this hack

cyber, i had the same error ...
Look in inside the XML "product-thread_description.xml" you see any line call this ( missing table & column + error with url links ) ??? Why you say this hack ??? Why you cont. look inside this thread for ???
When you have bug go here please (ask for right person)
Why I show you this !!! I nice with you do I? How about you ???
http://www.vbulletin.com/forum/bugs36.php
You can read English please learn some php & Mysql, don't make trouble here!
Reply With Quote
  #64  
Old 01-16-2007, 04:35 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you say so. Not a way to talk to people looking for help and without having your php knowledge anyway. But, anyhow, I fixed it by modifying your hack!

In the module:

I changed this:

PHP Code:
$db->query_write("UPDATE thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 

for

PHP Code:
$db->query_write("UPDATE " TABLE_PREFIX "thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 
Now it works...
Reply With Quote
  #65  
Old 01-16-2007, 07:46 AM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HUM! My pa show you

Quote:
My Pa say! "you have table with table prefix 'vb_364.thread' then you'll need to prefix when you create this missing table ' You can do it ...
"Your sys not look like my sys! Please remember that!" when make mod I base on vBulletin Default."
You & some other install vb add prefix to it. When error all way say we are... When this mod on my/other sys it work find!

Other things hack db system you asking belong to tnguy3n not my, My modifications of that hack look good but it all way belong to tnguy3n of vbviet.org . I can't published without tnguy3n permission.
Reply With Quote
  #66  
Old 01-23-2007, 01:35 AM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to sound so dumb here but I cant find where to activate it for forum's, I have had a look through the posts and tried what it says but can't find it anywhere, any help is appreciated.
Reply With Quote
  #67  
Old 02-04-2007, 06:00 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will the text in this field be searchable by vb search function? Thanks in advance.
Reply With Quote
  #68  
Old 03-07-2007, 06:14 PM
Illustrious Illustrious is offline
 
Join Date: Dec 2005
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
If you say so. Not a way to talk to people looking for help and without having your php knowledge anyway. But, anyhow, I fixed it by modifying your hack!

In the module:

I changed this:

PHP Code:
$db->query_write("UPDATE thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 

for

PHP Code:
$db->query_write("UPDATE " TABLE_PREFIX "thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 
Now it works...
I had issues with the exact same error (running on vb3.6.5).

I tried your fix, and nothing happened. But the problem was that it was prefixing a period ('.') in front of the "thread" table, and thus it wasn't recognizing it in the database.

It would be nice to get it fixed.
Reply With Quote
  #69  
Old 03-11-2007, 04:51 PM
deepak7 deepak7 is offline
 
Join Date: Nov 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey

Its not working for me, nothing appears when I add/edit a thread.

I modified the 6 templates.
I uploaded the plugin.

Now, in admin cp... I seenothing about this on usergroup settings but I can see on forum manager setting (all set to YES... still not working)
Reply With Quote
  #70  
Old 04-07-2007, 09:13 PM
2meplie 2meplie is offline
 
Join Date: Nov 2006
Location: Quebec city, Qc, Canada
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A couple of bugs:

1- When you type in a description and hit "preview" it does not carry the description through. So you have to remember to re-type it or it disappears.

2- When you edit a post you have the box to add/change the description but it does not update with the changes you made to that box.
Reply With Quote
  #71  
Old 05-02-2007, 07:45 PM
DJLy5y DJLy5y is offline
 
Join Date: Jan 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adding fast change description by adming and mod ? Using moderation menu ? That will be fun :P And it will be nice to do some default description in admin pannel, and let the admin choose if simple users can change descriptions. :}
Attached Files
File Type: (21.4 KB, 16 views)
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 02:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.19717 seconds
  • Memory Usage 2,367KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (5)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete