PDA

View Full Version : Thread Description v1.2


eXtremeTim
10 Jun 2005, 05:58
Thread Description Hack v1.2 for vb3.5 beta 1
Support thread: http://www.extremescripts.com/forums/showthread.php?t=12

I wil try to do my best to support this hack here but you will get my attention much faster on my site.


What this hack does:
This hack allows your users to add descriptions to their threads that show up on the threadlist. This allows people to read what the thread is about before they enter the thread.

Files To edit: 1
Queries to run: 1
Uses Hooks: Yes
Phrases To Add: 1
Template Edits: 3

Planned:
Add showing of thread description to search results.
Option to turn off thread descriptions on a per forum basis
Option to turn off thread descriptsion showing up on search results.
ajax support for editing thread description from forumdisplay.

If I have missed anything please let me know. I have worked on this off an on today with the power going going out every so often becuase of the storms we have had today.

If you are upgrading use the v1.0 installer and undo the editpost.php file edit. Then just load the new xml file.

There will be a new version that will be a full plugin possible later today. If I get the needed time to make the change. Plus I will release it as a product. :)

If you use this hack please click install.

Kihon Kata
10 Jun 2005, 06:00
clicks install, now where is my support? ;)

jpt62089
10 Jun 2005, 06:01
I dont wanna install this because you have to edit files <_< sry :-/

eXtremeTim
10 Jun 2005, 06:01
Right here tony. ;)

eXtremeTim
10 Jun 2005, 06:02
I tried hard to avoid file edits. The two edits that exist are very small. One is a addition to a query and the other is there becuase there was no plugin in the small space of code where the new code had to go.

jpt62089
10 Jun 2005, 06:04
ok well I am sure you will find a way to do it :) Once you do I will click the install button :)

eXtremeTim
10 Jun 2005, 06:04
there is no way to do it. We cant edit the theadlist query without hacking the file.

Anybody who has downloaded please redownload. I forgot to put the templates edits into the install file.

jpt62089
10 Jun 2005, 06:30
Error....

Database error in vBulletin 3.5.0 Beta 1:

Invalid SQL:
UPDATE thread SET
threaddesc = 'vBulletin 3.5 Beta 1!!!'
WHERE threadid = 348;

MySQL Error : Unknown column 'threaddesc' in 'field list'
Error Number : 1054
Date : Friday, June 10th 2005 @ 01:27:12 AM
Script : http://*****/forums/editpost.php
Referrer :
IP Address : 70.57.163.112
Username : JPT62089
Classname : vb_database

C.Birch
10 Jun 2005, 06:34
installed, but it dont show up on the thread list, but the boxs for adding them show up on the new topic and edit screens and the information is saved.

so one of us have missed something to get them to show on the thread list

C.Birch
10 Jun 2005, 06:36
Error....

run the following query from your admin cp:
------

ALTER TABLE `thread` ADD `threaddesc` VARCHAR( 125 ) NOT NULL ;

eXtremeTim
10 Jun 2005, 06:42
Forgot a template edit sorry. Let me update.


anybody who already installed this do the following template edit

---------------
Open threadbit:
---------------
+-----
+Find:
+-----

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if> )</span></if>

+----------
+Add After:
+----------

<if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if>
-----------------
Save The Template
-----------------

jpt62089
10 Jun 2005, 06:47
lol thanks timmy!

eXtremeTim
10 Jun 2005, 06:48
Your welcome. :)

C.Birch
10 Jun 2005, 06:51
working fine now :)

any plans for ajax editing of the description?

eXtremeTim
10 Jun 2005, 06:51
I didnt even think of that idea. More work. :)

Once I figure the new ajax system out that is.

jpt62089
10 Jun 2005, 06:54
Good luck Timmy :P

jpt62089
10 Jun 2005, 06:57
quick reply dont work now <_<

jpt62089
10 Jun 2005, 06:58
same with reply... <_<

C.Birch
10 Jun 2005, 07:00
I didnt even think of that idea. More work. :)

Once I figure the new ajax system out that is.

hehe no probs :) me going have a nosey around it also has theres a few things it could be used for to me a admin works easyer that i might try and make given free time, like:

editing forum names and description
editing user title and other profilely bits that show in topics

btw and ones free to make them has ill end up more and likely not having time.

