vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Thread Description (https://vborg.vbsupport.ru/showthread.php?t=131239)

TrucLinh 11-10-2006 10:00 PM

Thread Description
 
1 Attachment(s)
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 https://vborg.vbsupport.ru/ Dec12, 2006
(c) Templace(s) - vBulletin ver you may find template changes, but these input code not changes.

shadowevil 11-11-2006 12:37 AM

first post .... :)

Sunstroke 11-11-2006 01:05 AM

what does it look like on the posting board? does it just show under the title of the thread?

Shazz 11-11-2006 01:18 AM

Probablly like Invision..

AzzidReign 11-11-2006 06:02 AM

Will it add the descption to the discription meta tag?

projectego 11-11-2006 06:14 AM

Thanks for sharing. :)

unitedpunjab 11-11-2006 08:50 AM

Quote:

Originally Posted by Sunstroke
what does it look like on the posting board? does it just show under the title of the thread?

i'd also like to know that :surprised:

Snake 11-11-2006 02:36 PM

Me too.

tnguy3n 11-11-2006 11:04 PM

Good job, be' Linh!

PoetJA-1975 11-12-2006 10:23 AM

Quote:

Originally Posted by Sunstroke
what does it look like on the posting board? does it just show under the title of the thread?

looks fabulous - but dude has asked my question - Screenies of the answer would be AWESOME! ALSO - can this work with 3.5.6?

Nice sharing - Thanx

Jacquii.

Scooby Doo 11-12-2006 02:16 PM

Good job! Very good TrucLinh! :)

taxick 11-12-2006 09:24 PM

Sry But it ++++ my forum up - How to uninstall this mod??? Plz Help

TrucLinh 11-19-2006 08:00 PM

Quote:

Originally Posted by taxick (Post 1115728)
Sry But it ++++ my forum up - How to uninstall this mod??? Plz Help

Login
Admin CP > Plugins & Products > Uninstall Code > Edit Templace > delete input code you install (readme.txt) or (revert your templace)

Working good with me, your forum ????

TrucLinh 11-19-2006 08:04 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1115375)
looks fabulous - but dude has asked my question - Screenies of the answer would be AWESOME! ALSO - can this work with 3.5.6?

Nice sharing - Thanx

Jacquii.

Yes!

Enjoy!

RyuKenLi 11-19-2006 11:07 PM

Thank you

SouthernTn 11-20-2006 03:39 AM

newbie question I know.. but where do I change that This is a forum by vbulletin etc etc that is set as the default in the thread description

TrucLinh 11-20-2006 04:42 AM

Acc. to Thread Description Options by Login to Admin CP > Forums & Moderators > Choose Forum Manager or Add New Forum > see Screenshots [ https://vborg.vbsupport.ru/attachmen...2&d=1163946067 ]

SouthernTn 11-21-2006 02:13 AM

No, I want to change the wording.. I cant find where to change the default wording just incase they dont input a description

TrucLinh 11-21-2006 02:56 AM

I don't understand you.

???

SouthernTn 11-22-2006 01:12 PM

when making a new thread, inside the "Description" box, there are the default text saying " This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com "

How can I delete this text, because when someone doesnt enter in a description, this will appear in that area.

transitbus 11-22-2006 02:55 PM

Trying to update the product returns

XML Error: not well-formed (invalid token) at Line 8

sally27 11-23-2006 05:24 PM

Quote:

Originally Posted by SouthernTn (Post 1122920)
when making a new thread, inside the "Description" box, there are the default text saying " This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com "

How can I delete this text, because when someone doesnt enter in a description, this will appear in that area.

Is there a way to do this yet as I would like for it to be left blank if nobody puts a desciption in the box.

TrucLinh 11-24-2006 12:32 AM

Test on my forum, left it blank, it working find, no text saying
Quote:

" This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com "
Check your forum...

RobParker 11-25-2006 05:46 PM

When trying this for 3.6.4 I get the message that:

This file was created using a different version of vBulletin from the one you are running.

Your version: 3.6.4
File version: 3.6.3

Is this easily fixed?

KURTZ 12-02-2006 11:43 AM

dont understand: runs or not on 3.6.4? :confused:

PoetJA-1975 12-02-2006 12:38 PM

Very nice - Thanx for the screenies ;)
Thanx for the mod as well - been looking for something like this!
Excellent!

Jacquii.

Discussions 12-02-2006 04:16 PM

Quote:

Originally Posted by KURTZ (Post 1129957)
dont understand: runs or not on 3.6.4? :confused:

