Version: 1.00, by Scott MacVicar
Developer Last Online: Mar 2016
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.
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
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]");
}
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 ??