eXtremeTim
10 Jun 2005, 07:00
working on it right now.

C.Birch
10 Jun 2005, 07:02
same with reply... <_<

please post any errors so it helps tim with fixing stuff :)

the below is the error i get when trying to reply:

Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_post in /includes/class_dm.php on line 484

jpt62089
10 Jun 2005, 07:03
same here.....



Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_post in /includes/class_dm.php on line 484

jpt62089
10 Jun 2005, 07:09
its something in the XML and not the file mods....

eXtremeTim
10 Jun 2005, 07:10
Heres the fix

in plugin titled

Thread Description: Save Description

Replaced the code with the following

if ($type == 'thread') {
$post['threaddesc'] = htmlspecialchars_uni($post['threaddesc']);
$dataman->set('threaddesc', $post['threaddesc']);
}


I am updating the xml file right now.

jpt62089
10 Jun 2005, 07:20
works fine now :D thanks dude

C.Birch
10 Jun 2005, 07:22
that works fine now tim :)

eXtremeTim
10 Jun 2005, 07:26
Your both welcome. :)

Logikos
10 Jun 2005, 09:25
Tim is right, i tried mutiable ways to get this down to just one file edit. But not every hack can be "file-editless". Though he did save a whole lot of file editing using the hooks system. Nice work man!

/me clicks install!

eXtremeTim
10 Jun 2005, 16:20
Thank you.

If their was a way to get this down to one or no file edits I would have. I also believe I have noticed that I have an extra plugin snapped into this. I have disabled the one on my site right now to notice if I see any problems anywhere if not I will post the changes here.

cmiller1014
10 Jun 2005, 20:42
I thought the whole point was to avoid file edits? I wont be installing any hacks that have file edits. Is the plugin system crummy or what is the problem?

Logikos
10 Jun 2005, 21:06
I thought the whole point was to avoid file edits? I wont be installing any hacks that have file edits. Is the plugin system crummy or what is the problem?
Cmiller1014. You can't avoid all file edits, but you can minimize them alot. And sometimes, hacking a file is much better then adding a hook. Telling someone your not going to install there hack because they have to edit files is just rude. We work hard to give you guys these hacks, hours, and days, are spent out of our regular lifes to give you a hack and support.

Jelsoft deigned this system to minimize the amount of file edits to mak upgrading easy. This hack would normaly take 8-10 diffrent line edits on 4 files. To minimize them to just 2 small file edits is great. And would only take a person a mintute to upgrade.

cmiller1014
10 Jun 2005, 21:17
And here I thought the entire point of the hooks system was so that we could get friggin support for vbulletin and still have hacks. If I edit files, there is no support.

I wasnt trying to be rude to the person who creates hacks, I just wanted the truth about the hook system, and apparently it is useless.

eXtremeTim
10 Jun 2005, 21:23
I put in requests for additional hooks so hopefully I see the needed stuff in a later version and can remove all file edits later on. :)

cmiller1014
10 Jun 2005, 21:25
eXtremeTim,

Thanks for being on top of all of this so early on. I am relieved to know that people are getting involved and ultimately helping to make vbulletin better for all of us.

Thanks again

playboy
11 Jun 2005, 13:13
Is there a way to make the description appear below the thread title? :)

Logikos
11 Jun 2005, 13:18
Is there a way to make the description appear below the thread title? :)
It depends on how you edit your template. Instead of

<if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if>

You can use

<if condition="$thread['threaddesc']"><div class="smallfont">- $thread[threaddesc]</div></if>


But then your'll need to find an area for the Thread Starter as the way above it will make it look like this:

Thread Title Will Be Here
Thread description will be here
Thread Starter

And you might not want 2 rows like that. If not just let me know how you want it and i'll tell you what you can do.

playboy
11 Jun 2005, 13:27
No I like that with the three columns, thank you so much! *adds to rep*
-EDIT-
Ooh, guess this forum doesnt use the rep thing. :disappointed:

Logikos
11 Jun 2005, 13:33
lol no prob

eXtremeTim
11 Jun 2005, 23:13
I have quite a few other things planned for 3.5 that I would love to get out the door in the next few days.

C.Birch
12 Jun 2005, 00:12
oh do tell tim what they are :p

