View Full Version : Thread Description v1.2
eXtremeTim
06-09-2005, 10:00 PM
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
06-10-2005, 05:00 AM
clicks install, now where is my support? ;)
jpt62089
06-10-2005, 05:01 AM
I dont wanna install this because you have to edit files <_< sry :-/
eXtremeTim
06-10-2005, 05:01 AM
Right here tony. ;)
eXtremeTim
06-10-2005, 05:02 AM
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
06-10-2005, 05:04 AM
ok well I am sure you will find a way to do it :) Once you do I will click the install button :)
eXtremeTim
06-10-2005, 05:04 AM
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
06-10-2005, 05:30 AM
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
06-10-2005, 05:34 AM
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
06-10-2005, 05:36 AM
Error....
run the following query from your admin cp:
------
ALTER TABLE `thread` ADD `threaddesc` VARCHAR( 125 ) NOT NULL ;
eXtremeTim
06-10-2005, 05:42 AM
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]&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
06-10-2005, 05:47 AM
lol thanks timmy!
eXtremeTim
06-10-2005, 05:48 AM
Your welcome. :)
C.Birch
06-10-2005, 05:51 AM
working fine now :)
any plans for ajax editing of the description?
eXtremeTim
06-10-2005, 05:51 AM
I didnt even think of that idea. More work. :)
Once I figure the new ajax system out that is.
jpt62089
06-10-2005, 05:54 AM
Good luck Timmy :P
jpt62089
06-10-2005, 05:57 AM
quick reply dont work now <_<
jpt62089
06-10-2005, 05:58 AM
same with reply... <_<
C.Birch
06-10-2005, 06:00 AM
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
06-10-2005, 06:00 AM
working on it right now.
C.Birch
06-10-2005, 06:02 AM
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
06-10-2005, 06:03 AM
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
06-10-2005, 06:09 AM
its something in the XML and not the file mods....
eXtremeTim
06-10-2005, 06:10 AM
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
06-10-2005, 06:20 AM
works fine now :D thanks dude
C.Birch
06-10-2005, 06:22 AM
that works fine now tim :)
eXtremeTim
06-10-2005, 06:26 AM
Your both welcome. :)
Logikos
06-10-2005, 08:25 AM
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
06-10-2005, 03:20 PM
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
06-10-2005, 07:42 PM
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
06-10-2005, 08:06 PM
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
06-10-2005, 08:17 PM
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
06-10-2005, 08:23 PM
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
06-10-2005, 08:25 PM
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
06-11-2005, 12:13 PM
Is there a way to make the description appear below the thread title? :)
Logikos
06-11-2005, 12:18 PM
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
06-11-2005, 12:27 PM
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
06-11-2005, 12:33 PM
lol no prob
eXtremeTim
06-11-2005, 10:13 PM
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
06-11-2005, 11:12 PM
oh do tell tim what they are :p
eXtremeTim
06-11-2005, 11:15 PM
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
06-11-2005, 11:23 PM
lol does any still use that talker bot hack that i started?
looks like you have your hands full then lol
eXtremeTim
06-11-2005, 11:35 PM
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
06-11-2005, 11:43 PM
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
06-11-2005, 11:48 PM
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
06-12-2005, 12:20 AM
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
06-12-2005, 12:48 AM
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
06-13-2005, 01:08 PM
@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
06-13-2005, 01:13 PM
@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
06-13-2005, 01:16 PM
One less file edit... ;)
Btw Tim, good work in releasing your hacks!
eXtremeTim
06-13-2005, 05:28 PM
Thanks for this heads up. I will update the installation in a bit.
eXtremeTim
06-13-2005, 05:50 PM
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
06-14-2005, 07:35 PM
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
06-14-2005, 07:36 PM
Interesting.
Confirmed.
eXtremeTim
06-14-2005, 07:51 PM
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
06-14-2005, 09:29 PM
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
06-14-2005, 09:35 PM
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
06-14-2005, 09:40 PM
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
06-14-2005, 10:23 PM
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
06-15-2005, 04:00 AM
I will be releasing a new version soon that will incorporate my new version checker hack.
beansbaxter
06-21-2005, 06:17 PM
have a pic of this in action?
eXtremeTim
06-27-2005, 11:37 AM
<a href="http://www.extremescripts.com/forums/forumdisplay.php?f=43" target="_blank">http://www.extremescripts.com/forums...splay.php?f=43</a> look at the second thread listed.
Marco van Herwaarden
06-27-2005, 11:48 AM
Could this please be uploaded in a zip-file.'
eXtremeTim
06-27-2005, 01:01 PM
It will dont worry. I just got back from vacation recently. I havent done much online in the last week or so.
FleaBag
07-31-2005, 02:30 PM
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
08-01-2005, 12:07 PM
@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
08-06-2005, 11:55 PM
I would also like to know if this can be made into a plugin...
Boofo
08-07-2005, 09:30 AM
And please upload this as a ZIP file as you were asked to earlier in the thread.
Andreas
08-13-2005, 01:02 AM
@Lucky64
It can :)
Valter
08-22-2005, 02:31 AM
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
08-25-2005, 10:33 AM
I never resolved the error, uninstalled it and will await the product. :)
Valter
08-27-2005, 01:57 AM
I never resolved the error, uninstalled it and will await the product. :)
I uninstalled it too... pure support...
Snake
08-27-2005, 05:40 PM
How about upgrading this hack to RC2?
lucky64
08-27-2005, 05:54 PM
@Lucky64
It can :)
Can someone please :)
FleaBag
08-29-2005, 06:54 PM
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
09-04-2005, 02:58 PM
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-09-2005, 05:11 PM
Any news on the Update?
eXtremeTim
09-10-2005, 06:01 AM
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
09-13-2005, 02:38 AM
i will be interested in this, and will check back on this thread :) great work
thedvs
10-06-2005, 11:52 PM
still waiting :)
Sheesh.
New plugin:
Where? forumdisplay_query
What? $hook_query_fields .= ', threaddesc';
Easy.
Snake
10-13-2005, 08:07 PM
What is that for?
What is that for?
For a non-file edit version of this mod.
Snake
10-13-2005, 08:23 PM
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
10-13-2005, 08:30 PM
For a non-file edit version of this mod.
Go for it! ;)
lucky64
10-13-2005, 11:00 PM
Hopefully the creater will update and make a plugin :)
Andreas
10-13-2005, 11:13 PM
I've been hoping so since July ...
randominity
10-15-2005, 06:02 PM
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
10-15-2005, 06:05 PM
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
10-15-2005, 06:56 PM
Yeah do it right here as well! ;)
lucky64
10-15-2005, 07:38 PM
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..
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
10-15-2005, 08:17 PM
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
10-15-2005, 08:19 PM
Can someone test this if its working all good without any bugs or errors, please?
Boofo
10-15-2005, 11:12 PM
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
10-15-2005, 11:13 PM
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
10-15-2005, 11:41 PM
Sheesh.
New plugin:
Where? forumdisplay_query
What? $hook_query_fields .= ', threaddesc';
Easy.
^ that
Boofo
10-15-2005, 11:44 PM
I like products better if they are available. ;)
JohnBee
10-16-2005, 12:09 AM
Will this work with 3.5 Gold?
Snake
10-16-2005, 07:02 PM
Yes but expect a few bugs and errors. ;)
Boofo
10-16-2005, 07:04 PM
Yes but expect a few bugs and errors. ;)
Have you tried it? ;)
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
10-16-2005, 07:26 PM
In fact I did, Boofo. ;) Even kall has tried the hack but still no use.
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
10-16-2005, 07:34 PM
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
10-16-2005, 07:35 PM
"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
10-18-2005, 12:23 PM
Is this hack stable now on 3.5. Gold ???
Snake
10-18-2005, 02:13 PM
As you can see, no it isn't.
eXtremeTim
10-23-2005, 08:03 PM
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
10-27-2005, 11:38 PM
That would be cool Tim, thanks. :)
eXtremeTim
10-28-2005, 04:02 AM
I still havent started yet but I havent forgotten.
Snake
10-28-2005, 11:07 AM
So when are you going to start? Like today?
www.alfisti.net
11-07-2005, 09:22 AM
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
11-07-2005, 09:33 AM
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.
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
11-07-2005, 03:28 PM
Is that file for v3.5.1 or what?
Is that file for v3.5.1 or what?
Sorry. Tested on 3.5.0...
Snake
11-07-2005, 03:43 PM
So it should work on 3.5.1 too, right?
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
11-07-2005, 03:56 PM
OK will do. And thanks.
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
11-14-2005, 03:59 PM
So what is the issue with the development of this hack?
Is it suitable for vB 3.5.1 or still in BETA stages?
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...)
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
11-22-2005, 11:06 AM
Man I really want this to work on 3.5.1 fine.
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
11-22-2005, 12:52 PM
Oh I see. Well I am going to install this hack in a few minutes..
D.Ilyin
11-23-2005, 05:09 AM
It does work fine. There are just a few changes that need to be made, nothing big. What kind of changes?
Snake
11-24-2005, 04:42 PM
Bugs fixes - I assume.
randominity
11-24-2005, 07:49 PM
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
11-24-2005, 07:50 PM
I'd recommend to have the uninstall code remove the column, as this is what uninstall codes are for - cleanup the database.
randominity
11-24-2005, 08:13 PM
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
12-03-2005, 08:43 PM
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
12-04-2005, 05:33 PM
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..
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
01-05-2006, 02:02 AM
I am working right now on setting up a dev 3.5.2 to get this updated.
Snake
01-05-2006, 10:36 AM
Coolio. v3.5.3 has been released since yesterday so be sure to have it working on this latest version too. :p
O man, i am so looking forward to this hack :D
I really need this on a per-forum basis.
Megareus Rex
02-11-2006, 09:41 PM
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
02-12-2006, 01:52 AM
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 vietvbb_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
I am working right now on setting up a dev 3.5.2 to get this updated.
Any updates on this?
Kroby
03-25-2006, 01:18 PM
Is this mod working with 3.5.3 or 3.5.4 ?
Is this mod working with 3.5.3 or 3.5.4 ?
Yes, but there are some problems with this plugin...
tazB.ca
09-05-2006, 04:11 PM
Does It Work With 3.60 ?
egyptsons
09-05-2006, 07:14 PM
great
installed
eXtremeTim
09-10-2006, 06:52 PM
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
09-10-2006, 07:29 PM
Sounds ace Tim. :)
eXtremeTim
09-10-2006, 08:29 PM
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.
Is this working with vb3.6.4?
Konfucije
02-10-2007, 02:39 PM
Do you have any screenshoot, and whats with vB3.6.4?
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
04-05-2007, 11:48 PM
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?
Did you read my post above yours? It works.
eXtremeTim
04-07-2007, 10:03 PM
I will release an update soon with fixes to all the problems that have been found.
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.