![]() |
Description of thread hack
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 |
Thanks :D
How do I make it work? What do I do with this file? I'm used to txt version with instalation instructions... |
Ok I installed it, and it said it installed perfectly and all..but its not showing up on my forums ...
That could be a problem .. Any Ideas? |
Did you apply it to all template sets?
You'll need to apply it to all of them or make sure it made all the changes. and a text file |
|
some screenshots?
|
For some reason vBhacker couldn't make the two template changes for me [I only use 1 style - the default one], even though the HTML was exactly as it required, but apart from that it all went smoothly. Running on 2.2.5, looking great! :) Thanks PPN, I always loved this feature on Ikonboard!
|
ForKMan did you put in a description other than test?
|
works well mate good job, was going to do this myself but you beat me too it :D
would be nicer with it in the edit post too ;) |
That would mean you'd have to amend every existing thread's MySql table wouldn't it?
|
I could've sworn this was done before... :dead:
|
still its a great hack...
|
Quote:
|
Quote:
But it comes up like that screenshot .. and the link to the posters user id thing is gone ... |
This is also a built in feature of phpBB or something like that. OpenBB maybe.
|
Check your forumdisplaybit template something has went wrong there.
|
Ikonboard ...
But Its still not working for me :( |
This is useful. Is there a option to turn it off in the admin cp?
|
sounds great but i dont have/want vbhacker.....can you generate a txt file and post it?
|
Quote:
------------ I just installed it and I must say this is awesome! Its completely different from what I initially thought it would be, which is a hack that takes the first few words from the first post and sticks it under the thread title. This though, which I didn't note before, lets you create a description! sweeeeeeett :D You have my install on this one! Here are some pictures: http://www.diffusion4.com/forums/images/ex1.gif http://www.diffusion4.com/forums/images/ex2.gif (j/k on the beer :p) |
Also when you select edit thread from the admin options at the bottom of the thread you can edit the description.
Turning it on and off? Are you talking a board wide basis or per forum? |
I still cant get it to work ...
When i hack the files, some of the stuff that should be there isnt :o Could this be from other hacks? Also alot of spacing is generated in teh text file ..as in spacing that I dont think should be there, that might cause a problem right? |
Are you running 2.2.5?
I done this in 2.2.6 but there was no really drastic changes between the two versions. You need to try simply uninstalling this hack and doing it manually from the text file in post 4. The only thing you wont need to do is run the database query. |
Ok I did it ...
But one thing, when you edit it, the box for the subject aint showing, whicn meand only moderators and admins can edit the subject...which aint that bad but yeah, does work for me now. It took alot of playing around to get it working but it works now and I'm never using vbhacker again :p It kinda stuffed things up. BTW Velocd, what font are you using for your forums? |
Well users can't edit thread title so they shouldn't be able to edit thread description.
Before anyone says they can edit the thread title, it is only within a certain amount of time that they can do this after they haved posted the thread. |
ok :)
do you know what font hes using? it looks nice and soft edged. I want it! |
Its a very rare, highly sophisticated, and technologically advance font known asÂ…arial.
|
Quote:
|
I ++++ed by forum !
Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not allowed to access ./global.php owned by uid 546 in /home/virtual/site26/fst/var/www/html/forum/forumdisplay.php on line 28 Know why ? Please...i am dispered ! |
What's the URL to your site? Just upload the backed up version of forumdisplay.php.... You did tell it to make backups, right?
|
I tried this with the bak created by vbhacker. But....i fount a old forundisplay.php on Recycly Bin. :)
|
this is a cool idea, but, unfortunately, like parker clack's thread preview hack, it uses lots of space :p
|
Working fine here :D - My users will love you for this ;)
|
A hack like this won't use alot of space, mysql compression is exceptionally high and at most its another 100 characters it might even be blank.
If your worried about an extra few kb of space used then you've got a problem. |
Scott,
Is there a way to add this to the editpost.php so when you are editing the thread message that you can also edit it in there? I know it is in the admin options, but it might be good to have it there too. :) Quote:
|
nice hack, i installed it and it works fine, i also edit editpost so if its the first post of the thread they can edit the description if the edit post time limit lets them, if it isnt the first post of the thread, the description box wont show up.
|
Could you share what you did? That sounds like a good idea. :)
Quote:
|
First make a backup of editpost.php before you continue
Created a template called: editpost_description Add this to it: (Note: remove the spaces in { secondaltcolor }) PHP Code:
Open editpost.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open the template: editpost Find: (Note: there are spaces in { secondaltcolor }) PHP Code:
PHP Code:
When your done it should like the attachment below, enjoy :) |
This is what I have for the second code set in editpost.php. What do I need to do to make it work with what you have for the second code?
Code:
if ($isfirst and $title!="" and $postinfo[dateline]+$editthreadtitlelimit*60>time()) { Quote:
|
add after that
PHP Code:
|
All times are GMT. The time now is 10:36 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:
|