eXtremeTim
12 Jun 2005, 00:15
Im getting ready to start porting up the talkerbot in a bit. I have under planning a fully featured auction script*, a fully featured online store* (with shopping mall addon*), a fully featured client management system*. Plus many other hacks.

*These modifications are not going to be released for free. They are being developed and targeted at professional use to compete with script such as php probid and x-cart.

C.Birch
12 Jun 2005, 00:23
lol does any still use that talker bot hack that i started?

looks like you have your hands full then lol

eXtremeTim
12 Jun 2005, 00:35
The support forum on my site has been pretty active the last month over that hack so I figure it must still be in use.

C.Birch
12 Jun 2005, 00:43
i know theres been 3 people ask about it over on vb-fans, anyway back to submit of the topic. im looking forward to the ajax support, i have still be unable to work it out but saying that i have not had time to look has been remaking my own sites plus learning flash better and testing 3.5 lol

eXtremeTim
12 Jun 2005, 00:48
Ajax support will make it into this hack one day. I already thought about doing it but I feel its more important to get some more hacks released right now and start pushing the way for the 3.5 community.

playboy
12 Jun 2005, 01:20
I Noticed All These Files And Templates Are In 3.0.7 (which is what I'm running on) will this hack work for that? If not could you give me brief description on how to make it work for 3.0.7?

eXtremeTim
12 Jun 2005, 01:48
There have been major changes since 3.0.7 to the workings of vb. There is a version of this hack that I released on vb 3.0.x you can find it by going to my profile and looking at my 3.0.x hacks.

Andreas
13 Jun 2005, 14:08
@eXtremeTim
I think you can get rid of the editpost.php file edit.
Hookname: threaddata_presave

global $getpost, $postinfo, $edit;
if (THIS_SCRIPT == 'editpost' AND $getpost['postid'] == $postinfo['postid'])
{
//need to update thread desc
$edit['threaddesc'] = htmlspecialchars_uni($edit['threaddesc']);
$this->set('threaddesc', $edit['threaddesc']);
}

Logikos
13 Jun 2005, 14:13
@eXtremeTim
I think you can get rid of the editpost.php file edit.
Hookname: threaddata_presave

global $getpost, $postinfo, $edit;
if (THIS_SCRIPT == 'editpost' AND $getpost['postid'] == $postinfo['postid'])
{
//need to update thread desc
$edit['threaddesc'] = htmlspecialchars_uni($edit['threaddesc']);
$this->set('threaddesc', $edit['threaddesc']);
}

Just tested, and it works! Nice job Andreas!

Erwin
13 Jun 2005, 14:16
One less file edit... ;)

Btw Tim, good work in releasing your hacks!

eXtremeTim
13 Jun 2005, 18:28
Thanks for this heads up. I will update the installation in a bit.

eXtremeTim
13 Jun 2005, 18:50
V1.1 has now been released. This update mainly eliminates a file edit and thats about it. We are now one file edit away from being a true plugin. Thanks Andreas.

C.Birch
14 Jun 2005, 20:35
Bug:

make a new topic with a thread description then go back to your post and us vb's new quick edit to edit your first post. you see it removes the thread description.

eXtremeTim
14 Jun 2005, 20:36
Interesting.

Confirmed.

eXtremeTim
14 Jun 2005, 20:51
replace the contents of the: Thread Description: Edit Post Description Updating plugin with the following code


global $getpost, $postinfo, $edit, $vbulletin;
if (THIS_SCRIPT == 'editpost' AND $getpost['postid'] == $postinfo['postid'])
{
//need to update thread desc
$edit['threaddesc'] = htmlspecialchars_uni($edit['threaddesc']);
if (!$vbulletin->GPC['ajax'])
{
$this->set('threaddesc', $edit['threaddesc']);
}
}


Was that fast enough for ya? 16 minutes and you had a fix. ;)

C.Birch
14 Jun 2005, 22:29
nope to slow :p i want a full refund...... ooopsy it was free ;) well done for the fast fix but i think you need to fix your door so you can get out more and not give us about 5 new hacks ago lol

anyways really bigs welldones for all your hard work, just wish i was able to help you all out still.

eXtremeTim
14 Jun 2005, 22:35
nope to slow :p i want a full refund...... ooopsy it was free ;) well done for the fast fix but i think you need to fix your door so you can get out more and not give us about 5 new hacks ago lol