To answer is as best as I can, as of the moment this does not work on Vbulletin 3.6.4 due to some changes in the code. It will probably take a few days before a new, updated version comes along.

KURTZ 12-11-2006 10:48 AM

ok thx, i'm waiting for new release :)

PoetJA-1975 12-14-2006 08:06 AM

Quote:

Originally Posted by transitbus (Post 1123002)
Trying to update the product returns

XML Error: not well-formed (invalid token) at Line 8



Hey TRANSIBUS - I had a similar issue with 3.5.x.... I downloaded the readme.zip, commented out all of the executionorder="5"...

Find and remove:

Code:

<versioncheckurl>https://vborg.vbsupport.ru/misc.php?do=checkversion&t=131239</versioncheckurl>
Then reimport the plug in...

Hope this helps!

Jacquii.

Neutral Singh 12-14-2006 02:03 PM

Is it possible to do search in thread description? Thanks for this.

KURTZ 12-14-2006 03:18 PM

thx TrucLinh!

already INSTALLED on 3.6.4 and works like a charm :D

TrucLinh 12-15-2006 01:06 AM

Quote:

Originally Posted by Neutral Singh (Post 1138470)
Is it possible to do search in thread description? Thanks for this.

Quote:

Originally Posted by KURTZ (Post 1138510)
thx TrucLinh!

already INSTALLED on 3.6.4 and works like a charm :D

You are welcome.

farooqaaa 12-19-2006 03:16 PM

Thanks alot. This is nice!

transitbus 12-19-2006 03:26 PM

A couple of suggestions:
  1. Don't rar the file please, leave it as zip
  2. There is no need to upload the XML product file via ftp. You can use the product upload via the admin CP
  3. The description on the main thread here is far too confusing, it has too much information that is hard to follow. Can you simplify the process and give upgrade instructions?

Thanks and aside from these little things this is an excellent mod.

transitbus 12-19-2006 03:40 PM

Edit... NM simply had to remove the program and reinstall it and the error went away.

transitbus 12-19-2006 11:08 PM

when installed your mod interferes with unread posts. When uninstalled it break the undread post function by deleting a required table field. This is a dangerous bug and I hope you fix it because now I am having to go and manually fix my forum to fix your bug


Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT searchid FROM search AS search WHERE userid = 1 AND searchhash = 'b2ba47094c3fh227e95e9820abe34e7a' AND orderedids = '491' AND announceids = '' AND completed = 1;

MySQL Error : Unknown column 'completed' in 'where clause'
Error Number : 1054
Date : Tuesday, December 19th 2006 @ 05:07:48 PM
Script : http://www.shebaliscronies.com/search.php?do=getnew
Referrer : http://www.shebaliscronies.com/
IP Address : xxx.xxx.xxx.xxx
Username : xxx
Classname : vb_database

transitbus 12-19-2006 11:34 PM

Edit:

looks like your mod removes a required field:

http://www.vbulletin.com/forum/bugs3...iew&bugid=1218

Quote:

If you have done a new install and are getting errors while searching, this column is missing. Please run the following query to add it:

Code:
ALTER TABLE `search` ADD `completed` SMALLINT UNSIGNED NOT NULL DEFAULT '1';
I think if you alter your xml file to not include:

Quote:

$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "search` ADD `completed` tinyint(1) default NULL");
and:

Quote:

$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "search` DROP `completed`");
This might work because completed has to have a default of not null to work and you are altering it to change to null as the default. You also can not remove this field

Paul M 12-20-2006 04:36 AM

The uninstall code of this mod is removing a default vbulletin field from the search table - this should be fixed asap and people informed to upgrade (and not to uninstall this product until they have). You should also remove the code in the install section that adds this field - the field should already be present in a 3.6.4 installation.

Edit: This has now been fixed by the author.

Terminatoronly 12-20-2006 07:09 AM

thanks alot working fine for me :D

Cybershaolin 12-20-2006 08:13 PM

There is also another bug for 3.6.4. When you want to edit a message by using the Edit (modifiy) button and if you decide to go in advance mode, you will get a DB error such as:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE thread SET description = '' WHERE threadid = '24';

MySQL Error : The table 'vb_364.thread' doesn't exist
Error Number : 1146
Date : Wednesday, December 20th 2006 @ 04:54:03 PM
Script : http://myforum.com/forum/editpost.p...pdatepost&p=87
Referrer : http://myforum.com/forum/editpost.p...post&postid=87
Username : Netsurfer
Classname : vb_database


All times are GMT. The time now is 08:03 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.01559 seconds
  • Memory Usage 1,823KB
  • 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
  • (15)bbcode_quote_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
  • (40)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