![]() |
Thread Description v1.2
Thread Description Hack v1.2 for vb3.5 beta 1
Support thread: http://www.extremescripts.com/forums...hread.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. |
clicks install, now where is my support? ;)
|
I dont wanna install this because you have to edit files <_< sry :-/
|
Right here tony. ;)
|
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.
|
ok well I am sure you will find a way to do it :) Once you do I will click the install button :)
|
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. |
Error....
Quote:
|
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 |
Quote:
------ ALTER TABLE `thread` ADD `threaddesc` VARCHAR( 125 ) NOT NULL ; |
Forgot a template edit sorry. Let me update.
anybody who already installed this do the following template edit --------------- Open threadbit: --------------- +----- +Find: +----- Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]&page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if> )</span></if> +Add After: +---------- Code:
<if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if> Save The Template ----------------- |
lol thanks timmy!
|
Your welcome. :)
|
working fine now :)
any plans for ajax editing of the description? |
I didnt even think of that idea. More work. :)
Once I figure the new ajax system out that is. |
Good luck Timmy :P
|
quick reply dont work now <_<
|
same with reply... <_<
|
Quote:
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. |
working on it right now.
|
Quote:
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 |
same here.....
Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_post in /includes/class_dm.php on line 484 |
its something in the XML and not the file mods....
|
Heres the fix
in plugin titled Thread Description: Save Description Replaced the code with the following PHP Code:
|
works fine now :D thanks dude
|
that works fine now tim :)
|
Your both welcome. :)
|
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! |
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. |
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?
|
Quote:
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. |
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. |
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. :)
|
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 |
Is there a way to make the description appear below the thread title? :)
|
Quote:
HTML Code:
<if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if> HTML Code:
<if condition="$thread['threaddesc']"><div class="smallfont">- $thread[threaddesc]</div></if> 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. |
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: |
lol no prob
|
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.
|
oh do tell tim what they are :p
|
All times are GMT. The time now is 04:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|