anyways really bigs welldones for all your hard work, just wish i was able to help you all out still.
??? Not sure what you mean by fix the door and not give us about 5 new hacks ago

Either way I am hard at work on yet another new and very promising hack. ;)

C.Birch
14 Jun 2005, 22:40
should have read 5 new hacks aday but i was not looking at what i was typeing hehe in other words i think the door to your room is suck because your working so hard and can not get out :)

oh whats this other promising hack then lol, btw you sound like me on your talker bot test forum when i was trying to get it work the first time around hehe telling it it best reply now.

eXtremeTim
14 Jun 2005, 23:23
Im working on a hack version checking script. Basicly it will allow hack authors to use it to check the hack version the user is running compared to what is released. It will do this by the hack author creating a file such as hackname_version.js which is then check from their server by this hack and determines if they are using the current version or not. If not then there is a nice message displayed in the new table telling them about the new version with a more info link.

Update:

I know have this hack working on my site. Its just a matter of giving it a few once over. Putting together some documentation. Then releasing.

eXtremeTim
15 Jun 2005, 05:00
I will be releasing a new version soon that will incorporate my new version checker hack.

beansbaxter
21 Jun 2005, 19:17
have a pic of this in action?

eXtremeTim
27 Jun 2005, 12:37
http://www.extremescripts.com/forums/forumdisplay.php?f=43 look at the second thread listed.

Marco van Herwaarden
27 Jun 2005, 12:48
Could this please be uploaded in a zip-file.'

eXtremeTim
27 Jun 2005, 14:01
It will dont worry. I just got back from vacation recently. I havent done much online in the last week or so.

FleaBag
31 Jul 2005, 15:30
Got an error in RC1 when editing an existing description.

Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_thread in /includes/class_dm.php on line 475

Any ideas? Thanks. :)

Andreas
01 Aug 2005, 13:07
@eXtremeTim
Do you plan on updating this for RC1, eg. releasing it as a Product without File Edits?
(Hook forumdisplay_query can be used for the File Edit that is currently necessary)

lucky64
07 Aug 2005, 00:55
I would also like to know if this can be made into a plugin...

Boofo
07 Aug 2005, 10:30
And please upload this as a ZIP file as you were asked to earlier in the thread.

Andreas
13 Aug 2005, 02:02
@Lucky64
It can :)

Valter
22 Aug 2005, 03:31
Got an error in RC1 when editing an existing description.

Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_thread in /includes/class_dm.php on line 475

Any ideas? Thanks. :)
I have the same error message.

Any help?

FleaBag
25 Aug 2005, 11:33
I never resolved the error, uninstalled it and will await the product. :)

Valter
27 Aug 2005, 02:57
I never resolved the error, uninstalled it and will await the product. :)
I uninstalled it too... pure support...

Snake
27 Aug 2005, 18:40
How about upgrading this hack to RC2?

lucky64
27 Aug 2005, 18:54
@Lucky64
It can :)

Can someone please :)

FleaBag
29 Aug 2005, 19:54
I'm not moaning though... I mean it was a hack for Beta, and nobody is under any obligation to support. It's just one of those things... Like I say let's hope a product release comes along eventually. :)

eXtremeTim
04 Sep 2005, 15:58
I havent been here in some time. I just finaly got back here. I will be updating this hack. I just upgraded my site today from beta 3. The zip file is coming. Forgive me becuase I forgot to zip it up last time.

Andreas
09 Sep 2005, 18:11
Any news on the Update?

eXtremeTim
10 Sep 2005, 07:01
Been working on a few other things. I will see about it soon. As soon as I get it reinstalled on my site.

Brandon Sheley
13 Sep 2005, 03:38
i will be interested in this, and will check back on this thread :) great work

thedvs
07 Oct 2005, 00:52
still waiting :)

kall
13 Oct 2005, 20:15
Sheesh.

New plugin:
Where? forumdisplay_query
What? $hook_query_fields .= ', threaddesc';

Easy.

Snake
13 Oct 2005, 21:07
What is that for?

kall
13 Oct 2005, 21:13
What is that for?

For a non-file edit version of this mod.

Snake
13 Oct 2005, 21:23
OK I'm confused as hell now. So all I gotta do is just to create that plugin (with the code, of course) for installing this hack? And what about the files in the ZIP pack?

Boofo
13 Oct 2005, 21:30
For a non-file edit version of this mod.

Go for it! ;)

lucky64
14 Oct 2005, 00:00
Hopefully the creater will update and make a plugin :)

Andreas
14 Oct 2005, 00:13
I've been hoping so since July ...

randominity
15 Oct 2005, 19:02
Well, I made this into a product with no file edits, but it's not right releasing someone else's work :< Plus I'm new to the vB hacking scene so :P~

Boofo
15 Oct 2005, 19:05
Well, I made this into a product with no file edits, but it's not right releasing someone else's work :< Plus I'm new to the vB hacking scene so :P~

Can you pm it to me, sir? I won't tell. ;)

Snake
15 Oct 2005, 19:56
Yeah do it right here as well! ;)

lucky64
15 Oct 2005, 20:38
Well, I made this into a product with no file edits, but it's not right releasing someone else's work :< Plus I'm new to the vB hacking scene so :P~

I don't think there would be a problem with that long as you gave the creator credit...I'd love a product..

kall
15 Oct 2005, 21:15
Can you pm it to me, sir? I won't tell. ;)

All you need to do is remove the file edit from forumdisplay.php and add the plugin I mentioned above Boofo .. that's almost the same as having a Product. :)

randominity
15 Oct 2005, 21:17
well here it is http://l2guru.com/thread_description_1.2.1.zip

remember to not run the query if you had previously used this mod.

Snake
15 Oct 2005, 21:19
Can someone test this if its working all good without any bugs or errors, please?

Boofo
16 Oct 2005, 00:12
Can someone test this if its working all good without any bugs or errors, please?

I was just going to ask you to do the same thing. ;)

Boofo
16 Oct 2005, 00:13
All you need to do is remove the file edit from forumdisplay.php and add the plugin I mentioned above Boofo .. that's almost the same as having a Product. :)

What plug-in? I must have missed that. :(

randominity
16 Oct 2005, 00:41
Sheesh.

New plugin:
Where? forumdisplay_query
What? $hook_query_fields .= ', threaddesc';

Easy.


^ that

Boofo
16 Oct 2005, 00:44
I like products better if they are available. ;)

JohnBee
16 Oct 2005, 01:09
Will this work with 3.5 Gold?

Snake
16 Oct 2005, 20:02
Yes but expect a few bugs and errors. ;)

Boofo
16 Oct 2005, 20:04
Yes but expect a few bugs and errors. ;)

Have you tried it? ;)

kall
16 Oct 2005, 20:22
Have you tried it? ;)

Have YOU tried editing the first post of a thread? ;)

(OK, so I have disabled that function and don't know if he has fixed it yet, but thats the major bug that I know of).

Snake
16 Oct 2005, 20:26
In fact I did, Boofo. ;) Even kall has tried the hack but still no use.

kall
16 Oct 2005, 20:33
In fact I did, Boofo. ;) Even kall has tried the hack but still no use.

"Even kall" .. makes me sound like some kind of coder or something. :D

But yes, there is a major problem with the 'editing the first post of a thread' thing (that I imagine is supposed to be the part of this hack that allows you to change the description after making it), but that doesn't take away too much really.

Having a description (IMO) helps you with keyword density and all that good stuff. :)

Boofo
16 Oct 2005, 20:34
In fact I did, Boofo. ;) Even kall has tried the hack but still no use.

Well, then, I guess I'll wait until it is fixed befiore I mess with it. ;)

Has anyone asked Kirby for help on this yet? ;)

Boofo
16 Oct 2005, 20:35
"Even kall" .. makes me sound like some kind of coder or something. :D

But yes, there is a major problem with the 'editing the first post of a thread' thing (that I imagine is supposed to be the part of this hack that allows you to change the description after making it), but that doesn't take away too much really.

Having a description (IMO) helps you with keyword density and all that good stuff. :)

It says "coder" under your name. ;)

Next-Selection
18 Oct 2005, 13:23
Is this hack stable now on 3.5. Gold ???

Snake
18 Oct 2005, 15:13
As you can see, no it isn't.

eXtremeTim
23 Oct 2005, 21:03
I will see about fixing any problems for gold over the next week. I have been so swamped with client work lately its been hectic.

FleaBag
28 Oct 2005, 00:38
That would be cool Tim, thanks. :)

eXtremeTim
28 Oct 2005, 05:02
I still havent started yet but I havent forgotten.

Snake
28 Oct 2005, 12:07
So when are you going to start? Like today?

www.alfisti.net
07 Nov 2005, 10:22
Thank you Tim :) Very usefull modification!
It works fine for my Board, installed 3 weeks ago and it run without any trouble.

for your next version you should add the hint to change the search.php also. So that the descriptions also display in "New Posts" and other search results.

Tested in 3.50 without any trouble

---------------------
Open search.php
---------------------

+-----
+Find (twice!):
+-----
. iif($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid'], ', threadread.readtime AS threadread') . "

+-------------
+Replace Both With:
+-------------

. iif($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid'], ', threadread.readtime AS threadread') . ", threaddesc

--------------------------------
Save and Upload search.php
--------------------------------

www.alfisti.net
07 Nov 2005, 10:33
Have YOU tried editing the first post of a thread?
I did this and I donīt have trouble!?
What happens on your board, maybe I am too stupid to see the problems.
I can edit the first post without trouble. With and without a posted description.

fly
07 Nov 2005, 14:57
well here it is http://l2guru.com/thread_description_1.2.1.zip

remember to not run the query if you had previously used this mod.
Isn't there a way to include the query with the product?

EDIT: This works. No SQL query required.

EDITED AGAIN: Typo, please redownload.

Snake
07 Nov 2005, 16:28
Is that file for v3.5.1 or what?

fly
07 Nov 2005, 16:39
Is that file for v3.5.1 or what?
Sorry. Tested on 3.5.0...

Snake
07 Nov 2005, 16:43
So it should work on 3.5.1 too, right?

fly
07 Nov 2005, 16:47
So it should work on 3.5.1 too, right?
Yes, it should, but I haven't tested it.

However, I had a typo in the XML, so if you downloaded it, please redownload it.

Snake
07 Nov 2005, 16:56
OK will do. And thanks.

fly
07 Nov 2005, 17:01
This still doesn't fix the problem where moderators are unable to edit descriptions tho...

EDIT: And I'm no genius coder, but I'd assume it would have to use some hook in threadmanage, but I have no idea which one. :P

michaelbenson
14 Nov 2005, 16:59
So what is the issue with the development of this hack?
Is it suitable for vB 3.5.1 or still in BETA stages?

fly
14 Nov 2005, 20:18
So what is the issue with the development of this hack?
Is it suitable for vB 3.5.1 or still in BETA stages?
See my post right above yours. That's about all I found...

(If you use the version I posted eariler in the thread...)

fly
22 Nov 2005, 01:16
The description also disappears if you preview the thread.

And it doesn't show up in the actul threadview (like IPB does)

Hope ya don't mind, I'm just listing some problems I have found so far.

Snake
22 Nov 2005, 12:06
Man I really want this to work on 3.5.1 fine.

fly
22 Nov 2005, 13:03
Man I really want this to work on 3.5.1 fine.
It does work fine. There are just a few changes that need to be made, nothing big.

Snake
22 Nov 2005, 13:52
Oh I see. Well I am going to install this hack in a few minutes..

D.Ilyin
23 Nov 2005, 06:09
It does work fine. There are just a few changes that need to be made, nothing big. What kind of changes?

Snake
24 Nov 2005, 17:42
Bugs fixes - I assume.

randominity
24 Nov 2005, 20:49
Here we go... you can now edit the thread description and it'll save properly (at least the admin can, not sure about mods, and the user).

I removed the uninstall sql queries because I don't want to anything to happen to the column should someone uninstall the product accidently.


Let me know if you find any bugs, or if something's not working.

Btw a hook location was incorrect that processed the update of the edit, I just changed the location and the code a bit.

Andreas
24 Nov 2005, 20:50
I'd recommend to have the uninstall code remove the column, as this is what uninstall codes are for - cleanup the database.

randominity
24 Nov 2005, 21:13
In that case, I added the uninstall code back as well as fix the queries by adding the TABLE_PREFIX before the table name.

lucky64
03 Dec 2005, 21:43
This is what I was looking for...but I hate manual editing...Do you still have to manually edit the stuff in the readme in your zip for the last file you posted?

lucky64
04 Dec 2005, 18:33
This is what I was looking for...but I hate manual editing...Do you still have to manually edit the stuff in the readme in your zip for the last file you posted?

I installed it fine anyhow, just curious though is it safe to uninstall?

I see you were worried about it removing something important..

fly
05 Dec 2005, 13:16
Here we go... you can now edit the thread description and it'll save properly (at least the admin can, not sure about mods, and the user).

I removed the uninstall sql queries because I don't want to anything to happen to the column should someone uninstall the product accidently.


Let me know if you find any bugs, or if something's not working.

Btw a hook location was incorrect that processed the update of the edit, I just changed the location and the code a bit.
I still don't seem to be able to edit the description as an admin. I can only edit MY threads...

eXtremeTim
05 Jan 2006, 03:02
I am working right now on setting up a dev 3.5.2 to get this updated.

Snake
05 Jan 2006, 11:36
Coolio. v3.5.3 has been released since yesterday so be sure to have it working on this latest version too. :p

TCB
27 Jan 2006, 14:35
O man, i am so looking forward to this hack :D

I really need this on a per-forum basis.

Megareus Rex
11 Feb 2006, 22:41
Question. How can you add this so the description is displayed after the thread title in the first post of the thread?

The 3.0 hack had it so it displayed like this:
(Thread title - Description)

That's a function I'd like to see returned.

Raymondlee714
12 Feb 2006, 02:52
Hi, after i try install this -> Thread Description Hack and happen like this, what i gonna do ? thanks advance
try to post a thread and show this error,


Invalid SQL:
INSERT INTO +++++++_vbbthread
(postusername, postuserid, title, iconid, visible, forumid, threaddesc, dateline, open, attach, lastpost, lastposter, replycount, hiddencount)
VALUES
('Raymondlee714', 1, 'test', 0, 1, 2, '', 1139712196, 1, 0, 1139712196, 'dEpTrAi714', 0, 0);
MySQL Error : Unknown column 'threaddesc' in 'field list'
Error Number : 1054
Date : Saturday, February 11th 2006 @ 09:43:16 PM

I figure it out, thanks

fly
01 Mar 2006, 18:57
I am working right now on setting up a dev 3.5.2 to get this updated.
Any updates on this?

Kroby
25 Mar 2006, 14:18
Is this mod working with 3.5.3 or 3.5.4 ?

fly
28 Mar 2006, 12:44
Is this mod working with 3.5.3 or 3.5.4 ?
Yes, but there are some problems with this plugin...

tazB.ca
05 Sep 2006, 17:11
Does It Work With 3.60 ?

egyptsons
05 Sep 2006, 20:14
great
installed

eXtremeTim
10 Sep 2006, 19:52
I will be releasing this on vbulletin 3.6 shortly. I am almost done modifiying it and soon it should require no template edits or code modifications and just be a single plugin. :)

FleaBag
10 Sep 2006, 20:29
Sounds ace Tim. :)

eXtremeTim
10 Sep 2006, 21:29
I now have it all working with a product and one single template edit. ;) I have made it do auto template editing for the editpost and newthread template to make things easier on everybody. I also updated it so that it works correctly with the quick edit and it works just fine with the quick thread title editor of vbulletin.

Brew
30 Dec 2006, 18:36
Is this working with vb3.6.4?

Konfucije
10 Feb 2007, 15:39
Do you have any screenshoot, and whats with vB3.6.4?

fly
10 Feb 2007, 16:09
I now have it all working with a product and one single template edit. ;) I have made it do auto template editing for the editpost and newthread template to make things easier on everybody. I also updated it so that it works correctly with the quick edit and it works just fine with the quick thread title editor of vbulletin.
BTW, the description doesn't stick if you preview the thread...
Is this working with vb3.6.4?

yes

Zizou_SCD
06 Apr 2007, 00:48
Argh! Before reading the last few posts I began trying to edit the equivalent code for 3.6! LOL. Any news on the 3.6 mod?

fly
06 Apr 2007, 12:28
Did you read my post above yours? It works.

eXtremeTim
07 Apr 2007, 23:03
I will release an update soon with fixes to all the problems that have been found.

fly
08 Apr 2007, 00:26
I will release an update soon with fixes to all the problems that have been found.

Did anyone mention the thread preview problem? It deletes the description.